Searched refs:taskBounds (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DBoundsAnimationTarget.java44 * but freezes the bounds of any tasks in the target at taskBounds, to allow for more
53 boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds); argument
H A DTaskSnapshotSurface.java141 final Rect taskBounds;
197 taskBounds = new Rect();
198 task.getBounds(taskBounds);
214 navigationBarColor, sysUiVis, windowFlags, windowPrivateFlags, taskBounds,
233 Rect taskBounds, int currentOrientation) {
242 mTaskBounds = taskBounds;
230 TaskSnapshotSurface(WindowManagerService service, Window window, Surface surface, TaskSnapshot snapshot, CharSequence title, int backgroundColor, int statusBarColor, int navigationBarColor, int sysUiVis, int windowFlags, int windowPrivateFlags, Rect taskBounds, int currentOrientation) argument
H A DStackWindowController.java176 * @param taskBounds Bounds for tasks in the resized stack, keyed by task id.
179 public void resize(Rect bounds, SparseArray<Rect> taskBounds, argument
187 if (mContainer.setBounds(bounds, taskBounds, taskTempInsetBounds)
H A DTaskStack.java183 * @param taskBounds Bounds for individual tasks, keyed by task id.
188 Rect stackBounds, SparseArray<Rect> taskBounds, SparseArray<Rect> taskTempInsetBounds) {
194 task.setBounds(taskBounds.get(task.mTaskId), false /* forced */);
187 setBounds( Rect stackBounds, SparseArray<Rect> taskBounds, SparseArray<Rect> taskTempInsetBounds) argument
H A DWindowManagerService.java1463 final Rect taskBounds;
1465 taskBounds = mTmpRect;
1468 taskBounds = null;
1470 if (mPolicy.getLayoutHintLw(win.mAttrs, taskBounds, displayFrames, outFrame,
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DBoundsAnimationControllerTests.java167 public boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds) { argument
176 mTaskBounds = taskBounds;
590 private boolean assertEqualSizeAtOffset(Rect stackBounds, Rect taskBounds) { argument
591 mTmpRect.set(taskBounds);
H A DWindowFrameTests.java275 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom);
276 TaskWithBounds task = new TaskWithBounds(taskBounds);
389 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom);
390 TaskWithBounds task = new TaskWithBounds(taskBounds);
H A DTaskSnapshotSurfaceTest.java60 int windowFlags, Rect taskBounds) {
67 Color.WHITE, Color.RED, Color.BLUE, sysuiVis, windowFlags, 0, taskBounds,
59 setupSurface(int width, int height, Rect contentInsets, int sysuiVis, int windowFlags, Rect taskBounds) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
H A DPhoneWindowManagerLayoutTest.java312 mPolicy.getLayoutHintLw(mAppWindow.attrs, null /* taskBounds */, mFrames, frame, content,
349 final Rect taskBounds = new Rect(100, 100, 200, 200);
358 mPolicy.getLayoutHintLw(mAppWindow.attrs, taskBounds, mFrames, outFrame, outContentInsets,
361 assertThat(outFrame, is(taskBounds));
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityRecordTests.java182 private void verifyPositionWithLimitedAspectRatio(int navBarPosition, Rect taskBounds, argument
186 mTask.getConfiguration().windowConfiguration.setAppBounds(taskBounds);
/frameworks/base/core/java/android/app/
H A DActivityManager.java2624 public Rect[] taskBounds; field in class:ActivityManager.StackInfo
2652 final int boundsCount = taskBounds == null ? 0 : taskBounds.length;
2655 dest.writeInt(taskBounds[i].left);
2656 dest.writeInt(taskBounds[i].top);
2657 dest.writeInt(taskBounds[i].right);
2658 dest.writeInt(taskBounds[i].bottom);
2682 taskBounds = new Rect[boundsCount];
2684 taskBounds[i] = new Rect();
2685 taskBounds[
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowManagerPolicy.java1187 * @param taskBounds The bounds of the task this window is on or {@code null} if no task is
1199 default boolean getLayoutHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, argument
H A DPhoneWindowManager.java4544 public boolean getLayoutHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, argument
4609 if (taskBounds != null) {
4610 calculateRelevantTaskInsets(taskBounds, outContentInsets,
4612 calculateRelevantTaskInsets(taskBounds, outStableInsets,
4614 outFrame.intersect(taskBounds);
4625 if (taskBounds != null) {
4626 outFrame.intersect(taskBounds);
4640 private void calculateRelevantTaskInsets(Rect taskBounds, Rect inOutInsets, int displayWidth, argument
4644 mTmpRect.intersect(taskBounds);
4645 int leftInset = mTmpRect.left - taskBounds
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStackSupervisor.java4426 Rect[] taskBounds = new Rect[numTasks];
4435 taskBounds[i] = new Rect();
4436 task.getWindowContainerBounds(taskBounds[i]);
4441 info.taskBounds = taskBounds;
H A DActivityManagerShellCommand.java2511 final Rect taskBounds = getBounds();
2512 if (bounds == null || taskBounds == null) {
2516 mInterface.resizeDockedStack(bounds, taskBounds, null, null, null);
H A DActivityStack.java4766 final Rect taskBounds = tempTaskBounds != null ? tempTaskBounds : bounds;
4767 final Rect insetBounds = tempTaskInsetBounds != null ? tempTaskInsetBounds : taskBounds;
4785 task.updateOverrideConfiguration(taskBounds, insetBounds);

Completed in 307 milliseconds