Commit Graph

34630 Commits

Author SHA1 Message Date
vadimt 042f2e33fb Temporarily disabling 3-button testing mode
Bug: 131419978
Change-Id: I9a817140ee5e0fb8d40da67759399f85b0625da0
2019-04-26 11:44:52 -07:00
Matthew Ng fa6584e7a6 Added back code removed earlier from OverviewInterationState
am: 06e0d80d15

Change-Id: Ibb251ec595093c5da4c5b8673a36439088a2630a
2019-04-26 11:24:10 -07:00
Sunny Goyal bfaa9760dd Updating the touch proxy logic:
In draglayer, we always dispatch touch events to child views. If the
touch originated from gesture area, when we dont route it through touch
controllers.
The proxy events are only send to touch controller. If any controller consumes
the event, then we cancel the view touch (pilferPointers)

This allows the controllers to work outside the dragView area, and prevents normal
view interaction when there is a window on top (like keyboard) while keeping our
activity focused

Bug: 131088901
Bug: 130618737
Change-Id: If033dde3a0f9cb6a6e449c9586c1fa050af5bdcb
2019-04-26 11:08:42 -07:00
Matthew Ng 06e0d80d15 Added back code removed earlier from OverviewInterationState
Change: ag/7199900

Test: manual
Fixes: 129497226
Change-Id: Ibf0b1d4ade8ef5a2f0ceb545df505e9de419ec50
(cherry picked from commit cad531248e)
2019-04-26 18:00:12 +00:00
Hyunyoung Song be697cea0b Merge "Night accent color Bug: 128857973" into ub-launcher3-qt-dev
am: a0d542b046

Change-Id: Ic410319caf603a1add005e885fa63c188a4df0d3
2019-04-26 10:44:07 -07:00
TreeHugger Robot 61437d3075 Merge "Added back code removed earlier from OverviewInterationState" into ub-launcher3-master 2019-04-26 17:38:37 +00:00
Hyunyoung Song a0d542b046 Merge "Night accent color Bug: 128857973" into ub-launcher3-qt-dev 2019-04-26 17:32:20 +00:00
Hyunyoung Song 572c746f74 Night accent color
Bug: 128857973

Change-Id: If81e9684143967480259a01e59694676875b0df1
2019-04-26 10:13:08 -07:00
Vadim Tryshev 40ac3b76d3 Merge "Set portrait orientation for FallbackRecentsTest" into ub-launcher3-qt-dev
am: 8bb8e56580

Change-Id: Ic6e774dc6596d969c32bc32f620ab83155ee4916
2019-04-25 18:25:31 -07:00
Vadim Tryshev 8bb8e56580 Merge "Set portrait orientation for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-04-26 01:11:43 +00:00
Kevin 185f1d70e3 Merge "Rotate thumbnail view based off device orientation" into ub-launcher3-qt-dev
am: f5ef0be08d

Change-Id: I165553515c6ca9b6847f9c7e38287c13c63a9dbf
2019-04-25 18:05:26 -07:00
Kevin ab423c8cde Merge "Round thumbnail corners" into ub-launcher3-qt-dev
am: b6b7952d12

Change-Id: I5372d3dbdba7df49031370dc82dd74abda0247e8
2019-04-25 18:01:01 -07:00
Vadim Tryshev dfa4eef602 Merge "Annotating DigitalWellBeingToastTest so that it actually runs in lab :)" into ub-launcher3-qt-dev
am: f099fb45b8

Change-Id: I58ca58b453e9ee281bd7269bd3e9848d9d9a44e9
2019-04-25 18:00:31 -07:00
TreeHugger Robot f5ef0be08d Merge "Rotate thumbnail view based off device orientation" into ub-launcher3-qt-dev 2019-04-26 00:57:58 +00:00
vadimt dd4d390f38 Set portrait orientation for FallbackRecentsTest
Bug: 131364673
Change-Id: I77f3058e09eadc5bcbfe48c768f78883082a526d
2019-04-25 17:53:26 -07:00
TreeHugger Robot b6b7952d12 Merge "Round thumbnail corners" into ub-launcher3-qt-dev 2019-04-26 00:47:38 +00:00
Vadim Tryshev f099fb45b8 Merge "Annotating DigitalWellBeingToastTest so that it actually runs in lab :)" into ub-launcher3-qt-dev 2019-04-26 00:44:04 +00:00
Kevin a4949471be Rotate thumbnail view based off device orientation
In landscape mode, recents thumbnails should be shown horizontally, so
this CL modifies the custom view so that it resizes to display a
horizontal snapshot.

