Commit Graph

11278 Commits

Author SHA1 Message Date
Sunny Goyal afdfdbdaf1 Adding UI tests for various bind widget flows
am: 16466f1bbb

* commit '16466f1bbb935d56c01b10551ead416feb7fc943':
  Adding UI tests for various bind widget flows
2016-03-15 22:38:16 +00:00
Sunny Goyal 16466f1bbb Adding UI tests for various bind widget flows
Change-Id: I634302051886baee6b6424f69bc95db860b4823e
2016-03-15 15:34:25 -07:00
Sunny Goyal 3300cb5125 Merge "Closing folder in onSaveInstanceState" into ub-launcher3-calgary
am: 77b3e1a57b

* commit '77b3e1a57ba0801c3def173c0f6c8089eb4591f7':
  Closing folder in onSaveInstanceState
2016-03-15 16:59:08 +00:00
Sunny Goyal 77b3e1a57b Merge "Closing folder in onSaveInstanceState" into ub-launcher3-calgary 2016-03-15 16:52:06 +00:00
Sunny Goyal 44d0b5355d Closing folder in onSaveInstanceState
folderInfo.isOpened is part of static model, where is the open folder
state is part of the UI. This resets the static model, when the
UI is about to be reset
This also causes the folders to get closed when launcher gets hidden

Partial revert of: Ie1318b82b497957b99603b11ec338dd50d51b962

Bug: 27596291, 24900496, 27624924
Change-Id: I30c2bb99a19fdd95a1b997d07066f80be812e2c0
2016-03-15 09:44:49 -07:00
Adam Cohen df769f7663 Fix issue with all apps icons not being aligned
am: 35937a2530

* commit '35937a2530d46c8c65672d7e74ef994b5f47ad4e':
  Fix issue with all apps icons not being aligned
2016-03-15 05:11:28 +00:00
Adam Cohen 35937a2530 Fix issue with all apps icons not being aligned
-> The new versions of LayoutManagers in the latest support lib
   has begun to respect certain layout params (where before they
   were ignoreed). match_parent is now treated as "match column",
   which is what we want here.

issue 27581978

Change-Id: If1efed15b5a93c873ff141e3c658922819c143fb
2016-03-14 19:50:05 -07:00
Hyunyoung Song 2a98ca630e [DO NOT MERGE] Fix widget tray clipping due to wrong padding am: f4c0f7d250 -s ours
am: 0da3bc6cfb  -s ours

* commit '0da3bc6cfbd4de056e15100a0e2b2bc9e85a5d73':
  [DO NOT MERGE] Fix widget tray clipping due to wrong padding
2016-03-14 18:12:13 +00:00
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 7bfa85bd8e Merge "Fix widget tray clipping due to wrong padding" into ub-launcher3-calgary
am: 109daead4d

* commit '109daead4d8e8205ee4c6f52839105efda09b914':
  Fix widget tray clipping due to wrong padding
2016-03-14 18:10:11 +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 2518da908b Fixing black lowres icons
am: 499bbfa2ef

* commit '499bbfa2efbb914d75b2227667945b96aa243d7b':
  Fixing black lowres icons
2016-03-11 18:43:10 +00:00
Sunny Goyal 499bbfa2ef Fixing black lowres icons
Bug: 27598858
Change-Id: Ib7c9b1e3abe54b94741e154bc8327d06f83e439c
2016-03-10 19:53:05 -08:00
Sunny Goyal 45fdfb2b7c Merge "Changing the widget loading strategy" into ub-launcher3-calgary
am: d856074d90

* commit 'd856074d90b31390f1a70d09fde374cae925bf20':
  Changing the widget loading strategy
2016-03-10 04:26:22 +00: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 c011e6be36 Add getUserEventLogger to LauncherCallbacks b/26494415
am: 8fd5e938d3

* commit '8fd5e938d34ee84d076b5c5d2575cc6c46c254ce':
  Add getUserEventLogger to LauncherCallbacks b/26494415
