Commit Graph

2398 Commits

Author SHA1 Message Date
Sunny Goyal 6b72e4b33d Fixing accessibility arrow am: 1dae67b49d
am: 168cb346e5

Change-Id: Ice40e65dbbc3c95afc2cc1d8f4f205a247dc75e5
2019-06-28 14:27:46 -07:00
Sunny Goyal 168cb346e5 Fixing accessibility arrow
am: 1dae67b49d

Change-Id: I96a6b2f224ee3c24e4031ea2ec0167d5f3306f37
2019-06-28 14:21:45 -07:00
vadimt af85697376 Adding tracing for a bug about missing input events
am: 73ed3e432c

Change-Id: I2672dc3eb348d2aadaedf95e7069da9bb745e1c9
2019-06-28 11:11:37 -07:00
Sunny Goyal 1dae67b49d Fixing accessibility arrow
> Hiding arrow in background state and during quick switch
> Preventing arrow overlapping with search box in overview state

Bug: 135885458
Change-Id: Iadefba044717351d69480cde7d784cd04289d086
2019-06-27 23:18:46 -07:00
vadimt 73ed3e432c Adding tracing for a bug about missing input events
Bug: 136215685
Change-Id: I1e735c1e787710ae37b7c7d1a6a06498edd7c525
2019-06-27 19:03:33 -07:00
Winson Chung 7cbdc13ac2 Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ub-launcher3-qt-dev am: 937688bff4
am: 914c1a47c7

Change-Id: I8ef0a5bf4bcdbc5dd8292cd8999380903fa3bfff
2019-06-26 15:22:29 -07:00
Winson Chung c027d7ddfb Merge "Finish recents animation when starting a new activity" into ub-launcher3-qt-dev am: e33c08d398
am: f2c006f2af

Change-Id: I099d560dc3ec8d489b736daf96accbd945c8032b
2019-06-26 15:22:11 -07:00
Winson Chung 937688bff4 Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ub-launcher3-qt-dev 2019-06-26 21:48:56 +00:00
Hyunyoung Song 35062f8ed3 Enable FLAG_SLIPPERY window flag when swipe down on workspace
Bug: 131356741
Test: manual

Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
2019-06-26 21:48:29 +00:00
Winson Chung 0b70cd4ca4 Finish recents animation when starting a new activity
- Defer starting the activity when an activity is paused, and finish
  the current animation to trigger launcher to be resumed

Bug: 132811175
Test: Swipe up and launch a new app
Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
2019-06-26 14:01:56 -07:00
Winson Chung 53e2103958 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev am: fad3823420
am: 6dbbf63248

Change-Id: I2df25a57de1054b850b48a326b28080c606a93f4
2019-06-26 12:25:09 -07:00
Winson Chung fad3823420 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev 2019-06-26 18:25:58 +00:00
Vadim Tryshev 1d20c1a65a Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev am: 8a532e0bec
am: bcad1107d6

Change-Id: I9b86799a01a18826343feaac1394697739dcd7ec
2019-06-25 17:29:34 -07:00
Vadim Tryshev 8a532e0bec Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-06-25 23:43:19 +00:00
vadimt 26cfff41ba Taking screenshots for local tests for FallbackRecentsTest
Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
2019-06-25 16:26:33 -07:00
Sunny Goyal 01a34251c3 Enabling simple gesture navigation for 3P launcher am: 700dc99d9b
am: e253fc0426

Change-Id: I6d7064a6a0e1f2c1f0ca072f01dda95ca73404fb
2019-06-25 14:59:57 -07:00
Winson Chung df9fc63e8c Clean up some more refs to thumbnail data
- Always return a copy of the task list to ensure that the model doesn't
  hold refs to the thumbnail data if it was loaded into the same task
- Always clear the task thumbnail data ref once the visibility of the
  task view changes to be invisible

Bug: 132309376
Test: Enter overview scroll to the end of the list, relaunch app and take
      heap dump

Change-Id: I4437fd30172a5fe2a78c111f780163a1e6bbbb54
2019-06-25 14:44:05 -07:00
Sunny Goyal 700dc99d9b Enabling simple gesture navigation for 3P launcher
In case of 3P launcher, swipe-up will go to Launcher and there will be
no way to reach overview.

