Commit Graph

33301 Commits

Author SHA1 Message Date
Winson Chung cf0b0c809a Temporarily disable screen pinning UI in gesture nav
am: e9c4c50168

Change-Id: Ieb956224e41b7ae43dc4efa2efe196c594f41c52
2019-04-10 15:31:17 -07:00
Winson Chung 43b758c454 Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 15:30:01 -07:00
Tracy Zhou db9f4a1f3c Merge "Put pippable apps to pip mode upon swipe up to home gesture" into ub-launcher3-qt-dev
am: 731242ee66

Change-Id: I2b3c8374a46cc491b692359108e95ddc524c4e3a
2019-04-10 15:23:18 -07:00
Jon Miranda d53a9bf8a0 Fix bug where app icons stay invisible after app open animation.
For the app open animation, we load the adaptive icon on the bg thread.
When the icon is done loading, we swap the og view with the FloatingIconView.
If the icon loads after the animation is done, we still set the og view
to INVISIBLE and it never gets restored since the animation is already done.
To fix this, we do not swap the views if the animation has already ended.

Bug: 130245920
Change-Id: I5cf85de4e2c533da8c395a23899980d27a941e1b
2019-04-10 15:21:47 -07:00
Winson Chung e9c4c50168 Temporarily disable screen pinning UI in gesture nav
Bug: 130225926
Change-Id: I782a5c6cdf00dfb8e501185f58defed4bfee3ac1
(cherry picked from commit e041ba0d61)
2019-04-10 22:11:19 +00:00
Hyunyoung Song 052624d897 TaskCornerRadius should not use dialogCornerRadius on devices not supporting rounded corners
Bug: 123985787

Change-Id: I4ffe06362256d4cc83bbe34c139d71ea1f6ca92e
2019-04-10 14:29:36 -07:00
TreeHugger Robot 731242ee66 Merge "Put pippable apps to pip mode upon swipe up to home gesture" into ub-launcher3-qt-dev 2019-04-10 21:26:47 +00:00
Tony Wickham f4e8474dd0 Use DeviceLockedInputConsumer if !mIsUserUnlocked
am: 9bbbe9cc14

Change-Id: I54f72f969479bd387c9ad24ddd6e627abba02427
2019-04-10 14:15:43 -07:00
Tony Wickham 7f78e23ccc Don't scale/translate hotseat icons if they are visible in overview
Bug: 129145824
Change-Id: I02af7ad21b6dbc46041e774dfc6f5d3efb0ab8a9
2019-04-10 14:02:38 -07:00
Sunny Goyal 5e9fa344e7 Adding support for loading the default layout from a content provider
am: c0f03d9665

Change-Id: Ifadd6d9997a355cfcbe99b78c34ffcbd6e0051fd
2019-04-10 12:59:28 -07:00
Tony Wickham 9bbbe9cc14 Use DeviceLockedInputConsumer if !mIsUserUnlocked
There's an edge case where user isn't unlocked even if device is. In
that case, we still need to use DeviceLockedInputConsumer because
variables needed for any other input consumer aren't initialized until
the user is unlocked.

Bug: 129947426
Change-Id: I33a5e9a8d5c4266d45bd0d5a16657fa3c9644a1f
2019-04-10 12:54:54 -07:00
Winson Chung 5a5ad401fb Merge "Check before the user is unlocked before handling proxied events" into ub-launcher3-master 2019-04-10 19:38:05 +00:00
Sunny Goyal c0f03d9665 Adding support for loading the default layout from a content provider
The autority of the provider should be set in secure settings:
  launcher3.layout.provider

Bug: 127987071
Change-Id: Iccf2960aa6c0a5a8ff9621b13d8963d9daecb993
2019-04-10 12:06:17 -07:00
Winson Chung 29a33386ad Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 10:59:53 -07:00
Tony Wickham 6c09d4e8b3 Merge "Add some egregious back exclusion rects" into ub-launcher3-qt-dev
am: e09e1f2253

