Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java75 private int mWindowWidth; field in TvViewUiManager
123 mWindowWidth = size.x; in TvViewUiManager()
135 mTvViewPapWidth = (mWindowWidth - papSpacing) / 2 - papMarginHorizontal; in TvViewUiManager()
158 if (mWindowWidth != windowWidth || mWindowHeight != windowHeight) { in TvViewUiManager()
159 mWindowWidth = windowWidth; in TvViewUiManager()
189 float factor = 1.0f - sidePanelWidth / mWindowWidth; in startShrunkenTvView()
577 float horizontalScaleFactor = (float) tvViewWidth / mWindowWidth; in updatePipView()
732 int availableAreaWidth = mWindowWidth - mTvViewStartMargin - mTvViewEndMargin; in applyDisplayMode()
733 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode()
747 videoRatio = (double) mWindowWidth / mWindowHeight; in applyDisplayMode()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DCaptureLayoutHelper.java46 private int mWindowWidth = 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()
225 mWindowWidth = width; in onNonDecorWindowSizeChanged()