History log of /packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5322e62f81d824a7ac5599f68e6ed2cc31a0ed53 18-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Some quick scrub fixes" into ub-launcher3-edmonton
32359e6b859358e19a561364f4a8beed948c0e27 18-May-2018 Sunny Goyal <sunnygoyal@google.com> Some quick scrub fixes

> Skipping quick scrub, if its already in progress, or is waiting on previous task launch
> Restoring to proper state is the task animation is cancelled before launcher gets onStop
> Crash when using quickscrub before last list has loaded

Bug: 77289180
Bug: 77856587
Bug: 79919440
Change-Id: I8db127bf9539cfc8f47c1e86c5030637845749d4
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1b74bd652cb4fa8e09590d8aeaaf8a7ff0f92888 18-May-2018 Winson Chung <winsonc@google.com> Use actual quickstep callback to track gesture start

- Better than using the threshold ourselves, we should just use the callback
from the system.

Bug: 79970627
Change-Id: Ida15cfdaa2463f9fa15e222c55e483eb145c2716
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
018eec68997342ca87e4ea607ab292adb12d7a34 10-May-2018 Hyunyoung Song <hyunyoungs@google.com> Add logging for Onboarding
Bug: 73784423

* Discovery bounce, homescreen, hotseat
UserEvent: action:TIP
UserEvent: Source child:HOTSEAT id=0 BOUNCE

* Discovery bounce, overview, prediction
UserEvent: action:TIP
UserEvent: Source child:PREDICTION BOUNCE

* Swipe up from navbar text (visibility, cancel target)
UserEvent: action:TIP
UserEvent: Source child:TIP SWIPE_UP_TEXT

UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT

* Quickscrub text (visibility, cancel target)
UserEvent: action:TIP
UserEvent: Source child:TIP QUICK_SCRUB_TEXT

UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT

* Prediction apps text (visibility, cancel target)
UserEvent: action:TAP
UserEvent: Source child:TIP PREDICTION_TEXT

UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT

Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9829060491919e7651b9437181e9e8e1ffd8633f 11-May-2018 Sunny Goyal <sunnygoyal@google.com> Fixing various quickscrup controls for fallback activity

> Not auto advancing to next task when swiping from home
> Starting from the current tile, when scrubing on recents activity

Bug: 79558175
Change-Id: I2975dbb254ba0004b34ce5d86d9733faad4943ff
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
433ef09d29fa833f2bb0a6ef2cd4e02aa7070db8 03-May-2018 android-build-team Robot <android-build-team-robot@google.com> Merge "Moving some callbacks from LauncherCallbacks to OverviewCallbacks" into ub-launcher3-edmonton
8e1fbc51032a3f7c6d281842912c8bd961f66d33 02-May-2018 Sunny Goyal <sunnygoyal@google.com> Moving some callbacks from LauncherCallbacks to OverviewCallbacks

Bug: 78780639
Change-Id: I90f868c741834efbe542367bdc3539f6d14f1939
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
f47e5ce3cf7e3eb4d481aea765784a8c6c19f47e 30-Apr-2018 Tony <twickham@google.com> Gracefully handle some edge cases in quick scrub

- Switch to normal overview if task fails to launch in onQuickScrubEnd()
- Stop auto-advancing if recents isn't visible
- Wait until transition to quick scrub completes before launching

Bug: 77521777
Bug: 78557737
Change-Id: I5206c0d3c52bf792f52cf3e7adcf03f8a2de18bb
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
09cc13e20cb034f527fedb135cb8364f71e83d19 28-Apr-2018 Sunny Goyal <sunnygoyal@google.com> Let Launcher handle proxy touch events even if it is not focused

Bug: 74616863
Bug: 78367228
Change-Id: I8c9271e95583793af0832e3b07c988261b6267e8
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
b882b171e0506fda111c5d69bdc4d21036155198 20-Apr-2018 Winson Chung <winsonc@google.com> Only preload tasks in background when service is connected

