Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java140 final Rect taskBounds; in create() local
183 taskBounds = new Rect(); in create()
184 task.getBounds(taskBounds); in create()
186 taskBounds = null; in create()
203 navigationBarColor, sysUiVis, windowFlags, windowPrivateFlags, taskBounds, in create()
222 Rect taskBounds, int currentOrientation) { in TaskSnapshotSurface() argument
231 mTaskBounds = taskBounds; in TaskSnapshotSurface()
DBoundsAnimationTarget.java47 boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds); in setPinnedStackSize() argument
DStackWindowController.java193 SparseArray<Rect> taskBounds, SparseArray<Rect> taskTempInsetBounds) { in resize() argument
200 if (mContainer.setBounds(bounds, configs, taskBounds, taskTempInsetBounds) in resize()
DTaskStack.java182 Rect stackBounds, SparseArray<Configuration> configs, SparseArray<Rect> taskBounds, in setBounds() argument
191 Rect bounds = taskBounds.get(task.mTaskId); in setBounds()
DWindowManagerService.java1493 final Rect taskBounds; in addWindow() local
1495 taskBounds = mTmpRect; in addWindow()
1498 taskBounds = null; in addWindow()
1500 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, displayInfo.rotation, in addWindow()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java158 public boolean setPinnedStackSize(Rect stackBounds, Rect taskBounds) { in setPinnedStackSize() argument
167 mTaskBounds = taskBounds; in setPinnedStackSize()
570 private boolean assertEqualSizeAtOffset(Rect stackBounds, Rect taskBounds) { in assertEqualSizeAtOffset() argument
571 mTmpRect.set(taskBounds); in assertEqualSizeAtOffset()
DTaskSnapshotSurfaceTest.java59 int windowFlags, Rect taskBounds) { in setupSurface() argument
65 Color.WHITE, Color.RED, Color.BLUE, sysuiVis, windowFlags, 0, taskBounds, in setupSurface()
DWindowFrameTests.java260 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask() local
261 TaskWithBounds task = new TaskWithBounds(taskBounds); in testLayoutNonfullscreenTask()
DTestWindowManagerPolicy.java301 public boolean getInsetHintLw(WindowManager.LayoutParams attrs, Rect taskBounds,
/frameworks/base/core/java/android/app/
DActivityManager.java2773 public Rect[] taskBounds; field in ActivityManager.StackInfo
2796 final int boundsCount = taskBounds == null ? 0 : taskBounds.length; in writeToParcel()
2799 dest.writeInt(taskBounds[i].left); in writeToParcel()
2800 dest.writeInt(taskBounds[i].top); in writeToParcel()
2801 dest.writeInt(taskBounds[i].right); in writeToParcel()
2802 dest.writeInt(taskBounds[i].bottom); in writeToParcel()
2825 taskBounds = new Rect[boundsCount]; in readFromParcel()
2827 taskBounds[i] = new Rect(); in readFromParcel()
2828 taskBounds[i].set( in readFromParcel()
2832 taskBounds = null; in readFromParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1876 final Rect taskBounds = getBounds();
1877 if (bounds == null || taskBounds == null) {
1881 mInterface.resizeDockedStack(bounds, taskBounds, null, null, null);
2115 Rect taskBounds;
2117 taskBounds = mInterface.getTaskBounds(taskId);
2119 int travelRight = stackBounds.width() - taskBounds.width();
2121 int travelDown = stackBounds.height() - taskBounds.height();
2130 travelRight = moveTask(taskId, taskBounds, stackBounds, stepSize,
2137 travelDown = moveTask(taskId, taskBounds, stackBounds, stepSize,
2144 travelLeft = moveTask(taskId, taskBounds, stackBounds, stepSize,
[all …]
DActivityStackSupervisor.java4058 Rect[] taskBounds = new Rect[numTasks]; in getStackInfoLocked() local
4067 taskBounds[i] = new Rect(); in getStackInfoLocked()
4068 task.getWindowContainerBounds(taskBounds[i]); in getStackInfoLocked()
4073 info.taskBounds = taskBounds; in getStackInfoLocked()
DActivityStack.java4765 final Rect taskBounds = tempTaskBounds != null ? tempTaskBounds : bounds; in resize() local
4766 final Rect insetBounds = tempTaskInsetBounds != null ? tempTaskInsetBounds : taskBounds; in resize()
4783 task.updateOverrideConfiguration(taskBounds, insetBounds); in resize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DRecentsView.java274 public boolean launchTask(Task task, Rect taskBounds, int destinationStack) { in launchTask() argument
282 EventBus.getDefault().send(new LaunchTaskEvent(tv, task, taskBounds, in launchTask()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java1176 public boolean getInsetHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, in getInsetHintLw() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4274 public boolean getInsetHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, in getInsetHintLw() argument
4330 if (taskBounds != null) { in getInsetHintLw()
4331 calculateRelevantTaskInsets(taskBounds, outContentInsets, in getInsetHintLw()
4333 calculateRelevantTaskInsets(taskBounds, outStableInsets, in getInsetHintLw()
4347 private void calculateRelevantTaskInsets(Rect taskBounds, Rect inOutInsets, int displayWidth, in calculateRelevantTaskInsets() argument
4351 mTmpRect.intersect(taskBounds); in calculateRelevantTaskInsets()
4352 int leftInset = mTmpRect.left - taskBounds.left; in calculateRelevantTaskInsets()
4353 int topInset = mTmpRect.top - taskBounds.top; in calculateRelevantTaskInsets()
4354 int rightInset = taskBounds.right - mTmpRect.right; in calculateRelevantTaskInsets()
4355 int bottomInset = taskBounds.bottom - mTmpRect.bottom; in calculateRelevantTaskInsets()