Home
last modified time | relevance | path

Searched refs:getStack (Results 1 – 25 of 44) 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.java105 ActivityStack targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in preloadRecentsActivity()
125 targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, mTargetActivityType); in preloadRecentsActivity()
172 ActivityStack targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity()
219 targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity()
304 final ActivityStack targetStack = mDefaultDisplay.getStack( in finishAnimation()
DRootActivityContainer.java861 ActivityStack stack = getStack(restoreStackId); in switchUser()
944 final ActivityStack stack = getStack(stackId); in moveStackToDisplay()
973 final ActivityStack stack = getStack(stackId); in moveTopStackActivityToPinnedStack()
1040 final TaskRecord newTask = task.getStack().createTaskRecord( in moveActivityToPinnedStack()
1257 protected <T extends ActivityStack> T getStack(int stackId) { in getStack() method in RootActivityContainer
1259 final T stack = mActivityDisplays.get(i).getStack(stackId); in getStack()
1268 private <T extends ActivityStack> T getStack(int windowingMode, int activityType) { in getStack() method in RootActivityContainer
1270 final T stack = mActivityDisplays.get(i).getStack(windowingMode, activityType); in getStack()
1319 ActivityStack stack = getStack(stackId); in getStackInfo()
1327 final ActivityStack stack = getStack(windowingMode, activityType); in getStackInfo()
[all …]
DActivityStackSupervisor.java515 final ActivityStack recentsStack = mRootActivityContainer.getDefaultDisplay().getStack( in moveRecentsStackToFront()
734 final ActivityStack stack = task.getStack(); in realStartActivityLocked()
1383 ActivityStack currentStack = task.getStack(); in findTaskToMoveToFront()
1887 final ActivityStack currentStack = task.getStack(); in restoreRecentTaskLocked()
1933 final ActivityStack prevStack = task.getStack(); in getReparentTargetStack()
2086 final ActivityStack stack = task.getStack(); in handleLaunchTaskBehindCompleteLocked()
2418 final int actualDisplayId = task.getStack().mDisplayId; in handleNonResizableTaskIfNeeded()
2459 task.getStack().getDisplay().getSplitScreenPrimaryStack(); in handleNonResizableTaskIfNeeded()
2505 if (task.getStack().deferScheduleMultiWindowModeChanged()) { in scheduleUpdateMultiWindowMode()
2522 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.java912 final TaskStack stack = getStack(); in onRemovedFromDisplay()
1029 TaskStack getStack() { in getStack() method in AppWindowToken
1056 final TaskStack stack = getStack(); in onParentChanged()
2033 Rect spaceToFill = (inMultiWindowMode() || getStack() == null) in layoutLetterbox()
2034 ? getTask().getDisplayedBounds() : getStack().getDisplayedBounds(); in layoutLetterbox()
2480 return getStack().getSurfaceControl(); in getAnimationLeashParent()
2533 if (appStackClipMode == STACK_CLIP_BEFORE_ANIM && getStack() != null) { in getAnimationBounds()
2535 return getStack().getBounds(); in getAnimationBounds()
2793 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.java1948 if (mSourceRecord == null && mInTask != null && mInTask.getStack() != null) { in computeLaunchingTaskFlags()
2262 if (task != null && task.getStack() == null) { in setTaskFromIntentActivity()
2478 mTargetStack = mInTask.getStack(); in setTaskFromInTask()
2512 if (stack != mInTask.getStack()) { in setTaskFromInTask()
2515 mTargetStack = mInTask.getStack(); in setTaskFromInTask()
2537 final ActivityStack stack = task.getStack(); in updateBounds()
2616 final ActivityStack currentStack = task != null ? task.getStack() : null; in computeStackFocus()
2696 return mReuseTask.getStack(); in getLaunchStack()
2712 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()
1217 if (prevTask != null && newTask != null && prevTask.getStack() != newTask.getStack()) { in reparent()
1227 final ActivityStack prevStack = prevTask.getStack(); in reparent()
1229 if (prevStack != newTask.getStack()) { in reparent()
1315 return task != null ? (T) task.getStack() : null; in getActivityStack()
DActivityTaskManagerService.java1629 res = tr.getStack().requestFinishActivityLocked(token, resultCode, in finishActivity()
1658 return task.getStack().finishActivityAffinityLocked(r); in finishActivityAffinity()
2061 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in setFocusedStack()
2217 if (task.getStack() != null) { in getTaskBounds()
2278 final ActivityStack stack = task.getStack(); in setTaskWindowingMode()
2587 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in moveTaskToStack()
2617 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in resizeStack()
2629 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in resizeStack()
2655 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in offsetPinnedStackBounds()
2718 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()
DRecentsAnimationTest.java142 ActivityStack recentsStack = display.getStack(WINDOWING_MODE_FULLSCREEN, in testPreloadRecentsActivity()
325 ActivityStack homeStack = display.getStack(WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME); in testMultipleUserHomeActivity_findUserHomeTask()
/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.java453 (mSv.getStack().indexOfTask(task) != -1); in canChildBeDismissed()
483 mCurrentTasks = new ArrayList<Task>(mSv.getStack().getTasks()); in onBeginDrag()
680 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.java567 "Joining " + t + " timed out. Stack: \n" + getStack(t)); in joinAll()
575 private static String getStack(Thread t) { in getStack() method in LockSettingsStorageTests

12