Bug: 76162466
Test: Disable the component, ensure no task snapshots are preloaded
Change-Id: I86b66c79eb2c33796fef09d4466bc313f1c6af69
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
864d688ff36774c40a7882b972e166cdd1f729ba 14-Apr-2018 Sunny Goyal <sunnygoyal@google.com> Do not send proxy touch events to children.

Call onIntercept and ontouch direclty, so that the touch is only
handled by touch handlers

Bug: 77912191
Change-Id: I8b583da2394282c757348818470dbb4bee095b33
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
fd21de44896b4153f91b7b080d7866af4f98af2f 12-Apr-2018 Tracy Zhou <tracyzhou@google.com> Move QuickStep onboarding strings from Launcher to SysUI (Pt. Launcher)

Bug: 70180942
Test: N/A
Change-Id: I05e6ce27630d478a40a52bf59a9dfd25881213be
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
59f2094dd64cb62f60b66fe69eb3abba74992c8b 09-Apr-2018 Sunny Goyal <sunnygoyal@google.com> Automatically switching the ActivityController based on the default home app preference

Bug: 75979063
Change-Id: If7a173cc56da021094ab9770dee26fb61ac20dd3
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
df336cf685c9d85e1e5ce5c8a5048e71322b22f3 09-Apr-2018 Sunny Goyal <sunnygoyal@google.com> Making QuickScrub work, when the fallback activity is on top

Bug: 75979063
Change-Id: If8029901ad1f99551b3eba74620616edf6f993ef
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9c5ece3eec7aa9790c4e851f2e1a7ba5d5c698dd 03-Apr-2018 Vadim Tryshev <vadimt@google.com> Invoking onOverviewShown() on showRecents(false)

If a CTS test wants to show Recents in split-screen mode, we call this
and the test passes :) This is good enough for now.

Bug: 77275679
Test: atest android.server.am.ActivityManagerSplitScreenTests#testDockedStackToMinimizeWhenUnlocked
Change-Id: I5ac1b2890f70a48d86b7b0e85b6ebb8263843484
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
13c1deacb612633544ff232e7474c19a918a074e 30-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Enabling opening Overview via Alt-Tab by default" into ub-launcher3-master
19adf653bde4bcee29df474badd4b6f0745867b8 28-Mar-2018 Winson Chung <winsonc@google.com> Use onQuickStep call from SysUI

Change-Id: I838ef4de2d86abde1848efd757a523c088016756
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
32e634a7f46aae74266a2ad642b4482bf560c13f 28-Mar-2018 Vadim Tryshev <vadimt@google.com> Enabling opening Overview via Alt-Tab by default

Now that it's sufficiently implemented.

Bug: 77218050
Bug: 73090995
Test: Open Overview vial Alt-tab
Change-Id: I684f1d642a7d63e0bf9b6e1b537e7484ede23ed1
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
e9054e320789703a6a98782928105aa1314a83ea 15-Mar-2018 Tony <twickham@google.com> Remove quick switch and improve quick scrub

- Hide hotseat and center recents vertically during quick scrub
- Don't animate the state change if launcher wasn't already visible, but still
wait until the window animation completes before scrubbing past the next app
- Change interpolator of window as it scales offscreen during quick scrub, so that
it gets out of the way faster and you can see the motion of the next app taking
its place
- Remove haptic when snapping to task when quick scrub starts (there's already a
haptic from the home button)

Bug: 70180755
Change-Id: I83f25bc8b791da0676c13fd62698e1f486dc016f
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
7f553365053aeb58b4287a5c83b2e62286008d5b 20-Mar-2018 Vadim Tryshev <vadimt@google.com> Focusing on the second task on Alt+Tab

Reusing the quick scrub codepath. I’m postponing the cleanup with
removing duplicated code and isolating the reused code so that it’s
separated from touch events.

I’m accumulating the cleanup notes in a doc, and will create a Q bug
from them at the end.

This CL leaves mOverviewCommandHelper.onOverviewShown/Hidden() unused,
but we may use them later when implementing the case when System UI
invokes the callback with different params.

Note that the noew code works even when Alt+Tab is pressed while the
Overview is already open.

