Commit Graph

34630 Commits

Author SHA1 Message Date
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
Android Build Merger (Role) 832eb63f70 [automerger] Also notify the user when a task view fails to launch. am: 6dceb7755a
Change-Id: I0977286abc120158377b07c30f292e901b9ec136
2018-05-01 18:27:15 +00:00
Winson Chung 6dceb7755a Also notify the user when a task view fails to launch.
Bug: 78660939

Change-Id: I8041d3bdd6da1caed72affb1e295c416214a92d4
2018-05-01 11:27:02 -07:00
Android Build Merger (Role) b64c30d1bc [automerger] Accessibility of clear-all button am: 4e3e54a45a
Change-Id: Ib2be175e0369b53cd40409bbef6b7a1be392f99e
2018-05-01 18:20:40 +00:00
Vadim Tryshev 4e3e54a45a Accessibility of clear-all button
Making it visible to accessibility even when it’s completely hidden
behind a task. I had to mark it visible as a view. Now it’s invisible
only when there are no tasks in RecensView, to hide it from
accessibility.

Focusing on the button completely reveals it.

Bug: 72222505
Test: Manual
Change-Id: Ia31a1136e07faed93b4a44d5be69483d3b88364d
2018-05-01 11:20:14 -07:00
android-build-team Robot 954157a228 Merge "Remove associated task views if task is removed while Overview is showing" into ub-launcher3-edmonton 2018-05-01 18:12:34 +00:00
Android Build Merger (Role) 0beb8a934c [automerger] Remove associated task views if task is removed while Overview is showing am: 3b0c3b981b
Change-Id: I7a9f85b71eeaacfd13119eb45779ee46c109d2d3
2018-05-01 17:05:16 +00:00
Winson Chung 3b0c3b981b Remove associated task views if task is removed while Overview is showing
Bug: 78660939
Change-Id: Iccfb09c985662c150f42d382b92d17f853abaaea
2018-05-01 10:04:46 -07:00
android-build-team Robot c62cafe149 Merge "Import translations. DO NOT MERGE" into ub-launcher3-edmonton 2018-05-01 03:17:29 +00:00
Android Build Merger (Role) be50f9675e [automerger skipped] Import translations. DO NOT MERGE skipped: f65f5221b7
Change-Id: Ic365a808c9dcbb0c6a265594205cfaf554ff6a2a
2018-05-01 01:42:00 +00:00
Bill Yi f65f5221b7 Import translations. DO NOT MERGE
Change-Id: Ia39b69f4fb3da457065d1416b387f920fdd51106
Auto-generated-cl: translation import
2018-04-30 18:41:54 -07:00
android-build-team Robot 4c6b638e24 Merge "Secondary split screen app will be next to the navigation bar (2/2)" into ub-launcher3-edmonton 2018-05-01 00:40:27 +00:00
android-build-team Robot 2f98e2df22 Merge changes from topic "right-split-screen" into ub-launcher3-master
* changes:
  [automerger] Secondary split screen app will be next to the navigation bar (2/2) am: 8013843fbd
  Secondary split screen app will be next to the navigation bar (2/2)
2018-05-01 00:40:27 +00: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
android-build-team Robot 59d6f26cd4 Merge "Adding a round rect background for the self in Overview" into ub-launcher3-edmonton 2018-04-30 22:51:59 +00:00
android-build-team Robot 95b20c8e93 Merge changes from topic "am-14e3ee06-d03b-453b-aa85-76744016b87f" into ub-launcher3-master
* changes:
  [automerger] Adding a round rect background for the self in Overview am: 36d090df67
  Adding a round rect background for the self in Overview
2018-04-30 22:51:59 +00:00
Android Build Merger (Role) 2466429376 [automerger] Adding a round rect background for the self in Overview am: 36d090df67
Change-Id: I5530cbf0119be888909986bc206b8bbcd6dbc152
2018-04-30 22:37:44 +00: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 Merger (Role) 909b04abdc [automerger skipped] Import translations. DO NOT MERGE skipped: c2032ee2f4
Change-Id: I484e603484de0f5941a5812b4c2b8d9eea7ffc6b
2018-04-30 22:28:23 +00:00
Bill Yi c2032ee2f4 Import translations. DO NOT MERGE
Change-Id: I229a0d80355868f6197033b792dc1796973adebe
Auto-generated-cl: translation import
2018-04-30 15:28:15 -07:00
Android Build Merger (Role) 050b4f8577 [automerger] Secondary split screen app will be next to the navigation bar (2/2) am: 8013843fbd
Change-Id: I90e58b6b3ac874a6b418e3b4918865359e14c4d8
2018-04-30 22:01:45 +00:00
Matthew Ng 8013843fbd Secondary split screen app will be next to the navigation bar (2/2)
Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.

