Commit Graph

6741 Commits

Author SHA1 Message Date
Sunny Goyal 73954df645 Ensure that animaiton.end() is properly dispatched
When window animation is cancelled, we skip running the animation. But since we
initialize the UI before the animation started, the UI is never reset.

Bug: 79657221
Change-Id: Ic420d1d99f5242541e6809f3207355ea9876ca9c
2018-05-14 11:25:24 -07:00
Android Build Merger (Role) 51ddb12824 [automerger] Fixing task location calculation in seascape am: 55631dd8af
Change-Id: I8990e3501515818dccea4457a94a14f0cbcf1272
2018-05-14 18:08:48 +00:00
Sunny Goyal 55631dd8af Fixing task location calculation in seascape
> In seascape, the task is aligned to the left insets

Change-Id: I2bc090698320045a014dc713d57ca412a58bf9e4
2018-05-14 11:08:41 -07:00
TreeHugger Robot 266fb59a33 Merge "Remove fake 319 event generation" into ub-launcher3-edmonton 2018-05-14 05:21:14 +00:00
Android Build Merger (Role) 6c9f7d7528 [automerger] Remove fake 319 event generation am: 279e15152b
Change-Id: Iffc4a20c4ad783aa3032f9fd76a7a5a5b26bc5b6
2018-05-12 00:52:40 +00:00
Vadim Tryshev 279e15152b Remove fake 319 event generation
Bug: 72967764
Test: Running perf tests
Change-Id: If012b0f8e964b9bcd5fb230e5a2232d27cea1dfd
2018-05-11 17:51:14 -07:00
Winson Chung a7b42bbf91 Merge "Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps""" into ub-launcher3-edmonton 2018-05-11 23:47:55 +00:00
Winson Chung ec4352e7e3 Merge changes from topic "am-63de75f3-683d-4845-8448-808c4757ea20" into ub-launcher3-master
* changes:
  [automerger] Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"" am: a0f09f94b5
  Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps""
2018-05-11 23:47:55 +00:00
TreeHugger Robot fce7861620 Merge "Fixing various quickscrup controls for fallback activity" into ub-launcher3-edmonton 2018-05-11 23:12:13 +00:00
Android Build Merger (Role) 0081911817 [automerger] Fixing various quickscrup controls for fallback activity am: 9829060491
Change-Id: I55e492ce9ab67125bffc7aafb9c4dbc30bc9e2e1
2018-05-11 23:03:18 +00:00
Sunny Goyal 9829060491 Fixing various quickscrup controls for fallback activity
> Not auto advancing to next task when swiping from home
> Starting from the current tile, when scrubing on recents activity

Bug: 79558175
Change-Id: I2975dbb254ba0004b34ce5d86d9733faad4943ff
2018-05-11 16:03:12 -07:00
Android Build Merger (Role) 577455a74b [automerger] Restoring the vertical progress if the task launch failed am: 6e180fdee5
Change-Id: I8f6b9a2057d59173d5a3b9c2cb54c28797b1aef5
2018-05-11 22:26:34 +00:00
Sunny Goyal 6e180fdee5 Restoring the vertical progress if the task launch failed
Bug: 79170705
Change-Id: I7b2075f7a4bad2acdc55a15b7c7a35fdbd60514e
2018-05-11 15:26:28 -07:00
Android Build Merger (Role) 622fd6eeca [automerger] Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"" am: a0f09f94b5
Change-Id: I52faf19322e3f40d91cd8d8f837cc5e242da3f1d
2018-05-11 21:55:23 +00:00
Winson Chung a0f09f94b5 Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps""
This reverts commit f5d5b6f00f.

Reason for revert: Can be submitted once a build with ag/4040557 is available for flashing

Change-Id: Id94440a1dc9b765bb9758af81b0567628befa283
2018-05-11 21:55:21 +00:00
TreeHugger Robot 7f71198dc8 Merge "Separating the draglayer alpha into multiple dimensions so that different animaitons can run without affecting the other." into ub-launcher3-edmonton 2018-05-11 19:26:51 +00:00
Android Build Merger (Role) 8d035d7885 [automerger] Separating the draglayer alpha into multiple dimensions so that different animaitons can run without affecting the other. am: 6001ea2e2f
Change-Id: I1c7b9918d550d6af680cd129d2f7747ee3bc3220
2018-05-11 19:18:46 +00:00
Sunny Goyal 6001ea2e2f Separating the draglayer alpha into multiple dimensions so that different animaitons
can run without affecting the other.

