/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityStackSupervisorTests.java | 20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 94 ensureStackPlacement(service.mStackSupervisor, PINNED_STACK_ID, firstTask); in testReplacingTaskInPinnedStack() 102 ensureStackPlacement(service.mStackSupervisor, PINNED_STACK_ID, secondTask); in testReplacingTaskInPinnedStack()
|
D | ActivityTestsBase.java | 235 if (mStackId == ActivityManager.StackId.PINNED_STACK_ID) { in getStack()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipUtils.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 40 final StackInfo pinnedStackInfo = activityManager.getStackInfo(PINNED_STACK_ID); in getTopPinnedActivity()
|
D | PipMotionHelper.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 124 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in synchronizePinnedStackBounds() 162 mActivityManager.moveTasksToFullscreenStack(PINNED_STACK_ID, true /* onTop */); in expandPip() 164 mActivityManager.resizeStack(PINNED_STACK_ID, null /* bounds */, in expandPip() 185 mActivityManager.removeStack(PINNED_STACK_ID); in dismissPip() 531 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in handleMessage() 538 mActivityManager.resizeStack(PINNED_STACK_ID, toBounds, in handleMessage()
|
D | PipManager.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 210 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in onBusEvent()
|
D | PipMenuActivityController.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 352 StackInfo pinnedStackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in startMenuActivity() 389 StackInfo pinnedStackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in updateMenuActions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 301 createStackControllerOnStackOnDisplay(PINNED_STACK_ID, mDisplayContent); in testPinnedStackLocation() 304 assertEquals(initialStackCount - 1, mDisplayContent.getStaskPosById(PINNED_STACK_ID)); in testPinnedStackLocation() 311 assertEquals(afterStackCount - 1, mDisplayContent.getStaskPosById(PINNED_STACK_ID)); in testPinnedStackLocation()
|
D | TaskStackContainersTests.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 53 mPinnedStack = new StackWindowController(PINNED_STACK_ID, null, in setUp()
|
D | WindowLayersControllerTests.java | 28 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 163 WindowState pinnedStackWindow = createWindowOnStack(null, PINNED_STACK_ID, in testStackLayers()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 673 public static final int PINNED_STACK_ID = DOCKED_STACK_ID + 1; field in ActivityManager.StackId 676 public static final int RECENTS_STACK_ID = PINNED_STACK_ID + 1; 700 return stackId == FREEFORM_WORKSPACE_STACK_ID || stackId == PINNED_STACK_ID; in hasWindowShadow() 727 return stackId == PINNED_STACK_ID || stackId == ASSISTANT_STACK_ID; in isDynamicStacksVisibleBehindAllowed() 736 || stackId == DOCKED_STACK_ID || stackId == PINNED_STACK_ID; in keepFocusInStackIfPossible() 744 && stackId != PINNED_STACK_ID && stackId != ASSISTANT_STACK_ID; in isResizeableByDockedStack() 753 && stackId != DOCKED_STACK_ID && stackId != PINNED_STACK_ID in isTaskResizeableByDockedStack() 761 return isStaticStack(stackId) && stackId != PINNED_STACK_ID in isStackAffectedByDragResizing() 782 || stackId == PINNED_STACK_ID; in tasksAreFloating() 812 return stackId != PINNED_STACK_ID; in canReceiveKeys() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedStackController.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 414 final TaskStack pinnedStack = mDisplayContent.getStackById(PINNED_STACK_ID); in notifyMovementBoundsChanged() 491 mService.getStackBounds(PINNED_STACK_ID, mTmpRect); in dump()
|
D | WindowLayersController.java | 27 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 190 if (stack.mStackId == PINNED_STACK_ID) { in collectSpecialWindows()
|
D | TaskStack.java | 23 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 412 if (mStackId == PINNED_STACK_ID) { in updateBoundsAfterConfigChange() 709 } else if (mStackId == PINNED_STACK_ID) { in onDisplayChanged() 1516 if (mStackId == PINNED_STACK_ID) { in onAnimationStart() 1546 if (mStackId == PINNED_STACK_ID) { in onAnimationEnd() 1580 if (mStackId == PINNED_STACK_ID) { in deferScheduleMultiWindowModeChanged()
|
D | Task.java | 21 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 210 if (stack.mStackId == PINNED_STACK_ID) { in reparent() 605 return mStack != null && mStack.mStackId == PINNED_STACK_ID; in inPinnedWorkspace()
|
D | StackWindowController.java | 20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 289 if (mStackId == PINNED_STACK_ID && bounds.width() == mTmpDisplayBounds.width() && in adjustConfigurationForBounds()
|
D | InputMonitor.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 653 if (w.getStackId() == PINNED_STACK_ID) { in accept()
|
D | DisplayContent.java | 22 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 1475 if (getStackById(PINNED_STACK_ID) == null) { in updateStackBoundsAfterConfigChange() 3328 if (toTop && stack.mStackId != PINNED_STACK_ID in findPositionForStack() 3329 && getStackById(PINNED_STACK_ID) != null) { in findPositionForStack() 3332 if (topStack.mStackId != PINNED_STACK_ID) { in findPositionForStack()
|
D | AppWindowToken.java | 20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 1365 final TaskStack pinnedStack = mDisplayContent.getStackById(PINNED_STACK_ID); in updateAllDrawn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipManager.java | 56 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 320 mActivityManager.removeStack(PINNED_STACK_ID); in closePipInternal() 408 mActivityManager.resizeStack(PINNED_STACK_ID, mCurrentPipBounds, in resizePinnedStack() 486 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in getPinnedStackInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityMetricsLogger.java | 10 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 113 if (stack.mStackId == PINNED_STACK_ID) { in logWindowState()
|
D | ActivityStackSupervisor.java | 35 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 2173 return (mService.mSupportsPictureInPicture && launchStackId == PINNED_STACK_ID) in canUseActivityOptionsLaunchBounds() 2445 } else if (fromStackId == PINNED_STACK_ID) { in moveTasksToFullscreenStackInSurfaceTransaction() 2457 final boolean schedulePictureInPictureModeChange = (fromStackId == PINNED_STACK_ID); in moveTasksToFullscreenStackInSurfaceTransaction() 2464 if (fromStackId == PINNED_STACK_ID) { in moveTasksToFullscreenStackInSurfaceTransaction() 2576 final PinnedActivityStack stack = getStack(PINNED_STACK_ID); in resizePinnedStackLocked() 2633 if (stack.getStackId() == PINNED_STACK_ID) { in removeStackInSurfaceTransaction() 2651 moveTasksToFullscreenStackLocked(PINNED_STACK_ID, !ON_TOP); in removeStackInSurfaceTransaction() 2963 moveTasksToFullscreenStackLocked(PINNED_STACK_ID, !ON_TOP); in moveActivityToPinnedStackLocked() 2966 final PinnedActivityStack stack = getStack(PINNED_STACK_ID, CREATE_IF_NEEDED, ON_TOP); in moveActivityToPinnedStackLocked() [all …]
|
D | ActivityStack.java | 25 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 831 return mStackId == PINNED_STACK_ID; in isPinnedStack() 1489 || mService.mStackSupervisor.getStack(PINNED_STACK_ID) != null) { in completePauseLocked() 1693 if ((topStackId == DOCKED_STACK_ID || topStackId == PINNED_STACK_ID) in shouldBeVisible() 1713 || stackBehindTopId == PINNED_STACK_ID) in shouldBeVisible() 1942 final boolean isInPinnedStack = r.getStack().getStackId() == PINNED_STACK_ID; in checkKeyguardVisibility() 2886 focusedTopActivity.getStack().getStackId() != PINNED_STACK_ID) { in startActivityLocked() 3766 && (mode == FINISH_AFTER_PAUSE || mStackId == PINNED_STACK_ID)) in finishCurrentActivityLocked() 4552 if (topActivity != null && topActivity.getStack().getStackId() != PINNED_STACK_ID) { in moveTaskToFrontLocked() 4659 if (mStackId == PINNED_STACK_ID) { in moveTaskToBackLocked() [all …]
|
D | TaskRecord.java | 81 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 724 } else if (stackId == DOCKED_STACK_ID || stackId == PINNED_STACK_ID) { in reparent() 1305 if (getStackId() == PINNED_STACK_ID) { in removeActivity() 1999 if (getStackId() != PINNED_STACK_ID) { in adjustForMinimalTaskDimensions()
|
D | ActivityRecord.java | 27 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 663 final boolean inPictureInPictureMode = (task.getStackId() == PINNED_STACK_ID) && in updatePictureInPictureMode() 943 mLastReportedPictureInPictureMode = (task.getStackId() == PINNED_STACK_ID); 1204 boolean hasPinnedStack = mStackSupervisor.getStack(PINNED_STACK_ID) != null;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 24 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 494 if (stackId != RECENTS_STACK_ID && stackId != PINNED_STACK_ID) { in getRunningTask() 618 return stackId == PINNED_STACK_ID; in isPinnedStack()
|