• Home
  • Raw
  • Download

Lines Matching refs:width

224     public void onNonDecorWindowSizeChanged(int width, int height, int rotation) {  in onNonDecorWindowSizeChanged()  argument
225 mWindowWidth = width; in onNonDecorWindowSizeChanged()
244 private PositionConfiguration getPositionConfiguration(int width, int height, in getPositionConfiguration() argument
246 boolean landscape = width > height; in getPositionConfiguration()
252 config.mPreviewRect.set(0, 0, width, height); in getPositionConfiguration()
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height); in getPositionConfiguration()
257 config.mBottomBarRect.set(0, height - mBottomBarOptimalHeight, width, height); in getPositionConfiguration()
265 int longerEdge = Math.max(width, height); in getPositionConfiguration()
266 int shorterEdge = Math.min(width, height); in getPositionConfiguration()
284 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2, in getPositionConfiguration()
285 width, height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
287 config.mPreviewRect.set(width / 2 - previewShorterEdge / 2, 0, in getPositionConfiguration()
288 width / 2 + previewShorterEdge / 2, previewLongerEdge); in getPositionConfiguration()
289 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize, in getPositionConfiguration()
290 width / 2 + previewShorterEdge / 2, height); in getPositionConfiguration()
301 float right = width; in getPositionConfiguration()
304 config.mBottomBarRect.set(width - barSize, 0, width, height); in getPositionConfiguration()
309 config.mBottomBarRect.set(0, height - barSize, width, height); in getPositionConfiguration()
320 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2, in getPositionConfiguration()
321 width, height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
323 config.mPreviewRect.set(width / 2 - previewShorterEdge / 2, 0, in getPositionConfiguration()
324 width / 2 + previewShorterEdge / 2, previewLongerEdge); in getPositionConfiguration()
325 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize, in getPositionConfiguration()
326 width / 2 + previewShorterEdge / 2, height); in getPositionConfiguration()
336 float right = width - barSize; in getPositionConfiguration()
339 config.mBottomBarRect.set(width - barSize, 0, width, height); in getPositionConfiguration()
344 config.mBottomBarRect.set(0, height - barSize, width, height); in getPositionConfiguration()
352 rotate.setRotate(180, width / 2, height / 2); in getPositionConfiguration()