Commit Graph

34630 Commits

Author SHA1 Message Date
Winson Chung 0e44900863 Continue gestures on interaction after recents animation finishes
- Detect when start of the next task is interrupted with another gesture
  (after finishing the recents animation but before the next task is
  launched), and ensure that the next gesture is continued with another
  other activity input consumer (but without actual remote animation
  targets)

Bug: 128376812
Test: Introduce artificial delay in recents animation finish, try to quick
      switch quickly

Change-Id: I057a0b2c4b7e8636467e37f5bbc8800b46c24345
2019-05-06 10:17:49 -07:00
Amin Shaikh 7523723f7d Merge "Add overlayable test resource for launcher3" into ub-launcher3-qt-dev
am: 227b6e021c

Change-Id: I2613814d2fbedf843b463594608f97f50b48a20a
2019-05-06 08:21:57 -07:00
TreeHugger Robot 227b6e021c Merge "Add overlayable test resource for launcher3" into ub-launcher3-qt-dev 2019-05-06 13:49:01 +00:00
Amin Shaikh fd329d19f9 Add overlayable test resource for launcher3
Test: make RunLauncherRoboTests
Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
2019-05-06 09:34:38 -04:00
Tony 5bc79a2f6b Fix recents attached state when quick switching
Don't wait for drag slop before determining whether we are likely
to quick switch (xDisplacement > yDisplacement). One glaring issue
is that we only pass drag slop when swiping up, not sideways...
so to pass drag slop going sideways we actually had to pass touch
slop (24dp vs 10dp) and by that point the adjacent task was probably
visible if you swiped fast, and thus we faded it in. Now we only
look at raw displacement for purposes of determining whether we are
likelyToStartNewTask, which should be much more consistent.

Bug: 129985827
Change-Id: I31f8a9830681851093de2ce159da1a1dc4f7ef6a
2019-05-05 16:26:22 -07:00
android-build-team Robot 7b8c7a5d7b Snap for 5533215 from 4561247d39 to rvc-release
Change-Id: I2a3b776854c6013fa1b9cf94140ea1a2ccfaf9e4
2019-05-04 23:09:08 +00:00
android-build-team Robot fab2797e29 Snap for 5533229 from 4c8e5dd275 to qt-release
Change-Id: I9fdc320ca58eda8e13043a4b458df9e2af96db95
2019-05-04 23:05:13 +00:00
Sunny Goyal eb47efd942 Merge "Updating floating animation target if layout changes during the animation" into ub-launcher3-qt-dev
am: 56b3dfaa04

Change-Id: I3c71d0bf5bca0ae3abaab7b0bd50099391c8298f
2019-05-04 12:46:07 -07:00
Sunny Goyal 56b3dfaa04 Merge "Updating floating animation target if layout changes during the animation" into ub-launcher3-qt-dev 2019-05-04 19:39:20 +00:00
Sunny Goyal 9d779036b6 Merge "Calling onTransitionEnd when starting a user controller animation so that any transient property is cleared" into ub-launcher3-qt-dev
am: a962578718

Change-Id: I9b6f8a0013c044740451e47a48d2be00d2257861
2019-05-04 11:51:03 -07:00
Sunny Goyal a962578718 Merge "Calling onTransitionEnd when starting a user controller animation so that any transient property is cleared" into ub-launcher3-qt-dev 2019-05-04 18:45:36 +00:00
Sunny Goyal abb55950f6 Updating floating animation target if layout changes during the animation
Bug: 131360075
Change-Id: Id71e154aa59177955baa9daab00ecf11ee7d8c43
2019-05-04 11:38:47 -07:00
Sunny Goyal adb0aed539 Adding utility method to get adaptive icon scale
am: 905262c1a7

Change-Id: I59443194bc022c4e5984cd20dd038d50e102c4f3
2019-05-04 01:10:33 -07:00
Sunny Goyal 4561247d39 Merging ub-launcher3-qt-dev, build 5528135 am: 4c8e5dd275
am: 93e77f6ac4

