Commit Graph

33301 Commits

Author SHA1 Message Date
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
Vadim Tryshev 04414bba47 Merge "TAPL: switching dismissing tasks to a model-time gesture" into ub-launcher3-qt-dev 2019-06-20 20:05:33 +00:00
vadimt f806125f99 TAPL: switching dismissing tasks to a model-time gesture
Change-Id: I4068c4102cd881b89b680c61699ba78832499a3d
2019-06-20 12:31:01 -07: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 02a02ef652 Disable fake landscape UI am: 3e195d7429
am: 8469641168

Change-Id: I8bee1dbc0bd29af85d0cb4b19487c5de5c7f65e0
2019-06-19 15:37:26 -07:00
Sunny Goyal 1f1d884e38 Merge "Some improvements to home to overview transition for 0 button mode" into ub-launcher3-qt-dev
am: 676a795ebd

Change-Id: I53934e62baf6b3c7e9561dd05adbbc9f73460230
2019-06-19 15:23:58 -07:00
Winson Chung 862712f585 Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-dev
am: b703f91f83

Change-Id: I9bd60e0bc6a268bc8852e04c7ee468784d17ba83
2019-06-19 15:23:34 -07:00
Sunny Goyal 8469641168 Disable fake landscape UI
am: 3e195d7429

Change-Id: Ie12781c525420397e3e474a36e0ea0ec33bf8649
2019-06-19 15:23:09 -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
Sunny Goyal 3e195d7429 Disable fake landscape UI
Bug: 131360075
Change-Id: I21e0a6cdf332e2d16821c589f9630c254b595770
2019-06-19 14:25:00 -07:00
Miranda Kephart 92af1789f9 Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ub-launcher3-qt-dev
am: 035770e421

Change-Id: I79088b918d19001bed378ff7b9b7e993fa3730f1
2019-06-19 14:14:57 -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
Sunny Goyal 0746a02e24 Merge "Fixing onStateTransitionEnd is not called at the end of reset state" into ub-launcher3-qt-dev am: 234fc60302
am: bb117d7b42

Change-Id: Ie07ebe7afb437749fe4409660f4528a04588c3e1
2019-06-19 11:57:03 -07:00
Sunny Goyal bb117d7b42 Merge "Fixing onStateTransitionEnd is not called at the end of reset state" into ub-launcher3-qt-dev
am: 234fc60302

Change-Id: I4f5a9e0ba1b4a31478e54bb6cce5884e017bd99c
2019-06-19 11:45:02 -07:00
TreeHugger Robot 234fc60302 Merge "Fixing onStateTransitionEnd is not called at the end of reset state" into ub-launcher3-qt-dev 2019-06-19 18:25:12 +00: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
Jon Miranda 6043773950 Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-dev
am: a9a0dd7f3f

Change-Id: Ifa2a6ab039e3a041aeba2b5350df424224f7c5bd
2019-06-19 08:46:11 -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
android-build-team Robot 4bc3563b79 Snap for 5670726 from d5977ab16f to qt-c2f2-release
Change-Id: Ia30d7358a2e457ea3a9500e8b34d27d8651e1f1e
2019-06-19 03:18:28 +00:00
android-build-team Robot f9478e0a03 Snap for 5671249 from d5977ab16f to qt-qpr1-release
Change-Id: I4c204d3b0440d1526a2b59ab5a6c357d786dfa65
2019-06-19 03:13:21 +00:00
android-build-team Robot cd5feddaec Snap for 5671254 from 5ce8c9f73b to qt-release
Change-Id: Ia25dc9565f52c8e77829eb0e95728f237c156a60
2019-06-19 03:08:17 +00:00
android-build-team Robot 84483b9d49 Snap for 5671185 from a13d18be19 to rvc-release
Change-Id: I4dc12616cf266c51e0834a21a2d2ce38e0582eca
2019-06-19 03:06:02 +00:00
Tony Wickham ae87491774 Merge "Set mNextPage after springBack when overscrolling" into ub-launcher3-qt-dev am: 3bd876ba90
am: 099936e0a4

Change-Id: I999d2d71d7bf1d8878b9ea44a8a35e0532195d5e
2019-06-18 16:57:24 -07:00
Tony Wickham 099936e0a4 Merge "Set mNextPage after springBack when overscrolling" into ub-launcher3-qt-dev
am: 3bd876ba90

