Home
last modified time | relevance | path

Searched refs:taskBounds (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java141 final Rect taskBounds; in create() local
197 taskBounds = new Rect(); in create()
198 task.getBounds(taskBounds); in create()
214 navigationBarColor, sysUiVis, windowFlags, windowPrivateFlags, taskBounds, in create()
233 Rect taskBounds, int currentOrientation) { in TaskSnapshotSurface() argument
242 mTaskBounds = taskBounds; in TaskSnapshotSurface()
DBoundsAnimationTarget.java53 boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds); in setPinnedStackSize() argument
DStackWindowController.java179 public void resize(Rect bounds, SparseArray<Rect> taskBounds, in resize() argument
187 if (mContainer.setBounds(bounds, taskBounds, taskTempInsetBounds) in resize()
DTaskStack.java188 Rect stackBounds, SparseArray<Rect> taskBounds, SparseArray<Rect> taskTempInsetBounds) { in setBounds() argument
194 task.setBounds(taskBounds.get(task.mTaskId), false /* forced */); in setBounds()
DWindowManagerService.java1463 final Rect taskBounds; in addWindow() local
1465 taskBounds = mTmpRect; in addWindow()
1468 taskBounds = null; in addWindow()
1470 if (mPolicy.getLayoutHintLw(win.mAttrs, taskBounds, displayFrames, outFrame, in addWindow()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java167 public boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds) { in setPinnedStackSize() argument
176 mTaskBounds = taskBounds; in setPinnedStackSize()
590 private boolean assertEqualSizeAtOffset(Rect stackBounds, Rect taskBounds) { in assertEqualSizeAtOffset() argument
591 mTmpRect.set(taskBounds); in assertEqualSizeAtOffset()
DWindowFrameTests.java275 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask() local
276 TaskWithBounds task = new TaskWithBounds(taskBounds); in testLayoutNonfullscreenTask()
389 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom); in testLayoutLetterboxedWindow() local
390 TaskWithBounds task = new TaskWithBounds(taskBounds); in testLayoutLetterboxedWindow()
DTaskSnapshotSurfaceTest.java60 int windowFlags, Rect taskBounds) { in setupSurface() argument
67 Color.WHITE, Color.RED, Color.BLUE, sysuiVis, windowFlags, 0, taskBounds, in setupSurface()
/frameworks/base/core/java/android/app/
DActivityManager.java2624 public Rect[] taskBounds; field in ActivityManager.StackInfo
2652 final int boundsCount = taskBounds == null ? 0 : taskBounds.length; in writeToParcel()
2655 dest.writeInt(taskBounds[i].left); in writeToParcel()
2656 dest.writeInt(taskBounds[i].top); in writeToParcel()
2657 dest.writeInt(taskBounds[i].right); in writeToParcel()
2658 dest.writeInt(taskBounds[i].bottom); in writeToParcel()
2682 taskBounds = new Rect[boundsCount]; in readFromParcel()
2684 taskBounds[i] = new Rect(); in readFromParcel()
2685 taskBounds[i].set( in readFromParcel()
2689 taskBounds = null; in readFromParcel()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DPhoneWindowManagerLayoutTest.java349 final Rect taskBounds = new Rect(100, 100, 200, 200); in layoutHint_appWindowInTask() local
358 mPolicy.getLayoutHintLw(mAppWindow.attrs, taskBounds, mFrames, outFrame, outContentInsets, in layoutHint_appWindowInTask()
361 assertThat(outFrame, is(taskBounds)); in layoutHint_appWindowInTask()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityRecordTests.java182 private void verifyPositionWithLimitedAspectRatio(int navBarPosition, Rect taskBounds, in verifyPositionWithLimitedAspectRatio() argument
186 mTask.getConfiguration().windowConfiguration.setAppBounds(taskBounds); in verifyPositionWithLimitedAspectRatio()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4544 public boolean getLayoutHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, in getLayoutHintLw() argument
4609 if (taskBounds != null) { in getLayoutHintLw()
4610 calculateRelevantTaskInsets(taskBounds, outContentInsets, in getLayoutHintLw()
4612 calculateRelevantTaskInsets(taskBounds, outStableInsets, in getLayoutHintLw()
4614 outFrame.intersect(taskBounds); in getLayoutHintLw()
4625 if (taskBounds != null) { in getLayoutHintLw()
4626 outFrame.intersect(taskBounds); in getLayoutHintLw()
4640 private void calculateRelevantTaskInsets(Rect taskBounds, Rect inOutInsets, int displayWidth, in calculateRelevantTaskInsets() argument
4644 mTmpRect.intersect(taskBounds); in calculateRelevantTaskInsets()
4645 int leftInset = mTmpRect.left - taskBounds.left; in calculateRelevantTaskInsets()
[all …]
DWindowManagerPolicy.java1199 default boolean getLayoutHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, in getLayoutHintLw() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java4426 Rect[] taskBounds = new Rect[numTasks]; in getStackInfo() local
4435 taskBounds[i] = new Rect(); in getStackInfo()
4436 task.getWindowContainerBounds(taskBounds[i]); in getStackInfo()
4441 info.taskBounds = taskBounds; in getStackInfo()
DActivityManagerShellCommand.java2511 final Rect taskBounds = getBounds();
2512 if (bounds == null || taskBounds == null) {
2516 mInterface.resizeDockedStack(bounds, taskBounds, null, null, null);
DActivityStack.java4766 final Rect taskBounds = tempTaskBounds != null ? tempTaskBounds : bounds; in resize() local
4767 final Rect insetBounds = tempTaskInsetBounds != null ? tempTaskInsetBounds : taskBounds; in resize()
4785 task.updateOverrideConfiguration(taskBounds, insetBounds); in resize()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt130 Landroid/app/ActivityManager$StackInfo;->taskBounds:[Landroid/graphics/Rect;
Dhiddenapi-private-dex.txt1759 Landroid/app/ActivityManager$StackInfo;->taskBounds:[Landroid/graphics/Rect;