Home
last modified time | relevance | path

Searched refs:mWindowHeight (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DCaptureLayoutHelper.java47 private int mWindowHeight = 0; field in CaptureLayoutHelper
105 if (mWindowWidth == 0 || mWindowHeight == 0) { in updatePositionConfiguration()
108 mPositionConfiguration = getPositionConfiguration(mWindowWidth, mWindowHeight, mAspectRatio, in updatePositionConfiguration()
153 return new RectF(0, 0, mWindowWidth, mWindowHeight); in getFullscreenRect()
178 if (mWindowHeight > mWindowWidth) { in getUncoveredPreviewRect()
226 mWindowHeight = height; in onNonDecorWindowSizeChanged()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java76 private int mWindowHeight; field in TvViewUiManager
124 mWindowHeight = size.y; in TvViewUiManager()
158 if (mWindowWidth != windowWidth || mWindowHeight != windowHeight) { in TvViewUiManager()
160 mWindowHeight = windowHeight; in TvViewUiManager()
578 float verticalScaleFactor = (float) tvViewHeight / mWindowHeight; in updatePipView()
733 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode()
747 videoRatio = (double) mWindowWidth / mWindowHeight; in applyDisplayMode()
753 int tvViewFrameTop = (mWindowHeight - availableAreaHeight) / 2; in applyDisplayMode()
826 lp.height = mWindowHeight - topMargin - bottomMargin; in createMarginLayoutParams()