Home
last modified time | relevance | path

Searched refs:mStackId (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java66 final int mStackId; field in TaskStack
140 mStackId = stackId; in TaskStack()
155 if (mStackId != HOME_STACK_ID) { in findHomeTask()
316 || !StackId.isResizeableByDockedStack(mStackId) in useCurrentBounds()
401 final int oldDockSide = mStackId == DOCKED_STACK_ID ? getDockSide() : DOCKED_INVALID; in updateBoundsAfterConfigChange()
404 if (mStackId == DOCKED_STACK_ID) { in updateBoundsAfterConfigChange()
557 if (StackId.windowsAreScaleable(mStackId)) { in positionTask()
650 "animation background stackId=" + mStackId); in attachDisplayContent()
654 if (mStackId == DOCKED_STACK_ID in attachDisplayContent()
655 || (dockedStack != null && StackId.isResizeableByDockedStack(mStackId) in attachDisplayContent()
[all …]
DTask.java420 || !StackId.isTaskResizeableByDockedStack(mStack.mStackId) in useCurrentBounds()
528 if (!DragResizeMode.isModeAllowedForStack(mStack.mStackId, dragResizeMode)) { in setDragResizing()
530 + mStack.mStackId + " dragResizeMode=" + dragResizeMode); in setDragResizing()
592 if (!StackId.isTaskResizeAllowed(mStack.mStackId)) { in updateDisplayInfo()
704 return mStack != null && mStack.mStackId == HOME_STACK_ID; in inHomeStack()
708 return mStack != null && mStack.mStackId == FREEFORM_WORKSPACE_STACK_ID; in inFreeformWorkspace()
712 return mStack != null && mStack.mStackId == DOCKED_STACK_ID; in inDockedWorkspace()
716 return mStack != null && mStack.mStackId == PINNED_STACK_ID; in inPinnedWorkspace()
722 && mStack != null && StackId.isTaskResizeableByDockedStack(mStack.mStackId); in isResizeableByDockedStack()
726 return StackId.tasksAreFloating(mStack.mStackId); in isFloating()
DDisplayContent.java235 if (stack.mStackId == HOME_STACK_ID) { in attachStack()
250 if (StackId.isAlwaysOnTop(stack.mStackId) && !toTop) { in moveStack()
264 && stack.mStackId != PINNED_STACK_ID) { in moveStack()
269 if (topStack.mStackId != PINNED_STACK_ID) { in moveStack()
325 if (!StackId.isTaskResizeAllowed(stack.mStackId)) { in findTaskForControlPoint()
DWindowLayersController.java193 if (stack.mStackId == PINNED_STACK_ID) { in collectSpecialWindows()
195 } else if (stack.mStackId == DOCKED_STACK_ID) { in collectSpecialWindows()
DTaskPositioner.java487 if (mTask.mStack.mStackId != FREEFORM_WORKSPACE_STACK_ID in getDimSide()
DWindowStateAnimator.java1368 if (StackId.hasWindowShadow(stack.mStackId) in adjustCropToStackBounds()
1369 && !StackId.isTaskResizeAllowed(stack.mStackId)) { in adjustCropToStackBounds()
1795 if (task != null && StackId.windowsAreScaleable(task.mStack.mStackId)) { in showSurfaceRobustlyLocked()
DAppWindowToken.java303 return StackId.canReceiveKeys(mTask.mStack.mStackId) || mAlwaysFocusable; in windowsAreFocusable()
DWindowState.java1827 return stack != null && StackId.keepVisibleDeadAppWindowOnScreen(stack.mStackId); in shouldKeepVisibleDeadAppWindow()
2375 return stack.mStackId; in getStackId()
2523 pw.print(" stackId="); pw.print(stack.mStackId); in dump()
DWallpaperController.java506 inFreeformSpace = stack != null && stack.mStackId == FREEFORM_WORKSPACE_STACK_ID; in findWallpaperTarget()
DWindowManagerService.java3808 mChangedStackList.add(stack.mStackId); in onConfigurationChanged()
4792 Slog.v(TAG_WM, " Stack #" + stack.mStackId + " tasks from bottom to top:"); in dumpAppTokensLocked()
5023 if (stack.mStackId == DOCKED_STACK_ID) { in detachStackLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityMetricsLogger.java78 if (stack.mStackId == PINNED_STACK_ID) { in logWindowState()
81 if (stack.mStackId == HOME_STACK_ID in logWindowState()
82 || stack.mStackId == FULLSCREEN_WORKSPACE_STACK_ID) { in logWindowState()
84 } else if (stack.mStackId == DOCKED_STACK_ID) { in logWindowState()
88 } else if (stack.mStackId == FREEFORM_WORKSPACE_STACK_ID) { in logWindowState()
90 } else if (StackId.isStaticStack(stack.mStackId)) { in logWindowState()
DActivityStarter.java540 postStartActivityUncheckedProcessing(r, err, stack.mStackId, mSourceRecord, mTargetStack); in startActivityLocked()
565 startedActivityStackId = r.task.stack.mStackId; in postStartActivityUncheckedProcessing()
567 startedActivityStackId = targetStack.mStackId; in postStartActivityUncheckedProcessing()
1078 top.task, preferredLaunchStackId, topStack.mStackId); in startActivityUnchecked()
1173 mStartActivity.task, preferredLaunchStackId, mTargetStack.mStackId); in startActivityUnchecked()
1481 } else if (launchStack.mStackId == DOCKED_STACK_ID in setTargetStackAndMoveToFrontIfNeeded()
1482 || launchStack.mStackId == FULLSCREEN_WORKSPACE_STACK_ID) { in setTargetStackAndMoveToFrontIfNeeded()
1487 launchStack.mStackId, ON_TOP, FORCE_FOCUS, "launchToSide", in setTargetStackAndMoveToFrontIfNeeded()
1512 mTargetStack.mStackId); in setTargetStackAndMoveToFrontIfNeeded()
1528 } else if (focusedStack == null || focusedStack.mStackId == HOME_STACK_ID) { in updateTaskReturnToType()
[all …]
DActivityStackSupervisor.java869 + stack.mStackId + " " + resumedActivity + " not idle"); in allResumedActivitiesIdle()
1865 if (stackId != task.stack.mStackId) { in findTaskToMoveToFrontLocked()
1868 stackId = stack.mStackId; in findTaskToMoveToFrontLocked()
1893 handleNonResizableTaskIfNeeded(task, INVALID_STACK_ID, task.stack.mStackId, in findTaskToMoveToFrontLocked()
1973 mActivityContainers.put(activityContainer.mStackId, activityContainer); in createVirtualActivityContainer()
1995 final int stackId = activityContainer.mStackId; in deleteActivityContainer()
2076 if (stack.mStackId == FREEFORM_WORKSPACE_STACK_ID) { in resizeStackUncheckedLocked()
2096 mWindowManager.prepareFreezingTaskBounds(stack.mStackId); in resizeStackUncheckedLocked()
2097 stack.mFullscreen = mWindowManager.resizeStack(stack.mStackId, bounds, mTmpConfigs, in resizeStackUncheckedLocked()
2257 if (task.stack != null && task.stack.mStackId != FREEFORM_WORKSPACE_STACK_ID) { in resizeTaskLocked()
[all …]
DActivityStack.java325 final int mStackId; field in ActivityStack
445 mStackId = activityContainer.mStackId; in ActivityStack()
448 mTaskPositioner = mStackId == FREEFORM_WORKSPACE_STACK_ID in ActivityStack()
455 mBounds = mWindowManager.attachStack(mStackId, activityDisplay.mDisplayId, onTop); in attachDisplay()
462 if (mStackId == DOCKED_STACK_ID) { in attachDisplay()
476 mWindowManager.detachStack(mStackId); in detachDisplay()
477 if (mStackId == DOCKED_STACK_ID) { in detachDisplay()
659 return mStackId == HOME_STACK_ID; in isHomeStack()
663 return mStackId == DOCKED_STACK_ID; in isDockedStack()
667 return mStackId == PINNED_STACK_ID; in isPinnedStack()
[all …]
DTaskRecord.java808 if (stack != null && stack.mStackId == PINNED_STACK_ID) { in removeActivity()
1403 if (stack.mStackId != PINNED_STACK_ID) { in adjustForMinimalTaskDimensions()
1463 if (mBounds != null && StackId.persistTaskBounds(stack.mStackId)) { in updateOverrideConfiguration()
1476 if (stack == null || StackId.persistTaskBounds(stack.mStackId)) { in updateOverrideConfiguration()
1625 if (inStack.mStackId == FREEFORM_WORKSPACE_STACK_ID) { in updateOverrideConfigurationForStack()
1669 final int stackId = stack.mStackId; in getLaunchBounds()
1683 return rootAffinity != null && (stack == null || stack.mStackId != PINNED_STACK_ID); in canMatchRootAffinity()
1775 pw.print(prefix); pw.print("stackId="); pw.println(stack.mStackId); in dump()
1793 sb.append(stack != null ? stack.mStackId : INVALID_STACK_ID); in toString()
DActivityRecord.java481 appToken, task.stack.mStackId == PINNED_STACK_ID); in schedulePictureInPictureModeChanged()
489 && task.stack.mStackId == FREEFORM_WORKSPACE_STACK_ID; in isFreeform()
839 return StackId.canReceiveKeys(task.stack.mStackId) || isAlwaysFocusable();
DActivityManagerService.java7501 return stack.mStackId == PINNED_STACK_ID;
9016 rti.stackId = tr.stack != null ? tr.stack.mStackId : -1;
9354 int stackId = task.stack.mStackId; in resizeTask()
9380 if (stackId != task.stack.mStackId) { in resizeTask()
9780 return stack.mStackId; in getActivityStackId()
9795 if (stack == null || stack.mStackId != FREEFORM_WORKSPACE_STACK_ID) { in exitFreeformMode()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java209 int mStackId; field in DecorView
1348 if (StackId.hasWindowShadow(mStackId)) {
1739 if (mStackId != workspaceId) {
1740 mStackId = workspaceId;
1741 if (mDecorCaptionView == null && StackId.hasWindowDecor(mStackId)) {
1756 mDecorCaptionView.onConfigurationChanged(StackId.hasWindowDecor(mStackId));
1765 mStackId = getStackId();
1829 if (!mWindow.isFloating() && isApplication && StackId.hasWindowDecor(mStackId)) {
2116 if (StackId.hasWindowShadow(mStackId) && !isResizing()) {
2123 if (!mAllowUpdateElevation && mStackId != PINNED_STACK_ID) {
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java113 private int mStackId; field in Am
487 mStackId = INVALID_STACK_ID; in makeIntent()
517 mStackId = Integer.parseInt(nextArgRequired()); in makeIntent()
625 if (mStackId != INVALID_STACK_ID) {
627 options.setLaunchStackId(mStackId);