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
Adam Cohen
955806dfc4
Just for now, for fun
...
Change-Id: I4105b4299da59f5f34e280f7e7386f6e0e9c1b1a
2013-07-19 16:36:50 -07:00
Adam Cohen
22cba7f995
Adding layout transition for when pages get deleted
...
-> Fixing NPE
Change-Id: I1e0cb057ff65c2b8831a2e10652acb6db10e50e3
2013-07-19 16:14:47 -07:00
Michael Jurka
1e2f465f46
Implement ability to uninstall shortcuts from workspace
...
Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
2013-07-19 17:15:39 -04:00
Winson Chung
c9ca298098
Fixing performance issues with drawing all visible pages.
...
Change-Id: I17736c1e6afa1f4a961c136fe82bf1d632cbe6cc
2013-07-19 14:01:19 -07:00
Adam Cohen
edb4076e59
More PagedView cleanup
...
-> Custom content screen is now full screen (with some padding inserted for now)
-> Hiding the hotseat and page indicators when scrolling to the
custom content screen
-> Adding background scrim fade in to custom content space.
Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
2013-07-18 16:47:23 -07:00
Adam Cohen
02b3a8ca1f
Merge "Adding notion of fullscreen page to PagedView" into jb-ub-gel-agar
2013-07-17 18:24:46 +00:00
Winson Chung
d2be381d36
Removing old scroll indicator and adding page indicator dots.
...
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
2013-07-17 11:15:22 -07:00
Adam Cohen
96d30a1651
Adding notion of fullscreen page to PagedView
...
-> This will be used for appending custom content to the left of the workspace
-> Stripped out a bunch of dead code related to notion of layout scale in PagedView
Change-Id: If4dbe28431cb5fb60dc170f6ee6e55a649dac45e
2013-07-16 18:14:22 -07:00
Adam Cohen
b5da445839
Merge "Fixing issue where migration all apps folder couldn't be picked up." into jb-ub-gel-agar
2013-07-12 22:16:03 +00:00
Winson Chung
156ab5b22e
Fixing issue where migration all apps folder couldn't be picked up.
...
- Ensuring that we add items to the non-primary home page
- Fixing issue with drop-target touch handling on tablets
Change-Id: Iea5a383dc735a8f6044a00982f05789f8328ab63
2013-07-12 15:12:32 -07:00
Adam Cohen
accfd5648c
Fix weird page jumps after dropping items
...
Change-Id: I9f5063d2a9db9e2f2a5c2fd183b45884da11dacc
2013-07-12 14:41:21 -07:00
Adam Cohen
dedbd962dc
Enabling reordering
...
-> Reordering is enabled and persists
-> Fixed persistence issue when adding items to empty screen
Change-Id: I7c797b2c81a2988c95d8d9383be46d6ef0b7532d
2013-07-12 11:56:42 -07:00
Winson Chung
64359a53dc
Ensuring that the db reflects all package added/removed/updated broadcasts.
...
- Also ensuring that newly added pages are added before the empty page
Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
2013-07-11 14:19:52 -07:00
Adam Cohen
d6e7aa3154
Fix widget resizing (Which stopped working at some point)
...
-> Also, deferring empty screen removal until after the drop animation
in order to reduce buggy transitions
-> Also fixing workspace layout on tablet
Change-Id: I1ae9fdaf592262f959424f321efa6df4298f85cc
2013-07-09 15:47:46 -07:00
Adam Cohen
7d30a37007
Porting PagedView from KG to gain simplified scaling model, reordering
...
-> We are no longer scaling individual Celllayouts, instead we are scaling
the entire Workspace (and the CellLayouts come along for the ride)
-> Due to the above change, many assumptions were broken. In particular,
our drag and drop / animation archiecture is fairly fragile due to the
frequent and complex mapping of points between different bits of the
hierarchy. This CL contains a number of fixes which address such
breakages.
Change-Id: I2e630eab17528729b764b61f587858f6499fd318
2013-07-08 18:32:57 -07:00
Michael Jurka
ee0ce2b29f
Fix NPE when drags are cancelled
2013-07-02 17:24:35 -07:00
Daniel Sandler
d34ba129b1
Merge "Lazily instantiate LauncherAppState." into jb-ub-gel-agar
2013-06-28 00:34:51 +00:00
Adam Cohen
41eb470ef9
Fix now showing on screen 1
...
Change-Id: I83c3aa0b219e62af8c024229fe00933bcedbf9df
2013-06-27 16:43:15 -07:00
Daniel Sandler
e4f9891f01
Lazily instantiate LauncherAppState.
...
The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.
Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
2013-06-27 15:17:11 -04:00
Winson Chung
c916834ad0
Using package broadcasts to key adding of shortcuts on the workspace.
...
Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
2013-06-26 18:08:56 -07:00
Winson Chung
f70696d8cc
Fixing crash in shrink wrap on tablets.
...
Change-Id: I061960b2ca7a2cf02729665fb032d23d8f463ada
2013-06-25 18:47:44 -07:00
Adam Cohen
dcd297f05a
Initial implementation of Shrink-wrap
...
Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
2013-06-25 12:29:32 -07:00
Adam Cohen
7c4c510829
HACK: Fixing major persistence regression associated with extra screen to the left
...
-> Also adding ability to delete shortcuts.
Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
2013-06-14 17:43:44 -07:00
Adam Cohen
a0b5749433
Easier way to handle shortcuts
...
Change-Id: I91c4a25e961774de0bed51ba986802a1834173f9
2013-06-14 15:33:47 -07:00
Adam Cohen
99894d9bb7
Fixing up handling of shortcuts
...
Change-Id: I70dd044b608f4ef18a9c436964a11122168305d0
2013-06-14 14:19:19 -07:00
Daniel Sandler
e572fe46f7
Make HolographicOutlineHelper a singleton.
...
It's a pretty heavy object, including three Paints at 74
bytes apiece, and we allocate one for every workspace and
every icon. We really only need one.
Change-Id: Ic9e12d478c3be27b13133718875c91540f7ccf4c
2013-06-12 22:46:02 -04:00
Bjorn Bringert
1cbd1a0dec
Merge changes Id26e9dcf,I4e323bd7 into jb-ub-gel-agar
...
* changes:
Memory debugging overlay for L3.
Move LauncherApplication's state and code to LauncherAppState.
2013-06-12 10:38:39 +00:00
Daniel Sandler
cc8befac35
Move LauncherApplication's state and code to LauncherAppState.
...
This removes Launcher's static data and other state out of
the Application object. Now LauncherApplication (extends
Application) exists only to instantiate LauncherAppState.
Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
2013-06-11 22:01:47 -04:00
Adam Cohen
66a01fd24b
Add API to launcher to insert a custom page to the left of workspace
...
Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
2013-06-11 14:57:43 -07:00