summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix predictiveApps Bug: 67010327" into ub-launcher3-dorval-polish2TreeHugger Robot2017-09-291-3/+5
|\
| * Fix predictiveAppsHyunyoung Song2017-09-291-3/+5
| | | | | | | | | | | | Bug: 67010327 Change-Id: Iab6ea790e99bb66bd0d7d4f07a8ad9fa05387d13
* | Merge changes from topic "demoModeTopic" into ub-launcher3-dorval-polish2Adam Cohen2017-09-292-4/+16
|\ \ | | | | | | | | | | | | | | | * changes: [automerger] Demo mode default layout support am: 2782449da6 Demo mode default layout support
| * \ [automerger] Demo mode default layout support am: 2782449da6Android Build Merger (Role)2017-09-292-4/+16
| |\ \ | | |/ | |/| | | | Change-Id: I0d03e760f97c6f9984ad0bf9e8f9e8c7a8a8b5c7
| | * Demo mode default layout supportAdam Cohen2017-09-292-4/+16
| | | | | | | | | | | | | | | | | | 67062454 Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
| | * 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)
* | | Caching system app flag to avoid unnecessary system callsSunny Goyal2017-09-292-4/+29
|/ / | | | | | | | | | | | | when scrolling Bug: 65493000 Change-Id: If60ec6dec23e7efa1031d72e76775fa2449bcd7b
* | Move orientation initialization to onCreate.Jon Miranda2017-09-201-2/+6
| | | | | | | | | | Bug: 64916689 Change-Id: Iacc04dcc261fc049b83cb81792975414fb00b3cc
* | Fix bug where widgets are inflated in the wrong orientation.Jon Miranda2017-09-196-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | The bug is that in onResume, the context may tell us the wrong orientation. As a workaround, we store the orientation that the Launcher is created with, and we use that orientation to check whether we actually need to reinflate the widgets. Bug: 64916689 Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5
* | Merge "Fixing widgets not getting restored when the corresponding system app ↵TreeHugger Robot2017-09-181-6/+8
|\ \ | | | | | | | | | is enabled" into ub-launcher3-dorval-polish2
| * | Fixing widgets not getting restored when the corresponding system app is enabledSunny Goyal2017-09-181-6/+8
| | | | | | | | | | | | | | | Bug: 64723295 Change-Id: I143b554087e6ff8cfbdb5f02d53fdcc7a1ce3b12
* | | Merge "Ignore clicks on notifications that don't have intents." into ↵Tony Wickham2017-09-181-0/+3
|\ \ \ | |/ / |/| | | | | ub-launcher3-dorval-polish2
| * | Ignore clicks on notifications that don't have intents.Tony Wickham2017-09-151-0/+3
| | | | | | | | | | | | | | | Bug: 64479852 Change-Id: I3bfff96a12169d0d191a36a8c7e90d4810e9f176
* | | Merge "Remove haptic on touch down Bug: 65463659" into ↵Hyunyoung Song2017-09-144-24/+0
|\ \ \ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | Remove haptic on touch downHyunyoung Song2017-09-124-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 65463659 Change-Id: I111d18a3d1dcd7877ad4aa5baaeca2e6810be332
* | | | Merge "WallpaperManagerCompat should target correct platform Also replace ↵TreeHugger Robot2017-09-1120-37/+40
|\ \ \ \ | | | | | | | | | | | | | | | Utilities.isAtLeastO() to static final constant. Bug: 65544683" into ub-launcher3-dorval-polish2
| * | | | WallpaperManagerCompat should target correct platformHyunyoung Song2017-09-1120-37/+40
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
* / / / Fixing promise icons not getting restored after the app is installedSunny Goyal2017-09-111-0/+3
|/ / / | | | | | | | | | | | | Bug: 65387781 Change-Id: I8f6ca6695ad074a707b574af9499586fdd90d5c1
* | | Merge "Try-catching getColorHints in wallpapermanager compat." into ↵TreeHugger Robot2017-09-061-6/+10
|\ \ \ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | Try-catching getColorHints in wallpapermanager compat.Mario Bertschler2017-09-061-6/+10
| | | | | | | | | | | | | | | | Change-Id: I1b2fbbdfeecb46d1864dad888f4c7e9765a25715
* | | | Merge "Adjust notification paddings" into ub-launcher3-dorval-polish2Tony Wickham2017-09-063-6/+19
|\ \ \ \ | |/ / / |/| | |
| * | | Adjust notification paddingsTony Wickham2017-09-063-6/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | - Reduce main notification height - Increase header height and center "Notifications" - Footer has short height when empty to serve as padding Bug: 65215656 Change-Id: I691d176628b0b51e8d9af030084b8c29837778dc
* / / Remove reflection from wallpaper manager for wallpaper colors.Mario Bertschler2017-09-051-56/+25
|/ / | | | | | | | | Bug: 65016704 Change-Id: I36bac7a3cd9cd4911657e693a424c9960cb9d042
* | Fix bug where Launcher crashes when pinned shortcut has no icon.Jon Miranda2017-08-301-1/+7
| | | | | | | | | | Bug: 65187090 Change-Id: Ica5b10e640cf4ab752055da2f4e352680ab26391
* | Merge "Fix bug where dragging app from Search breaks Folder preview." into ↵Sunny Goyal2017-08-301-0/+4
|\ \ | | | | | | | | | ub-launcher3-dorval-polish2
| * | Fix bug where dragging app from Search breaks Folder preview.Jon Miranda2017-08-301-0/+4
| | | | | | | | | | | | | | | Bug: 64975940 Change-Id: I3182a9396aa1e34bc3489f794f2de40387c50da3
* | | Merge "Fix bug where mw landscape cell size is calculated incorretly." into ↵TreeHugger Robot2017-08-301-0/+4
|\ \ \ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | Fix bug where mw landscape cell size is calculated incorretly.Jon Miranda2017-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that the height we pass to the multi-window DeviceProfile includes the top insets, so we tell widgets that the cell size height is larger than it actually is. We use Display#getSize to pass in the size of the window in multi-window mode. The docs say "the returned size may be adjusted to exclude certain system decor elememts." To ensure that system decor elements is always excluded, we take the minimum sizes of the main profile and it's multi-window variant -- since the multi-window DeviceProfile sizes are never going to be larger. Bug: 64851168 Change-Id: I274f838c54f3d01d43dc51e0ff921a6124e12cf7
* | | | Merge "Updating the all-apps discovery bounce animation" into ↵Sunny Goyal2017-08-304-23/+4
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-dorval-polish2
| * | | Updating the all-apps discovery bounce animationSunny Goyal2017-08-294-23/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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-285-21/+84
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | | Adding support for badging instant app icons.Sunny Goyal2017-08-285-21/+84
| | | | | | | | | | | | | | | | | | | | Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
* | | | | Increase overview icon zone percentage from 20% to 22%.Jon Miranda2017-08-281-4/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-2/+0
|\ \ \ \
| * | | | Adding scrim in all-apps scrimSunny Goyal2017-08-241-2/+0
| |/ / / | | | | | | | | | | | | | | | | 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 "Remove flicker when multiple apps are added/removed/updated on widget ↵Hyunyoung Song2017-08-244-22/+201
|\ \ \ | | | | | | | | | | | | tray" into ub-launcher3-dorval-polish2
| * | | Remove flicker when multiple apps are added/removed/updated on widget trayHyunyoung Song2017-08-234-22/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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