Commit Graph

19029 Commits

Author SHA1 Message Date
Tony Wickham cadbc274a6 Merge "Always place notification dots directly on adaptive icon path" into ub-launcher3-qt-dev
am: 3acd837949

Change-Id: I679169560a114690852fa8ecce0e80e9589592fc
2019-05-06 15:19:18 -07:00
Tony Wickham 3acd837949 Merge "Always place notification dots directly on adaptive icon path" into ub-launcher3-qt-dev 2019-05-06 21:57:34 +00:00
Sunny Goyal 05aafaf77c Merge "Adding support for overriding hotseat Widget" into ub-launcher3-qt-dev
am: ef8ba7bb51

Change-Id: I0bb906e067ec16ab9f119fe566b6ea76dd378b80
2019-05-06 12:03:08 -07:00
Sunny Goyal ef8ba7bb51 Merge "Adding support for overriding hotseat Widget" into ub-launcher3-qt-dev 2019-05-06 18:54:14 +00:00
Vadim Tryshev 119e53c578 Merge "Removing pressing home button twice" into ub-launcher3-qt-dev
am: 50c484994f

Change-Id: I3178576a3544f4a32861930f3997776d3b725383
2019-05-06 11:13:54 -07:00
Vadim Tryshev 50c484994f Merge "Removing pressing home button twice" into ub-launcher3-qt-dev 2019-05-06 18:09:41 +00:00
Tony Wickham 2377b33e74 Merge "Fix recents attached state when quick switching" into ub-launcher3-qt-dev
am: 752df2ce3b

Change-Id: I501350e9961e26afbe527d6a322e2567af60ee7b
2019-05-06 10:53:50 -07:00
Winson Chung 458e7b5cb9 Continue gestures on interaction after recents animation finishes
am: 0e44900863

Change-Id: Iafc9d0a6c9daad4a9ff07e313e52a6804400b127
2019-05-06 10:47:37 -07:00
Tony Wickham 752df2ce3b Merge "Fix recents attached state when quick switching" into ub-launcher3-qt-dev 2019-05-06 17:44:35 +00:00
Tony Wickham e1cb93f957 Always place notification dots directly on adaptive icon path
- Calculate point on icon path nearest to top right corner, and
  use that as center for the dot
- Cleanup code related to dot offset

Test:
Set each style (different icon shape) and verify dot is in correct
placement for each of:
- Folders
- Icons in folders
- Icons in all apps
- Icons on workspace

Bug: 124414511
Change-Id: I036ed3677e8af222f00d4fad4a36a7e4d9b49ad9
2019-05-06 10:42:55 -07:00
vadimt 16f2cd6cad Removing pressing home button twice
Bug: 124239413
Change-Id: I8c14c7e939bb4442cc830dcff3ec266ed8ed7186
2019-05-06 10:38:08 -07:00
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
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 905262c1a7 Adding utility method to get adaptive icon scale
Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
2019-05-03 21:31:46 -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
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