use of com.android.systemui.recents.events.activity.DockedTopTaskEvent in project platform_frameworks_base by android.
the class RecentsImpl method dockTopTask.
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) {
SystemServicesProxy ssp = Recents.getSystemServices();
// the resize mode already.
if (ssp.moveTaskToDockedStack(topTaskId, stackCreateMode, initialBounds)) {
EventBus.getDefault().send(new DockedTopTaskEvent(dragMode, initialBounds));
showRecents(false, /* triggeredFromAltTab */
dragMode == NavigationBarGestureHelper.DRAG_MODE_RECENTS, false, /* animate */
true, /* launchedWhileDockingTask*/
false, /* fromHome */
DividerView.INVALID_RECENTS_GROW_TARGET);
}
}
use of com.android.systemui.recents.events.activity.DockedTopTaskEvent in project android_frameworks_base by DirtyUnicorns.
the class RecentsImpl method dockTopTask.
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) {
SystemServicesProxy ssp = Recents.getSystemServices();
// the resize mode already.
if (ssp.moveTaskToDockedStack(topTaskId, stackCreateMode, initialBounds)) {
EventBus.getDefault().send(new DockedTopTaskEvent(dragMode, initialBounds));
showRecents(false, /* triggeredFromAltTab */
dragMode == NavigationBarGestureHelper.DRAG_MODE_RECENTS, false, /* animate */
true, /* launchedWhileDockingTask*/
false, /* fromHome */
DividerView.INVALID_RECENTS_GROW_TARGET);
}
}
use of com.android.systemui.recents.events.activity.DockedTopTaskEvent in project android_frameworks_base by AOSPA.
the class RecentsImpl method dockTopTask.
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) {
SystemServicesProxy ssp = Recents.getSystemServices();
// the resize mode already.
if (ssp.moveTaskToDockedStack(topTaskId, stackCreateMode, initialBounds)) {
EventBus.getDefault().send(new DockedTopTaskEvent(dragMode, initialBounds));
showRecents(false, /* triggeredFromAltTab */
dragMode == NavigationBarGestureHelper.DRAG_MODE_RECENTS, false, /* animate */
true, /* launchedWhileDockingTask*/
false, /* fromHome */
DividerView.INVALID_RECENTS_GROW_TARGET);
}
}
use of com.android.systemui.recents.events.activity.DockedTopTaskEvent in project android_frameworks_base by ResurrectionRemix.
the class RecentsImpl method dockTopTask.
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) {
SystemServicesProxy ssp = Recents.getSystemServices();
// the resize mode already.
if (ssp.moveTaskToDockedStack(topTaskId, stackCreateMode, initialBounds)) {
EventBus.getDefault().send(new DockedTopTaskEvent(dragMode, initialBounds));
showRecents(false, /* triggeredFromAltTab */
dragMode == NavigationBarGestureHelper.DRAG_MODE_RECENTS, false, /* animate */
true, /* launchedWhileDockingTask*/
false, /* fromHome */
DividerView.INVALID_RECENTS_GROW_TARGET);
}
}
use of com.android.systemui.recents.events.activity.DockedTopTaskEvent in project android_frameworks_base by crdroidandroid.
the class RecentsImpl method dockTopTask.
public void dockTopTask(int topTaskId, int dragMode, int stackCreateMode, Rect initialBounds) {
SystemServicesProxy ssp = Recents.getSystemServices();
// the resize mode already.
if (ssp.moveTaskToDockedStack(topTaskId, stackCreateMode, initialBounds)) {
EventBus.getDefault().send(new DockedTopTaskEvent(dragMode, initialBounds));
showRecents(false, /* triggeredFromAltTab */
dragMode == NavigationBarGestureHelper.DRAG_MODE_RECENTS, false, /* animate */
true, /* launchedWhileDockingTask*/
false, /* fromHome */
DividerView.INVALID_RECENTS_GROW_TARGET);
}
}
Aggregations