summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Updating the all-apps discovery bounce animation" into ↵Sunny Goyal2017-08-309-91/+61
|\ | | | | | | ub-launcher3-dorval-polish2
| * Updating the all-apps discovery bounce animationSunny Goyal2017-08-299-91/+61
| | | | | | | | | | | | | | | | | | > Animation plays on every onResume > Updating animation to loop continuously on v23+ > Updating animation spec Bug: 64331951 Change-Id: Ic6fb8d6975b37f5b010fc585329cba615296f5c7
* | Merge "Disable debugging on Widgets Diff Reporter Bug: 65160070" into ↵TreeHugger Robot2017-08-291-3/+4
|\ \ | | | | | | | | | ub-launcher3-dorval-polish2
| * | Disable debugging on Widgets Diff ReporterHyunyoung Song2017-08-291-3/+4
| | | | | | | | | | | | | | | | | | Bug: 65160070 Change-Id: Idee5b850d0dd5abaaa8571533adf802e276c4495
* | | Merge "Fix @SuppressWarnings('deprecation') typo." into ↵TreeHugger Robot2017-08-291-1/+1
|\ \ \ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | Fix @SuppressWarnings('deprecation') typo.Jon Miranda2017-08-291-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | http://errorprone.info/bugpattern/SuppressWarningsDeprecated This typo throws a build error on oc-mr1-dev. Bug: 64937210 Change-Id: I4c48a22c5ac0f296053753d4058385581037ab06
* / | AppInfo to create launch intent from component name.Mario Bertschler2017-08-291-3/+7
|/ / | | | | | | Change-Id: I11e0645acde57e60cd5596447c2aba62ef5ff1a9
* | Merge "IconCache should refresh on OTAs" into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-291-1/+2
|\ \
| * | IconCache should refresh on OTAsHyunyoung Song2017-08-281-1/+2
| |/ | | | | | | | | | | | | | | Background: PackageInfo may not have changed but when upgrading from N to O, the icon cache need to refresh in order to show Adaptive icons. Bug: 65062494 Change-Id: If3bf579c3dd035fe8d4e10c5741532fdb2a9d6fe
* | Merge "Adding support for badging instant app icons." into ↵Sunny Goyal2017-08-287-21/+130
|\ \ | | | | | | | | | ub-launcher3-dorval-polish2
| * | Adding support for badging instant app icons.Sunny Goyal2017-08-287-21/+130
| | | | | | | | | | | | Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
* | | Increase overview icon zone percentage from 20% to 22%.Jon Miranda2017-08-282-5/+6
|/ / | | | | | | | | | | | | | | | | This handles the case where "Home Settings" text is split into two lines and is cropped when the user is in multi-window mode with settings Display=Largest and Font=Largest. Bug: 64976707 Change-Id: Ia1a4ee35a94a2fbe99f8ed25fce93a023e621147
* | Merge "Add spring to QSB when opening all apps." into ↵Jonathan Miranda2017-08-285-6/+63
|\ \ | | | | | | | | | ub-launcher3-dorval-polish2
| * | Add spring to QSB when opening all apps.Jon Miranda2017-08-235-6/+63
| | | | | | | | | | | | | | | Bug: 64355491 Change-Id: I760856a32779b314c8b01ef2c051985e18b68ecb
* | | Merge "Integrating suggested app by handling new status flags for shortcut ↵Mario Bertschler2017-08-2516-45/+137
|\ \ \ | | | | | | | | | | | | items." into ub-launcher3-dorval-polish2
| * | | Integrating suggested app by handling new status flags for shortcut items.Mario Bertschler2017-08-2416-45/+137
| | |/ | |/| | | | | | | | | | | | | | | | | | | Guarded via feature flag SUGGESTED_APP. Bug: 62483883 Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
* | | Merge "Adding scrim in all-apps scrim" into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-255-17/+5
|\ \ \
| * | | Adding scrim in all-apps scrimSunny Goyal2017-08-245-17/+5
| |/ / | | | | | | | | | | | | Bug: 64692527 Change-Id: Ib8262ad0cc3c95cd419eb9fa1dee3bbbc2d25a27
* / / Hides text on ButtonDropTargets if any of them are ellipsized.Jon Miranda2017-08-243-2/+85
|/ / | | | | | | | | | | | | | | | | This can happen on small devices or on devices where Font/Display size is enlarged and when Developer Options is turned on when all three options {Uninstall, Delete, App Info} are shown at once. Bug: 64391860 Change-Id: If355d28087d53148114eb586efb3c26f158b3713
* | Merge "Adjusting opacity values for all apps." into ub-launcher3-dorval-polish2Mario Bertschler2017-08-242-3/+3
|\ \
| * | Adjusting opacity values for all apps.Mario Bertschler2017-08-212-3/+3
| | | | | | | | | | | | | | | Bug: 64899571 Change-Id: Ida4ee441d604b18ed3e5a687a85c7836eedd0e94
* | | Merge "Remove flicker when multiple apps are added/removed/updated on widget ↵Hyunyoung Song2017-08-245-22/+350
|\ \ \ | | | | | | | | | | | | tray" into ub-launcher3-dorval-polish2
| * | | Remove flicker when multiple apps are added/removed/updated on widget trayHyunyoung Song2017-08-235-22/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 36718342 1.The flicker was also happening partially because notifyWidgetProviderChanged callback also made the entire widget list to update in addition to packageManager update. 2. Now that adapter calls notifyItemInserted, Removed, the recycler view uses it's internal animation to elegantly move items or insert them. (added benefit!) 3. Added tests for WidgetsListAdapterTest $ adb shell am instrument -w -e class com.android.launcher3.widget.WidgetsListAdapterTest com.google.android.apps.nexuslauncher.tests/android.support.test.runner.AndroidJUnitRunner com.android.launcher3.widget.WidgetsListAdapterTest:. Time: 0.337 OK (6 test) Change-Id: I0818d546532631bf889fae560118decff64ec5a4 Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
* | | | Applying the widget resize changes even when the activity is destroyedSunny Goyal2017-08-232-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in the middle of the resize interaction. Bug: 64759853 Change-Id: I65ab7df0426f36fe1121bf055e38fc722822b0f4
* | | | Show progress dialog when uninstalling an app in Launcher3Go.Jon Miranda2017-08-233-11/+44
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the uninstall activity will finish only after the task is completed. We initially assumed that this was always the case, but in Android Go the uninstall activity finishes before the uninstall is completed. Bug: 64033585 Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a
* | | Merge "Remove notification dots setting for Launcher3Go" into ↵Tony Wickham2017-08-224-6/+23
|\ \ \ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | Remove notification dots setting for Launcher3GoTony Wickham2017-08-144-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove BADGE_ICONS flag as it is no longer used or necessary. Bug: 64561196 Change-Id: Icf9656537459a7dbad3a07830eedbdeec8d8f1ce
* | | | Adjusting reflection api for color addOnColorsChangedListener thatMario Bertschler2017-08-211-3/+3
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | caused reflection to break. The new api method is available in both DR and MR1. Bug: 64908004 Bug: 64839046 Change-Id: I812c320e2c817aea8264de8764e33ad218b591c5
* | | Merge "Simplifying some package matching code by using common itemInfo ↵TreeHugger Robot2017-08-217-101/+100
|\ \ \ | | | | | | | | | | | | mathcher" into ub-launcher3-dorval-polish2
| * | | Simplifying some package matching code by using common itemInfo mathcherSunny Goyal2017-08-177-101/+100
| | | | | | | | | | | | | | | | Change-Id: Ib98d528391e19c0de3fe11304330dfa37710548c
* | | | Merge "Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps ↵TreeHugger Robot2017-08-219-71/+30
|\ \ \ \ | |_|_|/ |/| | | | | | | transition fully functional Verified: NO_ALL_APPS_ICON = false case also works." into ub-launcher3-dorval-polish2
| * | | Remove LAUNCHER3_ALL_APPS_PULL_UPHyunyoung Song2017-08-219-71/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works. Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
* | | | Merge "Fixing bindAllApplications scheduled with null list." into ↵TreeHugger Robot2017-08-182-35/+59
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | | Fixing bindAllApplications scheduled with null list.Sunny Goyal2017-08-182-35/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Fixing wrong intests being sent to DeviceProfile in case of lowRam ↵TreeHugger Robot2017-08-182-10/+22
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | device Also fixing the navbar to dark theme when a black bar is drawn behind nav bar" into ub-launcher3-dorval-polish2
| * | | | Fixing wrong intests being sent to DeviceProfile in case of lowRam deviceSunny Goyal2017-08-182-10/+22
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / | | Fixing crashloop due to ag/2750101Sunny Goyal2017-08-181-6/+10
|/ / / | | | | | | | | | Change-Id: Idebf6bfad4e56a52780b848fbb09b3a0134ffdc2
* / / Fixing duplicate/inconsistent definitions for model and callbacksSunny Goyal2017-08-1711-140/+57
|/ / | | | | | | | | | | | | | | > 2 implementations for filtering workspace items > 2 implementations for binding widgets > duplicate logic for add and update appInfo Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
* | [automerger] Fix bug where all apps items fade in. am: 48a4e91c73Jonathan Miranda2017-08-150-0/+0
|\ \ | | | | | | | | | Change-Id: I9ccd034f9d8606d3baae07da3464c659fd405831
| * | Fix bug where all apps items fade in.Jon Miranda2017-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removes all Add/Change/Move/Remove animations by clearing the AllAppsRecyclerView ItemAnimator. Bug: 64675794 Change-Id: I41f975ab6be4bf48c483828ea6f109382a8a9320 (cherry picked from commit 7dfabaa02bdcf7d9307e11fa490c097bdc990025)
* | | Merge "Simpifying uninstall drop target to check item type instead of class ↵Sunny Goyal2017-08-151-14/+6
|\ \ \ | | | | | | | | | | | | instance" into ub-launcher3-dorval-polish2
| * | | Simpifying uninstall drop target to check item type instead of class instanceSunny Goyal2017-08-151-14/+6
| | |/ | |/| | | | | | | | | | Bug: 64719848 Change-Id: I34c13b461e204fbdc2c5b4ed6fa92564ebd5439a
* | | Merge "Fix bug where all apps items fade in." into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-151-2/+2
|\ \ \
| * | | Fix bug where all apps items fade in.Jon Miranda2017-08-151-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | Removes all Add/Change/Move/Remove animations by clearing the AllAppsRecyclerView ItemAnimator. Bug: 64675794 Change-Id: I41f975ab6be4bf48c483828ea6f109382a8a9320
* / / Get rid of unnecessary int array allocation.Rajeev Kumar2017-08-141-9/+9
|/ / | | | | | | | | | | Bug: 64656232 Change-Id: Ifc811c3930b8052d57fa33d35b9d50f11b541c94 Test: Tested manually
* | [automerger] Fix bug where all apps scrollbar jumps. am: bb10fa8fc2Jonathan Miranda2017-08-141-0/+1
|\| | | | | | | Change-Id: I656c3482de28f7b50c0526cf10eacb6847e19447
| * Fix bug where all apps scrollbar jumps.Jon Miranda2017-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | 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
| * Merge "Switch the status bar color earlier in the all apps transition" into ↵TreeHugger Robot2017-08-041-1/+3
| |\ | | | | | | | | | ub-launcher3-dorval-polish
| * \ Merge "Fix bug where user gets stuck in overscroll." into ↵TreeHugger Robot2017-08-041-10/+14
| |\ \ | | | | | | | | | | | | ub-launcher3-dorval-polish
* | | | Import translations. DO NOT MERGEBill Yi2017-08-119-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0c577cf7de02928f02d9fde76ea5b6ec35d18c70 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import