Lines Matching refs:mHeight
57 protected final int mHeight; field in OverlayDisplayWindow
66 mHeight = height; in OverlayDisplayWindow()
137 if (mWidth > mHeight) { in show()
138 height = mHeight * width / mWidth; in show()
140 width = mWidth * height / mHeight; in show()
243 if (mWidth * height < mHeight * width) { in updateAspectRatio()
247 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio()
248 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio()
277 mTextureView.getLayoutParams().height = mHeight; in createWindow()
319 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams()
324 int height = (int)(mHeight * scale); in updateWindowParams()
343 (mHeight - mTextureView.getLayoutParams().height) * scale / 2); in updateWindowParams()