Bug: 73090995
Test: Alt+Tab. Alt+Tab while Overview is open.
Change-Id: Iba05c5628959b3640ddd643dead0fba3ae4714c1
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9d69c8da9a4f933cc700ef1672b4e60d34a2fb10 19-Mar-2018 Sunny Goyal <sunnygoyal@google.com> 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
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
3025fb5c8d3d05c0f50452d3071030675e622d31 16-Mar-2018 Jorim Jaggi <jjaggi@google.com> Import new lib

Bug: 73498721
Change-Id: Ia9d2bd49d69d566b75355fe12b7127434f18079d
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
d7af7bb63f167a9ec061f21e3196d02707696ed0 14-Mar-2018 Vadim Tryshev <vadimt@google.com> Initial implementation of Overview keyboard interactions

Lots of things are not yet implemented or don't work: animations,
fallback mode, taking params into account, dozing etc.

Bug: 73090995
Test: Press, Alt-tab, tab with and without shift, press Alt-Tab on
already open Overview.

Change-Id: Ifd140e27bead4fa52532a04000c0b60923b485be
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
f633ef5f4310b6f79087797a2dc215812f841b70 13-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Adding fallback recents activity

> Refactoring RecentsView to a common base class
> Moving some dependency form Launcher to BaseActivity
> Using the Recents view in RecentsActivity

Change-Id: Ie0e6741d356291e77420798c140c999121de3a0d
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1e6eaea0a4a36a79c7827a9f1a01b93be078dfbe 05-Mar-2018 Tony <twickham@google.com> Improve quick scrub

- Snap to the next task when quick scrub starts, but don't allow
snapping to further pages until the transition to overview
completes (to prevent overshooting)
- Simplify quick switch to just launch the task that was snapped
to in onQuickScrubStart
- Cleanup some state code

Bug: 70180755
Bug: 74014237
Change-Id: I7a4a0f1a568947b1f5e56a27d7328e47b05a675d
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
6586062f711a5194d22d870b66ba7e5a8467576f 12-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Ensuring that we finish the last transition before starting a new one.

> Finishing the active animation instead of cancelling it. This ansures
that the animation callbacks are called properly and RecentsAnimaiton is finished
> If a transition is already running, using main thread for next transtion so that
this new transition is not started before the last transition is finished.
> If the transition is expected to finish at Launcher, directly use the Launcher
consumer. RunningTaskInfo is not updated until the screen shot is complete.

Bug: 74481901
Change-Id: I2b1128f1f2eff0e6bd94b3adb9cef6ae0578bd0c
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
773bf8fbd0e2383f232a43c35115e1df59e1317d 08-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Initial changes for handling overview button in Launcher

Adding a debug flag to show the overview button and placeholder methods
for handling the callbacks

Change-Id: I35055e768d96b43b835bac2eb146e47850a7f4b1
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
ca845525054aefb295ec83651b229d7e42dfed1d 05-Mar-2018 Winson Chung <winsonc@google.com> Revert "Revert "Adding a separate state for QuickScrub""

This reverts commit 2687257c9881f44243924db7a064cff4f59fcc1b.

Reason for revert: Reverting post-build

Change-Id: Ic3a1e8ed84a227b42bc35b91d4f0eed60bb2e29c
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
2687257c9881f44243924db7a064cff4f59fcc1b 05-Mar-2018 Winson Chung <winsonc@google.com> Revert "Adding a separate state for QuickScrub"

This reverts commit 6c6c2f45f77d9e577143e16f7eef21ed98aa6367.

Reason for revert: Temporary revert for build.

Change-Id: I3947e9b2d4e5788f9d2a0c4e2e8b7d425d5bc775
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
6c6c2f45f77d9e577143e16f7eef21ed98aa6367 02-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Adding a separate state for QuickScrub

Bug: 74014237
Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
0639cd40971260341359b25367a4c1d8449efa9d 27-Feb-2018 Tony Wickham <twickham@google.com> Ignore following touch actions if we didn't have window focus

Previously we would ignore the down action, but then get the up if
window focus had changed (such as when hitting back to get rid of the
keyboard in all apps, which would launch the app in that position).

