Commit Graph

10334 Commits

Author SHA1 Message Date
Tony Wickham 78bf9b6265 Merge changes from topic "am-44d997ce-f83c-4bd7-aee0-6ab74e7269f5" into ub-launcher3-master
* changes:
  [automerger] Unhide badge when popup closes without animation am: bb9378aead am: d7eaf26425
  [automerger] Unhide badge when popup closes without animation am: bb9378aead
  Unhide badge when popup closes without animation
2018-05-29 22:44:10 +00:00
Tony Wickham 0512a6de57 Merge "Unhide badge when popup closes without animation" into ub-launcher3-edmonton 2018-05-29 22:44:09 +00:00
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
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
Android Build Merger (Role) b052aabc6e [automerger] Unhide badge when popup closes without animation am: bb9378aead am: d7eaf26425
Change-Id: I879d3e174ebad674893d02f674254675e56e7aeb
2018-05-29 21:46:15 +00:00
Android Build Merger (Role) d7eaf26425 [automerger] Unhide badge when popup closes without animation am: bb9378aead
Change-Id: Ib3e8bc6622e74c9a7ca214cfabecac956b666397
2018-05-29 21:46:13 +00:00
Tony bb9378aead Unhide badge when popup closes without animation
Bug: 80379412
Change-Id: I7d6c1b67a07747078b43b17612d8c67a46c8cc0e
2018-05-29 14:44:41 -07: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
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
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) 6876902357 [automerger] Report when a notification is shown in the popup am: c97d846372
Change-Id: Iff0559113aea636559400a5772b0749d4855b225
2018-05-29 17:05:08 +00:00
Tony c97d846372 Report when a notification is shown in the popup
Change-Id: I5c06b18f731e2dc8e47bacba59746fc4cc02c42c
2018-05-29 17:05:02 +00: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
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
Android Build Merger (Role) 962b7f6f97 [automerger] Accounting for view translation when calculating the focus location am: db9f86a472 am: 662d41ca88
Change-Id: Ib18878ccabfb8cf6a5b2655500f26c4f8602a0f2
2018-05-25 17:53:27 +00:00
Sunny Goyal db9f86a472 Accounting for view translation when calculating the focus location
Bug: 80160107
Change-Id: Ibb0cb82c33c141bb3abf9b7576be4253630cb8c5
2018-05-25 17:52:49 +00:00
Android Build Merger (Role) 76c59da5c0 [automerger] Fix crash caused by removing update listener in update listener. am: 012d39a0e9 am: cd1727c069
Change-Id: Icd7aab53e7bd7cb65132f10ff752165ff57e2b46
2018-05-25 17:42:53 +00:00
Jon Miranda 012d39a0e9 Fix crash caused by removing update listener in update listener.
Bug: 80236772
Test: Fling all apps open, and catch it before it reaches the top
Change-Id: I082a26b97afb7dbc162758ff9654e4a3707f9d7e
2018-05-25 10:41:16 -07:00
Android Build Merger (Role) e9c5061381 [automerger] Fix bug where icon 'jumps' on long press. am: 31942e788b am: 7f72718cbb
Change-Id: I8ca9885abd09b5a60fc80c84567dc12b59356beb
2018-05-25 02:12:07 +00:00
Jon Miranda 31942e788b Fix bug where icon 'jumps' on long press.
Bug: 76155869
Change-Id: I739b00564b0ebe00b3aff326b3c1d62deea9d1d3
2018-05-25 01:49:37 +00:00
TreeHugger Robot 159d6949a1 Merge "Fix prediction tip shows when user attempts but does not swipe up all the way to All Apps when quickstep is disabled." into ub-launcher3-edmonton 2018-05-25 00:49:23 +00:00
Android Build Merger (Role) adc99acbc0 [automerger] Fix prediction tip shows when user attempts but does not swipe up all the way to All Apps when quickstep is disabled. am: 5d89e1be98 am: cae48a2a09
Change-Id: I2a9062c0c3cb7995ecd1579ec9307c269c618eb6
2018-05-25 00:26:06 +00:00
Android Build Merger (Role) cae48a2a09 [automerger] Fix prediction tip shows when user attempts but does not swipe up all the way to All Apps when quickstep is disabled. am: 5d89e1be98
Change-Id: I3e5bff936e39d4a626d99af9f3698653ad1b93e0
2018-05-25 00:26:05 +00:00
Tracy Zhou 5d89e1be98 Fix prediction tip shows when user attempts but does not swipe up all the way to All Apps when quickstep is disabled.
Bug: 80268964
Test: Manual test
Change-Id: I9b0620d57ccd466392c1db4c4899da3368a854db
2018-05-24 17:24:23 -07:00
TreeHugger Robot a252a07562 Merge "Adding support for dark text on dark theme" into ub-launcher3-edmonton 2018-05-24 21:09:16 +00:00
Android Build Merger (Role) 11ee99186c [automerger] Adding support for dark text on dark theme am: a6afdffbbd
Change-Id: I7d83aa8d1e551ca00f397c20447164f4c43b3141
2018-05-24 20:50:34 +00:00
Sunny Goyal a6afdffbbd Adding support for dark text on dark theme
Bug: 80253867
Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
2018-05-24 13:50:27 -07:00
Android Build Merger (Role) 96a2ea917a [automerger] Fixing keyboard navigation when Overview list is empty am: 1b0c5032d1
Change-Id: I89c9d7f6f5528c29d5287acba8d6075721f0a913
2018-05-24 20:07:06 +00:00
Vadim Tryshev 1b0c5032d1 Fixing keyboard navigation when Overview list is empty
Bug: 80155387
Change-Id: Ife86fe4b718ef01291a04b21020155110d75fa7b
Testing: Manual
2018-05-24 13:06:18 -07:00
TreeHugger Robot 1ab656460b Merge "Removing discovery bouncer from accessibility" into ub-launcher3-edmonton 2018-05-24 00:03:17 +00:00
Android Build Merger (Role) e58200600a [automerger] Removing discovery bouncer from accessibility am: 17839d5f62
Change-Id: I1752b12f61994bbaf54e8e739d4deeb72ee202a5
2018-05-23 23:52:15 +00:00
Vadim Tryshev 17839d5f62 Removing discovery bouncer from accessibility
It was obstructing views under it.