Change-Id: I86c9ead56d47fb9a22a328aef54e918511206f64
2019-05-03 22:06:39 -07:00
Sunny Goyal 905262c1a7 Adding utility method to get adaptive icon scale
Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
2019-05-03 21:31:46 -07:00
Sunny Goyal ce3929033c Merging ub-launcher3-qt-dev, build 5528135
am: 4c8e5dd275

Change-Id: I9db1b1aaa48a84bbe8fb87e1d31d9c987f6b3ed8
2019-05-03 20:39:20 -07:00
Sunny Goyal 93e77f6ac4 Merging ub-launcher3-qt-dev, build 5528135
am: 4c8e5dd275

Change-Id: Ic9ece52afbf3b61453a17bc4f85f79093622852c
2019-05-03 17:27:08 -07:00
vadimt 6abdf7bd10 Enable BindWidgetTest, RequestPinItemTest
am: 1bdb0f4046

Change-Id: Ic590ee4334d18a810fe97ede7babad58975ab7e3
2019-05-03 15:21:19 -07:00
vadimt 1bdb0f4046 Enable BindWidgetTest, RequestPinItemTest
Comparing only widget provider class names, as package names (sometimes)
switch to the test package, not to the ones in Launcher.

Bug: 131116593
Change-Id: Ieeed69432303a86fcefb194d509cdaf9d4513f3a
2019-05-03 13:49:52 -07:00
Vadim Tryshev f3aed6d22b Merge "Temporary hacks to make tests pass on Taimen" into ub-launcher3-qt-dev
am: 7ff19aa560

Change-Id: Iffd29c6af69172f03143c1e67fa67d685bd0ec8d
2019-05-03 12:26:19 -07:00
Sunny Goyal 1f5f124d85 Merge "Fixing FloatingIconView position and rotation in rotated layout" into ub-launcher3-qt-dev
am: b07a30f8d6

Change-Id: I401cd9b689fb8c0af1c8dc52c5c33875450d4fb1
2019-05-03 12:09:15 -07:00
Vadim Tryshev 7ff19aa560 Merge "Temporary hacks to make tests pass on Taimen" into ub-launcher3-qt-dev 2019-05-03 19:04:23 +00:00
Sunny Goyal 9cc1b2f242 Calling onTransitionEnd when starting a user controller animation so
that any transient property is cleared

Bug: 80529128
Bug: 131360075
Change-Id: I613a0df4a06861be1c7195e1473c907489de1d1a
2019-05-03 11:56:18 -07:00
TreeHugger Robot b07a30f8d6 Merge "Fixing FloatingIconView position and rotation in rotated layout" into ub-launcher3-qt-dev 2019-05-03 18:53:25 +00:00
Vadim Tryshev 2a9d8f67ac Merge "Reenabling switching between nav modes in tests" into ub-launcher3-qt-dev
am: 2c99205461

Change-Id: I07040b5da89c565ad026b6c50abd9b991df238ca
2019-05-03 11:51:04 -07:00
vadimt 0030834239 Temporary hacks to make tests pass on Taimen
Change-Id: I66a81a0407be13c15596c63f21773f8e2dea5d2d
2019-05-03 11:42:43 -07:00
Sunny Goyal 878f6d3871 Fixing FloatingIconView position and rotation in rotated layout
Bug: 131360075
Change-Id: I4e39f35df99a07e00f3e86865b330d91e9461da0
2019-05-03 11:35:10 -07:00
Vadim Tryshev 2c99205461 Merge "Reenabling switching between nav modes in tests" into ub-launcher3-qt-dev 2019-05-03 17:42:20 +00:00
Sunny Goyal 4c8e5dd275 Merging ub-launcher3-qt-dev, build 5528135
Test: Manual