Bug: 73887575
Change-Id: I5405223982ef52633180ecd960a697af0d0b76d9
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
30897aaa1db6fad67c198275681128423ac72867 22-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Temporarily enabling various tracing for debug devices

Change-Id: Iebee7d0a4c408f50ab911b31edbec12499a42844
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
b186136a373d0a6ffa6bbfff766826060e7398e5 20-Feb-2018 Winson Chung <winsonc@google.com> Merge "Re-enable deferring recents animation on back button." into ub-launcher3-master
82db735196f7e5cd50a9ecbf525911c3fa5729e5 20-Feb-2018 Winson Chung <winsonc@google.com> Re-enable deferring recents animation on back button.

Bug: 73242451
Test: Swipe up over back button, ensure that we don't start the animation
until the threshold is crossed

Change-Id: If84c39370428f8ea5bf9d5f7110d17227f00ccc0
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
5f72d3b8b6bfb5a721c93339ee4239b1f5504b19 18-Feb-2018 Tony Wickham <twickham@google.com> Merge "Fix a couple bugs with back button visibility" into ub-launcher3-master
0c22a6c2c704f00ef7c4918a93bcc20ac73f7c4c 15-Feb-2018 Tony Wickham <twickham@google.com> Fix a couple bugs with back button visibility

- Fix back button flickering when returning to NORMAL state instead of
finishing a gesture to, say, ALL_APPS. This is achieved by posting
changes to the back visibility on the UI thread (binder calls are
posted on the background thread).
- Restore back button when touch service reconnects (in case we were
forced into an app when launcher is force-stopped, for instance).

Change-Id: I3731ee43d66965ce7cd8cf026174aabfe2d5c56c
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
841bbf07d0b521bcebe0ef59254e72dbaad52405 15-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Serializing all event handling from SystemUI

> EventQueue is only accessed on the binder thread
> For every new touch down, we use a new event queue to prevent race conditions
> All event hendling are serialized by event queue (including quick switch/scrub)
> Using state handlers for quick scrub

Bug: 73356768
Change-Id: Idde33a348270b8167a087129f177d5d2b54f5822
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
fa3efe94943e4f8a48c35114b5d5beaf2330b04e 16-Feb-2018 Tony Wickham <twickham@google.com> Fix a couple quickscrub issues

- Always launch workspace card if it's focused when quick scrub ends
- Previously it would get stuck if quick scrub end was called on
a background thread (since it was trying to touch RecentsView)
- Prevent user from being able to get to the workspace card if
starting quick scrub from an app by introducing bounds checking
- Prevent getting stuck in overview when ending quick scrub
- There was a race condition where the task wouldn't launch if
the animation to recents hadn't yet finished. Now there is a
callback to ensure that launchTask() is always called after.

Bug: 70180755
Change-Id: I3c131011634880a97de8c2935c3ebdab26494b48
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
c36d6eefaef62290312fb5e1f6f53ec163551d82 15-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Temporarily disabling model preloading

Bug: 73399920
Change-Id: Ia4a93c77a3209c6a9b2baae02a3ee3d6abb693d4
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1e9da8b5aa88299fa60699c5e06fe06758721090 15-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Fixing crash when window is not attached

Bug: 72233154
Change-Id: Ibe94f5804be85b0df9180c508e4ae7afe3ba9a1a
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
f6c65d7e54f34c4b38160d07f91be5ab13c9c242 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing ANR when using quickscrub from homescreen" into ub-launcher3-master
bf6dfc5fa729f0d3024e257d54e7e6006bbb6de8 14-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Fixing ANR when using quickscrub from homescreen

Change-Id: Id355726f7ec72dc2fd28a3e757355d1143464001
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
a0693d6366a97b642450104f1b6fdb1edccc3bdc 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Defer starting the recents animation when swiping over back button" into ub-launcher3-master
d56ac2a881302baccc3148bd7dfca135bdeb783a 13-Feb-2018 Winson Chung <winsonc@google.com> Defer starting the recents animation when swiping over back button

