Lines Matching refs:mWidth
56 protected final int mWidth; field in OverlayDisplayWindow
65 mWidth = width; 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()
244 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio()
245 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio()
276 mTextureView.getLayoutParams().width = mWidth; in createWindow()
318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); in updateWindowParams()
323 int width = (int)(mWidth * scale); in updateWindowParams()
341 (mWidth - mTextureView.getLayoutParams().width) * scale / 2); in updateWindowParams()