2016-03-09 01:13:17 +00:00
Hyunyoung Song 8fd5e938d3 Add getUserEventLogger to LauncherCallbacks
b/26494415

Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
2016-03-08 16:55:47 -08:00
Hyunyoung Song db255e7957 Fix the broken build
am: 726eb822d3

* commit '726eb822d38ad422f37b74c4b0fc504a423ab926':
  Fix the broken build
2016-03-07 19:05:40 +00:00
Hyunyoung Song 726eb822d3 Fix the broken build
Change-Id: I2750cde454a6604f33b910ac8b31fd07bba567bb
2016-03-07 10:07:35 -08:00
Tony Wickham eb335f8b9c Pinch to zoom out into overview mode.
am: dadb304b46

* commit 'dadb304b4682998c43b9c07bef45b9a9380f3287':
  Pinch to zoom out into overview mode.
2016-03-05 01:01:03 +00: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 8dea6478e9 Adding back LAUNCHER3_ICON_NORMALIZATION feature flag to fix dependency breakage
am: cd50a0fade

* commit 'cd50a0fade590098b4322140c5fede04c6e7eb8e':
  Adding back LAUNCHER3_ICON_NORMALIZATION feature flag to fix dependency breakage
2016-03-04 22:59:33 +00: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 9382a1da1d Trim down the logging class am: 3650019856
am: 5f03934774

* commit '5f039347747bd8435fd8e7d1ae71f6f917916b3e':
  Trim down the logging class
2016-03-04 20:19:08 +00: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 15b542dc5e Define generic logging class am: a9c69ce09c
am: c6409a8991

* commit 'c6409a89914fa58ad6e3d8f5d94eb09d5b7e08cd':
  Define generic logging class
2016-03-04 19:18:47 +00: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 a0435f3cf4 [DO NOT MERGE] Upload proto file to burnaby-polish am: c619edbc72 -s ours
am: b0b9b96d36  -s ours

* commit 'b0b9b96d36aaecdf9521667d8889693fa33fd8db':
  [DO NOT MERGE] Upload proto file to burnaby-polish
2016-03-04 18:38:35 +00: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 1b6695988e resolve merge conflicts of 2494c3f168 to ub-launcher3-calgary
am: 97660f7a94

* commit '97660f7a9421b4d9068183b6fb1ec107df8c7946':
  Moving createMarketSearchIntent to search controller to allow it to be customizable
2016-03-03 21:55:25 +00: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 8eb5b17877 Fixing mismatch comment in flags
am: 3169e9c331

* commit '3169e9c331d16f622838093743fc20f8f2f4500d':
  Fixing mismatch comment in flags
2016-03-03 21:44:14 +00:00
Sunny Goyal e4b2db40d8 Using a negative flag for icon notmalization
am: 531cda693d

* commit '531cda693d07eba9dce6b793848749acaf28c0fd':
  Using a negative flag for icon notmalization
2016-03-03 21:44:06 +00: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 c1b7095322 Starting market search whenever the search key is pressed am: 9e3fee1427
am: 935ef42268

* commit '935ef4226845db24e8017c3e41d70faafaa7f3cc':
  Starting market search whenever the search key is pressed
2016-03-03 18:48:34 +00: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 f3951ff165 Switch all folder preview rendering to be programmatic (ie. no assets)
am: efca0279eb

* commit 'efca0279eb927faebffc38c8382818df67fcd159':
  Switch all folder preview rendering to be programmatic (ie. no assets)
2016-03-03 17:34:04 +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 9aff3be370 Starting market search whenever the search key is pressed
am: 992a5f566e

* commit '992a5f566e7f1b1fc8bd766f1fd00bee7ea2a634':
  Starting market search whenever the search key is pressed
2016-03-02 23:16:21 +00: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 9fde718400 Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish am: 5cc55a143a
am: a10bf37446

* commit 'a10bf37446e5d6714fb000ee5e5afea1a0c27baf':
  Prevent work profile widget DnD crash b/26079469
2016-03-01 20:01:59 +00:00