Commit Graph
7855 Commits
Author SHA1 Message Date
Mehdi Alizadeh 4c4d213b63 Merge changes from topic "log-action-suggestion" into ub-launcher3-master
* changes:
  [automerger] Refactors ButtonDropTarget to add extension data am: bda47cf925
  Refactors ButtonDropTarget to add extension data
2018-05-02 22:23:20 +00:00
android-build-team Robot 237a33752b Merge changes from topic "defer-minus-one" into ub-launcher3-master
* changes:
  [automerger] Moving some callbacks from LauncherCallbacks to OverviewCallbacks am: 8e1fbc5103
  Moving some callbacks from LauncherCallbacks to OverviewCallbacks
2018-05-02 22:06:10 +00:00
Android Build Merger (Role) 5e35f28f89 [automerger] Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Bug: 77920179 am: a05860421f
Change-Id: I0afe3ef4b2126e3404386827259973d0bd0cb42a
2018-05-02 21:34:33 +00:00
Hyunyoung Song a05860421f Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep
Bug: 77920179

Change-Id: Id4c7dc3d535c7a8009d340183e640b04ab07408a
2018-05-02 14:34:23 -07:00
Android Build Merger (Role) da34f79f40 [automerger] Refactors ButtonDropTarget to add extension data am: bda47cf925
Change-Id: I84a1d33fc7187d95687e768609887c6ccf13b400
2018-05-02 21:20:28 +00:00
Mehdi Alizadeh bda47cf925 Refactors ButtonDropTarget to add extension data
Also fixes a bug where DeleteDropTarget was logging Remove instead of
Cancel.

Bug: 78793340
Test: Enable verbose logging and manual test
Change-Id: I0f0cfff070eab003ebb745292630bc6ce3243f4d
2018-05-02 14:20:09 -07:00
android-build-team Robot d9a817b21b Merge changes from topic "am-89438c30-d3b8-4a6b-a78d-2e19d2c58c55" into ub-launcher3-master
* changes:
  [automerger] Quickstep onboarding backward compatibility for devices release with Android N & O. am: 8b23c6f60b
  Quickstep onboarding backward compatibility for devices release with Android N & O.
2018-05-02 20:51:37 +00:00
Android Build Merger (Role) 5b11380b12 [automerger] Quickstep onboarding backward compatibility for devices release with Android N & O. am: 8b23c6f60b
Change-Id: Ic74f593c159eff2d0972ae98b0d8d573b2408365
2018-05-02 20:41:38 +00:00
Tracy Zhou 8b23c6f60b Quickstep onboarding backward compatibility for devices release with Android N & O.
Quickstep introduces swipe up gesture to open Overview and removes the
Recents button. We still want to show shelf bounce animation for Android
N & O users with Recents button because Overview is updated and swiping
up from there takes users to All Apps.

Test: manual test
Change-Id: I917c91564c47c78d2dc3883b8a7bf7824b5f5bc8
Fixes: 78647939
2018-05-02 13:41:28 -07:00
Android Build Merger (Role) 9097b42c0c [automerger] Settling scrolls over clear-all button. am: a9283beebc
Change-Id: Ifda915057c1c13b08159fe2a638791d8a2a6e45c
2018-05-02 20:31:06 +00:00
Vadim Tryshev a9283beebc Settling scrolls over clear-all button.
Per UX feedback, we divide the "overscroll area" 50/50 and settle to the
closest of the most recent task position and the fully scrolled
position.

Bug: 72222505
Test: Manual
Change-Id: Ic98fa5ae2f14f274f6a425ac687f13f7b3a4332e
2018-05-02 13:30:27 -07:00
android-build-team Robot ce484f4fb5 Merge changes from topic "am-60382f80-140d-4281-b905-99472c404e5b" into ub-launcher3-master
* changes:
  [automerger] Increase DELAY_MS for DiscoveryBounce. am: 8d945e497f
  Increase DELAY_MS for DiscoveryBounce.
2018-05-02 18:04:46 +00:00
Tony Wickham 8886108aa4 Merge changes from topic "am-c2841e6a-5061-492f-abbf-dfb8b89ccc04" into ub-launcher3-master
* changes:
  [automerger] Fix some state issues with user-controlled animations am: 31fbd4c08b
  Fix some state issues with user-controlled animations
2018-05-02 16:20:19 +00:00
Jorim Jaggi 31925d52f8 Merge changes from topic "am-31a9fe88-a758-4cb8-adfb-88de2cbdae63" into ub-launcher3-master
* changes:
  [automerger] Fix some jank with transitions am: 118295e07c
  Fix some jank with transitions
2018-05-02 13:17:42 +00:00
Android Build Merger (Role) 4f6a95b2bb [automerger] Increase DELAY_MS for DiscoveryBounce. am: 8d945e497f
Change-Id: I70d0884b46965525510d9c1b8ef14a8bfe1ed479
2018-05-02 04:23:38 +00:00
Jon Miranda 8d945e497f Increase DELAY_MS for DiscoveryBounce.
We need it to be longer, otherwise it interferes with the app closing
animation.