Bug: 114136250
Bug: 131095241
Test: Rotate recents, see view width change appropriately
Change-Id: Ic3d8d039535c673567d19c372da211d177691a81
2019-04-25 17:43:48 -07:00
vadimt 55fa21eb95 Annotating DigitalWellBeingToastTest so that it actually runs in lab :)
And starting a test app :)))))

Change-Id: I3b326a40651b0e4293dee26e4ef5f991cd7b7d0d
2019-04-25 17:34:23 -07:00
Kevin 90bddf0cf8 Round thumbnail corners
Round the task thumbnail corners as per the mocks by setting the bitmap
as a shader.

Bug: 114136250
Test: See rounded thumbnails on recents Go
Change-Id: I2bf8ebce34deb0d1cb6199cf8f6d5fa6ac746bb8
2019-04-25 17:27:01 -07:00
Matthew Ng cad531248e Added back code removed earlier from OverviewInterationState
Change: ag/7199900

Test: manual
Fixes: 129497226
Change-Id: Ibf0b1d4ade8ef5a2f0ceb545df505e9de419ec50
2019-04-26 00:25:06 +00:00
Tony Wickham 216c0eedeb Merge "Decouple recents view from window while swiping up" into ub-launcher3-qt-dev
am: 0cc53e7f6a

Change-Id: I35b6985c50af31debac49fcc5c4714216acd9786
2019-04-25 17:20:19 -07:00
Tony Wickham 0cc53e7f6a Merge "Decouple recents view from window while swiping up" into ub-launcher3-qt-dev 2019-04-26 00:10:34 +00:00
Matthew Ng 4f5503e13c Merge "Remove interaction flag code replaced by QuickStepContract (1/2)" into ub-launcher3-qt-dev
am: 529bff9a66

Change-Id: I44162de4803b536dc2c95bbc24987b19347ba465
2019-04-25 16:50:14 -07:00
TreeHugger Robot 529bff9a66 Merge "Remove interaction flag code replaced by QuickStepContract (1/2)" into ub-launcher3-qt-dev 2019-04-25 23:36:23 +00:00
Hyunyoung Song a0cc03a9a4 Merge "Cleanup unnecessary override dump method" into ub-launcher3-qt-dev
am: 3c007368a7

Change-Id: I80b98e74eb4aea7f575d43a54c3a1b3bbba765a4
2019-04-25 16:35:06 -07:00
TreeHugger Robot 3c007368a7 Merge "Cleanup unnecessary override dump method" into ub-launcher3-qt-dev 2019-04-25 23:22:04 +00:00
Hyunyoung Song 9e7d2acc22 Cleanup unnecessary override dump method
Change-Id: Ic2909a4d382362ddec9bcc2c738d13120e792fd8
2019-04-25 16:08:52 -07:00
Matthew Ng b60dce7268 Remove interaction flag code replaced by QuickStepContract (1/2)
Test: manual
Bug: 112934365
Fixes: 129497226
Change-Id: Id128eee4eaa620f0b9c461ef5adf0a16e9ea9a2c
2019-04-25 23:01:12 +00:00
Hyunyoung Song 8342eb35a6 Merge "Add important dump logging Bug: 130851537 Bug: 119992316" into ub-launcher3-qt-dev
am: efe8475093

Change-Id: I155b968bc54120b3c1d8d3f0c33c07c31cb51d5c
2019-04-25 15:40:18 -07:00
Tony Wickham a2c48efb50 Log undo button click
am: 03f27013bf

Change-Id: I1a47c8177a3cd7d6f661c85ba0dc0e3a6f4d56d7
2019-04-25 15:39:47 -07:00
Hyunyoung Song efe8475093 Merge "Add important dump logging Bug: 130851537 Bug: 119992316" into ub-launcher3-qt-dev 2019-04-25 22:33:31 +00:00
Hyunyoung Song a310a80c7b Add important dump logging
Bug: 130851537
Bug: 119992316

Change-Id: I3de7c1d910d1aecd80b47a85284565c79fe0e2cc
2019-04-25 15:14:44 -07:00
Tony Wickham 03f27013bf Log undo button click
Also fix a bug where we logged workspace swipe upon clicking undo, since
rebinding the pages causes us to reset mCurrentPage = 0 followed by
setCurrentPage(pageBoundFirst). Since the page isn't actually visibly
changing, we shouldn't log in that case.