Change-Id: I3535aa17d3f2317301a530c7e655ed0017cc7f06
2019-04-10 10:25:39 -07:00
Winson Chung fd378d79e5 Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 09:51:38 -07:00
Tony Wickham e09e1f2253 Merge "Add some egregious back exclusion rects" into ub-launcher3-qt-dev 2019-04-10 16:49:26 +00:00
TreeHugger Robot d1c0643745 Merge "Add drawable for default thumbnail for Recents Go" into ub-launcher3-master 2019-04-10 10:44:52 +00:00
Winson Chung 9582f61b74 Merge "Temporarily disable screen pinning UI in gesture nav" into ub-launcher3-master 2019-04-10 04:01:48 +00:00
android-build-team Robot f478aeb601 Snap for 5452753 from 668524aff3 to rvc-release
Change-Id: I3a73e4ea4e7ff83c84bbe6d896c57dcc06fd84f6
2019-04-10 03:17:12 +00:00
Tracy Zhou 2d615a4cee Merge "Put pippable apps to pip mode upon swipe up to home gesture" into qt-dev am: 36555473c9
am: 77a0f79adb

Change-Id: I9be51345b68d3cbeb98b73be0e71e51990d461a2
2019-04-09 20:14:44 -07:00
android-build-team Robot 77ad9db6f3 Snap for 5452883 from 36555473c9 to qt-release
Change-Id: If9368eb9acd3a27ddf21535ab60ed626de67d187
2019-04-10 03:01:31 +00:00
Tony Wickham 5dc60a0543 Add some egregious back exclusion rects
- Don't allow back gesture at all whenever we hid back button before
- Exclude RecyclerViewFastScroller thumb rect

Bug: 129297464
Change-Id: I40a33697592b02619218c18d1b3def7c3c203f56
2019-04-09 18:28:43 -07:00
Tracy Zhou 77a0f79adb Merge "Put pippable apps to pip mode upon swipe up to home gesture" into qt-dev
am: 36555473c9

Change-Id: I3fbc393141eabecb57f90c304fff12aa0a44f8ce
2019-04-09 17:16:33 -07:00
Tony Wickham ad7a282039 Merge "Remove PagedView#isTouchPointInViewportWithBuffer()" into ub-launcher3-qt-dev
am: 0d7b0159b3

Change-Id: I981c9346f81b64bbdac540f41acaa352a48c1473
2019-04-09 16:11:30 -07:00
Sunny Goyal c651a0d95c Fixing restore flag not getting persisted
am: a7962a4d99

Change-Id: Ic085b34110711b9920b39c85815bb468296f54f1
2019-04-09 16:11:01 -07:00
Kevin 34ee30c4f9 Add drawable for default thumbnail for Recents Go
This CL adds a drawable for the default thumbnail view and
refactors the logic to get the default icon/thumbnail/label if
null to separate methods for re-use in later CLs.

Bug: 114136250
Test: Manual; Go to icon recents
Change-Id: I511ea40ace040fc53ffc69c27149f24d69bda7b0
2019-04-09 15:40:15 -07:00
Winson Chung e041ba0d61 Temporarily disable screen pinning UI in gesture nav
Bug: 130225926
Change-Id: I782a5c6cdf00dfb8e501185f58defed4bfee3ac1
2019-04-09 15:11:53 -07:00
Tony Wickham 0d7b0159b3 Merge "Remove PagedView#isTouchPointInViewportWithBuffer()" into ub-launcher3-qt-dev 2019-04-09 21:44:33 +00:00
Tony Wickham 44a58888c7 Remove PagedView#isTouchPointInViewportWithBuffer()
It's no longer necessary, and causes issues when trying to scroll
a PagedView that only takes up the bottom half of the screen (e.g.
RecentsView in split screen mode).

Bug: 126606858
Change-Id: I117dfe9416cdeef1247d6e783390cf5c391e8254
2019-04-09 14:27:51 -07:00
Sunny Goyal a7962a4d99 Fixing restore flag not getting persisted
Bug: 127766994
Change-Id: I8e887232b9fc31a850f7675c79b329ce8897db71
2019-04-09 14:22:00 -07:00
Tracy Zhou d64fe113f5 Put pippable apps to pip mode upon swipe up to home gesture
Fixes: 122609330
Test: manual
Change-Id: I6cd0110b17fba9be6de1b3e6ba5750018d6f0514
(cherry picked from commit b091ed9098)
2019-04-09 21:11:19 +00:00
Tracy Zhou 36555473c9 Merge "Put pippable apps to pip mode upon swipe up to home gesture" into qt-dev 2019-04-09 21:06:28 +00:00
TreeHugger Robot b81e4bb53e Merge "Add task layer drawable class for Recents Go." into ub-launcher3-master 2019-04-09 20:52:59 +00:00
Tony Wickham bac4b7f9df Merge "Allow swipe up to all apps anywhere on workspace" into ub-launcher3-qt-dev
am: 9edc8eb756