Bug: 135769778
Change-Id: Ib2c6bb1b13e6055d30b7360ec077b0a2fece66ff
2019-06-25 13:25:30 -07:00
Sunny Goyal 80a3107141 Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev am: 0348bc21ab
am: df0e795210

Change-Id: If44af142fee0d2e6c78055a3d88f48ee38a50f14
2019-06-21 19:25:06 -07:00
Vadim Tryshev 8d11d8020e Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev am: f58d811e98
am: 2fb6e825c1

Change-Id: I50ff93cb758fb7fcb2f4cab4eaf32cbe94372fb3
2019-06-21 19:24:38 -07:00
TreeHugger Robot 0348bc21ab Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev 2019-06-22 01:05:42 +00:00
Vadim Tryshev f58d811e98 Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev 2019-06-22 00:40:23 +00:00
Vadim Tryshev 7946f55742 Revert "Enable @PortraitLandscape for testBackground"
This reverts commit b6e2cd8546.

Reason for revert: b/135567630

Change-Id: I4cd87356177a141c99e3865b8794de58386d0f49
2019-06-22 00:30:57 +00:00
Sunny Goyal b140f97d47 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev am: 37dc5b1936
am: 0669538f24

Change-Id: I546b1475280fc0de11d64f2c506daddb364329da
2019-06-21 15:27:15 -07:00
Sunny Goyal e9f1f093c7 Increasing assistant touch region based on the corner radius
Bug: 135687556
Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
2019-06-21 15:08:49 -07:00
TreeHugger Robot 37dc5b1936 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev 2019-06-21 22:05:28 +00:00
Vadim Tryshev 16208f9848 Merge "Enable @PortraitLandscape for testBackground" into ub-launcher3-qt-dev am: 58fd654e57
am: 9d69cd6b8d

Change-Id: I68243325b360cacbbd6feb59daf50c26840f2222
2019-06-21 15:05:09 -07:00
vadimt b6e2cd8546 Enable @PortraitLandscape for testBackground
Now that Recents rotation crash is fixed

Change-Id: Ibca9460e45fc533e414537f7923a2d09fc59f58a
2019-06-21 14:32:17 -07:00
Sunny Goyal c4bb3739b1 Cleaning up some animation states:
> When running one-off animations during quickstep, cancelling prevoisly
  running animations.
> Cancelling such one-off animations when state is reset
> Preventing touch proxied from recent transition to affect quickswitch
  (by affecting pagedView)

Bug: 135686388
Bug: 135571566
Change-Id: Id647015a583761d8fd46a02e3e2d88027e282a79
2019-06-21 12:47:56 -07:00
Hongwei Wang b37d4602e4 Merge "Fixes building from Android Studio" into ub-launcher3-master 2019-06-20 22:59:13 +00:00
Vadim Tryshev 4f7098c972 Merge "Tests: waiting for nav bar to match nav mode" into ub-launcher3-qt-dev am: b4ff312181
am: 177b810755

Change-Id: I5e8d7bfd130895cdef4881c6df81c941efd54757
2019-06-20 15:57:56 -07:00
Winson Chung 50f3cb8b87 Fixing rounding error when computing bottom clip am: 73769f0a88
am: f8ddf765aa

Change-Id: Ib1c4f0e46c79e60e46bfdb73807376ba3e917002
2019-06-20 15:57:45 -07:00
Sunny Goyal 2e468a12c0 Using FloatProperty for spring animation, instead of a interface to allow easier generalization of animation definitions am: b80941bb24
am: 5b53028ad4

Change-Id: I56270f37af0fd10df8a7aea685dd5a921c529ea8
2019-06-20 15:57:20 -07:00
Vadim Tryshev b4ff312181 Merge "Tests: waiting for nav bar to match nav mode" into ub-launcher3-qt-dev 2019-06-20 21:39:32 +00:00
vadimt e244a5802d Tests: waiting for nav bar to match nav mode
Change-Id: Ib17fce4577e1e2c585108f0e95a98fad710e5eb2
2019-06-20 14:26:19 -07:00
Winson Chung 73769f0a88 Fixing rounding error when computing bottom clip
- In TaskThumbnailView.updateThumbnailMatrix() we compare the rounded
  scaled bitmap height with the height of the task/thumbnail view.
  Since the position is also non-integer, the rounding of the sum
  is not equivalent to the rounding of the individual components, which
  causes the check to fail.

