Home
last modified time | relevance | path

Searched refs:PINNED_STACK_ID (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/app/
DActivityManager.java515 public static final int PINNED_STACK_ID = DOCKED_STACK_ID + 1; field in ActivityManager.StackId
518 public static final int LAST_STATIC_STACK_ID = PINNED_STACK_ID;
532 return stackId == FREEFORM_WORKSPACE_STACK_ID || stackId == PINNED_STACK_ID; in hasWindowShadow()
559 return stackId == PINNED_STACK_ID; in isDynamicStacksVisibleBehindAllowed()
568 || stackId == DOCKED_STACK_ID || stackId == PINNED_STACK_ID; in keepFocusInStackIfPossible()
576 stackId != DOCKED_STACK_ID && stackId != PINNED_STACK_ID; in isResizeableByDockedStack()
585 && stackId != DOCKED_STACK_ID && stackId != PINNED_STACK_ID; in isTaskResizeableByDockedStack()
605 || stackId == PINNED_STACK_ID; in tasksAreFloating()
623 return stackId != PINNED_STACK_ID; in canReceiveKeys()
634 return stackId == PINNED_STACK_ID; in isAlwaysOnTop()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipOverlayActivity.java32 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
69 options.setLaunchStackId(PINNED_STACK_ID); in showPipOverlay()
DPipManager.java53 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
257 mActivityManager.removeStack(PINNED_STACK_ID); in closePipInternal()
359 mActivityManager.resizeStack(PINNED_STACK_ID, mCurrentPipBounds, in resizePinnedStack()
549 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID);
596 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID);
/frameworks/base/services/core/java/com/android/server/am/
DActivityMetricsLogger.java7 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
78 if (stack.mStackId == PINNED_STACK_ID) { in logWindowState()
DTaskRecord.java66 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
808 if (stack != null && stack.mStackId == PINNED_STACK_ID) { in removeActivity()
1403 if (stack.mStackId != PINNED_STACK_ID) { in adjustForMinimalTaskDimensions()
1683 return rootAffinity != null && (stack == null || stack.mStackId != PINNED_STACK_ID); in canMatchRootAffinity()
DActivityStackSupervisor.java123 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
1903 return (mService.mSupportsPictureInPicture && launchStackId == PINNED_STACK_ID) in canUseActivityOptionsLaunchBounds()
2218 final ActivityStack stack = getStack(PINNED_STACK_ID); in resizePinnedStackLocked()
2492 } else if (stackId == DOCKED_STACK_ID || stackId == PINNED_STACK_ID) { in moveTaskToStackLocked()
2557 final ActivityStack stack = getStack(PINNED_STACK_ID, CREATE_IF_NEEDED, ON_TOP); in moveActivityToPinnedStackLocked()
2562 resizeStackLocked(PINNED_STACK_ID, task.mBounds, null /* tempTaskBounds */, in moveActivityToPinnedStackLocked()
2575 task.taskId, PINNED_STACK_ID, ON_TOP, FORCE_FOCUS, reason, !ANIMATE); in moveActivityToPinnedStackLocked()
3710 || (prevStack.mStackId != PINNED_STACK_ID && stack.mStackId != PINNED_STACK_ID)) { in scheduleReportPictureInPictureModeChangedIfNeeded()
DActivityStarter.java33 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
594 if (startedActivityStackId == PINNED_STACK_ID in postStartActivityUncheckedProcessing()
1980 if (stackId == PINNED_STACK_ID && !supportsPip) { in isValidLaunchStackId()
DActivityRecord.java21 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
481 appToken, task.stack.mStackId == PINNED_STACK_ID); in schedulePictureInPictureModeChanged()
DActivityStack.java24 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
667 return mStackId == PINNED_STACK_ID; in isPinnedStack()
1622 if ((focusedStackId == DOCKED_STACK_ID || focusedStackId == PINNED_STACK_ID) in getStackVisibilityLocked()
1641 || stackBehindFocusedId == PINNED_STACK_ID) in getStackVisibilityLocked()
3548 && (mode == FINISH_AFTER_PAUSE || mStackId == PINNED_STACK_ID)) in finishCurrentActivityLocked()
DActivityManagerService.java264 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
7501 return stack.mStackId == PINNED_STACK_ID;
7532 final ActivityStack pinnedStack = mStackSupervisor.getStack(PINNED_STACK_ID);
9961 if (stackId == PINNED_STACK_ID) { in resizeStack()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowLayersController.java26 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
193 if (stack.mStackId == PINNED_STACK_ID) { in collectSpecialWindows()
DDisplayContent.java21 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
263 && mService.isStackVisibleLocked(PINNED_STACK_ID) in moveStack()
264 && stack.mStackId != PINNED_STACK_ID) { in moveStack()
269 if (topStack.mStackId != PINNED_STACK_ID) { in moveStack()
DTask.java21 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
716 return mStack != null && mStack.mStackId == PINNED_STACK_ID; in inPinnedWorkspace()
DTaskStack.java23 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
1302 if (mStackId != PINNED_STACK_ID) { in setPinnedStackSize()
1348 if (mStackId == PINNED_STACK_ID) { in onAnimationEnd()
DWindowStateAnimator.java20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
DWindowManagerService.java170 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
10937 final TaskStack stack = mStackIdToStack.get(PINNED_STACK_ID); in animateResizePinnedStack()
10939 Slog.w(TAG, "animateResizePinnedStack: stackId " + PINNED_STACK_ID + " not found."); in animateResizePinnedStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java23 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
467 return stackId == PINNED_STACK_ID; in isPinnedStack()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java84 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
2123 if (!mAllowUpdateElevation && mStackId != PINNED_STACK_ID) {