Commit Graph
12201 Commits
Author SHA1 Message Date
TreeHugger Robot a7a7b63d9e Merge changes from topic "am-17d9128f-860a-478b-b599-8befd413609c" into ub-launcher3-master
* changes:
  [automerger] Simplifying some package matching code by using common itemInfo mathcher am: 6e13dd3aa8
  Simplifying some package matching code by using common itemInfo mathcher
2017-08-21 19:28:39 +00:00
TreeHugger Robot b55b6264ae Merge "Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works." into ub-launcher3-dorval-polish2 2017-08-21 19:22:56 +00:00
Hyunyoung Song b189a0e45a [automerger] Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works. am: d725f644b7
Change-Id: I455d617765afe5e7ec1dfb29ad019f37407702d7
2017-08-21 19:01:16 +00:00
Hyunyoung Song d725f644b7 Remove LAUNCHER3_ALL_APPS_PULL_UP
Bug: 63712253
Verified: all apps transition fully functional
Verified: NO_ALL_APPS_ICON = false case also works.

Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
2017-08-21 11:59:14 -07:00
TreeHugger Robot ee804af749 Merge "Fixing bindAllApplications scheduled with null list." into ub-launcher3-dorval-polish2 2017-08-18 19:14:45 +00:00
Sunny Goyal 5ff7ba7882 [automerger] Fixing bindAllApplications scheduled with null list. am: 49fc3f7aa8
Change-Id: I5f2c97270be0b32275e4049bb34f6fe77c35a884
2017-08-18 19:07:23 +00:00
Sunny Goyal 49fc3f7aa8 Fixing bindAllApplications scheduled with null list.
When deferring bindAllApplications, the same global state was being
used to store the pending state. This global state was being cleared
in one deferred execution after a second execution was scheduled, causing
the second execution to get null/wrong values.

Instead using independent local/anonymous class to maintian states, so that
it does not get cleared by other methods.

Bug: 64789383
Change-Id: I78477a110fe663603b4bdeb7d1fac7c4ce0831a2
2017-08-18 12:07:11 -07:00
TreeHugger Robot 1d2eaa7676 Merge "Fixing wrong intests being sent to DeviceProfile in case of lowRam device Also fixing the navbar to dark theme when a black bar is drawn behind nav bar" into ub-launcher3-dorval-polish2 2017-08-18 18:57:34 +00:00
Sunny Goyal 4384767647 [automerger] Fixing wrong intests being sent to DeviceProfile in case of lowRam device Also fixing the navbar to dark theme when a black bar is drawn behind nav bar am: 906c6b2f6c
Change-Id: I8d222de777a43613ae9ae97287e0102499d307a5
2017-08-18 12:26:00 +00:00
Sunny Goyal 906c6b2f6c Fixing wrong intests being sent to DeviceProfile in case of lowRam device
Also fixing the navbar to dark theme when a black bar is drawn behind nav bar

Fixing left/right margins not getting updated on lowRam device
when they change from non-zero value to 0

Bug: 64363693
Bug: 62547502
Change-Id: I4952ad2f564b71b39318350445f116a0f601a10f
2017-08-18 05:25:44 -07:00
Sunny Goyal bd6a59a018 [automerger] Fixing crashloop due to ag/2750101 am: a9a1a210d3
Change-Id: Iaf4b026c685b4c5e9705b09a23562c26f3272e98
2017-08-18 08:04:05 +00:00
Sunny Goyal a9a1a210d3 Fixing crashloop due to ag/2750101
Change-Id: Idebf6bfad4e56a52780b848fbb09b3a0134ffdc2
2017-08-18 01:03:48 -07:00
Sunny Goyal 94c27d9885 [automerger] Simplifying some package matching code by using common itemInfo mathcher am: 6e13dd3aa8
Change-Id: I1585b0977b6df998de571de1285c4b2b3b0a7550
2017-08-17 18:15:25 +00:00
Sunny Goyal 6e13dd3aa8 Simplifying some package matching code by using common itemInfo mathcher
Change-Id: Ib98d528391e19c0de3fe11304330dfa37710548c
2017-08-17 11:15:12 -07:00
Sunny Goyal eeeeda6a07 [automerger] Fixing duplicate/inconsistent definitions for model and callbacks am: b23980cc0e
Change-Id: If7d19d675472b25fa07715932f47d4ff9966d450
2017-08-17 18:06:08 +00:00
Sunny Goyal b23980cc0e Fixing duplicate/inconsistent definitions for model and callbacks
> 2 implementations for filtering workspace items
> 2 implementations for binding widgets
> duplicate logic for add and update appInfo

Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
2017-08-17 11:05:56 -07:00
Jon Miranda 48a4e91c73 Fix bug where all apps items fade in.
Removes all Add/Change/Move/Remove animations by
clearing the AllAppsRecyclerView ItemAnimator.

