public class RecentsImplProxy
extends IRecentsNonSystemUserCallbacks.Stub
IRecentsNonSystemUserCallbacks
to
RecentsImpl
and makes sure they are called from the main thread.Constructor and Description |
---|
RecentsImplProxy(RecentsImpl recentsImpl) |
Modifier and Type | Method and Description |
---|---|
void |
cancelPreloadingRecents() |
void |
dockTopTask(int topTaskId,
int dragMode,
int stackCreateMode,
Rect initialBounds) |
void |
hideRecents(boolean triggeredFromAltTab,
boolean triggeredFromHomeKey) |
void |
onConfigurationChanged() |
void |
onDraggingInRecents(float distanceFromTop) |
void |
onDraggingInRecentsEnded(float velocity) |
void |
preloadRecents() |
void |
showCurrentUserToast(int msgResId,
int msgLength) |
void |
showRecents(boolean triggeredFromAltTab,
boolean draggingInRecents,
boolean animate,
boolean reloadTasks,
boolean fromHome,
int growTarget) |
void |
toggleRecents(int growTarget) |
public RecentsImplProxy(RecentsImpl recentsImpl)
public void preloadRecents() throws RemoteException
RemoteException
public void cancelPreloadingRecents() throws RemoteException
RemoteException
public void showRecents(boolean triggeredFromAltTab, boolean draggingInRecents, boolean animate, boolean reloadTasks, boolean fromHome, int growTarget) throws RemoteException
RemoteException
public void hideRecents(boolean triggeredFromAltTab, boolean triggeredFromHomeKey) throws RemoteException
RemoteException
public void toggleRecents(int growTarget) throws RemoteException
RemoteException
public void onConfigurationChanged() throws RemoteException
RemoteException
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) throws RemoteException
RemoteException
public void onDraggingInRecents(float distanceFromTop) throws RemoteException
RemoteException
public void onDraggingInRecentsEnded(float velocity) throws RemoteException
RemoteException
public void showCurrentUserToast(int msgResId, int msgLength)