Change-Id: I3310a9aa0e8e0ad6568f780b25dbf7d4007531a4
2019-04-09 13:07:11 -07:00
Sunny Goyal 7c1b27f1dc Merge "Do a full touch dispach when proxying touch" into ub-launcher3-qt-dev
am: 563178b173

Change-Id: Ic8965b0e451922e74ddb9bbc864f2f8c5b91b0fc
2019-04-09 13:06:46 -07:00
Tony Wickham 9edc8eb756 Merge "Allow swipe up to all apps anywhere on workspace" into ub-launcher3-qt-dev 2019-04-09 19:51:48 +00:00
Tony Wickham e2e953304f Allow swipe up to all apps anywhere on workspace
Bug: 129033091
Change-Id: Ib0066c59f86b3137aedad8d18393b5a622e0cd80
2019-04-09 12:23:01 -07:00
TreeHugger Robot 563178b173 Merge "Do a full touch dispach when proxying touch" into ub-launcher3-qt-dev 2019-04-09 19:03:02 +00:00
Sunny Goyal d158097cfd Do a full touch dispach when proxying touch
> Workspace can no longer be scrolled when swipin on hotseat

Bug: 130027168
Change-Id: Ie4621e5b7de8d7248227b25fb065249d0c252090
2019-04-09 11:53:41 -07:00
Tony Wickham 47e0349c47 Merge "Swipe up on nav bar to go home from -1 and widgets" into ub-launcher3-qt-dev
am: 5e29395eba

Change-Id: I836bbc4edbf2c113b7ae23c1b6fe9c9551213061
2019-04-09 11:40:34 -07:00
Tony Wickham 5e29395eba Merge "Swipe up on nav bar to go home from -1 and widgets" into ub-launcher3-qt-dev 2019-04-09 18:14:15 +00:00
Tony Wickham 9791bd1555 Swipe up on nav bar to go home from -1 and widgets
More specifically, any window (e.g. qsb search) or AbstractFloatingView.

NavBarToHomeTouchController now implements TouchController directly instead
of AbstractStateChangeTouchController, as it not only dealing with
launcher states. This makes it easier to override intercept logic to
handle cases like not having window focus, for example.

AbstractFloatingViews can createHintCloseAnim() to play an animation
hinting that it is about to be closed by swiping up. Widgets sheets use
this to pull back similar to the all apps transition to home.

Bug: 129976669
Change-Id: Ie157b978d9f1ee36d5fd32cea72ec02ce40878c0
2019-04-09 10:53:24 -07:00
Hyunyoung Song 0b988862a4 Remove FeatureFlags.STYLE_WALLPAPERS
am: deb7cd54e7

Change-Id: I662f08bcc9b1e52f09c53a59e2ea21b9c520e47b
2019-04-09 10:51:14 -07:00
Hyunyoung Song deb7cd54e7 Remove FeatureFlags.STYLE_WALLPAPERS
Bug: 129874298
Change-Id: I2785f1e49a4ff60143cc763c3dac0c1bb33b41c8
2019-04-09 17:22:30 +00:00
Winson Chung 6aadee90b5 Merge "Fix SecondaryLauncher crash when started." into ub-launcher3-qt-dev
am: 4736b17a99

Change-Id: Idecbee777120bae16b9b15b13d882d704fdfebad
2019-04-09 10:06:08 -07:00
Winson Chung 4736b17a99 Merge "Fix SecondaryLauncher crash when started." into ub-launcher3-qt-dev 2019-04-09 16:50:54 +00:00
Hyunyoung Song 48f20472ec Change task view / all apps/ widgets / folder radius to dialogCornerRadius
am: 2aec9c42f5

Change-Id: I1f078cddfe328980e183bb637744575c4955d234
2019-04-09 08:42:50 -07:00
wilsonshih 668524aff3 Fix SecondaryLauncher crash when started. am: d716934266
am: f4e682db68

Change-Id: Id2eb850cf9a078890c182c8dcfe9e136d5e804d1
2019-04-09 07:53:27 -07:00
wilsonshih f4e682db68 Fix SecondaryLauncher crash when started.
am: d716934266

Change-Id: I2f683c72462e457429852fa76b904cedd95d1c48
2019-04-09 06:04:02 -07:00