Bug: 118758133
Change-Id: Ie87164a8c7c278680f67dee75657210bd33408a4
2019-04-25 14:22:54 -07:00
Hyunyoung Song 12422734dd Merge "Add logging for Task Icon interaction" into ub-launcher3-qt-dev
am: 1e4a43ac67

Change-Id: Ieb25694fa387e7947141d735c769b62bc51829bc
2019-04-25 13:36:27 -07:00
Kevin 866eaa26ad Merge "Don't layout empty tasks in layout anim if we have the actual content." into ub-launcher3-qt-dev
am: db4e713c18

Change-Id: I1229c6d8c4c3bc6b5918bc4c98f849d0aed9110d
2019-04-25 13:31:26 -07:00
Hyunyoung Song 1e4a43ac67 Merge "Add logging for Task Icon interaction" into ub-launcher3-qt-dev 2019-04-25 20:30:43 +00:00
TreeHugger Robot db4e713c18 Merge "Don't layout empty tasks in layout anim if we have the actual content." into ub-launcher3-qt-dev 2019-04-25 20:22:08 +00:00
Kevin 1335c36c15 Don't layout empty tasks in layout anim if we have the actual content.
When we load the task content (icons, snapshots, etc), oftentimes, we
are still in the middle of the layout animation where items are fading
in from bottom to top. At this point, we start a second content-fill
animation from bottom to top that fades from empty => filled after the
first animation.  However, we can improve this so that empty views
aren't shown for a split second for some of the later laid out views.

If the first animation has not finished and we would animate a content
change from empty => filled but the view is currently still not visible,
we should just complete the content transition on the spot so that the
layout animation lays out the filled version instead.

Bug: 131339235
Test: Go to recents, observe lay out animation does not continue to lay
out the empty view first

Change-Id: I936a81e6cf8b3552cdee90c183fc841f50ec9ea8
2019-04-25 12:53:20 -07:00
Vadim Tryshev d30e0d3d43 Merge "Enable testStressSwipeToOverview()" into ub-launcher3-qt-dev
am: a5ed906db8

Change-Id: I964f4af9e106835b11d47a142f0ed3ab73938832
2019-04-25 12:18:26 -07:00
Vadim Tryshev a5ed906db8 Merge "Enable testStressSwipeToOverview()" into ub-launcher3-qt-dev 2019-04-25 19:11:26 +00:00
Tony Wickham 0851895b86 Merge "Use AccessibilityManager#getRecommendedTimeoutMillis for Snackbar" into ub-launcher3-qt-dev
am: 4fd2dff408

Change-Id: I55271db44b9d3cb61793d7234b477900ffb876ad
2019-04-25 12:04:00 -07:00
Tony Wickham 74bf8d262a Merge "Call initTransitionEndpoints in constructor" into ub-launcher3-qt-dev
am: 2a3c936440

Change-Id: Iae8f41eed3003060f9c29cde7ca3d46ebbd408cc
2019-04-25 12:03:22 -07:00
TreeHugger Robot 4fd2dff408 Merge "Use AccessibilityManager#getRecommendedTimeoutMillis for Snackbar" into ub-launcher3-qt-dev 2019-04-25 18:58:39 +00:00
vadimt ab03a7eb19 Enable testStressSwipeToOverview()
Underlying issue has been fixed.

Bug: 129723135
Change-Id: I336de8bb38360ee83023caa17bc90a601db3b9e2
2019-04-25 11:57:41 -07:00
Hyunyoung Song fd94cd5498 Add logging for Task Icon interaction
Bug: 129279637
Change-Id: I135bad16015129b3b60bb13e86783d623e504b1b
2019-04-25 11:56:04 -07:00
Tony Wickham 5519a0f6a8 Use AccessibilityManager#getRecommendedTimeoutMillis for Snackbar
Bug: 129806241
Change-Id: I4aabc3ee33560960f3117d82f9873fce60f1278a
2019-04-25 11:47:22 -07:00
Tony Wickham 2a3c936440 Merge "Call initTransitionEndpoints in constructor" into ub-launcher3-qt-dev 2019-04-25 18:46:45 +00:00
Sunny Goyal 4a4f0a1613 Merge "Filling in content values on the worker thread" into ub-launcher3-qt-dev
am: 587421adbf

Change-Id: I4854343932b386d74e7b516032f8b36e5ffd185e
2019-04-25 10:53:05 -07:00
Sunny Goyal 587421adbf Merge "Filling in content values on the worker thread" into ub-launcher3-qt-dev 2019-04-25 17:38:13 +00:00