Bug: 73242451
Test: Swipe up over back with suitable launcher build and ensure that we
don't start the recents animation on touch down

Change-Id: I98314611eaeeabfaa47280157300ea20f0571a61
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
618a5044cf23c89a1840419323fffa854ebb3d5e 13-Feb-2018 Tony Wickham <twickham@google.com> Allow quick scrub/switch from minus one

Launcher's window doesn't have focus when on minus one. In this case, we
tell the minus one overlay to hide and add a window focused callback to
start quick scrub/switch after launcher regains focus. Since the
transition from minus one takes longer than for launcher to get window
focus, we also defer until the overlay is completely hidden before
starting the quick scrub transition.

Bug: 70180755
Change-Id: Ifcf85aaf1942b51394e68e209b89807fa4007afe
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
a066e4434be37714fe3bbaf5e2b86101c5fee667 10-Feb-2018 Tony Wickham <twickham@google.com> Re-enable quick scrub/switch from launcher

When we get the onQuickScrubStart() or onQuickSwitch() callbacks, we go
to the overview state with a quicker duration (the same used from apps).
Then we follow the same logic as starting quick scrub/switch from apps
except that we allow you to scrub back to the workspace card.

Bug: 70180755
Change-Id: Iebcdcc4c4ad1e1210e2d1c11e5007c27d3c1eef3
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
006239bab96963b4f2578554744e97093d0ff36a 07-Feb-2018 Winson Chung <winsonc@google.com> Fix blocking issues re. window transitions and quick scrub

- Clean up the consumer when starting quickscrub/switch in addition to
motion up
- Defer invalidating the handler until after quickscrub ends
- Ensure that we always finish the remote animation

Bug: 67957962
Bug: 70180755

Change-Id: Id5af5dc9917638f1dfb8e4a04c358aadb19fd67a
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
03c8e3ffadb02e1c9c31b7d88a507911ca063fee 06-Feb-2018 Tony Wickham <twickham@google.com> Add quickstep onboarding text and send to sysui

Bug: 72999860
Change-Id: I3b67f197e16fdf7d646a81210baa6fd24ead61ed
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
8b264568a127d8c865b635178a0189e50973e6c6 04-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Waiting for a small timeout for launcher draw, before performing the swipe gesture.

This allow for a better synchronized motion, in case launcher draw was fast enough

Change-Id: Ie59aa1e8a2ffa94f3640b4ea08a0c23eeabafb54
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
0ecca76f7c374dff999eafafc811b3a459428401 02-Feb-2018 Sunny Goyal <sunnygoyal@google.com> Refactoring the touch handling into a different class.

This makes it easier to maintain states for a single touch session (from down to up/cancel)

Change-Id: I27da239376337cd02c104fea54e39b2e30b53fab
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9c70e7e220b8ffebc15d3cc1fed89163d4724abf 01-Feb-2018 Tony <twickham@google.com> Update task menu

- Remove widgets option
- Add Split screen
- Add Pin
- Tap as well as long press icon to show menu

Bug: 72320614
Bug: 70294936
Change-Id: I231160286426ac3d2a23524b2f4a0170f963190e
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
e75d9f1ec3c8f81317e5287bbb3aaad46b9f9fd7 31-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Preloading the LauncherModel in case launcher dies

Change-Id: Ibe529f31e96c645d45d51b9f3bf6c21b76b41254
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
7dde1c3b9b4b45c77121d75da19c6599293757c5 31-Jan-2018 Winson Chung <winsonc@google.com> Start the recents window animation on touch down.

Change-Id: Ib95f0c41e2dc0e9274268e70da63b63e3092fc94
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
8317b6935afeffbc3002ce5bd77b011dedc8fcce 30-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Using a background thread for controlling window animation

Animate the task window on the background thread, until the launcher UI is ready.
After the first frame of launcher is drawn, we switch the input handling to UI thread
and fade in the launcher UI.

Change-Id: Ia3d04b697530af3db441b14ad34827208b923137
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1a341002fcd8b6491701f6b7a8583c6e02ee34ba 17-Jan-2018 Winson Chung <winsonc@google.com> Add code path for the recents animation using window transitions.

