Lines Matching refs:bounds

1840         final Rect bounds = getBounds();
1841 if (bounds == null) {
1842 getErrPrintWriter().println("Error: invalid input bounds");
1845 return resizeStack(stackId, bounds, 0);
1851 final Rect bounds;
1853 bounds = null;
1855 bounds = getBounds();
1856 if (bounds == null) {
1857 getErrPrintWriter().println("Error: invalid input bounds");
1861 return resizeStackUnchecked(stackId, bounds, 0, true);
1864 int resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate)
1867 mInterface.resizeStack(stackId, bounds, false, false, animate, -1);
1875 final Rect bounds = getBounds();
1877 if (bounds == null || taskBounds == null) {
1878 getErrPrintWriter().println("Error: invalid input bounds");
1881 mInterface.resizeDockedStack(bounds, taskBounds, null, null, null);
1885 int resizeStack(int stackId, Rect bounds, int delayMs) throws RemoteException {
1886 if (bounds == null) {
1887 getErrPrintWriter().println("Error: invalid input bounds");
1890 return resizeStackUnchecked(stackId, bounds, delayMs, false);
1930 final Rect bounds = getBounds();
1931 if (bounds == null) {
1932 getErrPrintWriter().println("Error: invalid input bounds");
1936 if (!mInterface.moveTopActivityToPinnedStack(stackId, bounds)) {
1955 if (info.bounds == null) {
1956 err.println("Docked stack doesn't have a bounds");
1959 Rect bounds = info.bounds;
1962 final int changeSize = (horizontalGrowth ? bounds.width() : bounds.height()) / 2;
1966 currentPoint = bounds.left;
1969 currentPoint = bounds.right;
1972 currentPoint = bounds.top;
1975 currentPoint = bounds.bottom;
1992 setBoundsSide(bounds, side, currentPoint);
1993 int res = resizeStack(DOCKED_STACK_ID, bounds, delayMs);
2004 setBoundsSide(bounds, side, currentPoint);
2005 int res = resizeStack(DOCKED_STACK_ID, bounds, delayMs);
2016 setBoundsSide(bounds, side, currentPoint);
2017 int res = resizeStack(DOCKED_STACK_ID, bounds, delayMs);
2025 void setBoundsSide(Rect bounds, String side, int value) {
2028 bounds.left = value;
2031 bounds.right = value;
2034 bounds.top = value;
2037 bounds.bottom = value;
2090 final Rect bounds = getBounds();
2091 if (bounds == null) {
2092 getErrPrintWriter().println("Error: invalid input bounds");
2095 taskResize(taskId, bounds, 0, false);
2099 void taskResize(int taskId, Rect bounds, int delay_ms, boolean pretendUserResize)
2102 mInterface.resizeTask(taskId, bounds, resizeMode);
2118 final Rect stackBounds = stackInfo.bounds;
2232 final Rect stackBounds = stackInfo.bounds;
2660 pw.println(" and supplying temporary different task bounds indicated by");
2669 pw.println(" bounds of the pinned stack.");
2690 pw.println(" Makes sure <TASK_ID> is in a stack with the specified bounds.");
2692 pw.println(" has the specified bounds.");