Commit Graph
16799 Commits
Author SHA1 Message Date
Android Build Merger (Role) 4cd3f2280c [automerger] Set mState = mCurrentStableState in onAnimationCancel am: 8935d9515c am: 556a97d9d6
Change-Id: I5de9060970fe6f8cb87f45d2e27ec591c4db543c
2018-05-29 22:03:17 +00:00
Android Build Merger (Role) 556a97d9d6 [automerger] Set mState = mCurrentStableState in onAnimationCancel am: 8935d9515c
Change-Id: Ib02a0b19494b8c71576145dc1bd9d45dfd36c399
2018-05-29 22:03:16 +00:00
Tony Wickham 8935d9515c Set mState = mCurrentStableState in onAnimationCancel
mState is set when the transition starts toward that state even if it is
never reached. If the animation is canceled, therefore, we should reset
mState = mCurrentStableState since that is the state we came from.

For instance, when swiping up from overview, mState = ALL_APPS, but when
swiping back down we cancel that animation and create the task launch
animation. When creating the task launch animation, we reapplyState(),
which, before this change, was still ALL_APPS instead of OVERVIEW.

Bug: 79935289
Change-Id: I59c5799e92350747e4ef1d99a80ba678a2ce7b98
2018-05-29 21:58:52 +00:00
TreeHugger Robot eaf8df5d15 Merge changes from topic "am-0b3e8005-2f86-464c-a098-80fe1bc17072" into ub-launcher3-master
* changes:
  [automerger] Enable accessibility of Clear All button. am: a3e48d8035 am: 6ad288f99b
  [automerger] Enable accessibility of Clear All button. am: a3e48d8035
  Enable accessibility of Clear All button.
2018-05-29 20:48:47 +00:00
TreeHugger Robot d715070fe8 Merge changes from topic "am-0b3e8005-2f86-464c-a098-80fe1bc17072" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Enable accessibility of Clear All button. am: a3e48d8035
  Enable accessibility of Clear All button.
2018-05-29 20:48:47 +00:00
TreeHugger Robot 688701317a Merge "Enable accessibility of Clear All button." into ub-launcher3-edmonton 2018-05-29 20:48:47 +00:00
Tony Wickham 5229456b6d Merge changes from topic "am-e25a8740-226a-4af9-b60d-f299bd4a3297" into ub-launcher3-master
* changes:
  [automerger] Fix clipping recents when scaling down am: 615ad40c38 am: 7f510c5886
  [automerger] Fix clipping recents when scaling down am: 615ad40c38
  Fix clipping recents when scaling down
2018-05-29 19:33:24 +00:00
Tony Wickham 563a820a16 Merge changes from topic "am-e25a8740-226a-4af9-b60d-f299bd4a3297" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Fix clipping recents when scaling down am: 615ad40c38
  Fix clipping recents when scaling down
2018-05-29 19:33:24 +00:00
Tony Wickham 222d517c89 Merge "Fix clipping recents when scaling down" into ub-launcher3-edmonton 2018-05-29 19:33:24 +00:00
TreeHugger Robot 038338d214 Merge "Various quickscrub fixes" into ub-launcher3-edmonton 2018-05-29 19:26:07 +00:00
Android Build Merger (Role) 1d9a44748a [automerger] Various quickscrub fixes am: 9bb8ffb5e3 am: c7bf48338c
Change-Id: I2ed6d0318a36148bf177108d3d2c21506644d33f
2018-05-29 19:17:28 +00:00
Android Build Merger (Role) c7bf48338c [automerger] Various quickscrub fixes am: 9bb8ffb5e3
Change-Id: Id9f1cb83795b3164dd8bc67c879a3b3d8b8fd91f
2018-05-29 19:17:26 +00:00
Sunny Goyal 9bb8ffb5e3 Various quickscrub fixes
> Fixing PagedView resetting the currentPage, if scrollToPage was called before first layout
  This causes quickscrub to jump back to the current task if launcher activity was dead.
> Fixing missing callbacks in DeferredTouchConsumer causing missed quick scrub flings
> Sending the resents animation callbacks on the motion queue thread, to avoid synchronization
  issues with sysui callbacks.
> Waiting until the recents animation is received before starting the scale down animation
> Calculating the offset for quickscrub statically incase launcher activity was dead

Bug: 80214390
Change-Id: I1b7d00b7b266655a92fcd6239f25ba191655150f
2018-05-29 12:17:20 -07:00
Android Build Merger (Role) 13fbca937d [automerger] Fix clipping recents when scaling down am: 615ad40c38 am: 7f510c5886
Change-Id: Ief4341d4b37b59da54729c114fa066fc53484171
2018-05-29 19:15:32 +00:00
Android Build Merger (Role) 7f510c5886 [automerger] Fix clipping recents when scaling down am: 615ad40c38
Change-Id: I0e135e2fb4a867fae8f9c6cf20c24ebca58539e8
2018-05-29 19:15:30 +00:00
Tony 615ad40c38 Fix clipping recents when scaling down
- Parent shouldn't clip scaled down child
- Remove outline provider from scaled down child so it doesn't clip

