Sunny Goyal
d856074d90
Merge "Changing the widget loading strategy" into ub-launcher3-calgary
2016-03-10 04:22:37 +00:00
Sunny Goyal
2e1efb480a
Changing the widget loading strategy
...
Widget is loaded only when the user enters the overview mode and we keep
the list updated as long as the user is in the overview mode. Once the user
leaves the overview mode, we stop responding to widget updates
Bug: 26077457
Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1
2016-03-09 20:21:22 -08:00
Hyunyoung Song
8fd5e938d3
Add getUserEventLogger to LauncherCallbacks
...
b/26494415
Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
2016-03-08 16:55:47 -08:00
Tony Wickham
dadb304b46
Pinch to zoom out into overview mode.
...
There are 3 classes coordinating the gesture: PinchToOverviewListener,
PinchThresholdManager, and PinchAnimationManager.
- PTOL listens for the pinch gesture on DragLayer.
- When a pinch is detected, the PTOL keeps track of the interpolated
progress and passes it along to both the PTM and PAM.
- The PTM uses the progress to determine whether a new threshold has
been passed, and tells the PAM to animate it if so.
- The PAM uses the progress to animate things like workspace scale
throughout the pinch.
- If the pinch ends early, the PTOL uses the last passed threshold to
determine whether to animate to workspace or overview, and tells
PAM to perform the animation at the same velocity as the pinch.
Bug: 24414635
Change-Id: I9e53706c705f8b2982409bf7c223d8d0e9618bf0
2016-03-04 16:52:54 -08:00
Sunny Goyal
cd50a0fade
Adding back LAUNCHER3_ICON_NORMALIZATION feature flag to fix dependency breakage
...
Change-Id: I65376fde1d6681c00cdf2226a94bd9872b00cc6f
2016-03-04 14:53:59 -08:00
Hyunyoung Song
5f03934774
Trim down the logging class
...
am: 3650019856
* commit '3650019856ad9bd44ad8ecb591917f7f2520e8d6':
Trim down the logging class
2016-03-04 20:16:57 +00:00
Hyunyoung Song
3650019856
Trim down the logging class
...
b/26494415
Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8
2016-03-04 12:00:25 -08:00
Hyunyoung Song
c6409a8991
Define generic logging class
...
am: a9c69ce09c
* commit 'a9c69ce09c164c8ad0191e05318460d0955825a7':
Define generic logging class
2016-03-04 19:16:49 +00:00
Hyunyoung Song
a9c69ce09c
Define generic logging class
...
b/26494415
Change-Id: I5fbf54eb5986eb49a62ba51d41aab43e00a9ca12
2016-03-04 11:02:40 -08:00
Sunny Goyal
97660f7a94
resolve merge conflicts of 2494c3f168 to ub-launcher3-calgary
...
Change-Id: I807016057da9b867ebb2c8f3ee2027a3a2688d30
2016-03-03 13:52:22 -08:00
Sunny Goyal
3169e9c331
Fixing mismatch comment in flags
...
Change-Id: Ie86e2ebd4f40653fb127a239b57361164ef31b07
2016-03-03 13:38:58 -08:00
Sunny Goyal
531cda693d
Using a negative flag for icon notmalization
...
Change-Id: Iaa94aea730d2b5cc3f15f3578f240127ca0eef63
2016-03-03 13:30:57 -08:00
Sunny Goyal
2494c3f168
Moving createMarketSearchIntent to search controller to allow it to be customizable
...
Change-Id: I3a05abf7c0357a2f92c8a3fa2dc223f9eacc221e
2016-03-03 11:36:38 -08:00
Sunny Goyal
9e3fee1427
Starting market search whenever the search key is pressed
...
Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
(cherry picked from commit 992a5f566e )
2016-03-03 18:36:35 +00:00
Adam Cohen
efca0279eb
Switch all folder preview rendering to be programmatic (ie. no assets)
...
-> Refactored the preview background rendering to be much more self-contained.
This cleans up a lot of code in the CellLayout, and keeps the logic in the
right place.
-> We switch to software rendering for performance and compatibility reasons.
-> Removed all assets.
-> FolderIcon accept animation includes animation of the clipped region.
-> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon
and the CellLayout. Unfortunately, CellLayout rendering is still required
to work around clipping issues (due to use of software layer). We also
need this to support folder creation feedback.
Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
2016-03-03 09:24:45 -08:00
Sunny Goyal
992a5f566e
Starting market search whenever the search key is pressed
...
Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
2016-03-02 11:32:18 -08:00
Hyunyoung Song
a10bf37446
Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish
...
am: 5cc55a143a
* commit '5cc55a143a2ed35d6f2ac1fe57a4e8b3e26d47a0':
Prevent work profile widget DnD crash b/26079469
2016-03-01 19:59:45 +00:00
Hyunyoung Song
5cc55a143a
Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish
2016-03-01 19:58:45 +00:00
Hyunyoung Song
3e840f4343
Prevent work profile widget DnD crash
...
b/26079469
Change-Id: I3d49ac498bbaaef8ca8a3051f5ab4b35ef771410
2016-03-01 11:57:44 -08:00
Sunny Goyal
e670159cfe
Merge "Fixing homescreen getting blank when returning from the overlay" into ub-launcher3-calgary
2016-03-01 01:07:39 +00:00
Sunny Goyal
061380a04d
Fixing scrollTo getting called even though the gesture was handled by an overlay
...
Change-Id: Ia46c4ef3db8a3ae4fa615625b7b983d7e461c797
2016-02-29 15:15:39 -08:00
Sunny Goyal
f323002e26
Merge "Chaning shadow algorithm to reuse bitmap instead of creating a new bitmap on every tap" into ub-launcher3-calgary
2016-02-26 19:28:34 +00:00
Sunny Goyal
53d5c9ee5f
Disabling system drag driver in NYC
...
Change-Id: Ia7374f04c2aeb9cf8eb5bcf330da56bbc3f47ef2
2016-02-26 09:52:21 -08:00
Sunny Goyal
6c651132fb
Chaning shadow algorithm to reuse bitmap instead of creating
...
a new bitmap on every tap
Bug: 27239742
Change-Id: I8e4259b79b1048e5fa82e7a1c8934ec7c52995be
2016-02-26 09:15:06 -08:00
Sunny Goyal
ee68816be8
Fixing homescreen getting blank when returning from the overlay
...
Change-Id: Ie11b92cd59c90e71b9b58eeede742ef0c5b28380
2016-02-26 08:47:21 -08:00
Sunny Goyal
6646016ff5
Merge "Adding overlay interaction support" into ub-launcher3-calgary
2016-02-26 03:57:11 +00:00
Sunny Goyal
38138ddcca
Merge "Removign optimations in onDestroy" into ub-launcher3-calgary
2016-02-25 18:01:37 +00:00
Sunny Goyal
c86df470ab
Adding overlay interaction support
...
> Sending unboundX to the overlay which is the total untranslated X and not just deltaX from last frame
> Handling overlay callback and translating workspace accordingly
Change-Id: I3bd8d9efac738e9ce131758f0e5ff1b9c1d6a8fc
2016-02-25 10:01:13 -08:00
Sunny Goyal
7515f1b41c
Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish
...
am: ed2ce76bfe
* commit 'ed2ce76bfeda7cee2dc0fa124825ac603f2761ea':
Preventing crash when there is not enough width to show the pending text
2016-02-25 04:15:32 +00:00
Sunny Goyal
bc545eefc5
Merge "Preserving the homescreen rotation setting on a tablet, when the display is scaled" into ub-launcher3-calgary
2016-02-25 04:15:14 +00:00
Sunny Goyal
ed2ce76bfe
Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish
2016-02-25 04:14:06 +00:00
Adam Cohen
4f8071b759
Cleaning up folder icon drawing
...
-> Tracking individual drawing parms for each item
-> This enables animation of the preview items as the preview changes
Change-Id: I1b8f650cb28dc09cfb921bbdc93f2a3db61178fd
2016-02-24 18:20:40 -08:00
Sunny Goyal
10a0e8a5c6
Merge "Cleaning up the overlay interface" into ub-launcher3-calgary
2016-02-25 00:19:40 +00:00
Sunny Goyal
86feafc1e5
Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish
...
am: 81131edc8e
* commit '81131edc8ed9c1d866d98bef3f08bbd9eb4d47fc':
Revert "Disabling som attributes so that dependencies can use compat libraries"
2016-02-25 00:13:15 +00:00
Sunny Goyal
81131edc8e
Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish
2016-02-25 00:04:26 +00:00
Hyunyoung Song
2773b01bb7
Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish
...
am: 2cb92eb2bb
* commit '2cb92eb2bbfbd6ae4331657d3446f3f771aabd4b':
Change preloading coefficient for widgets tray to improve jankness on low performance devices.
2016-02-24 02:39:40 +00:00
Hyunyoung Song
2cb92eb2bb
Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish
2016-02-24 02:28:59 +00:00
Hyunyoung Song
b7271fd17e
Change preloading coefficient for widgets tray to improve jankness
...
on low performance devices.
Change-Id: I6dfe1161bf596792a7fc8b3c5160a4922e177834
2016-02-23 18:23:54 -08:00
Sunny Goyal
5845bea514
Preventing crash when there is not enough width to show the pending text
...
Bug: 26901856
Change-Id: I03c9631ce224cce76b2c896a5e6ce6b0ee741782
2016-02-23 16:43:23 -08:00
Sunny Goyal
59871ef875
Revert "Disabling som attributes so that dependencies can use compat libraries"
...
This reverts commit e1bd986d77 .
Change-Id: I27490d0cb241b2e58ce45998f7f9e9bc8d84993c
2016-02-24 00:28:02 +00:00
Sunny Goyal
8f3819bc51
Preserving the homescreen rotation setting on a tablet, when the display is scaled
...
Bug: 27040652
Change-Id: I07f5e02443379ac5b877f72d33cedf4f2feca926
2016-02-23 14:50:27 -08:00
Sunny Goyal
32554d1c61
Cleaning up the overlay interface
...
Removing some unnecessary and unused methods
Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
2016-02-23 12:06:16 -08:00
Hyunyoung Song
dfaeff757d
Manual revert due to conflict:
...
am: d31dcbcc7c
* commit 'd31dcbcc7c7901959c65c4e635e59274a1d4c334':
Manual revert due to conflict:
2016-02-23 19:56:32 +00:00
Hyunyoung Song
d31dcbcc7c
Manual revert due to conflict:
...
Revert "Load label in bg thread to prevent ANR b/27238970"
This reverts commit b62fd09576 .
Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6
2016-02-23 11:36:21 -08:00
Sunny Goyal
1a187d4e37
Disabling som attributes so that dependencies can use compat libraries
...
am: e1bd986d77
* commit 'e1bd986d77afc9426e320b7cce53993086f9d8ba':
Disabling som attributes so that dependencies can use compat libraries
2016-02-23 19:02:41 +00:00
Sunny Goyal
e1bd986d77
Disabling som attributes so that dependencies can use compat libraries
...
Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74
2016-02-23 10:43:02 -08:00
Sunny Goyal
261194387b
Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"
...
This reverts commit fc956e5a2a .
Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
2016-02-23 02:02:54 +00:00
Hyunyoung Song
b62fd09576
Load label in bg thread to prevent ANR
...
b/27238970
Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
(cherry picked from commit 72a9953cf4 )
2016-02-23 00:45:56 +00:00
Hyunyoung Song
72a9953cf4
Load label in bg thread to prevent ANR
...
b/27238970
Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
2016-02-22 16:36:15 -08:00
Hyunyoung Song
fbf19cccd2
<UserEventLogging> Log app launches
...
b/26494415
1) Current Logger can capture taps from
- homescreen
- folder inside homescreen
- apps prediction
- all apps a-z
- tap from hotseat
2) Deprecate LauncherCallback methods that is no longer needed
Future CL.
3) Stats and Logger will be merged. Bundle used for Stats can be
replaced with LauncherLogProto
4) Logging anything else other than app launches
Change-Id: Id52eb615f66142017b5c490a220ce6654d325681
2016-02-19 12:55:53 -08:00