Commit Graph

10418 Commits

Author SHA1 Message Date
Sunny Goyal 87168ca1f7 Skip logging if device profile is not initialized
Since recentsAnimation and animationCancel come on the event queue, we may skip
recentsAnimation and only process animationCancel if they happen too close to
each other, before the first event is scheduled on eventQueue.
As a result deviceProfile is never initialized.
Prevent crash by skipping logging in this case, we shouldn't be logging it anyway

Bug: 80515833
Change-Id: Ife1d6009bcdc34af6c281d848665145cd235fa40
2018-06-01 12:54:10 -07:00
Android Build Merger (Role) 672ed10a11 [automerger] Skip shelf adjustment for PIP when quickscrubbing am: edd4f89f4d
Change-Id: I3ae41c47d1472dc9e3c63814223a186e06313ec7
2018-06-01 18:24:54 +00:00
Tracy Zhou edd4f89f4d Skip shelf adjustment for PIP when quickscrubbing
Change-Id: I6dbf63dfda608601baa257125db5ec69af9f30ee
Fixes: 80316126
Test: Manual test
2018-06-01 11:24:42 -07:00
Jorim Jaggi c1ee70bf3d Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton
* changes:
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi 6b42b27619 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-master
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781 am: a7fdc39755
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e am: 65456764cb
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi 02e2865ab9 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
TreeHugger Robot f4392dbf5a Merge "Some launcher3 fixes so that it compiles with different configurations" into ub-launcher3-edmonton 2018-05-31 16:42:56 +00:00
Android Build Merger (Role) a7d219f798 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7 am: 9e40ef9894
Change-Id: Ie3eed75fab341dfe274a566c71d6b6fdbab70854
2018-05-31 01:15:28 +00:00
Android Build Merger (Role) 9e40ef9894 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7
Change-Id: I4886d9a1880c35ebb36ccda20401e6c7e394dad9
2018-05-31 01:15:27 +00:00
Sunny Goyal d0f43ceba7 Some launcher3 fixes so that it compiles with different configurations
Bug: 79996542
Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
2018-05-30 18:15:21 -07:00
TreeHugger Robot c86805f433 Merge "Theme updates for dark text:" into ub-launcher3-edmonton 2018-05-30 23:06:26 +00:00
Android Build Merger (Role) a648206cd5 [automerger] Theme updates for dark text: am: 337fcb7983 am: a4feb0c385
Change-Id: Id1edd1dfac985be021f84e92c9014bcbf61608bb
2018-05-30 22:53:18 +00:00
Android Build Merger (Role) a4feb0c385 [automerger] Theme updates for dark text: am: 337fcb7983
Change-Id: Ib43cca83d5cc0e02a6f5cab4b20ecf325361b08b
2018-05-30 22:53:16 +00:00
Sunny Goyal 337fcb7983 Theme updates for dark text:
> Using white scrim on adjescent tiles in overview
> Using a ligher scrim in dark-theme+dark-text

Bug: 80253867
Change-Id: I3f257d3addaca8bc5970a61722f5ae0e7af89382
2018-05-30 15:53:10 -07:00
Android Build Merger (Role) 477c353e77 [automerger] Shift recents up slightly in quick scrub am: 2f347149af am: c000c34add
Change-Id: Ic0d0afea6bb69f13f35b95fee453311b059229eb
2018-05-30 21:28:40 +00:00
Tony 2f347149af Shift recents up slightly in quick scrub
Bug: 79883290
Change-Id: If57fd52505d7f965ea8a28e90e715c5723915e57
2018-05-30 14:28:20 -07:00
Android Build Merger (Role) befcbd176e [automerger] Removing accessibility action for Clear-all am: 442fc108c3 am: a3e47fe80c
Change-Id: I470061377e6fb1dce4f17425e0d6b780b805bd85
2018-05-30 00:36:26 +00:00
Vadim Tryshev 442fc108c3 Removing accessibility action for Clear-all
Now that Clear-all button is visible for accessibility, there is no need
in it.

