Winson Chung
624cea3f7b
Tweaking animation while scrolling to custom content page. (Bug 10394396)
...
Change-Id: I792439eb6b052ba747ab115ffd345638382ac58d
2013-09-13 15:54:41 -07:00
John Spurlock
77e1f47520
Add system window inset support to DragLayer and children.
...
Instead of fitting system windows as before, DragLayer now
lays out under the system windows.
DragLayer will simply add the system window insets to each
child's layout margins by default. e.g. for Hotseat, Page
Indicators, QSB, Search Overlay.
Children that want to use the full viewport can declare so
by implementing a new Insettable interface. System window
insets will be passed to Insettable#setInsets(insets) and
the child can do what it wants with them.
Currently, two of DragLayer's children implement Insettable:
1) Workspace (for the -1 screen).
Full screen pages are given the entire viewport, paged
view offsets modified to end up in the right place now
that the viewport is larger (the full screen height).
Non-full screen pages like the normal icon pages simply
apply the insets to end up in the same place they did
before.
NowClientCardsView uses the full viewport, applying the
insets as padding. Will want to better take advantage
of this new real estate in a future CL.
2) All Apps (AppsCustomizeTabHost).
Applies the insets as layout margin one level down, so that
the bar area is opaque during the transition, but visually
the content lands in the same place.
(Also add db_files to .gitignore to ignore the output of the
db tool)
Bug:10687177
Bug:10652189
Change-Id: I80b25d63884d244fcf704b24dad9497ee0d8b453
2013-09-11 16:29:34 -04:00
Winson Chung
837b2413f4
Removing click sounds on clicking workspace. (Bug 10547952)
...
Change-Id: I2e41d384041415dffc723f3c302e0854e691a01a
2013-09-09 14:43:51 -07:00
Michael Jurka
1bd90b0ed3
Catch exceptions when setting wallpaper offsets
...
Bug: 10514504
2013-09-05 23:10:14 +02:00
Daniel Sandler
b56e95af5d
Fix crash on uninstall via drag.
...
Bug: 10347293
Change-Id: I2a2e4693fb79dd71a71cb53f9a90899788702a17
2013-09-04 23:13:39 -04:00
Michael Jurka
eadbfc564d
Move wallpapers to external activity
...
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class
Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
2013-09-04 16:21:20 +02:00
Adam Cohen
e92c8c8e30
Merge "Adding custom content scroll progress callback" into jb-ub-gel-agar
2013-08-29 21:45:22 +00:00
Adam Cohen
c36fa5ce39
Adding custom content scroll progress callback
...
Change-Id: I23b007f6ac30809c03127f5d9030d8f367694310
2013-08-29 11:55:07 -07:00
Michael Jurka
fe09cb7fe3
Improve wallpaper cropping
...
- Add support for tablets
- Add support for parallax with user-cropped images
- Improve behavior in landscape
Change-Id: I50c4bba59b03d26d595a086a9ea425894f341705
2013-08-29 18:14:29 +02:00
Adam Cohen
4caf298a2c
Logging to disk for more reliable logging
...
-> Re-adding basic distinction btw apps and shortcuts
-> Adding functionality to e-mail dump file, but not using
Change-Id: I2b635004ab082af79445158ab61f20aac62d2e2f
2013-08-28 15:00:15 -07:00
Winson Chung
9e6a0a20d4
Clearing workspace screen data structures along with pages.
...
Change-Id: Ib6c4522cd0c0c06dd6fd327be3621a6de0778f9c
2013-08-27 15:54:46 -07:00
Winson Chung
53fc06d5d6
Merge "Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue." into jb-ub-gel-agar
2013-08-26 22:25:03 +00:00
Winson Chung
6c15a644cb
Merge "Fixing folders to always show in view, removing old assets and references to LauncherModel count." into jb-ub-gel-agar
2013-08-26 22:08:09 +00:00
Michael Jurka
cc07e7a9c6
Add wallpaper parallax
...
- Currently only works with built-in wallpapers
- Animates smoothly when the number of wallpapers
changes
Change-Id: Ia63f5d4cdc6fc83495e507d93cf34405e6733515
2013-08-26 21:50:28 +02:00
Winson Chung
0e6a713fca
Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue.
...
- Fixing restoring of workspace screens on rotation (and flash of custom content page indicator)
- Fixing NPE on long pressing on empty screen to go into overview mode
2013-08-23 12:55:10 -07:00
Winson Chung
892c74d460
Fixing folders to always show in view, removing old assets and references to LauncherModel count.
2013-08-23 12:13:02 -07:00
Michael Jurka
104c456776
Initial implementation of new wallpaper picker.
...
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Winson Chung
6670073de8
Fixing issue with widget sizes being misreported.
...
- Fixing NPE with getting page indicators in phone landscape
Change-Id: Id369596e38cbe7a161c0d1f62e62e4f4f3cc31b3
2013-08-20 17:12:22 -07:00
Winson Chung
81d6f6ecca
Merge "Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher." into jb-ub-gel-agar
2013-08-20 22:13:44 +00:00
Winson Chung
d64d1763c5
Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher.
...
- Updating print_db to print workspace screens
Change-Id: Id477f5a5649c0d3b7ab0cce5ed99ca0a519d7706
2013-08-20 15:03:13 -07:00
Adam Cohen
89bddfaa6d
Stripping unused method param
...
Change-Id: Id71664a88908773c5e64c9394070ad231d2148a1
2013-08-20 15:01:56 -07:00
Winson Chung
5f8afe6280
Initial Changes for Dynamic Grid
...
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Winson Chung
76828c87dd
Ensuring that we don't clobber workspace screens map when new apps are added.
...
- Using Log warnings instead of debugs
- Ensuring we don't save negative screen id's
Change-Id: I13276d007193c120ee0830abcdc6eb203f22a9da
2013-08-19 16:44:58 -07:00
Adam Cohen
2702ea0060
Removing custom content padding
...
-> Cleaned up extraneous imports
Change-Id: I3f9258a893e85f9f6a7cc1eab03d4c5a3dfba786
2013-08-15 16:18:09 -07:00
Adam Cohen
3d1b2b4206
Passing right swipes through to custom content
...
-> Right swipes must follow page settle by >= 200 ms.
Change-Id: Ie5a5ae36e63f28736599a8a846570949447f7a03
2013-08-14 15:57:58 -07:00
Adam Cohen
61a9a5c359
Don't switch pages when dragging out of folder
...
-> Fix bug where page switch indicator wouldn't draw on right
-> Fixed some code related to folder reordering -- no behaviour change
yet, but once the new AutoScroll is in, this should behave correctly
(ie. shouldn't reorder while in scroll zone)
Change-Id: Ic14a8d70858777164f094204472dc6a726dd461a
2013-08-14 13:36:51 -07:00
Adam Cohen
1b7d423c65
Merge "Adding overview mode for reordering, widget adding and wallpaper switching" into jb-ub-gel-agar
2013-08-14 01:54:06 +00:00
Adam Cohen
f358a4bbd6
Adding overview mode for reordering, widget adding and wallpaper switching
...
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
2013-08-13 18:53:36 -07:00
Winson Chung
cda0921782
Merge changes I559fae32,Ic4db1a3a into jb-ub-gel-agar
...
* changes:
More logging.
Adding additional logging.
2013-08-13 17:57:15 +00:00
Romain Guy
e6661950f5
It is *very important* to call super.onDetachedFromWindow()
...
Bug #10075732
Change-Id: I515005e35398317d98124964b6bb74f488a213f4
(cherry picked from commit 2361a4daf77ac1f076273d19bc6e171b3b74b22e)
2013-08-13 18:49:01 +02:00
Winson Chung
45fa06ed1e
Adding additional logging.
...
Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8
2013-08-12 18:37:42 -07:00
Winson Chung
8481e32e5b
Adding additional debugging code to track screen id updates.
...
Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
2013-08-09 16:06:38 -07:00
Winson Chung
3dba179949
Merge "Removing old new-app animation code, and refactoring InstallShortcutReceiver to use new add/bind logic." into jb-ub-gel-agar
2013-08-02 21:54:25 +00:00
Winson Chung
482a5b6ed3
Fixing crash due to grabbing oob screen index. (Bug 10114488)
...
Change-Id: I9e0c3d9bfcf96f092260a82b930b7ea728b6e98d
2013-07-31 17:19:51 -07:00
Winson Chung
707f650c5c
Merge "Adding hint for launcher to pre-create custom workspace screen." into jb-ub-gel-agar
2013-07-31 17:44:44 +00:00
Winson Chung
98ca0f7203
Adding hint for launcher to pre-create custom workspace screen.
...
Change-Id: I150fb8b6ff13053bf4b0b49f2b510630ed50714a
2013-07-31 10:43:50 -07:00
Winson Chung
63d7870ea2
Merge "Verifying that new applications are added and fixing issue with new items getting wrong ids." into jb-ub-gel-agar
2013-07-31 17:34:54 +00:00
Winson Chung
08ab8d28c6
Merge "Prevent dragging workspace items to custom content page." into jb-ub-gel-agar
2013-07-31 17:31:17 +00:00
Winson Chung
df11a77f29
Merge "Adding support for custom page indicator markers." into jb-ub-gel-agar
2013-07-31 17:30:55 +00:00
Derek Prothro
ce9249e4d3
Call onShow/onHide when visibility changes on -1 screen.
...
Bug: 10089616
Change-Id: I4365432d5ff699b3722ca3f30713e0c490d0e4ed
2013-07-30 15:40:07 -04:00
Winson Chung
82dfe58514
Adding support for custom page indicator markers.
...
Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
2013-07-26 15:07:49 -07:00
Winson Chung
9883c9ae25
Prevent dragging workspace items to custom content page.
...
Change-Id: I4279f5feffb9512af66243969efaaadfb9011962
2013-07-26 13:50:47 -07:00
Winson Chung
997a92348a
Removing old new-app animation code, and refactoring InstallShortcutReceiver to use new add/bind logic.
...
Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
2013-07-26 12:58:45 -07:00
Winson Chung
c763c4e4d2
Verifying that new applications are added and fixing issue with new items getting wrong ids.
...
- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes
Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
2013-07-25 14:50:49 -07:00
Adam Cohen
6ad0e7dcae
Fix overhang of custom content area into first screen of launcher
...
Change-Id: I2e8cbedb644c8399be269616e617851136489da5
2013-07-24 14:25:58 -07:00
Adam Cohen
ec40b2b90c
Giving custom content full screen
...
Change-Id: Icd104fff8a1a315b795a60b812048a6218bf0e5a
2013-07-23 17:47:54 -07:00
Adam Cohen
bffe745b1e
Adding contract for custom content screen
...
Change-Id: Ia4dae3c641730ab24a0a124fd94b871d248b7dda
2013-07-22 18:22:02 -07:00
Winson Chung
bc902ad603
Merge "Fixing performance issues with drawing all visible pages." into jb-ub-gel-agar
2013-07-22 19:20:54 +00:00
Adam Cohen
d637124462
Merge "Just for now, for fun" into jb-ub-gel-agar
2013-07-19 23:38:50 +00:00
Adam Cohen
3e056d13d2
Merge "Adding layout transition for when pages get deleted" into jb-ub-gel-agar
2013-07-19 23:38:39 +00:00