Change-Id: Iad33d88a6a4e3e8635c04dd28b7bd268852f0130
2019-06-18 16:48:24 -07:00
TreeHugger Robot 3bd876ba90 Merge "Set mNextPage after springBack when overscrolling" into ub-launcher3-qt-dev 2019-06-18 23:04:57 +00:00
Tony Wickham 312209b01a Set mNextPage after springBack when overscrolling
Bug: 134609899
Change-Id: I74294655689c4ccd66896550b74e205d1c3df543
2019-06-18 15:55:21 -07: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
Tony Wickham 6ffcc53354 Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-dev
am: 01a4c80c40

Change-Id: Ie6459bf11e0ca0fb059730bf68da11d8e4e853dc
2019-06-18 15:17:54 -07:00
Tony Wickham 01a4c80c40 Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-dev 2019-06-18 21:51:54 +00:00
Tony 32cb616fab Fix bugs with hotseat in overview
- Allow touches to go through recents to the hotseat.
- Translate the hotseat with the all apps shelf when swiping
  up in background app state.

Bug: 135222111
Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
2019-06-18 13:41:08 -07:00
Sunny Goyal 8be504000a Fixing onStateTransitionEnd is not called at the end of reset state
Bug: 135299165
Bug: 133867119
Change-Id: Ifac762a44fa45dfef72a9357f09fc96c34162565
2019-06-18 12:03:51 -07:00
Greg Kaiser 4f7545b4e1 Android.mk: Strictly order QuickStepGo and GoIconRecents am: 6aabe679c5
am: 9db12e96e8

Change-Id: If5ece473a9671e02e85f36835deaab79b7ef728e
2019-06-18 11:31:00 -07:00
Greg Kaiser 9db12e96e8 Android.mk: Strictly order QuickStepGo and GoIconRecents
am: 6aabe679c5

Change-Id: Iea02c3d51171717f86cf9e7dca3b545c8a43dc2b
2019-06-18 11:14:30 -07:00
Greg Kaiser 6aabe679c5 Android.mk: Strictly order QuickStepGo and GoIconRecents
We had Launcher3QuickStepGo adding Launcher3GoIconRecents to
LOCAL_OVERRIDES_PACKAGES, and also had Launcher3GoIconRecents
adding Launcher3QuickStepGo to LOCAL_OVERRIDES_PACKAGES.  As
a result, if both of these got added to PROJECT_PACKAGES, we
would end up with neither launcher, since they both overrode
each other.

To fix this, we declare a strict hierarchy.  Since
Launcher3GoIconRecents is the default, we put Launcher3QuickStepGo
to be higher in the hierarchy.  While that might seem a
counter-intuitive choice, it makes it much easier for folks
to override the default, without needing to modify the file
containing the default.

Test: Various clean builds which revealed this root issue, and this fix.
Bug: 135161289
Change-Id: If718a7030aa6ee4b6b952406006abda77b1eb8e5
2019-06-18 17:36:53 +00:00
Rajeev Kumar 27266ecf8c Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev am: 873759a316
am: 9488c780b6

Change-Id: Ieffd9096b2adf6d9125c74a47b72375a47a15c65
2019-06-18 05:44:05 -07:00
Rajeev Kumar 9488c780b6 Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev
am: 873759a316

Change-Id: Id555c0429abaa962c12b6d74041b3265b3874d72
2019-06-18 05:32:03 -07:00
Rajeev Kumar 873759a316 Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev 2019-06-18 12:09:55 +00:00
Winson Chung f8c996afcf Adding check for no default home before registering new receiver am: 398184c104
am: 784ffa0a40

Change-Id: Ibaad0cdf815f3d67cc60fd6e25ab61b5b6f493d4
2019-06-17 21:44:37 -07:00
Winson Chung 784ffa0a40 Adding check for no default home before registering new receiver
am: 398184c104

Change-Id: If30165fb1fa8f2e000fff3c04947c0707ea91186
2019-06-17 21:35:37 -07:00
Winson Chung a13d18be19 Adding check for no default home before registering new receiver am: 5ce8c9f73b am: d5977ab16f
am: 21584b354a

Change-Id: I25105c93a0db0e987cc7bb16b8eb2d4a56d9da75
2019-06-17 21:28:33 -07:00