Bug:119847865 'CANCEL' option does not disappear immediately after adding Gmail widget to Home page
Bug:123874711 APR: StrictMode Violation in systemui: at android.view.SurfaceControl
Bug:128364741 Launcher surface cropped during gesture in multiwindow mode
Bug:129297366 [Gesture Nav] Swipe up to home: Forced adaptive icon switches to normal during animation
Bug:129297464 [Gesture Nav] Exclude edges from most Launcher / Overview states.
Bug:129434166 Lab-only flake: drag to workspace doesn't happen
Bug:129796627 [Gesture Nav] Allow disabling home gesture for Tips app for first-time setup
Bug:129883568 Update task view outline with task thumbnail progress
Bug:130558787 [Tests broken/flaky] home button not visible to accessibility in 2-button mode
Bug:130618737 Home, Back key, Recent Key not working in All app page. (Will pop up under layer app.)
Bug:130689544 Unable to quickswitch apps under landscape mode
Bug:130802487 [Gestural Navigation Bar] Swipe up for home not working
Bug:130828765 [Gesture Nav] App launch is not smooth in landscape mode when fully gestural navigation is ON
Bug:130905838 [Gesture Nav] Implement a11y gesture
Bug:131088901 In multiwindow mode, swipe up navigation to overview screen not working.
Bug:131116002 Convert tests to TAPL and enable them
Bug:131170582 [Flaky test] TaplTestsLauncher3.testDragShortcut
Bug:131188880 [Failing test] AppPredictionsUITests.testPredictionExistsInAllApps
Bug:131242470 Swipe up to home is broken in RTL
Bug:131310726 Pixel QSB – app titles are black and long press overlay is white
Bug:131360075 [Gesture Nav] Polish/finish landscape
Bug:131367388 Recents Go order is occasionally reversed
Bug:131419978 [Massive test failure] Switching to 3-button mode results in 2-button mode (at least on Crosshatch)
Bug:131420412 java.lang.AssertionError: http://go/tapl : App didn't start: BySelector [PKG='\Qcom.android.chrome\E']
Bug:131427332 Thumbnail views sometimes don't update to orientation in Recents Go
Bug:131434765 [Android Go - Mediatek] KB3 "Recents" button no longer works
Bug:131436393 When quick switching and grabbing again before animation complete, task scales up slightly
Bug:131552865 Can't swipe up for home
Bug:131610834 Align recents Go layout to 4/8 dp grid
Bug:131626311 System bars should not clip Recents Go items
Bug:131628231 Disable com.google.android.contacts
Bug:131630813 FallbackRecentsTest failing in 0-button mode
Bug:131636735 Additional white space for top item is too large
Bug:131686863 Don't clip children while swiping task items out on Recents Go
Bug:131689686 Disable window corners when quickswitching in multiwindow mode
Bug:131708240 When Go Recents is empty, the first tap to go to recents doesnt do anything
Bug:131772711 [Failing test] AppPredictionsUITests.testPredictionsDisabled
Bug:131775822 Allow touches on launcher while animating to home
Bug:131779031 Anti-alias thumbnail rounded corners in Recents Go
Bug:131809649 The going home animation goes to quick shortcut if app is in the folder
Bug:131834685 Status bar left side not readable when white thumbnail is behind it
Bug:131848689 Recents Go: Off screen thumbnails don't change orientation
Bug:69236787 Expanding an app folder is slow if there are many folders on the same desktop
Change-Id: I2218d330f4959a3dbc13e48e61e93c36989fd052
2019-05-03 10:02:59 -07:00
vadimt 94b018c8ca Temporarily using magic constant to avoid closing all apps by scrolling
am: a3c0a082f9

Change-Id: I73e82ceb5f2087383945b5def49c7394caddb3ea
2019-05-02 19:45:03 -07:00
Vadim Tryshev a59f928e13 Merge "Disabling testPredictionExistsInAllApps" into ub-launcher3-qt-dev
am: 7e39a5fe67

Change-Id: I35fc586ff4d9b3e43412715dea6a4395a07ddb64
2019-05-02 18:39:52 -07:00
vadimt a3c0a082f9 Temporarily using magic constant to avoid closing all apps by scrolling
Change-Id: Ic99c8ad85525e37563b3f1debb125073055ac2f0
2019-05-02 18:38:57 -07:00
Vadim Tryshev 7e39a5fe67 Merge "Disabling testPredictionExistsInAllApps" into ub-launcher3-qt-dev 2019-05-03 01:01:27 +00:00
vadimt c655d7a52d Disabling testPredictionExistsInAllApps
It fails in the lab, and locally, when being run as a part of the whole
test suite.