Bug: 64675794
Change-Id: I41f975ab6be4bf48c483828ea6f109382a8a9320
(cherry picked from commit 7dfabaa02b)
2017-08-15 20:50:00 +00:00
Sunny Goyal 67b2a21f45 Merge "Simpifying uninstall drop target to check item type instead of class instance" into ub-launcher3-dorval-polish2 2017-08-15 20:45:33 +00:00
Sunny Goyal 8e2b20e476 [automerger] Simpifying uninstall drop target to check item type instead of class instance am: 1fe0c2ca08
Change-Id: I9454d7d5f26e9676c8a2a74a5bc6b0d2a2ba6f1e
2017-08-15 19:55:56 +00:00
Sunny Goyal 1fe0c2ca08 Simpifying uninstall drop target to check item type instead of class instance
Bug: 64719848
Change-Id: I34c13b461e204fbdc2c5b4ed6fa92564ebd5439a
2017-08-15 12:55:16 -07:00
TreeHugger Robot 10fcfb04b0 Merge "Fix bug where all apps items fade in." into ub-launcher3-dorval-polish2 2017-08-15 19:43:27 +00:00
Jonathan Miranda d6f8c358a2 [automerger] Fix bug where all apps items fade in. am: 7dfabaa02b
Change-Id: I31c92ac1080f1ae014194039cb9a4fa45851357e
2017-08-15 17:35:20 +00:00
Jon Miranda 7dfabaa02b Fix bug where all apps items fade in.
Removes all Add/Change/Move/Remove animations by
clearing the AllAppsRecyclerView ItemAnimator.

Bug: 64675794
Change-Id: I41f975ab6be4bf48c483828ea6f109382a8a9320
2017-08-15 10:33:54 -07:00
Rajeev Kumar ad308b9927 [automerger] Get rid of unnecessary int array allocation. am: bf17e50156
Change-Id: I05ef669fdfcae0e419e2bcc497495db5537bcb07
2017-08-14 23:13:39 +00:00
Rajeev Kumar bf17e50156 Get rid of unnecessary int array allocation.
Bug: 64656232
Change-Id: Ifc811c3930b8052d57fa33d35b9d50f11b541c94
Test: Tested manually
2017-08-14 16:12:48 -07:00
Tony Wickham d424b25be4 [automerger] Remove notification dots setting for Launcher3Go am: c138515c4e
Change-Id: I2fdd2f33babf294140a649fafebc68d6e45b86d7
2017-08-14 22:09:39 +00:00
Tony Wickham c138515c4e Remove notification dots setting for Launcher3Go
Also remove BADGE_ICONS flag as it is no longer used or necessary.

Bug: 64561196
Change-Id: Icf9656537459a7dbad3a07830eedbdeec8d8f1ce
2017-08-14 15:09:24 -07:00
Jonathan Miranda 591a538d4a [automerger] Fix bug where all apps scrollbar jumps. am: bb10fa8fc2 am: 492617f4c4
Change-Id: I5d97c5c1f90a655d2cd5a79fda54b6e5a0f5918e
2017-08-14 19:42:27 +00:00
Jonathan Miranda 492617f4c4 [automerger] Fix bug where all apps scrollbar jumps. am: bb10fa8fc2
Change-Id: I656c3482de28f7b50c0526cf10eacb6847e19447
2017-08-14 19:42:24 +00:00
Jon Miranda bb10fa8fc2 Fix bug where all apps scrollbar jumps.
The problem is that rowAppIndex is not being set when we swap in the
new predictions. So when we call AllAppsRecyclerView#getCurrentScrollY,
the "item.rowAppIndex == 0" clause returns true for every predicted app,
which results in a larger than expected value.

Bug: 64628968
Change-Id: I37ca660522b5a99666de2ea0b9c0aa8cd3732aca
2017-08-14 12:35:53 -07:00
Tony Wickham b1e79b88c0 Merge changes from topic 'am-9a69b851-360f-46eb-9a97-9f3b6fb5a05d' into ub-launcher3-master
* changes:
  [automerger] Defer some work until after workspace fade-in am: 2917a8bf2b
  Defer some work until after workspace fade-in
