Home
last modified time | relevance | path

Searched refs:getStack (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java140 && mTmpParams.mPreferredDisplayId != task.getStack().getDisplay().mDisplayId) { in layoutTask()
145 && mTmpParams.mWindowingMode != task.getStack().getWindowingMode()) { in layoutTask()
146 task.getStack().setWindowingMode(mTmpParams.mWindowingMode); in layoutTask()
153 if (task.getStack().inFreeformWindowingMode()) { in layoutTask()
DRecentsAnimation.java108 ActivityStack targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity()
165 targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity()
249 final ActivityStack targetStack = mDefaultDisplay.getStack( in finishAnimation()
DRootActivityContainer.java860 ActivityStack stack = getStack(restoreStackId); in switchUser()
943 final ActivityStack stack = getStack(stackId); in moveStackToDisplay()
972 final ActivityStack stack = getStack(stackId); in moveTopStackActivityToPinnedStack()
1039 final TaskRecord newTask = task.getStack().createTaskRecord( in moveActivityToPinnedStack()
1247 protected <T extends ActivityStack> T getStack(int stackId) { in getStack() method in RootActivityContainer
1249 final T stack = mActivityDisplays.get(i).getStack(stackId); in getStack()
1258 private <T extends ActivityStack> T getStack(int windowingMode, int activityType) { in getStack() method in RootActivityContainer
1260 final T stack = mActivityDisplays.get(i).getStack(windowingMode, activityType); in getStack()
1309 ActivityStack stack = getStack(stackId); in getStackInfo()
1317 final ActivityStack stack = getStack(windowingMode, activityType); in getStackInfo()
[all …]
DActivityStackSupervisor.java500 final ActivityStack recentsStack = mRootActivityContainer.getDefaultDisplay().getStack( in moveRecentsStackToFront()
719 final ActivityStack stack = task.getStack(); in realStartActivityLocked()
1380 ActivityStack currentStack = task.getStack(); in findTaskToMoveToFront()
1883 final ActivityStack currentStack = task.getStack(); in restoreRecentTaskLocked()
1929 final ActivityStack prevStack = task.getStack(); in getReparentTargetStack()
2082 final ActivityStack stack = task.getStack(); in handleLaunchTaskBehindCompleteLocked()
2414 final int actualDisplayId = task.getStack().mDisplayId; in handleNonResizableTaskIfNeeded()
2455 task.getStack().getDisplay().getSplitScreenPrimaryStack(); in handleNonResizableTaskIfNeeded()
2501 if (task.getStack().deferScheduleMultiWindowModeChanged()) { in scheduleUpdateMultiWindowMode()
2518 final ActivityStack stack = task.getStack(); in scheduleUpdatePictureInPictureModeIfNeeded()
[all …]
DRecentTasks.java502 final ActivityStack stack = task != null ? task.getStack() : null; in notifyTaskPersisterLocked()
536 final ActivityStack stack = task.getStack(); in shouldPersistTaskLocked()
966 final ActivityStack stack = task.getStack(); in getPersistableTaskIds()
1300 if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "\ttop=" + task.getStack().topTask()); in isVisibleRecentTask()
1301 final ActivityStack stack = task.getStack(); in isVisibleRecentTask()
1311 final ActivityStack stack = task.getStack(); in isVisibleRecentTask()
1369 final ActivityStack stack = task.getStack(); in isTrimmable()
DAppWindowToken.java911 final TaskStack stack = getStack(); in onRemovedFromDisplay()
1028 TaskStack getStack() { in getStack() method in AppWindowToken
1055 final TaskStack stack = getStack(); in onParentChanged()
2017 Rect spaceToFill = (inMultiWindowMode() || getStack() == null) in layoutLetterbox()
2018 ? getTask().getDisplayedBounds() : getStack().getDisplayedBounds(); in layoutLetterbox()
2464 return getStack().getSurfaceControl(); in getAnimationLeashParent()
2517 if (appStackClipMode == STACK_CLIP_BEFORE_ANIM && getStack() != null) { in getAnimationBounds()
2519 return getStack().getBounds(); in getAnimationBounds()
2777 final TaskStack stack = getStack(); in onAnimationLeashCreated()
DActivityDisplay.java324 <T extends ActivityStack> T getStack(int stackId) { in getStack() method in ActivityDisplay
339 <T extends ActivityStack> T getStack(int windowingMode, int activityType) { in getStack() method in ActivityDisplay
378 T stack = getStack(windowingMode, activityType); in getOrCreateStack()
439 T stack = getStack(WINDOWING_MODE_UNDEFINED, activityType); in createStack()
DActivityStarter.java1929 if (mSourceRecord == null && mInTask != null && mInTask.getStack() != null) { in computeLaunchingTaskFlags()
2243 if (task != null && task.getStack() == null) { in setTaskFromIntentActivity()
2459 mTargetStack = mInTask.getStack(); in setTaskFromInTask()
2493 if (stack != mInTask.getStack()) { in setTaskFromInTask()
2496 mTargetStack = mInTask.getStack(); in setTaskFromInTask()
2518 final ActivityStack stack = task.getStack(); in updateBounds()
2597 final ActivityStack currentStack = task != null ? task.getStack() : null; in computeStackFocus()
2677 return mReuseTask.getStack(); in getLaunchStack()
2692 final ActivityStack parentStack = task != null ? task.getStack(): focusedStack; in getLaunchStack()
DLockTaskController.java595 final ActivityStack stack = task.getStack(); in setLockTaskMode()
601 DEFAULT_DISPLAY, task.getStack(), true /* forceNonResizable */); in setLockTaskMode()
DActivityRecord.java734 if (task == null || task.getStack() == null || !attachedToProcess()) { in updateMultiWindowMode()
738 if (task.getStack().deferScheduleMultiWindowModeChanged()) { in updateMultiWindowMode()
761 if (task == null || task.getStack() == null || !attachedToProcess()) { in updatePictureInPictureMode()
840 final ActivityStack newStack = task != null ? task.getStack() : null; in setTask()
1216 if (prevTask != null && newTask != null && prevTask.getStack() != newTask.getStack()) { in reparent()
1226 final ActivityStack prevStack = prevTask.getStack(); in reparent()
1228 if (prevStack != newTask.getStack()) { in reparent()
1313 return task != null ? (T) task.getStack() : null; in getActivityStack()
DRecentsAnimationController.java333 final TaskStack targetStack = dc.getStack(WINDOWING_MODE_UNDEFINED, targetActivityType); in initialize()
367 final AppWindowToken recentsComponentAppToken = dc.getStack(WINDOWING_MODE_UNDEFINED, in initialize()
DActivityTaskManagerService.java1614 res = tr.getStack().requestFinishActivityLocked(token, resultCode, in finishActivity()
1643 return task.getStack().finishActivityAffinityLocked(r); in finishActivityAffinity()
2046 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in setFocusedStack()
2202 if (task.getStack() != null) { in getTaskBounds()
2263 final ActivityStack stack = task.getStack(); in setTaskWindowingMode()
2565 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in moveTaskToStack()
2595 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in resizeStack()
2607 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in resizeStack()
2633 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in offsetPinnedStackBounds()
2696 final ActivityStack stack = task.getStack(); in setTaskWindowingModeSplitScreenPrimary()
[all …]
DTaskRecord.java456 final TaskStack stack = getStack().getTaskStack(); in createTask()
689 final ActivityStack sourceStack = getStack(); in reparent()
1000 <T extends ActivityStack> T getStack() { in getStack() method in TaskRecord
1867 final ActivityStack parent = getStack(); in onActivityStateChanged()
2044 if (getStack() == null || getStack().getDisplay() == null) { in calculateInsetFrames()
2047 DisplayPolicy policy = getStack().getDisplay().mDisplayContent.getDisplayPolicy(); in calculateInsetFrames()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAnimatingAppWindowTokenRegistryTest.java68 window1.getStack().getAnimatingAppWindowTokenRegistry(); in testDeferring()
91 window1.getStack().getAnimatingAppWindowTokenRegistry(); in testContainerRemoved()
DLaunchParamsControllerTests.java305 final int beforeWindowMode = task.getStack().getWindowingMode(); in testLayoutTaskWindowingModeChange()
310 final int afterWindowMode = task.getStack().getWindowingMode(); in testLayoutTaskWindowingModeChange()
425 mTmpParams.mPreferredDisplayId = task.getStack().mDisplayId; in saveTask()
DActivityStarterTests.java137 assertEquals(new Rect(), task.getStack().getRequestedOverrideBounds()); in testUpdateLaunchBounds()
144 assertThat((Object) task2.getStack()).isInstanceOf(ActivityStack.class); in testUpdateLaunchBounds()
147 verify(mService, times(1)).resizeStack(eq(task2.getStack().mStackId), in testUpdateLaunchBounds()
152 assertEquals(bounds, task2.getStack().getRequestedOverrideBounds()); in testUpdateLaunchBounds()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DTaskViewFocusFrame.java84 mTaskGridLayoutAlgorithm.updateTaskGridRect(mSv.getStack().getTaskCount()); in resize()
126 final TaskStack stack = mSv.getStack(); in onGlobalFocusChanged()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java301 final int taskCount = mTaskStackView.getStack().getTaskCount();
315 public TaskStack getStack() {
316 return mTaskStackView.getStack();
359 Task task = getStack().getLaunchTarget();
539 launchTaskFromRecents(getStack(), event.task, mTaskStackView, event.taskView,
621 getStack().removeTask(event.task, null, true /* fromDockGesture */);
637 EventBus.getDefault().send(new DragEndCancelledEvent(getStack(), event.task,
699 && getStack().getTaskCount() > 0) {
1070 if (getStack() != null) {
1071 getStack().dump(innerPrefix, writer);
DTaskStackAnimationHelper.java134 TaskStack stack = mStackView.getStack(); in prepareForEnterAnimation()
222 TaskStack stack = mStackView.getStack(); in startEnterAnimation()
316 TaskStack stack = mStackView.getStack(); in startExitToHomeAnimation()
442 TaskStack stack = mStackView.getStack(); in startScrollToFocusedTaskAnimation()
DTaskStackViewTouchHandler.java452 (mSv.getStack().indexOfTask(task) != -1); in canChildBeDismissed()
482 mCurrentTasks = new ArrayList<Task>(mSv.getStack().getTasks()); in onBeginDrag()
679 List<Task> tasks = mSv.getStack().getTasks(); in findViewAtPoint()
DRecentsTransitionComposer.java74 stackView.getStack().getFrontMostTask()) { in composeAnimationSpec()
DRecentsViewTouchHandler.java108 if (ev.getAction() == MotionEvent.ACTION_UP && mRv.getStack().getTaskCount() == 0) { in onTouchEvent()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockFindingClassVisitor.java129 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); in visitEnd()
143 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); in visitEnd()
/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h632 LDSection& getStack() { in getStack() function
637 const LDSection& getStack() const { in getStack() function
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java523 "Joining " + t + " timed out. Stack: \n" + getStack(t)); in joinAll()
531 private static String getStack(Thread t) { in getStack() method in LockSettingsStorageTests

12