Change-Id: Id50e54362564eb8f7c083495fe8ca039c68fba3f
2018-05-01 21:21:48 -07:00
Android Build Merger (Role) 18a7ac9c11 [automerger] Moving some callbacks from LauncherCallbacks to OverviewCallbacks am: 8e1fbc5103
Change-Id: If2052239787c4ff34bc45fb4854dcd24ea499f6f
2018-05-01 23:58:59 +00:00
Sunny Goyal 8e1fbc5103 Moving some callbacks from LauncherCallbacks to OverviewCallbacks
Bug: 78780639
Change-Id: I90f868c741834efbe542367bdc3539f6d14f1939
2018-05-01 16:58:52 -07:00
android-build-team Robot cacf90cc48 Merge "Reusing the same bitmap and pixel array for shape detection" into ub-launcher3-edmonton 2018-05-01 23:32:17 +00:00
android-build-team Robot 955ce4fdf5 Merge changes from topic "am-986d85fc-0e97-4cac-9bb5-144e93067776" into ub-launcher3-master
* changes:
  [automerger] Reusing the same bitmap and pixel array for shape detection am: 2e4596a448
  Reusing the same bitmap and pixel array for shape detection
2018-05-01 23:32:17 +00:00
android-build-team Robot 4d9c414cdb Merge "Bound overscroll shift amount to avoid content from drawing on top (Y-val) of the QSB." into ub-launcher3-edmonton 2018-05-01 21:07:59 +00:00
android-build-team Robot 42bed6baca Merge changes from topic "am-85c4a06c-b495-4e8b-9fa0-1fa07db12132" into ub-launcher3-master
* changes:
  [automerger] Bound overscroll shift amount to avoid content from drawing on top (Y-val) of the QSB. am: 5916709219
  Bound overscroll shift amount to avoid content from drawing on top (Y-val) of the QSB.
2018-05-01 21:07:59 +00:00
android-build-team Robot 3adb0b9f2a Merge "Fade in LauncherRootView in finishFirstPageBind." into ub-launcher3-edmonton 2018-05-01 20:59:00 +00:00
Android Build Merger (Role) 0b2d171f14 [automerger] Bound overscroll shift amount to avoid content from drawing on top (Y-val) of the QSB. am: 5916709219
Change-Id: I180c72e1dc8a05488eeffc059dfcb2bc47d4c468
2018-05-01 20:57:51 +00:00
Jon Miranda 5916709219 Bound overscroll shift amount to avoid content from drawing on top (Y-val)
of the QSB.

Bug: 77538324
Change-Id: Idabc4365c5fe5cb1894fa0eb84ea9309b85f99a3
2018-05-01 13:57:33 -07:00
Android Build Merger (Role) 24906b4f3b [automerger] Fade in LauncherRootView in finishFirstPageBind. am: dbd9286abd
Change-Id: I0ffeab9d4f958cd589fddf1e015b01c5ebe799d4
2018-05-01 20:50:06 +00:00
Jon Miranda dbd9286abd Fade in LauncherRootView in finishFirstPageBind.
This ensures that the fade in animation will actually run, as DragLayer alpha
can be set by other means.

Bug: 72728697
Change-Id: I3ca0a6811b113e331119c74539a4421cfbdb51c9
2018-05-01 13:49:54 -07:00
Android Build Merger (Role) 27afd409ac [automerger] Fix some state issues with user-controlled animations am: 31fbd4c08b
Change-Id: Ia7ee40b542775dc45859028ba923e8edcc83401d
2018-05-01 18:45:49 +00:00
Tony 31fbd4c08b Fix some state issues with user-controlled animations
Previously, user-controlled animations weren't properly being canceled when a
non-user-controlled animation started, e.g. when hitting home. Thus, we could
end in the wrong or inconsistent state because the user-controlled animation's
end runnable was still used. Now we add a cleanup callback for when we reset
the user-controlled animation for one that isn't user-controlled.

Also fixed a couple typos.

Tests (easier with animation durations extended):
- Swipe up and hit home before reaching overview -> land on home
- Go to overview, swipe down slightly (before threshold to go to workspace)
  and let go -> return to overview without flash (recents was resetting)
- Swipe up, press home while swiping -> goes home, stops responding to drag
- Start dismissing task and hit home before it finishes (or while dragging)
  -> goes home, stops responding to drag