Bug: 135150767
Test: Quickswitch on sargo
Change-Id: I849b4732569e5b8699f00f5ff210f41fb505f1e7
2019-06-20 20:06:24 +00:00
Hongwei Wang 36416e2309 Fixes building from Android Studio
Bug: 135684365
Test: Build from Android Studio
Change-Id: Ie68e27850db9c72e2b5b5884ac8c0343552fc611
2019-06-20 11:29:17 -07:00
Sunny Goyal b80941bb24 Using FloatProperty for spring animation, instead of a interface
to allow easier generalization of animation definitions

Change-Id: I37b1a604003ec007aa390eabdfe8c1ab733b7471
2019-06-19 21:31:43 -07:00
Sunny Goyal 754b2f3d49 Merge "Some improvements to home to overview transition for 0 button mode" into ub-launcher3-qt-dev am: 676a795ebd
am: 1f1d884e38

Change-Id: I8f50f16fc290ddfec56db93998010d01afce2ff0
2019-06-19 15:38:04 -07:00
Winson Chung 8032b0e0b7 Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-dev am: b703f91f83
am: 862712f585

Change-Id: Ib65a33b0816da57cff25f790dd3df16af356ee6d
2019-06-19 15:37:46 -07:00
Sunny Goyal 676a795ebd Merge "Some improvements to home to overview transition for 0 button mode" into ub-launcher3-qt-dev 2019-06-19 22:20:05 +00:00
Winson Chung b703f91f83 Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-dev 2019-06-19 22:09:44 +00:00
Tony Wickham 59c6901823 Some improvements to home to overview transition for 0 button mode
- Peek in overview further, and with more overshoot
- Fade out and scale down workspace faster while swiping up
- Scale and translate workspace slower when letting go to enter
  overview (so it doesn't zoom out at warp speed)
- Fade in all apps shelf sooner

Bug: 132455160
Change-Id: Ieafad0ccf9bb587889bc35d536627661db10e358
2019-06-19 14:48:57 -07:00
Miranda Kephart eaf6bd6c20 Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ub-launcher3-qt-dev am: 035770e421
am: 92af1789f9

Change-Id: I868650d78a2b1b3eb88f58931e96cb9ab99ab2f5
2019-06-19 14:35:56 -07:00
Miranda Kephart 035770e421 Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ub-launcher3-qt-dev 2019-06-19 19:25:23 +00:00
Miranda Kephart 7d2aed0cb5 Allow shallow-angle flings in AssistantTouchConsumer
While any angle above 22 degrees from horizontal is permitted for
drag invocations, the SwipeDetector used to detect flings only
allowed angles within 45 degrees of vertical. This changes to using
GestureListener and permits flings in the 22-45 degree region (as
well as up to vertical).

Test: manual
Bug: 135011207
Change-Id: I8e08650395917341869b27ff381f32268fadcb3c
2019-06-19 15:13:03 -04:00
Winson Chung e069291ecd Trigger heap dump when heap exceeds a limit
Bug: 135150619
Change-Id: I2b207bed1f66407f573abeae879aae34e98741bd
2019-06-19 11:58:30 -07:00
Jon Miranda 3597ef5cf3 Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-dev am: a9a0dd7f3f
am: 6043773950

Change-Id: I7056eac5b349828e7a03144895c2a5b24d531058
2019-06-19 08:54:10 -07:00
TreeHugger Robot a9a0dd7f3f Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-dev 2019-06-19 15:37:21 +00:00
Tony Wickham 9cef31c266 Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-dev am: 01a4c80c40
am: 6ffcc53354

Change-Id: I4bd85f0cdef7153083451cd7a84123795cb32ecb
2019-06-18 15:30:51 -07:00