Loading quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +6 −2 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ public class TouchInteractionService extends Service implements PluginListener<O @BinderThread @Override public void onOverviewToggle() { TestLogging.recordEvent("onOverviewToggle"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "onOverviewToggle"); mOverviewCommandHelper.onOverviewToggle(); } Loading Loading @@ -422,13 +422,17 @@ public class TouchInteractionService extends Service implements PluginListener<O Log.e(TAG, "Unknown event " + ev); return; } MotionEvent event = (MotionEvent) ev; TestLogging.recordMotionEvent( TestProtocol.SEQUENCE_TIS, "TouchInteractionService.onInputEvent", event); if (!mDeviceState.isUserUnlocked()) { return; } Object traceToken = TraceHelper.INSTANCE.beginFlagsOverride( TraceHelper.FLAG_ALLOW_BINDER_TRACKING); MotionEvent event = (MotionEvent) ev; if (event.getAction() == ACTION_DOWN) { GestureState newGestureState = new GestureState(mOverviewComponentObserver, ActiveGestureLog.INSTANCE.generateAndSetLogId()); Loading quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/DelegateInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ package com.android.quickstep.inputconsumers; import android.view.MotionEvent; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.quickstep.InputConsumer; import com.android.systemui.shared.system.InputMonitorCompat; Loading Loading @@ -35,7 +36,7 @@ public abstract class DelegateInputConsumer implements InputConsumer { protected void setActive(MotionEvent ev) { mState = STATE_ACTIVE; TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitor.pilferPointers(); // Send cancel event Loading quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/DeviceLockedInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.view.ViewConfiguration; import com.android.launcher3.R; import com.android.launcher3.Utilities; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.util.DefaultDisplay; import com.android.quickstep.GestureState; import com.android.quickstep.InputConsumer; Loading Loading @@ -203,7 +204,7 @@ public class DeviceLockedInputConsumer implements InputConsumer, private void startRecentsTransition() { mThresholdCrossed = true; TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitorCompat.pilferPointers(); Intent intent = new Intent(Intent.ACTION_MAIN) Loading quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ import androidx.annotation.UiThread; import com.android.launcher3.R; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.util.Preconditions; import com.android.launcher3.util.TraceHelper; import com.android.quickstep.BaseActivityInterface; Loading Loading @@ -303,7 +304,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC if (mInteractionHandler == null) { return; } TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitorCompat.pilferPointers(); mActivityInterface.closeOverlay(); Loading quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import androidx.annotation.Nullable; import com.android.launcher3.BaseDraggingActivity; import com.android.launcher3.Utilities; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.views.BaseDragLayer; import com.android.quickstep.BaseActivityInterface; import com.android.quickstep.GestureState; Loading Loading @@ -107,7 +108,7 @@ public class OverviewInputConsumer<T extends BaseDraggingActivity> ActiveGestureLog.INSTANCE.addLog("startQuickstep"); } if (mInputMonitor != null) { TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitor.pilferPointers(); } } Loading Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +6 −2 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ public class TouchInteractionService extends Service implements PluginListener<O @BinderThread @Override public void onOverviewToggle() { TestLogging.recordEvent("onOverviewToggle"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "onOverviewToggle"); mOverviewCommandHelper.onOverviewToggle(); } Loading Loading @@ -422,13 +422,17 @@ public class TouchInteractionService extends Service implements PluginListener<O Log.e(TAG, "Unknown event " + ev); return; } MotionEvent event = (MotionEvent) ev; TestLogging.recordMotionEvent( TestProtocol.SEQUENCE_TIS, "TouchInteractionService.onInputEvent", event); if (!mDeviceState.isUserUnlocked()) { return; } Object traceToken = TraceHelper.INSTANCE.beginFlagsOverride( TraceHelper.FLAG_ALLOW_BINDER_TRACKING); MotionEvent event = (MotionEvent) ev; if (event.getAction() == ACTION_DOWN) { GestureState newGestureState = new GestureState(mOverviewComponentObserver, ActiveGestureLog.INSTANCE.generateAndSetLogId()); Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/DelegateInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ package com.android.quickstep.inputconsumers; import android.view.MotionEvent; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.quickstep.InputConsumer; import com.android.systemui.shared.system.InputMonitorCompat; Loading Loading @@ -35,7 +36,7 @@ public abstract class DelegateInputConsumer implements InputConsumer { protected void setActive(MotionEvent ev) { mState = STATE_ACTIVE; TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitor.pilferPointers(); // Send cancel event Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/DeviceLockedInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.view.ViewConfiguration; import com.android.launcher3.R; import com.android.launcher3.Utilities; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.util.DefaultDisplay; import com.android.quickstep.GestureState; import com.android.quickstep.InputConsumer; Loading Loading @@ -203,7 +204,7 @@ public class DeviceLockedInputConsumer implements InputConsumer, private void startRecentsTransition() { mThresholdCrossed = true; TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitorCompat.pilferPointers(); Intent intent = new Intent(Intent.ACTION_MAIN) Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ import androidx.annotation.UiThread; import com.android.launcher3.R; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.util.Preconditions; import com.android.launcher3.util.TraceHelper; import com.android.quickstep.BaseActivityInterface; Loading Loading @@ -303,7 +304,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC if (mInteractionHandler == null) { return; } TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitorCompat.pilferPointers(); mActivityInterface.closeOverlay(); Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewInputConsumer.java +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import androidx.annotation.Nullable; import com.android.launcher3.BaseDraggingActivity; import com.android.launcher3.Utilities; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.views.BaseDragLayer; import com.android.quickstep.BaseActivityInterface; import com.android.quickstep.GestureState; Loading Loading @@ -107,7 +108,7 @@ public class OverviewInputConsumer<T extends BaseDraggingActivity> ActiveGestureLog.INSTANCE.addLog("startQuickstep"); } if (mInputMonitor != null) { TestLogging.recordEvent("pilferPointers"); TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers"); mInputMonitor.pilferPointers(); } } Loading