Bug: 131772711
Change-Id: Ida5f384eb7115303e1315928822566150e1d852c
2019-05-02 17:39:22 -07:00
Vadim Tryshev e663024025 Merge "Fixing jank in folder animation." into ub-launcher3-qt-dev
am: 23bd90c442

Change-Id: If196041ecc69d1b2c3d54cf7847742bcb385b45c
2019-05-02 17:07:22 -07:00
Vadim Tryshev 3daaa79629 Merge "Enabling some tests that seem to pass locally" into ub-launcher3-qt-dev
am: a0739a9763

Change-Id: Id5724e3afe7034e5a280c6fe04e0a5d053711913
2019-05-02 16:56:59 -07:00
Tony Wickham b50923ae29 Merge "Anti-alias TaskThumbnailView" into ub-launcher3-qt-dev
am: 4b52a0a1da

Change-Id: I81bda152c7c4d611a5b49dce0500954ff5bbd759
2019-05-02 16:56:26 -07:00
Vadim Tryshev 23bd90c442 Merge "Fixing jank in folder animation." into ub-launcher3-qt-dev 2019-05-02 23:53:14 +00:00
Vadim Tryshev a0739a9763 Merge "Enabling some tests that seem to pass locally" into ub-launcher3-qt-dev 2019-05-02 23:35:48 +00:00
Sunny Goyal 4cd79876ac Adding support for overriding hotseat Widget
Bug: 131360075
Change-Id: I94151cb2987d7decea283790ab9e87cb4627d40c
2019-05-02 16:30:36 -07:00
vadimt 33cf050852 Enabling some tests that seem to pass locally
Bug: 131116002
Change-Id: Idd158b3e55fb0591508aa1498e9f37c40091af70
2019-05-02 16:21:55 -07:00
TreeHugger Robot 4b52a0a1da Merge "Anti-alias TaskThumbnailView" into ub-launcher3-qt-dev 2019-05-02 23:19:08 +00:00
Vadim Tryshev 21df0b90de Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev
am: 479c3d445e

Change-Id: I85d0b660c6a87add165f0223781c2c8b23f18a74
2019-05-02 16:08:08 -07:00
Tony Wickham 51d7948fcd Anti-alias TaskThumbnailView
The aliasing is more noticeable now that we have rounded corners

Change-Id: I32ab82d1c0be55ef7b60813a13c07913cdd201b5
2019-05-02 16:03:33 -07:00
Vadim Tryshev 479c3d445e Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev 2019-05-02 23:02:04 +00:00
Jonathan Miranda 591c22b3c3 Merge "Use original BubbleTextView icon for legacy stamped forced adaptive icons." into ub-launcher3-qt-dev
am: a34072b76b

Change-Id: I07744e3d42161236da270e29d88825ff50565f1b
2019-05-02 15:42:01 -07:00
vadimt 04f356fe17 Fixing jank in folder animation.
This continues ag/6410337

Bug: 69236787
Test: Manual
Change-Id: Iac9f7ab21bf3741846b9721d4c8235e8fc49f7fb
2019-05-02 15:40:18 -07:00
vadimt 0b927428d6 Enabling portrait widgets tests without converting to TAPL
Bug: 131116002
Change-Id: I61e3277d4ff7aec12c8e532ce8ed68d8cd2032e9
2019-05-02 15:18:01 -07:00
Jonathan Miranda a34072b76b Merge "Use original BubbleTextView icon for legacy stamped forced adaptive icons." into ub-launcher3-qt-dev 2019-05-02 22:15:45 +00:00
Tony Wickham 398b7048ad Merge "Don't draw task insets or corners in multi window mode" into ub-launcher3-qt-dev
am: 06fbb5ec8f

Change-Id: Icf0925118fcd736bc506184e36d04c7ebecd6819
2019-05-02 14:12:35 -07:00