Merge "Removing some deprecated methods" into rvc-dev
This commit is contained in:
@@ -27,57 +27,6 @@ oneway interface IOverviewProxy {
|
|||||||
|
|
||||||
void onInitialize(in Bundle params) = 12;
|
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.
|
* 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;
|
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.
|
* 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;
|
void onTip(int actionType, int viewType) = 10;
|
||||||
|
|
||||||
@@ -125,6 +60,7 @@ oneway interface IOverviewProxy {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when back is triggered.
|
* Sent when back is triggered.
|
||||||
|
* TODO: Move this implementation to SystemUI completely
|
||||||
*/
|
*/
|
||||||
void onBackAction(boolean completed, int downX, int downY, boolean isButton,
|
void onBackAction(boolean completed, int downX, int downY, boolean isButton,
|
||||||
boolean gestureSwipeLeft) = 15;
|
boolean gestureSwipeLeft) = 15;
|
||||||
|
|||||||
Reference in New Issue
Block a user