Home
last modified time | relevance | path

Searched refs:mWindowHeight (Results 1 – 3 of 3) 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.java72 private int mWindowHeight; field in TvViewUiManager
145 mWindowHeight = size.y; in TvViewUiManager()
167 if (mWindowWidth != windowWidth || mWindowHeight != windowHeight) { in onConfigurationChanged()
169 mWindowHeight = windowHeight; in onConfigurationChanged()
502 videoDisplayAspectRatio = (float) mWindowWidth / mWindowHeight; in applyDisplayMode()
519 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode()
571 int tvViewFrameTop = (mWindowHeight - availableAreaHeight) / 2; in applyDisplayMode()
615 lp.height = mWindowHeight - topMargin - bottomMargin; in createMarginLayoutParams()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java90 private int mWindowHeight; field in DvrPlaybackOverlayFragment
157 mWindowHeight = size.y; in onCreate()
158 mWindowAspectRatio = mAppliedAspectRatio = (float) mWindowWidth / mWindowHeight; in onCreate()
322 mWindowHeight = windowHeight; in onWindowSizeChanged()
323 mWindowAspectRatio = (float) mWindowWidth / mWindowHeight; in onWindowSizeChanged()
435 int newPadding = (mWindowWidth - Math.round(mWindowHeight * videoAspectRatio)) / 2; in updateAspectRatio()
438 int newPadding = (mWindowHeight - Math.round(mWindowWidth / videoAspectRatio)) / 2; in updateAspectRatio()