Home
last modified time | relevance | path

Searched refs:stackBounds (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java2120 final Rect stackBounds = stackInfo.bounds;
2121 int travelRight = stackBounds.width() - taskBounds.width();
2123 int travelDown = stackBounds.height() - taskBounds.height();
2131 travelRight = moveTask(taskId, taskBounds, stackBounds, stepSize,
2137 travelDown = moveTask(taskId, taskBounds, stackBounds, stepSize,
2143 travelLeft = moveTask(taskId, taskBounds, stackBounds, stepSize,
2149 travelUp = moveTask(taskId, taskBounds, stackBounds, stepSize,
2219 final Rect stackBounds = stackInfo.bounds;
2220 stackBounds.inset(STACK_BOUNDS_INSET, STACK_BOUNDS_INSET);
2227 currentTaskBounds.top, stackBounds.top, stepSize, GREATER_THAN_TARGET);
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DLaunchingTaskPositioner.java88 void configure(Rect stackBounds) { in configure() argument
89 if (stackBounds == null) { in configure()
92 mAvailableRect.set(stackBounds); in configure()
DActivityStackSupervisor.java4327 private static void fitWithinBounds(Rect bounds, Rect stackBounds) { in fitWithinBounds() argument
4328 if (stackBounds == null || stackBounds.contains(bounds)) { in fitWithinBounds()
4332 if (bounds.left < stackBounds.left || bounds.right > stackBounds.right) { in fitWithinBounds()
4333 final int maxRight = stackBounds.right in fitWithinBounds()
4334 - (stackBounds.width() / FIT_WITHIN_BOUNDS_DIVIDER); in fitWithinBounds()
4335 int horizontalDiff = stackBounds.left - bounds.left; in fitWithinBounds()
4344 if (bounds.top < stackBounds.top || bounds.bottom > stackBounds.bottom) { in fitWithinBounds()
4345 final int maxBottom = stackBounds.bottom in fitWithinBounds()
4346 - (stackBounds.height() / FIT_WITHIN_BOUNDS_DIVIDER); in fitWithinBounds()
4347 int verticalDiff = stackBounds.top - bounds.top; in fitWithinBounds()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java175 Rect stackBounds, SparseArray<Configuration> configs, SparseArray<Rect> taskBounds, in setBounds() argument
177 setBounds(stackBounds); in setBounds()
DWindowManagerService.java6220 final Rect stackBounds = new Rect(); in screenshotApplicationsInner() local
6309 ws.getVisibleBounds(stackBounds); in screenshotApplicationsInner()
6310 if (!Rect.intersects(frame, stackBounds)) { in screenshotApplicationsInner()