Test: Enable in settings, swipe up

Change-Id: I1053f9e519c2f612bd3db0b66cd16ad9a30bfeb4
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
5378b9ab01529f082d62a6b9cfef25d4b173c5dc 24-Jan-2018 Tony Wickham <twickham@google.com> Set sQuickScrubEnabled = false in onDestroy()

When the touch interaction service is disconnected, let's make sure
we cleanup so we don't get in a state where all touches are ignored.

Bug: 72444652
Change-Id: I089ad63f9f855651f305c4650c99743d3bde3a94
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
eb1c9ea018df82b44387504fc06fe46646eb255d 24-Jan-2018 Tony Wickham <twickham@google.com> Merge "Simplifying/fixing logic for ignoring touches in quick scrub" into ub-launcher3-master
b4175d89ed8a419ca276bb7884385685550b0dd1 24-Jan-2018 Tony Wickham <twickham@google.com> Simplifying/fixing logic for ignoring touches in quick scrub

Now we directly set a static boolean as soon as we get the
onQuickScrubStart and end binder callbacks, instead of having
a member variable in QuickScrubController. Notably, QSC was
getting onQuickScrubStart() when doing quick switch, but not
onQuickScrubEnd(). This is a byproduct of some other unrelated
logic, which the new approach circumvents.

Bug: 72444652
Change-Id: I0a3d1ae2e9970cfffc38a25df0b8f04f26cb4cfa
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
2c80b0f4f9623d208b469ed31f8fe601029c2a96 23-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Reusing the existing handler when quickscrub starts

Bug: 72173796
Change-Id: I0517a09c10238f15e012f7edcab957aacef22444
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
8d9384e27b6b7cf3d70145c59f02c07cf2fe98ae 17-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Using a default bitmap if we fail to take a screenshot

Change-Id: I7fbde49ee01732795618c2e664c406043ba7831b
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
000e0a14809499fec5442c85473858f854b37802 16-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Removing packageName from home intent to avoid duplicate launcher activity

Change-Id: I9a693f04aed2d40b95088e7a939390de5281ce31
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
75c59acf5c47613090f0fa3a74346b7e8cbec5bb 15-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Ensuring that Recents view is always loaded when going to Overview state

Change-Id: If2337a0be66f4ca68dd54954b7368f38d70a40d4
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
6d6fe041c75e83e795b7dec3ce2a87139eee4368 23-Dec-2017 Tony <twickham@google.com> Implement quick scrub and quick switch callbacks

Bug: 70180755
Change-Id: I011dd5b0435cea7ba493e83b973ce5be7d18c1f0
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9bb0d726409a62fe262798795db76d20313d5d2c 11-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Adding feature to support two different swipe targets from all-apps and overview

Change-Id: I7e7b4abbcebcbd6de43805c57ee40b0edd5ba5aa
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
2a0659b223db5f8f8c5e6eec2d92c6290270ea9a 03-Jan-2018 Sunny Goyal <sunnygoyal@google.com> Two state swipe interaction fixes

> Loading the recents plan before showing recents and always starting with page 0
> Fixing thumbnail not getting drawn when layout happens after task plan is loaded
> Disabling two state swipe when touch service is not connected
> When using swite gesture, once user triggers the overview mode, he cannot land
in NORMAL state in that gesture

Change-Id: I7a2e83318af6e98dcc64849690fcba6dc8f71f77
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
b744a6778556598c96c0566b55d5b61514161481 06-Dec-2017 Tony Wickham <twickham@google.com> Swipe from nav bar to enter overview in landscape

Previously there was hard coded logic for portrait mode, such as
always assuming Y velocity and the upward swipe direction.