Bug: 78249220
Change-Id: If11d8999e3fadba38c987b25af67cd2304cd859b
2018-05-01 13:45:27 -05:00
android-build-team Robot 1e0b98fa6e Merge "Fixes the incorrect hover icon color in drop bar when dark theme" into ub-launcher3-edmonton 2018-04-30 23:22:00 +00:00
Android Build Merger (Role) d4cc439ba0 [automerger] Fixes the incorrect hover icon color in drop bar when dark theme am: 3e024c0e1c
Change-Id: Iad7dfb5097b36258fe0636b4b1f7080416b18f2b
2018-04-30 23:05:38 +00:00
Mehdi Alizadeh 3e024c0e1c Fixes the incorrect hover icon color in drop bar when dark theme
Bug: 78641863
Test: Manual test with dark and light wallpapers
Change-Id: Ic3fb68f5c5f746482a7f23b11284e30ac3e10168
2018-04-30 16:05:25 -07:00
Sunny Goyal 36d090df67 Adding a round rect background for the self in Overview
Bug: 78771910
Change-Id: I71460a284ed185e82d66fe65104402fb99d6b312
2018-04-30 15:37:39 -07:00
android-build-team Robot 1ea6d9cb8e Merge "Fixing Search box not getting aligned properly based on insets" into ub-launcher3-edmonton 2018-04-30 21:31:50 +00:00
Sunny Goyal df296898da Fixing Search box not getting aligned properly based on insets
Bug: 77893699
Change-Id: If195395af7858c3115d695a308810480474541a5
2018-04-30 12:35:40 -07:00
Vadim Tryshev 1c56935c30 Revert "a11y: disabling accessibility scrolling of the home screen"
This reverts commit 52b2b43c56.

Reason for revert: Per an email thread, this CL is considered a hack.

Change-Id: Id97fc9a398184ba18c2188d858218bc2d9ddc16e
(cherry picked from commit 310093d050)
2018-04-30 18:07:13 +00:00
Android Build Merger (Role) e6c93b88a0 [automerger] Reusing the same bitmap and pixel array for shape detection am: 2e4596a448
Change-Id: Ia5aa7f85489213bfab030dc2a457bf7d5269aed5
2018-04-30 16:23:35 +00:00
Sunny Goyal 2e4596a448 Reusing the same bitmap and pixel array for shape detection
Bug: 76162466
Change-Id: I785d9b8673b2b8b0a56a146143b375c412e9322a
2018-04-30 09:23:29 -07:00
Vadim Tryshev 84b46f0257 Fixing task misalignment
Bug: 78793769
Test: Manual
Change-Id: I49f8213bf412f63fc296a8be5bd49950e4c01175
2018-04-27 18:00:14 -07:00
Mehdi Alizadeh 7ad04f35f8 Merge "Refactor initializing LauncherAccessibilityDelegate" into ub-launcher3-edmonton 2018-04-27 23:14:01 +00:00
Mehdi Alizadeh 8588fd0ea2 Refactor initializing LauncherAccessibilityDelegate
Bug: 77638406
Test: None
Change-Id: Ibf9f4fcabe42400abc91aa4b94417a8ff0449248
2018-04-27 15:38:52 -07:00
android-build-team Robot 15260fdd00 Merge "Enable Clear-all button by default" into ub-launcher3-edmonton 2018-04-27 20:44:02 +00:00
Vadim Tryshev cc0c98ad94 Enable Clear-all button by default
Making it work with all 4 combinations of RTL and flip-recents.

Bug: 72222505
Test: Manual
Change-Id: Ifb2428e006674abfe9a2609fd3d8f3f648eff0b8
2018-04-27 13:32:28 -07:00
Winson Chung 473730fcf9 Call Activity.onTrimMemory() to ensure render thread cache is also trimmed
Bug: 76162466
Change-Id: Ie3cf9076ba8149c0f2d7e58b5ca0c974ae914c18
2018-04-26 12:07:39 -07:00
Roger Olsson 4ac406db22 Avoid crash when widget previews have no intrinsic size
Intrinsic size for widget preview drawable checked.
Needed since some drawables, like color drawables,
do not have any intrinsic size.

Bug: 78452220
Test: manual, see Bug info.
Change-Id: I815353773e38b1fce2fe19962f07c1727e1b0768
2018-04-26 10:44:09 -07:00
Jorim Jaggi 118295e07c Fix some jank with transitions
- Animations in WorkspacePageIndicator while the app transition
was running was causing layer trashing, potentially leading to
jank.
- Make sure to use a layer in the wallpaper open animation.

Test: Open app while indicators are about to fade out.
Bug: 75985430
Change-Id: Iad6a511d98dff81b5cde727f4472f0f039ffc4be
2018-04-26 14:47:44 +02:00
Mehdi Alizadeh 8517b69b9e Prepares SecondaryDropTarget to inherit from
Bug: 77638406
Test: None
Change-Id: I8a1b1e2ef4cb9b090da33b3b56de177c9ddc6171
2018-04-25 14:49:12 -07:00
TreeHugger Robot 69ac60381c Merge "Improving highlight for Clear-all button." into ub-launcher3-edmonton 2018-04-25 20:37:37 +00:00
Vadim Tryshev 77cb385d47 Improving highlight for Clear-all button.
Better shape + now has hover state.

Bug: 72222505
Test: Manual
Change-Id: I24ba55c760b15d71406a35ea5f7bf54f505741d6
2018-04-25 13:20:37 -07:00
TreeHugger Robot 730ee62e41 Merge "Call close for AbstractFloatingViews that were removed while still open." into ub-launcher3-edmonton 2018-04-25 18:42:23 +00:00