35 Commits

Author SHA1 Message Date
paphonb
e63d0f7cec Merge remote-tracking branch 'launcher3/master' into q-merge 2019-10-29 16:47:55 +07:00
paphonb
1ebfb6ca86 Unify Quickstep builds for Pie and 10 2019-10-17 19:15:22 +07:00
paphonb
33bca08340 Fix quickstep service not connecting on Q 2019-09-13 00:55:36 +07:00
paphonb
c7a567f209 Add QuickSwitch compatibility metadata 2019-09-09 22:41:17 +07:00
paphonb
37072ca627 Merge remote-tracking branch 'launcher3/android10-release' into q-merge 2019-09-09 22:37:38 +07:00
Sunny Goyal
6b0eb38461 Swipe-up support for 3P Launcher
On swipe up, we start a rencets transition to the current launcher app. At the
end of the transition, if the user is going to recents, we start overview activity.

Bug: 137197916
Change-Id: Ie5ed848879ad965dcab2780a05d649e3be066568
2019-07-11 10:44:56 -07:00
Sunny Goyal
221895d06b Improving swipe up interaction when device is locked
When device is locked, only scale down the top task as a response to
the user interaction. When user flings or lifts his finger, the task
is dismissed to go to the lock screen

LockScreenRecentsActivity is an empty activity which starts on top of lock
screen and finishes immediately. This allows us to start a recents transition
with just the top activity as the animation target. This target is then used
for swipe up interaction

Bug: 133167096
Change-Id: I466ed142ea33d626c78cb9cc5f6311bad26b8d98
2019-05-28 15:55:07 -07:00
Sunny Goyal
ab3963ddcf Moving TestInformationProvider to Launcher3 so that it can be used for
testing Launcher3 without quickstep

Also keeping the provider as disabled until needed

Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
2019-05-23 14:02:33 -07:00
Sunny Goyal
dedda05568 Using a proxy activity for startActivityForResult
This ensures that the home task is never blocked by a different task

Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
2019-05-15 16:33:06 -07:00
vadimt
d64b4f44da Switching swipe-up to overview to using test info provider
Also moving test provider to Quickstep to have access to the new info;
and now Launcher3 doesn't have it.

Bug: 123904290
Change-Id: I653376610e83839d102beb9c0604950dd314e8ba
2019-03-15 11:42:06 -07:00
Tony Wickham
1ccc31379e Revert "Temporarily make TouchInteractionService direct boot unaware"
This reverts commit 3a4f503e5d.

Reason for revert: SystemUI now expects our service to be direct boot aware

Change-Id: I6f7906046e79f83848cb46f5cce63c827d9fbf4d
2019-03-13 20:19:08 +00:00
Tony Wickham
3a4f503e5d Temporarily make TouchInteractionService direct boot unaware
Change-Id: I2fa760bcefe3b669dfdc18a79bf2d9879c2c8f36
2019-02-28 16:20:43 -08:00
Tony
573c3e1712 Make TouchInteractionService direct boot aware
- Add directBootAware="true" to TouchInteractionService manifest component
- Add DeviceLockedInputConsumer which just sends a home intent on touch down

Test:
- Reboot
- Swipe up anywhere to get to bouncer (pin/password/pattern)
- Click "Emergency" to launch dialer while still in direct boot
- Swipe up from the nav bar to exit/bring up bouncer

Test:
- Lock screen
- Double press power to launch camera
- Swipe up from nav bar to exit/bring up bouncer

Bug: 125364936
Change-Id: I7a4cd2dc3a635daf4bb9a643a1e5251ca4e91e33
2019-02-28 14:39:27 -08:00
Sunny Goyal
4276e7b649 Moving autority definition to a separate file, so
that it can be easily customized using android studio