Bug: 79323355
Bug: 78880824
Change-Id: I11cb464ebdaad0a7f0a56d4bc4c3dff1d56da16b
2018-05-11 12:18:39 -07:00
Android Build Merger (Role) 9228b719ab [automerger] Fixing Clear-all button being positioned incorrectly am: 6ebbf309ce
Change-Id: Icc251d13f5330f6601250b666bc325ee849bfcb3
2018-05-11 17:28:27 +00:00
Vadim Tryshev 6ebbf309ce Fixing Clear-all button being positioned incorrectly
Positioning used mClearAllButton.getTop(), which wasn't set until first
layout.

Bug: 72222505
Test: Manual
Change-Id: I6f60067fe6446e2359c3598084064f2df0673f47
2018-05-11 17:28:26 +00:00
Sunny Goyal 08cf36ea54 Merge "Tweak and fix bugs with new app close transition." into ub-launcher3-edmonton 2018-05-11 15:43:10 +00:00
Sunny Goyal d9d31e0d77 Merge changes from topic "am-9454dd78-5161-4988-98f2-49081c57d09b" into ub-launcher3-master
* changes:
  [automerger] Tweak and fix bugs with new app close transition. am: 973622e8ec
  Tweak and fix bugs with new app close transition.
2018-05-11 15:43:10 +00:00
Winson Chung 80a269b8ec Merge "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"" into ub-launcher3-edmonton 2018-05-11 15:18:46 +00:00
Android Build Merger (Role) f4c729df9a [automerger] Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps" am: f5d5b6f00f
Change-Id: I45f5ff142181e1c4783508c424769d9ce2555d51
2018-05-11 06:50:23 +00:00
Winson Chung f5d5b6f00f Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"
This reverts commit 5dd46d51ed.

Reason for revert: Temporary revert until ag/4040557 goes in

Change-Id: Iab2c747a99e1fb1cc5a91787dbf185df77f791b4
2018-05-11 06:50:21 +00:00
Sunny Goyal 81abe79619 Merge "Using dragHandle for workspace padding calculation instead of pageIndicator" into ub-launcher3-edmonton 2018-05-11 01:30:12 +00:00
Sunny Goyal 076430d4be Merge changes from topic "launcher-layout-res-dedup" into ub-launcher3-master
* changes:
  [automerger] Using dragHandle for workspace padding calculation instead of pageIndicator am: 08ef66789b
  Using dragHandle for workspace padding calculation instead of pageIndicator
2018-05-11 01:30:12 +00:00
Android Build Merger (Role) 765b19abbb [automerger] Update sysui flags on swipe, skip task backgrounds on opaque apps am: 5dd46d51ed
Change-Id: Ic44a29130d7bd2a53b8b8264c090b9fb5e110d88
2018-05-10 22:37:02 +00:00
Winson Chung 5dd46d51ed Update sysui flags on swipe, skip task backgrounds on opaque apps
Bug: 79228291
Bug: 77984778
Bug: 78659249
Bug: 73714156
Change-Id: I3bb9ce5b4d5d16bc229a1caba99891cb87775136
2018-05-10 15:36:44 -07:00
Android Build Merger (Role) 43ecbd119e [automerger] Tweak and fix bugs with new app close transition. am: 973622e8ec
Change-Id: I5709f5fe304551f9e9fff25ecba930119768cc57
2018-05-10 22:30:04 +00:00
Jon Miranda 973622e8ec Tweak and fix bugs with new app close transition.
* Animates LauncherRootView instead of DragLayer to avoids the flashing that
  can occur when the overlay callback also changes the DragLayer alpha.
* To avoid the scrim's hard line: we hide it and then fade it in later.
* Launcher animation was wrong in landscape mode.

Change-Id: I7673228f5ed8bb72d7393f3d0769577b262f286f
2018-05-10 15:29:34 -07:00
Sunny Goyal d83e88da8a Merge changes from topic "am-097d6789-c880-4ec5-bad4-39f2d31eb938" into ub-launcher3-master
* changes:
  [automerger] Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe am: 1d82dd4d12
  Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe
2018-05-10 22:16:06 +00:00
Sunny Goyal 9b789cbbac Merge "Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe" into ub-launcher3-edmonton 2018-05-10 22:16:06 +00:00
TreeHugger Robot d3c8e35e7f Merge "Deferring recents animation when tapping rotation button." into ub-launcher3-edmonton 2018-05-10 21:52:25 +00:00
Android Build Merger (Role) e6febedcdf [automerger] Deferring recents animation when tapping rotation button. am: 447aadbc45
Change-Id: I2d7205b4d1600a4e91368c2ddf4d98a8d98f281e
2018-05-10 21:43:18 +00:00
Winson Chung 447aadbc45 Deferring recents animation when tapping rotation button.
Bug: 79518453
Change-Id: I46490cce0ced0860903337c02fb66e1cdc5add06
2018-05-10 14:40:44 -07:00
TreeHugger Robot 0572422de8 Merge "Fixing latency test for square button" into ub-launcher3-edmonton 2018-05-10 21:28:52 +00:00
Android Build Merger (Role) 6d55069d8f [automerger] Fixing latency test for square button am: c538cc3a01
Change-Id: If7cab9affded68001cb0ba5baf128a15781b8c74
2018-05-10 21:16:42 +00:00
Vadim Tryshev c538cc3a01 Fixing latency test for square button
App-to-recents via square button now generates an event (sysui_latency: [1,<latency>]) for latency tests.

Bug: 72967764
Test: atest google/perf/app-transition/sysui-latency-test
Change-Id: Iae9e3112ab28d98ec2c11111f259010692e7fc7a
2018-05-10 14:15:53 -07:00
Android Build Merger (Role) 71287f6727 [automerger] Fix workspace scale calculation am: 41be2fc783
Change-Id: Iecac06330e2469a6f15309558992fc5f338bfab4
2018-05-10 21:00:40 +00:00
Tony Wickham 41be2fc783 Fix workspace scale calculation
- Based on workspace page instead of workspace (takes padding into
  account)
- Checks that width != 0 so we don't divide by 0

Bug: 79526164
Change-Id: I25d92a04550aa34abab7e9e1f93c93dbccd61752
2018-05-10 14:00:27 -07:00
Android Build Merger (Role) 65c6e5f2f2 [automerger] Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe am: 1d82dd4d12
Change-Id: I70c15e1a83979aa44705c1d6491b950932905ba5
2018-05-10 19:01:29 +00:00
Sunny Goyal 1d82dd4d12 Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe
Bug: 79419808
Change-Id: I17741ef7b35a8b82543e52c4958289933cf04a43
2018-05-10 12:01:23 -07:00
Android Build Merger (Role) 1e4420c4ab [automerger] Using dragHandle for workspace padding calculation instead of pageIndicator am: 08ef66789b
Change-Id: If1cee04dcd365d87328119ccec457c30c0fb317d
2018-05-10 18:33:17 +00:00
Sunny Goyal 08ef66789b Using dragHandle for workspace padding calculation instead of pageIndicator
> PageIndicator is a 1dp indicator which does not contribute in any padding calculations

Bug: 79111591
Change-Id: I4d8be0149da2b3f14593ae71ca037ffe3885d9be
2018-05-10 11:33:11 -07:00
Winson Chung 522e388b17 Merge "Fix lock contention while swiping up" into ub-launcher3-edmonton 2018-05-10 17:42:52 +00:00
Winson Chung 54e09b2673 Merge changes from topic "am-11851312-e665-4de2-88e4-10cb14f31d5f" into ub-launcher3-master
* changes:
  [automerger] Fix lock contention while swiping up am: 570432f700
  Fix lock contention while swiping up
2018-05-10 17:42:52 +00:00
TreeHugger Robot e97bbc47b8 Merge "Removing extra binder call on state or visibility change" into ub-launcher3-edmonton 2018-05-10 17:40:32 +00:00
TreeHugger Robot b7ba11a3c8 Merge changes from topic "am-b221aa51-527b-4bc6-ba9b-bb560e5f8d73" into ub-launcher3-master
* changes:
  [automerger] Removing extra binder call on state or visibility change am: 6b4b9b5d71
  Removing extra binder call on state or visibility change
2018-05-10 17:40:32 +00:00
Hyunyoung Song 2d90fd0eeb Merge "Use device api level if first_api_level is not set. Bug: 79429532" into ub-launcher3-edmonton 2018-05-09 23:41:05 +00:00