2017-08-10 18:49:15 +00:00
Tony Wickham f2d3696500 Merge "Defer some work until after workspace fade-in" into ub-launcher3-dorval-polish2 2017-08-10 18:49:15 +00:00
Jonathan Miranda a42947a6fa [automerger] Fix bug where workspace is not aligned with hotseat in landscape. am: 9593f9ed0c
Change-Id: I780f4e8daaa9db4f9740c345d462d129b1e83ee0
2017-08-09 22:00:21 +00:00
Jon Miranda 9593f9ed0c Fix bug where workspace is not aligned with hotseat in landscape.
The padding was added to the hotseat, but not to the workspace screens.
Only affects landscape where bottomPadding != 0.

Bug: 63996463
Change-Id: I8be0e36128963a1856d2effa76fdb2a6cfd966a8
2017-08-09 14:57:30 -07:00
TreeHugger Robot 16d90e3be5 Merge "Update hotseat cell height calculation." into ub-launcher3-dorval-polish2 2017-08-09 21:05:23 +00:00
Jonathan Miranda b1104927da [automerger] Update hotseat cell height calculation. am: 5044c35b07
Change-Id: Iceabd44636cbca45ba76a57835452ab5f24e95df
2017-08-09 18:39:51 +00:00
Jon Miranda 5044c35b07 Update hotseat cell height calculation.
The hotseat never has text, so we remove the icon drawable padding
from the height calculation.

This allows the items in the hotseat to be centered vertically
properly.

Bug: 63996463
Change-Id: Ie0c5706ae6edeafae321ca024c066439d40ca237
2017-08-09 11:37:59 -07:00
TreeHugger Robot 8230198af0 Merge "Making some methods accessible" into ub-launcher3-dorval-polish2 2017-08-09 09:17:00 +00:00
TreeHugger Robot 0d34cdf0d9 Merge changes from topic 'public-methods' into ub-launcher3-master
* changes:
  [automerger] Making some methods accessible am: 0b754e564b
  Making some methods accessible
2017-08-09 09:17:00 +00:00
Sunny Goyal 463b04cfe1 [automerger] Fixing badge bounds incorrectly set when dragging icon am: 5be7579598
Change-Id: Ifd1aa077c9cd732104b4cbcb661c6447efef7209
2017-08-07 17:42:35 +00:00
Sunny Goyal 5be7579598 Fixing badge bounds incorrectly set when dragging icon
Bug: 64427027
Change-Id: If57bdcab703b2cc30e8ca0c0fba0dd599792bd00
2017-08-07 10:42:22 -07:00
Sunny Goyal 33e29c8a75 [automerger] Making some methods accessible am: 0b754e564b
Change-Id: I247430dc5eaebed47b03d0e881d97fb3d7131a27
2017-08-07 14:43:49 +00:00
Sunny Goyal 0b754e564b Making some methods accessible
Bug: 63996463
Change-Id: I3cd2e21b8aa6744fc8003a131178ce1671e024dd
2017-08-07 07:43:25 -07:00
Tony Wickham cebcfbce94 [automerger] Defer some work until after workspace fade-in am: 2917a8bf2b
Change-Id: Ibd5f3343a58158376576853b139a8dd3e5b98e26
2017-08-04 18:52:59 +00:00
Tony 2917a8bf2b Defer some work until after workspace fade-in
Defer:
- Setting all apps
- Setting widgets

Also set the launcher-loader thread to THREAD_PRIORITY_BACKGROUND
for the duration of the animation.

Bug: 37965432
Change-Id: I8364940805b84aecb8353a473ab4d575c27bfec4
2017-08-04 11:52:42 -07:00
TreeHugger Robot 56ad97cf2d Merge "Switch the status bar color earlier in the all apps transition" into ub-launcher3-dorval-polish 2017-08-04 17:30:06 +00:00
Adam Cohen aa392fc1f6 [automerger] Switch the status bar color earlier in the all apps transition am: 3051dbabe7 am: 3fc21715b3
Change-Id: I195ecbf364e5c9ed536f95f0702a12fce8922472
2017-08-04 16:29:28 +00:00
Adam Cohen 3fc21715b3 [automerger] Switch the status bar color earlier in the all apps transition am: 3051dbabe7
Change-Id: I12f952a555287173bc7ad5e3acca3aaad2b6a1df
2017-08-04 16:29:25 +00:00
Adam Cohen 3051dbabe7 Switch the status bar color earlier in the all apps transition
-> When LAUNCHER3_GRADIENT_ALL_APPS is true, switch the status / nav bar
   to be dark when the transition is 75% of the way through, since at this point
   the gradient is already substantially under the status bar.

issue 64385775

Change-Id: Ie27b8f2afa404c0b3081a4f17daa92ef4e0472bc
2017-08-04 09:29:14 -07:00
TreeHugger Robot 402fb03160 Merge "Fix bug where user gets stuck in overscroll." into ub-launcher3-dorval-polish 2017-08-04 16:10:59 +00:00