Solves both Talkback and Switch Access issues.

Bug: 80192025
Test: Manual
Change-Id: Ia7fad91e1fcb857afbf68f879550c670279cee68
2018-05-23 16:51:41 -07:00
Android Build Merger (Role) d2b2d1e1be [automerger] Increasing the overview size while in QuickScrub mode am: 7f28fd55ff
Change-Id: I2e08599196ca588d26a1d225daf64cd847cd73fb
2018-05-23 22:55:57 +00:00
Sunny Goyal 7f28fd55ff Increasing the overview size while in QuickScrub mode
Bug: 80139193
Change-Id: I19ea05d3cc083628364651e9d9f581fe1aaaeaaa
2018-05-23 15:55:51 -07:00
Sunny Goyal c46bf7cfeb Merge changes from topic "am-6771ef36-4102-4c19-8f2f-34291a759eef" into ub-launcher3-master
* changes:
  [automerger] Remove custom focus logic am: e598699dc5
  Remove custom focus logic
2018-05-23 21:29:41 +00:00
Sunny Goyal d5377ca4b3 Merge "Remove custom focus logic" into ub-launcher3-edmonton 2018-05-23 21:29:41 +00:00
Tony Wickham 65e8311222 Merge "Only log swipe interaction on swipe end" into ub-launcher3-edmonton 2018-05-23 20:51:40 +00:00
Android Build Merger (Role) 0076a73470 [automerger] Only log swipe interaction on swipe end am: 422e1f9c69
Change-Id: Ib8e9334a8ae4a442385bdb136ec084551989ed81
2018-05-23 20:22:42 +00:00
Tony Wickham 422e1f9c69 Only log swipe interaction on swipe end
Previously we were logging new states as we swipe past them; now we just
log the start and end states when lifting your finger.

Bug: 80102083
Change-Id: Icec6c3dab1441023a3cdcadb7b56ecef8313cb8c
2018-05-23 13:20:10 -07:00
TreeHugger Robot 4e057b5f97 Merge "Log the parent of the PREDICTION container type (ALLAPPS OR TASKSWITCHER) Bug: 79423536" into ub-launcher3-edmonton 2018-05-23 20:16:15 +00:00
Android Build Merger (Role) 45639f847a [automerger] Log the parent of the PREDICTION container type (ALLAPPS OR TASKSWITCHER) Bug: 79423536 am: 46d07f7cb0
Change-Id: Idb8aa7f3bc23045ca99e097e64842fabbf94b8a9
2018-05-23 18:36:00 +00:00