Change-Id: I0035214cecb9c6403c59f4b938c2d1ae924f34b0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
2018-04-30 15:01:32 -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
android-build-team Robot 38ba5db9cf Merge changes from topic "am-9239a189-c8cc-4be8-80fd-2bbc9762a6de" into ub-launcher3-master
* changes:
  [automerger] Fixing Search box not getting aligned properly based on insets am: df296898da
  Fixing Search box not getting aligned properly based on insets
2018-04-30 21:31:50 +00:00
android-build-team Robot 6dcf142f61 Merge "Fixing task open animation in split screen mode" into ub-launcher3-edmonton 2018-04-30 21:27:38 +00:00
android-build-team Robot 48fadd0daa Merge changes from topic "am-a32ae469-c547-4672-b81b-7216138dcfef" into ub-launcher3-master
* changes:
  [automerger] Fixing task open animation in split screen mode am: 5fdd300e8a
  Fixing task open animation in split screen mode
2018-04-30 21:27:38 +00:00
android-build-team Robot fbf972e026 Merge "Making sure Clear-all button can't be clicked when transparent" into ub-launcher3-edmonton 2018-04-30 19:38:27 +00:00
Android Build Merger (Role) 9fbf75600f [automerger] Fixing Search box not getting aligned properly based on insets am: df296898da
Change-Id: Id142966ac818e53fefead2220ebd053810937449
2018-04-30 19:35:47 +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
Android Build Merger (Role) 5afc79b6ce [automerger] Making sure Clear-all button can't be clicked when transparent am: 83b4bb0421
Change-Id: Ie103db761dabd8a8d91cdb11c1f2c8caea2431e5
2018-04-30 19:15:36 +00:00
Vadim Tryshev 83b4bb0421 Making sure Clear-all button can't be clicked when transparent
There are times when the button is visible, but completely transparent.
Fixing: now when transparent, it's invisible, consequently, unclickable.

Bug: 72222505
Test: Manual
Change-Id: I1be162b56d6e694199fad7845c64f3438415a190
2018-04-30 12:14:58 -07:00
android-build-team Robot 8c57fe38ea Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-04-30 18:35:05 +00:00
android-build-team Robot 8492deaa13 Merge "Import translations. DO NOT MERGE" into ub-launcher3-edmonton 2018-04-30 18:34:17 +00:00
android-build-team Robot d91161df89 Merge changes from topic "am-d23ed9d1-698e-43d5-9428-e8e4fc599ee2" into ub-launcher3-master
* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 43b5cfe76b
  Import translations. DO NOT MERGE
2018-04-30 18:34:17 +00:00
Android Build Merger (Role) e6e5f3607a [automerger] Revert "a11y: disabling accessibility scrolling of the home screen" am: 1c56935c30
Change-Id: I4da41d653f3099ff06e0b21038affea1d70249c6
2018-04-30 18:07:16 +00: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
Bill Yi 1f6eb12763 Import translations. DO NOT MERGE
Change-Id: I00c17b6f7d32117a18c1450882068ffa3b61d3c2
Auto-generated-cl: translation import
2018-04-30 10:56:12 -07:00
Android Build Merger (Role) bf12cbb813 [automerger skipped] Import translations. DO NOT MERGE skipped: 43b5cfe76b
Change-Id: Ifc8492f344b9daf8784fdd7ffee7cbb6fdff3731
2018-04-30 17:53:40 +00:00
Bill Yi 43b5cfe76b Import translations. DO NOT MERGE
Change-Id: I6a00a8461cd13c680453375914405c7f93806258
Auto-generated-cl: translation import
2018-04-30 10:53:33 -07:00
android-build-team Robot 6fab8742a4 Merge "Revert "a11y: disabling accessibility scrolling of the home screen"" into ub-launcher3-master 2018-04-30 17:37:28 +00:00
Vadim Tryshev 310093d050 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
2018-04-30 17:26:40 +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
android-build-team Robot 3aa3eb51e2 Merge "Alpha-optimizing Clear All button." into ub-launcher3-edmonton 2018-04-28 03:20:08 +00:00