Lines Matching defs:width

94         int width = mAvailableRect.width();
96 mDefaultFreeformStartX = mAvailableRect.left + width / MARGIN_SIZE_DENOMINATOR;
98 mDefaultFreeformWidth = width / WINDOW_SIZE_DENOMINATOR;
100 mDefaultFreeformStepHorizontal = Math.max(width / STEP_DENOMINATOR, MINIMAL_STEP);
124 int width = getFinalWidth(windowLayout);
130 positionTopRight(task, tasks, width, height);
132 positionTopLeft(task, tasks, width, height);
136 positionBottomRight(task, tasks, width, height);
138 positionBottomLeft(task, tasks, width, height);
145 positionCenter(task, tasks, width, height);
150 int width = mDefaultFreeformWidth;
151 if (windowLayout.width > 0) {
152 width = windowLayout.width;
155 width = (int) (mAvailableRect.width() * windowLayout.widthFraction);
157 return width;
171 private void positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width,
174 mAvailableRect.left + width, mAvailableRect.bottom);
178 private void positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width,
180 mTmpProposal.set(mAvailableRect.right - width, mAvailableRect.bottom - height,
185 private void positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width,
188 mAvailableRect.left + width, mAvailableRect.top + height);
192 private void positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width,
194 mTmpProposal.set(mAvailableRect.right - width, mAvailableRect.top,
199 private void positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width,
202 mDefaultFreeformStartX + width, mDefaultFreeformStartY + height);
224 mAvailableRect.left + proposal.width(),