Bug: 80156299
Test: Manual
Change-Id: I5997692be015947692a8bb720a449d1d36302526
2018-05-29 17:34:19 -07:00
Android Build Merger (Role) a805c19e6c [automerger] Update displacement on ACTION_UP as well, in case ACTION_UP and came in a different frame than last ACTION_MOVE am: ab66067def am: 6d75448fdb
Change-Id: I2d394c09dbe4c1e1a1d782278f8ab776f101eb36
2018-05-29 22:55:08 +00:00
Sunny Goyal ab66067def Update displacement on ACTION_UP as well, in case ACTION_UP and came in a different frame
than last ACTION_MOVE

Bug: 80292740
Change-Id: Ie75ac3ebb74024073965a7455a6503e8ed3f6d99
2018-05-29 15:54:59 -07:00
TreeHugger Robot 298f29d84f Merge changes from topic "am-4b8e4c1e-4bcf-4005-a8fa-209b8b48e653" into ub-launcher3-master
* changes:
  [automerger] Accounting for one frame jump when starting a fling animation am: 9c3f172d9c am: 4205b54ca8
  [automerger] Accounting for one frame jump when starting a fling animation am: 9c3f172d9c
  Accounting for one frame jump when starting a fling animation
2018-05-29 22:07:55 +00:00
TreeHugger Robot ad85852cc0 Merge "Accounting for one frame jump when starting a fling animation" into ub-launcher3-edmonton 2018-05-29 22:07:55 +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 688701317a Merge "Enable accessibility of Clear All button." into ub-launcher3-edmonton 2018-05-29 20:48:47 +00:00
Android Build Merger (Role) e7a938518a [automerger] Accounting for one frame jump when starting a fling animation am: 9c3f172d9c am: 4205b54ca8
Change-Id: Ib7ed3d4bd38f901f9330db9800faf3d4eab31b73
2018-05-29 20:39:13 +00:00
Sunny Goyal 9c3f172d9c Accounting for one frame jump when starting a fling animation
Bug: 80292740
Change-Id: I47bca071d42d1d217068c128f9793e87210d0286
2018-05-29 13:38:57 -07: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 222d517c89 Merge "Fix clipping recents when scaling down" into ub-launcher3-edmonton 2018-05-29 19:33:24 +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
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
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
Jorim Jaggi 87356e7b48 Merge "Fix binder call for app opening" into ub-launcher3-edmonton 2018-05-29 17:40:56 +00:00
Android Build Merger (Role) 7495058f3a [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781 am: a7fdc39755
Change-Id: Ic9b5a99a8e9513ba9934d8a9ac003c5b06a0bd28
2018-05-29 13:50:25 +00:00
Android Build Merger (Role) a7fdc39755 [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
Change-Id: I4a179cde85e81fa971982c6d0087a57bfe513596
2018-05-29 13:50:22 +00:00
Jorim Jaggi 80b9314781 Use SyncRtSurfaceTransactionApplier for recents enter/exit
To ensure proper synchronization, fixing jank.

Furthermore, we need to move the background choreographer to
vsync-sf pulse in order to allow for a smooth transition
background -> foreground when handling the touch.

Test: Swipe up, disable swipe, press recents to enter/exit
Bug: 80292740
Change-Id: Ie58616edf6432a0154d6dbf8497218721154d2b8
2018-05-29 15:50:14 +02:00
Android Build Merger (Role) ddd4a96c18 [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e am: 65456764cb
Change-Id: If648ee690ff21f6e4654002cd6f28bf4e675aa5d
2018-05-29 13:47:45 +00:00
Android Build Merger (Role) 65456764cb [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
Change-Id: I219874f25ba6e9ac1d48d3a35d2860bb40328c8c
2018-05-29 13:47:42 +00:00
Jorim Jaggi 1008f6d72e Use SyncRtSurfaceTransactionApplier for app opening
To ensure 100% synchronization, fixing jank.

Test: Open and close apps
Bug: 78611607
Change-Id: I6843e88ab1de0b8e7d80e6a6f547b895b527d093
2018-05-28 18:10:47 +02: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
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