From 076fc593145fe26a8e70518de8f82c1ce84757b8 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Mon, 4 May 2020 12:44:02 -0700 Subject: [PATCH] Removing some deprecated methods Test: Presubmit Bug: 155669898 Change-Id: I1e4d1ab89feaa3415d140b38e1f70ac65f8f4208 --- .../shared/recents/IOverviewProxy.aidl | 68 +------------------ 1 file changed, 2 insertions(+), 66 deletions(-) diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl index 26ef1d68858e6..0350f2d475696 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl @@ -27,57 +27,6 @@ oneway interface IOverviewProxy { void onInitialize(in Bundle params) = 12; - /** - * @deprecated - */ - void onBind(in ISystemUiProxy sysUiProxy) = 0; - - /** - * Called once immediately prior to the first onMotionEvent() call, providing a hint to the - * target the initial source of the subsequent motion events. - * - * @param downHitTarget is one of the {@link NavigationBarCompat.HitTarget}s - * - * @deprecated - */ - void onPreMotionEvent(int downHitTarget) = 1; - - /** - * Proxies motion events from the nav bar in SystemUI to the OverviewProxyService. The sender - * guarantees the following order of events: - * - * Normal gesture: DOWN, (MOVE/POINTER_DOWN/POINTER_UP)*, UP - * Quick scrub: DOWN, (MOVE/POINTER_DOWN/POINTER_UP)*, SCRUB_START, SCRUB_PROGRESS*, SCRUB_END - * - * Once quick scrub is sent, then no further motion events will be provided. - * - * @deprecated - */ - void onMotionEvent(in MotionEvent event) = 2; - - /** - * Sent when the user starts to actively scrub the nav bar to switch tasks. Once this event is - * sent the caller will stop sending any motion events and will no longer preemptively cancel - * any recents animations started as a part of the motion event handling. - * - * @deprecated - */ - void onQuickScrubStart() = 3; - - /** - * Sent when the user stops actively scrubbing the nav bar to switch tasks. - * - * @deprecated - */ - void onQuickScrubEnd() = 4; - - /** - * Sent for each movement over the nav bar while the user is scrubbing it to switch tasks. - * - * @deprecated - */ - void onQuickScrubProgress(float progress) = 5; - /** * Sent when overview button is pressed to toggle show/hide of overview. */ @@ -93,23 +42,9 @@ oneway interface IOverviewProxy { */ void onOverviewHidden(boolean triggeredFromAltTab, boolean triggeredFromHomeKey) = 8; - /** - * Sent when a user swipes up over the navigation bar to launch overview. Swipe up is determined - * by passing the touch slop in the direction towards launcher from navigation bar. During and - * after this event is sent the caller will continue to send motion events. The motion - * {@param event} passed after the touch slop was exceeded will also be passed after by - * {@link onMotionEvent}. Since motion events will be sent, motion up or cancel can still be - * sent to cancel overview regardless the current state of launcher (eg. if overview is already - * visible, this event will still be sent if user swipes up). When this signal is sent, - * navigation bar will not handle any gestures such as quick scrub and the home button will - * cancel (long) press. - * - * @deprecated - */ - void onQuickStep(in MotionEvent event) = 9; - /** * Sent when there was an action on one of the onboarding tips view. + * TODO: Move this implementation to SystemUI completely */ void onTip(int actionType, int viewType) = 10; @@ -125,6 +60,7 @@ oneway interface IOverviewProxy { /** * Sent when back is triggered. + * TODO: Move this implementation to SystemUI completely */ void onBackAction(boolean completed, int downX, int downY, boolean isButton, boolean gestureSwipeLeft) = 15;