Commit Graph

749 Commits

Author SHA1 Message Date
android-build-team Robot a76751cd9a Merge changes from topic "am-b0c712d1-c83b-40f2-a3f1-53f7e2d67e9f" into ub-launcher3-master
* changes:
  [automerger] Handling activity recreate due to configuration changes in the middle of the long fling am: 16593d7932
  Handling activity recreate due to configuration changes in the middle of the long fling
2018-05-02 23:16:13 +00:00
Android Build Merger (Role) 1d119cff07 [automerger] Handling activity recreate due to configuration changes in the middle of the long fling am: 16593d7932
Change-Id: Ie6a4c72829d7463c9c9c9db79b7e020db4fb967b
2018-05-02 22:53:28 +00:00
Sunny Goyal 16593d7932 Handling activity recreate due to configuration changes
in the middle of the long fling

Bug: 77651657
Change-Id: I8107c424eb37512ce78c943da04a6e7faf33be65
2018-05-02 15:53:22 -07:00
Android Build Merger (Role) ad1fdf10e5 [automerger] Using a custom view instead of ImageView to avoid relayout when the icon changes am: 85c53f2af5
Change-Id: I4aa9529cadc728b3a58846a593f7e8031c4f6fc7
2018-05-02 22:38:26 +00:00
Sunny Goyal 85c53f2af5 Using a custom view instead of ImageView to avoid relayout when the icon changes
Bug: 78585335
Change-Id: I078aec5b80ec45933ba4974df68cab23ac4a0ca0
2018-05-02 15:38:21 -07:00
Hyunyoung Song ac9412e60c Merge changes from topic "am-7f534acf-2bd4-4a36-a10a-cc45ea8ac8f1" into ub-launcher3-master
* changes:
  [automerger] Clear all task button should not log as individual swipe up Bug: 78895803 am: 78e278e9db
  Clear all task button should not log as individual swipe up Bug: 78895803
2018-05-02 22:32:55 +00:00
android-build-team Robot 433ef09d29 Merge "Moving some callbacks from LauncherCallbacks to OverviewCallbacks" into ub-launcher3-edmonton 2018-05-02 22:06:10 +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-team Robot 145cb8420d Merge "Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Bug: 77920179" into ub-launcher3-edmonton 2018-05-02 21:53:59 +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
Tony Wickham 1817942d8a Merge "Add a quick scrub threshold" into ub-launcher3-edmonton 2018-05-02 21:21:24 +00:00
Tony Wickham 5704e58ccf Merge changes from topic "am-134d7b95-8105-45a9-85e3-e09b130a0ac1" into ub-launcher3-master
* changes:
  [automerger] Add a quick scrub threshold am: cf563e5f2d
  Add a quick scrub threshold
2018-05-02 21:21:24 +00:00
android-build-team Robot a978a24d09 Merge "Making Clear-all a "button" for accessibility." into ub-launcher3-edmonton 2018-05-02 21:20:37 +00:00
android-build-team Robot 95baa519dc Merge changes from topic "am-a7804bdb-f032-4f42-8fb7-e5060608e4df" into ub-launcher3-master
* changes:
  [automerger] Making Clear-all a "button" for accessibility. am: 1e3687d5a1
  Making Clear-all a "button" for accessibility.
2018-05-02 21:20:37 +00:00
android-build-team Robot 55e6665067 Merge "Fixing Launcher3Quickstep build, broken due to SDK changes" into ub-launcher3-edmonton 2018-05-02 21:07:47 +00:00
android-build-team Robot 3b92398573 Merge changes from topic "am-b60f539c-4933-450b-b98e-9b22d17cb071" into ub-launcher3-master
* changes:
  [automerger] Fixing Launcher3Quickstep build, broken due to SDK changes am: ea992acc2f
  Fixing Launcher3Quickstep build, broken due to SDK changes
2018-05-02 21:07:47 +00:00
Android Build Merger (Role) 6b0dc46e9a [automerger] Making Clear-all a "button" for accessibility. am: 1e3687d5a1
Change-Id: I6d47f17b8e42accfefec60c001080035ca9a0fbf
2018-05-02 20:55:19 +00:00
Vadim Tryshev 1e3687d5a1 Making Clear-all a "button" for accessibility.
To get it announced as "Clar all button", not just "clear all".

Bug: 72222505
Test: Manual
Change-Id: Ied1a036fda77c38af39db868d3dc1ae443982bcd
2018-05-02 13:54:38 -07:00
android-build-team Robot 9b83fe225d Merge "Quickstep onboarding backward compatibility for devices release with Android N & O." into ub-launcher3-edmonton 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-team Robot d79759556d Merge "New calculation for clear-all alpha." into ub-launcher3-edmonton 2018-05-02 20:39:15 +00:00
Android Build Merger (Role) 1efb5a1211 [automerger] New calculation for clear-all alpha. am: 80cd825c0f
Change-Id: Ied02ab1aee27943f6120f406752a5fc975de99ee
2018-05-02 20:16:04 +00:00
Vadim Tryshev 80cd825c0f New calculation for clear-all alpha.
Per UX feedback, alpha changes from the central position of the last
task and its overscrolled position. Button location is not used.