Bug: 70179916
Change-Id: Id08ae849632d766b01d67da1c6c67d4e24c697d7
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
e6af6318cf3d2c760f6e30792cdff34550c0046e 04-Dec-2017 Sunny Goyal <sunnygoyal@google.com> Merge "Forwarding touch events from TouchInteractionService to Launcher when launcher window is visible" into ub-launcher3-master
413e7d44fd64f606b8c71f0620317f4028da3d2b 30-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Subtracting the touchSlop when dragging the window, to prevent initial jump" into ub-launcher3-master
0607cf03eae90e22fb05d8938b597c72d356c395 21-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Forwarding touch events from TouchInteractionService to Launcher
when launcher window is visible

Change-Id: I418994c2e2a5559c28c36875ac7aff589a15fac5
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
27887b2c64639841a31bf3ebc6e17cae1e21fae6 16-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Adding some tracing for touch interaction

Change-Id: Ibbd54b5a0d397312e8f83bdcc2b7d93f309f8f7a
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1c22aa13707f42bd1bbd974357f515fa4f5d7165 17-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Subtracting the touchSlop when dragging the window, to prevent initial jump

Change-Id: I26a79076312d4641693a9610c17cf925d5d104ea
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
1dc8a1f3ca9bc7ac61858e03f64894a682ab84ec 16-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Batching MotionEvents and processing them on the UI thread

Change-Id: I2dc972af8360e719db743740074893bac0213ded
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
0485e357db650a03c2bc01d6d9efc1e6398552c6 16-Nov-2017 Winson Chung <winsonc@google.com> Fetching graphic buffer instead of bitmap for current screenshot.

Bug: 69166452
Change-Id: Iaeeca788c9afadb1ce6f7ee3056dddf9b2e339b2
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
117386c9b72dacc6a607f777a21851ff66610872 15-Nov-2017 Winson Chung <winsonc@google.com> Add option to not preload titles.

Bug: 3236757

Change-Id: I305b659d8ce35ee9c269b25b88558fd29de79ba0
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
0874079c0e401361cda0a7727f2cc021015ad0a9 16-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Various swipe up animation optimizations

> Tracking the touch from the start of the interaction, instead of when launcher is visible
> Animating the snapshot to the final posion after first draw
> Scheduling frame only when there are pending touch events
> Starting launcher before loading recents

Change-Id: Id9c3642ea235a1d35d31dbf28024c99dd4f47daa
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
3e4d95d33dead86fd88fc06e9e5ffc1fa7652739 15-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing wrong velocity being used for fling" into ub-launcher3-master
d3864fa630f0028971116b321702f20bf4ff6c7d 15-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Fixing double state changes when using an InternalStateHandler

> Removing duplicate state handling on onCreate and onNewInetnt when InternalStateHandler is active
> Changing PinItemDragListener to use IntenalStateHandler

Change-Id: I42dcf82d1180c49430c6cf0b85d47072c4498ecc
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
6fc380def6f005e1e4fd37df2f6f187fa5ab5435 15-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Fixing wrong velocity being used for fling

Change-Id: I0e8a9563d4148ed9f6035a441ab045c7f4f8a736
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
ee849a5199e97410f1bb65447c868d7dd8e5c4d6 14-Nov-2017 Winson Chung <winsonc@google.com> Minor optimization when starting quickstep.

Change-Id: I339c414d500a14407041189828838f35d2e63cf4
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
b63b44c3d55cc49423b9c70d37f2e1d9a0799ea4 11-Nov-2017 Winson Chung <winsonc@google.com> Load some recent tasks

Bug: 69166452
Test: Build quickstep
Change-Id: Id4b0172256d6920616a6b9529d61abd1fe0c1a36
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
f8088eecf1939ef6ada4161f7c22c89a852fe4fd 10-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Initial changes for handling touch events.

When the touch passes a threashold, we take a snapshot and start the launcher
activity. The launcher displays the snapshot on top of its UI.
As we get further touch events, we move this snapshot and the hotseat in reponse.

Change-Id: I4623676227000afd52805a414a4de499081feced
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java
9d341964a0527391daa07dc112c5579b55edbb96 30-Oct-2017 Sunny Goyal <sunnygoyal@google.com> Setting up build rules and placeholder code for QuickStep

Change-Id: Ib4ad5c6082b293fc9f9455d70e2b21462b4ab76d
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java