Commit Graph

11214 Commits

Author SHA1 Message Date
Hyunyoung Song 0da3bc6cfb [DO NOT MERGE] Fix widget tray clipping due to wrong padding
am: f4c0f7d250  -s ours

* commit 'f4c0f7d2505833fac1f5dad173282d8c73cbff5d':
  [DO NOT MERGE] Fix widget tray clipping due to wrong padding
2016-03-14 18:10:12 +00:00
Hyunyoung Song f4c0f7d250 [DO NOT MERGE] Fix widget tray clipping due to wrong padding
b/27380335
padding was set wrong when the widget view hierarchy was
being refactored in this CL: ag/870011

Change-Id: I003634acded2bbe204098c0e6fefff13d154b5d6
(cherry picked from commit 58e61ac216)
2016-03-14 18:03:25 +00:00
Hyunyoung Song 109daead4d Merge "Fix widget tray clipping due to wrong padding" into ub-launcher3-calgary 2016-03-14 18:02:47 +00:00
Hyunyoung Song 58e61ac216 Fix widget tray clipping due to wrong padding
b/27380335
padding was set wrong when the widget view hierarchy was
being refactored in this CL: ag/870011

Change-Id: I003634acded2bbe204098c0e6fefff13d154b5d6
2016-03-14 11:00:07 -07:00
Sunny Goyal 499bbfa2ef Fixing black lowres icons
Bug: 27598858
Change-Id: Ib7c9b1e3abe54b94741e154bc8327d06f83e439c
2016-03-10 19:53:05 -08:00
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
Hyunyoung Song 726eb822d3 Fix the broken build
Change-Id: I2750cde454a6604f33b910ac8b31fd07bba567bb
2016-03-07 10:07:35 -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
Hyunyoung Song b0b9b96d36 [DO NOT MERGE] Upload proto file to burnaby-polish
am: c619edbc72  -s ours

* commit 'c619edbc72e7ad2a77ab25d7a42258bc988c0b4b':
  [DO NOT MERGE] Upload proto file to burnaby-polish
2016-03-04 18:36:37 +00:00
Hyunyoung Song c619edbc72 [DO NOT MERGE] Upload proto file to burnaby-polish
b/26494415
- needed for ag/879262 getLogger function parameter
- prediction to start parsing proto instead of the bundle

Change-Id: I002ceb5faad0f2272ae5676b891f20826dbfcf3f
2016-03-04 10:27:09 -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 935ef42268 Starting market search whenever the search key is pressed
am: 9e3fee1427

* commit '9e3fee1427c0baa38564e20a9f351d1a87c25761':
  Starting market search whenever the search key is pressed
2016-03-03 18:46:34 +00: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
Geoff Mendal f7aa6053ee Import translations. DO NOT MERGE
am: 645bdb373a  -s ours

* commit '645bdb373a8f8449bb9b2d45556fd6babc4d16a3':
  Import translations. DO NOT MERGE
2016-02-29 13:34:05 +00:00
Geoff Mendal 39f12e9b08 Import translations. DO NOT MERGE
Change-Id: I71aa07c1d967ec80f35cf30a15bbd8306a3c9ba8
Auto-generated-cl: translation import
2016-02-29 05:25:50 -08:00
Geoff Mendal 645bdb373a Import translations. DO NOT MERGE
Change-Id: I728beebf58b37229d4836f627a2227519bc28734
Auto-generated-cl: translation import
2016-02-29 05:24:53 -08:00
Sunny Goyal 4876ea26e9 Chaning the \'title\' attribute format to string to be consistent with support libraries
am: eba87b1770

* commit 'eba87b1770937f44998aff5fc4b34a12b30c6440':
  Chaning the 'title' attribute format to string to be consistent with support libraries
2016-02-26 22:48:54 +00: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 eba87b1770 Chaning the 'title' attribute format to string to be consistent
with support libraries

Change-Id: I58f687f9ab5d6c0e42bebd4f0f75e1efc696b9fe
2016-02-26 09:46:11 -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 eb04507471 Fixing broken testQsbTallHeight for some devices
Change-Id: I0f4f11847602f4767051543ff648c5c32a82961a
2016-02-25 14:51:13 -08: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 c90e21f286 resolve merge conflicts of 078d4de90b to ub-launcher3-calgary
Change-Id: Iec05a686848a03fa76a893d33fa4c465f00e8a71
2016-02-25 09:21:44 -08:00
Sunny Goyal 078d4de90b Merge "Defining the base state of the Launcher theme, in case the platform has different defaults" into ub-launcher3-burnaby-polish 2016-02-25 17:12:03 +00: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