Change-Id: I17f4f4511c2af5d382727769d1b74413f233d500
Bug: 120079798
2018-11-27 23:20:32 +00:00
paphonb
01eeacc738 Refactor sources structure 2018-11-10 23:11:40 +07:00
paphonb
33ca738308 Merge remote-tracking branch 'aosp/master' into dev
# Conflicts:
#	Android.mk
#	AndroidManifest.xml
#	quickstep/res/drawable/ic_split_screen.xml
#	quickstep/res/values/dimens.xml
#	quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
#	quickstep/src/com/android/launcher3/uioverrides/UiFactory.java
#	quickstep/src/com/android/quickstep/TaskSystemShortcut.java
#	quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
#	quickstep/src/com/android/quickstep/views/ShelfScrimView.java
#	quickstep/src/com/android/quickstep/views/TaskThumbnailView.java
#	res/layout/launcher.xml
#	res/values/dimens.xml
#	res/values/styles.xml
#	src/com/android/launcher3/DeviceProfile.java
#	src/com/android/launcher3/graphics/LauncherIcons.java
#	src/com/android/launcher3/model/PackageUpdatedTask.java
#	src/com/android/launcher3/views/ScrimView.java
#	src/com/android/launcher3/views/SpringRelativeLayout.java
2018-10-20 18:56:18 +07:00
paphonb
a9d6c5f287 Respect system's swipe up preference 2018-10-13 17:06:28 +07:00
Till Kottmann
6403f4c81d Properly check if we can force stop an app before displaying the shortcut
This also changes the icon and label to "Restart Lawnchair" for Lawnchair
2018-09-18 21:28:21 +02:00
paphonb
f8922e1bb2 Add force stop button in recents 2018-09-18 12:26:55 +07:00
paphonb
ee361100e7 Add swipe up to switch apps toggle 2018-08-18 18:07:58 +07:00
paphonb
f3c4b51ba8 Port qsb from PL 2018-08-14 21:00:35 +07:00
paphonb
7b7b6b59e0 Make quickstep compile 2018-08-13 12:03:23 +07:00
Sunny Goyal
7f920b8d5e Cleaning up build rules to simplify customizing derivative projects
> Using {packageName} instead of hardcoding com.android.launcher3 in AndroidManifest.xml
  for strings which are dependent on packageName
> Adding proguard rule to prevent obfuscating any overridable class
> Making it easier to extend SettingsActivity by overriding the fragment class

Change-Id: I5668c3f33b4cf20ad01d7f54b3d79cc0d268d391
2018-07-02 11:16:04 -07:00
Sunny Goyal
03f17fabf0 Fixing build breakage due to theme change
Change-Id: I0d1f1b69a5dbde0cccfdcb925495018ee82403bd
2018-06-08 15:23:17 -07:00
Sunny Goyal
f5c5d04b3b Preventing activity restoart on mnc/mcc changes
Bug: 77651657
Change-Id: I68a6995d57da4b3c43c1ecd78deda40c78934533
2018-05-18 13:46:15 -07:00
Sunny Goyal
18c699fbc5 Using the system color extraction logic instead of inbuild logic
> Moving the inbuild color extraction logic to the aosp flavor

Bug: 79111591
Change-Id: I766b0397da7224b424cd5f309cedf635d60a5e0f
2018-05-04 10:16:39 -07:00
Sunny Goyal
ea992acc2f Fixing Launcher3Quickstep build, broken due to SDK changes
Change-Id: I7228c036e023f94d3f47b303c7e7b4395bc8a1b7
2018-05-02 12:00:53 -07:00
Sunny Goyal
4213783716 Updating gradle configuration
Change-Id: I77c6ba057c751123bb40862a94a0027b7e0c87ef
2018-04-23 14:03:12 -07:00
Sunny Goyal
ab83773e21 Updating fallback activity
> Wallpaper based theme support
> Light/dark system UI
> Swipe gestures to start and dismiss a task
> Fixing insets and task preview size

Bug: 75979063
Change-Id: Id402e6ac50551a7c0849742e3a0e77df3ead5aa2
2018-03-30 09:45:59 -07:00
Sunny Goyal
9d69c8da9a Abstracting out all the Laucher related logic
> Enabling swipe up geture for fallback activity
> Using a preferecens for showing back button

Bug: 75979063
Change-Id: I8bbb44d8e250428c3da9bde57975dc4f952624be
2018-03-19 19:22:20 -07:00
Sunny Goyal
3fbca15555 Adding support for prefenrece search in QuickStep
Bug: 62292864
Change-Id: Ic112626ca9c5942c91ced4ab42e64cbce4657701
2018-03-09 12:57:11 -08:00
Sunny Goyal
2c3eafcb26 Defining an action for touch service so that the component name does not
need to be hardcoded
Also preventing the service behind system permission

Change-Id: Ibb3f0d8115b2355b2f5b5ee991858f6377037e45
2018-03-01 10:57:54 -08:00
Jon Miranda
69057173a7 Synchronized opening app transition animations.
Bug: 70220260
Change-Id: I3c8e1c477266fb3bd7a39f74e3e1191e82ce58e9
2018-01-18 09:44:54 -08:00
Sunny Goyal
73133391e5 Adding a placeholder recents activity
Change-Id: Idde86b4008559cde8bcf13fba90a8c72c3f1f591
2017-11-02 11:23:31 -07:00
Sunny Goyal
9d341964a0 Setting up build rules and placeholder code for QuickStep
Change-Id: Ib4ad5c6082b293fc9f9455d70e2b21462b4ab76d
2017-10-30 10:04:24 -07:00