Lines Matching refs:height

224     public void onNonDecorWindowSizeChanged(int width, int height, int rotation) {  in onNonDecorWindowSizeChanged()  argument
226 mWindowHeight = height; 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()
282 … config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge, in getPositionConfiguration()
283 height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
284 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2, in getPositionConfiguration()
285 width, height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
289 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize, in getPositionConfiguration()
290 width / 2 + previewShorterEdge / 2, height); in getPositionConfiguration()
304 config.mBottomBarRect.set(width - barSize, 0, width, height); in getPositionConfiguration()
306 float bottom = height; in getPositionConfiguration()
309 config.mBottomBarRect.set(0, height - barSize, width, height); in getPositionConfiguration()
318 … config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge, in getPositionConfiguration()
319 height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
320 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2, in getPositionConfiguration()
321 width, height / 2 + previewShorterEdge / 2); in getPositionConfiguration()
325 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize, in getPositionConfiguration()
326 width / 2 + previewShorterEdge / 2, height); in getPositionConfiguration()
339 config.mBottomBarRect.set(width - barSize, 0, width, height); in getPositionConfiguration()
341 float bottom = height - barSize; in getPositionConfiguration()
344 config.mBottomBarRect.set(0, height - barSize, width, height); in getPositionConfiguration()
352 rotate.setRotate(180, width / 2, height / 2); in getPositionConfiguration()