Bug: 80267476
Change-Id: I9feb1ccf2069b8c88d8499e2813c818f9aea19af
2018-05-29 12:09:57 -07:00
Android Build Merger (Role) 3505c28af0 [automerger] Enable accessibility of Clear All button. am: a3e48d8035 am: 6ad288f99b
Change-Id: I7e62eb8e671f5be53611f94cf49eacb92978d4b3
2018-05-29 18:52:00 +00:00
Android Build Merger (Role) 6ad288f99b [automerger] Enable accessibility of Clear All button. am: a3e48d8035
Change-Id: I740bb25a5e942a9e15510b72f451ae13a79ae1ab
2018-05-29 18:51:59 +00:00
Vadim Tryshev a3e48d8035 Enable accessibility of Clear All button.
The button appears in the accessibility hierarchy
as a child of RecentsView.

This makes both Talkback and Switch access
to work with it normally.

Bug: 80156299
Test: Manual

Change-Id: Ife2044b2ef78fb27b32f2d33fb17744662a2b054
2018-05-29 18:51:57 +00:00
TreeHugger Robot a845e1500c Merge "Fix testWidgetsContainerFling" into ub-launcher3-edmonton 2018-05-29 18:09:52 +00:00
TreeHugger Robot 23c7ab0df5 Merge changes from topic "am-982993aa-a6c9-4319-b060-3e573baba696" into ub-launcher3-master
* changes:
  [automerger] Fix testWidgetsContainerFling am: 68ac46da0c am: 840bb420d1
  [automerger] Fix testWidgetsContainerFling am: 68ac46da0c
  Fix testWidgetsContainerFling
2018-05-29 18:09:52 +00:00
TreeHugger Robot 8ccf581dd5 Merge changes from topic "am-982993aa-a6c9-4319-b060-3e573baba696" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Fix testWidgetsContainerFling am: 68ac46da0c
  Fix testWidgetsContainerFling
2018-05-29 18:09:52 +00:00
Jorim Jaggi 87356e7b48 Merge "Fix binder call for app opening" into ub-launcher3-edmonton 2018-05-29 17:40:56 +00:00
Jorim Jaggi 7f80f7ba03 Merge changes from topic "am-85c6df09-b17a-490c-b342-44016a3b1282" into ub-launcher3-master
* changes:
  [automerger] Fix binder call for app opening am: 1d1a3d7242 am: 518a353826
  [automerger] Fix binder call for app opening am: 1d1a3d7242
  Fix binder call for app opening
2018-05-29 17:40:56 +00:00
Jorim Jaggi 33ff0d17af Merge changes from topic "am-85c6df09-b17a-490c-b342-44016a3b1282" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Fix binder call for app opening am: 1d1a3d7242
  Fix binder call for app opening
2018-05-29 17:40:56 +00:00
TreeHugger Robot 03aaced252 Merge "Fix clipping of adaptive icons Bug:62372639" into ub-launcher3-edmonton 2018-05-29 17:38:28 +00:00
Android Build Merger (Role) 6d056f1f2a [automerger] Fix binder call for app opening am: 1d1a3d7242 am: 518a353826
Change-Id: I9a44f544df16ff51fb297a8202f44140b481f491
2018-05-28 16:09:54 +00:00
Android Build Merger (Role) 518a353826 [automerger] Fix binder call for app opening am: 1d1a3d7242
Change-Id: Ieaa9a8050abda9c4382843be1a2c77b20c15604d
2018-05-28 16:09:51 +00:00
Jorim Jaggi 1d1a3d7242 Fix binder call for app opening
Needs to acquire the AM/WM lock, which may cause jank during
the animation.

Test: Open app, observe no binder calls.
Bug: 78611607
Change-Id: I3459383c9597801405dd9c688837a2bffeeb7f9e
2018-05-28 18:08:40 +02:00
Android Build Merger (Role) 1a3fe14f47 [automerger] Fix testWidgetsContainerFling am: 68ac46da0c am: 840bb420d1
Change-Id: Ie8366e5343ae69b3200c47f8815984e1f006e605
2018-05-26 03:09:07 +00:00
Android Build Merger (Role) 840bb420d1 [automerger] Fix testWidgetsContainerFling am: 68ac46da0c
Change-Id: I2973c246fd862f03f98d8ef40d3ca1d837c6ea6e
2018-05-26 03:09:04 +00:00
Vadim Tryshev 68ac46da0c Fix testWidgetsContainerFling
It relies on the presence of the popup in the accessibility view.

