Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java20 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()
DActivityTestsBase.java235 if (mStackId == ActivityManager.StackId.PINNED_STACK_ID) { in getStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipUtils.java19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
40 final StackInfo pinnedStackInfo = activityManager.getStackInfo(PINNED_STACK_ID); in getTopPinnedActivity()
DPipMotionHelper.java19 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()
DPipManager.java19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
210 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in onBusEvent()
DPipMenuActivityController.java19 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/
DDisplayContentTests.java19 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()
DTaskStackContainersTests.java19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
53 mPinnedStack = new StackWindowController(PINNED_STACK_ID, null, in setUp()
DWindowLayersControllerTests.java28 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/
DActivityManager.java673 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/
DPinnedStackController.java19 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()
DWindowLayersController.java27 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
190 if (stack.mStackId == PINNED_STACK_ID) { in collectSpecialWindows()
DTaskStack.java23 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()
DTask.java21 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()
DStackWindowController.java20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
289 if (mStackId == PINNED_STACK_ID && bounds.width() == mTmpDisplayBounds.width() && in adjustConfigurationForBounds()
DInputMonitor.java19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
653 if (w.getStackId() == PINNED_STACK_ID) { in accept()
DDisplayContent.java22 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()
DAppWindowToken.java20 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/
DPipManager.java56 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/
DActivityMetricsLogger.java10 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
113 if (stack.mStackId == PINNED_STACK_ID) { in logWindowState()
DActivityStackSupervisor.java35 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 …]
DActivityStack.java25 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 …]
DTaskRecord.java81 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()
DActivityRecord.java27 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/
DSystemServicesProxy.java24 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()

12