Bug: 72222505
Test: Manual
Change-Id: Ifc22c935940eaeb1b1ec6e4a5f2709ac7ae8253b
2018-05-02 13:14:16 -07:00
Android Build Merger (Role) 1f8d132542 [automerger] Add a quick scrub threshold am: cf563e5f2d
Change-Id: I6e7630167a6fd90ceeaff5f49109bde22f0a12bf
2018-05-02 19:03:40 +00:00
Tony Wickham cf563e5f2d Add a quick scrub threshold
Change-Id: I184ca2bd3d97e58f8fe8841a66571ca101ee3dc2
2018-05-02 12:03:22 -07:00
Android Build Merger (Role) 7fab321950 [automerger] Fixing Launcher3Quickstep build, broken due to SDK changes am: ea992acc2f
Change-Id: I69e68569f901941d130daa3579efe817aae097c5
2018-05-02 19:01:00 +00:00
Sunny Goyal ea992acc2f Fixing Launcher3Quickstep build, broken due to SDK changes
Change-Id: I7228c036e023f94d3f47b303c7e7b4395bc8a1b7
2018-05-02 12:00:53 -07:00
android-build-team Robot 5574460607 Merge "Setting correct font for clear-all button" into ub-launcher3-edmonton 2018-05-02 18:10:04 +00:00
android-build-team Robot ddc23b9c68 Merge changes from topic "am-9ae03520-585f-4724-9682-e1e455887a44" into ub-launcher3-master
* changes:
  [automerger] Setting correct font for clear-all button am: 9beaa177f4
  Setting correct font for clear-all button
2018-05-02 18:10:04 +00:00
Tony Wickham f325b19de3 Merge "Gracefully handle some edge cases in quick scrub" into ub-launcher3-edmonton 2018-05-02 16:21:21 +00:00
Tony Wickham 0da2a5b858 Merge changes from topic "am-0087df7e-ff8b-487b-846d-9dc2f096ec07" into ub-launcher3-master
* changes:
  [automerger] Gracefully handle some edge cases in quick scrub am: f47e5ce3cf
  Gracefully handle some edge cases in quick scrub
2018-05-02 16:21:21 +00:00
Tony Wickham 7a5d4ae64f Merge "Fix some state issues with user-controlled animations" into ub-launcher3-edmonton 2018-05-02 16:20:19 +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 bbeedd1d2f Merge "Fix some jank with transitions" into ub-launcher3-edmonton 2018-05-02 13:17:42 +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) f0c2811cf5 [automerger] Setting correct font for clear-all button am: 9beaa177f4
Change-Id: I605bd74b206900f8c47f082430a576f67ba0e160
2018-05-02 03:11:07 +00:00
Vadim Tryshev 9beaa177f4 Setting correct font for clear-all button
Not it looks exactly like the one for notifications in SystemUI.

Bug: 72222505
Test: Manual
Change-Id: I9db2f403746386f9d807d4e3c250f4a1c7a46b68
2018-05-01 20:10:26 -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 Merger (Role) 2bc6d9a25e [automerger] Clear all task button should not log as individual swipe up Bug: 78895803 am: 78e278e9db
Change-Id: I073a534e742d965a8c7bcc7407afeeecf5b812c7
2018-05-01 22:47:41 +00:00
Hyunyoung Song 78e278e9db Clear all task button should not log as individual swipe up
Bug: 78895803

Change-Id: I3a8c40e892396ea0781423fa1791a9e13a116c45
2018-05-01 15:47:26 -07:00
Android Build Merger (Role) a102d71cc5 [automerger] Gracefully handle some edge cases in quick scrub am: f47e5ce3cf
Change-Id: I969b2cae6b73cbc0aaf29399aac6f1fc1b16f7f8
2018-05-01 19:21:44 +00:00
Tony f47e5ce3cf Gracefully handle some edge cases in quick scrub
- Switch to normal overview if task fails to launch in onQuickScrubEnd()
- Stop auto-advancing if recents isn't visible
- Wait until transition to quick scrub completes before launching

Bug: 77521777
Bug: 78557737
Change-Id: I5206c0d3c52bf792f52cf3e7adcf03f8a2de18bb
2018-05-01 14:21:04 -05: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
Winson Chung 976047647e Merge "Also notify the user when a task view fails to launch." into ub-launcher3-edmonton 2018-05-01 18:41:02 +00:00
Winson Chung c57e34a908 Merge changes from topic "am-994eff35-ae2d-4182-8c4c-3710bcb1b429" into ub-launcher3-master
* changes:
  [automerger] Also notify the user when a task view fails to launch. am: 6dceb7755a
  Also notify the user when a task view fails to launch.
2018-05-01 18:41:02 +00:00
android-build-team Robot a269a81881 Merge "Accessibility of clear-all button" into ub-launcher3-edmonton 2018-05-01 18:31:25 +00:00