Bug: 72967764
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.LauncherJankTests#testWidgetsContainerFling
Change-Id: I9d41ddcd60f9dc7626a96762b4e78a7b862aa1c9
2018-05-25 20:08:44 -07:00
Android Build Merger (Role) 869977208b [automerger] Fix clipping of adaptive icons Bug:62372639 am: 49df554dc2 am: b7a30c69b3
Change-Id: I135ea15d2bcf1c3f3c1f0afe45418fbc0433c8d2
2018-05-25 23:31:05 +00:00
Android Build Merger (Role) b7a30c69b3 [automerger] Fix clipping of adaptive icons Bug:62372639 am: 49df554dc2
Change-Id: If59cb96023914f65fca3d75eb6f3155deeb1932c
2018-05-25 23:30:58 +00:00
Hyunyoung Song 49df554dc2 Fix clipping of adaptive icons
Bug:62372639

Context: only noticeable on large form factor AND Large display setting
Ceiling operation is needed to calculate offset of the drawing.

Change-Id: I7c77fa53f0811990b8cfdc3a12e2b43eb4d2d73e
2018-05-25 16:30:23 -07:00
Vadim Tryshev 5c17a390d2 Merge "Reporting range of visible tasks" into ub-launcher3-edmonton 2018-05-25 19:55:39 +00:00
Vadim Tryshev 684dca752e Merge changes from topic "am-973ea672-98ae-4501-a3d3-ef5271a73c98" into ub-launcher3-master
* changes:
  [automerger] Reporting range of visible tasks am: 528b9e0615 am: cd622e1e7c
  [automerger] Reporting range of visible tasks am: 528b9e0615
  Reporting range of visible tasks
2018-05-25 19:55:39 +00:00
Vadim Tryshev ddc90f8f21 Merge changes from topic "am-973ea672-98ae-4501-a3d3-ef5271a73c98" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Reporting range of visible tasks am: 528b9e0615
  Reporting range of visible tasks
2018-05-25 19:55:39 +00:00
Winson Chung 30d2fc748d Merge "Tweaking quickscrub launch animation for new task sizes." into ub-launcher3-edmonton 2018-05-25 19:54:24 +00:00
Winson Chung 0fd09f9144 Merge changes from topic "am-aa2263d7-bbbe-42d9-8756-b769cf8aab24" into ub-launcher3-master
* changes:
  [automerger] Tweaking quickscrub launch animation for new task sizes. am: 35cde20a17 am: a563e02d90
  [automerger] Tweaking quickscrub launch animation for new task sizes. am: 35cde20a17
  Tweaking quickscrub launch animation for new task sizes.
2018-05-25 19:54:24 +00:00
Winson Chung 8f5f1e9641 Merge changes from topic "am-aa2263d7-bbbe-42d9-8756-b769cf8aab24" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Tweaking quickscrub launch animation for new task sizes. am: 35cde20a17
  Tweaking quickscrub launch animation for new task sizes.
2018-05-25 19:54:24 +00:00
Android Build Merger (Role) 30796246f8 [automerger] Reporting range of visible tasks am: 528b9e0615 am: cd622e1e7c
Change-Id: Ie5dc36936d4c1ba71bb8bf9b3a548d1f105c6fff
2018-05-25 19:25:50 +00:00
Android Build Merger (Role) cd622e1e7c [automerger] Reporting range of visible tasks am: 528b9e0615
Change-Id: If07b140aa110e7fb8f8ef17637454126248720c1
2018-05-25 19:25:49 +00:00
Vadim Tryshev 528b9e0615 Reporting range of visible tasks
Also fixes task position being incorrectly reported specifically for
swipe events due to using stale getCurrentPage().

Bug: 72222505
Test: Manual
Change-Id: Ic79b67f8a6ffbfabc397b411b14afc309405197e
2018-05-25 12:24:40 -07:00
Sunny Goyal 4308bd232e Merge "Fixing launcher going to a different state when dragging an icon from different activity" into ub-launcher3-edmonton 2018-05-25 19:17:28 +00:00
Android Build Merger (Role) 6d85b5e793 [automerger] Fixing launcher going to a different state when dragging an icon from different activity am: 4dcda06542 am: 1d146b2264
Change-Id: I406d03017484aa5a2d701d27df1f96421ef33701
2018-05-25 18:57:02 +00:00
Android Build Merger (Role) 1d146b2264 [automerger] Fixing launcher going to a different state when dragging an icon from different activity am: 4dcda06542
Change-Id: Ifcb89488c351ba866026cfbdf3645b4358eeac8f
2018-05-25 18:57:01 +00:00
Sunny Goyal 4dcda06542 Fixing launcher going to a different state when dragging an icon from different activity
Bug: 80191074
Change-Id: I45ea646dc2bd21627e8b724dac9c9fc23c18797d
2018-05-25 11:56:53 -07:00
Sunny Goyal 271dc919d0 Merge "Cancelling quickscrub state incease we missed quickscrub end event" into ub-launcher3-edmonton 2018-05-25 18:40:16 +00:00
Android Build Merger (Role) 264331a0fc [automerger] Cancelling quickscrub state incease we missed quickscrub end event am: 0fb1e4b5a7 am: 1b905daf5c
Change-Id: Ibdc731a0446432468f90cd84d74c4b2ed36bcc18
2018-05-25 18:39:47 +00:00