Lines Matching refs:width
62 int width, int height, int gravity) { in OverlayDisplayWindow() argument
65 mWidth = width; in OverlayDisplayWindow()
71 int width, int height, int gravity) { in create() argument
73 return new JellybeanMr1Impl(context, name, width, height, gravity); in create()
75 return new LegacyImpl(context, name, width, height, gravity); in create()
91 public abstract void updateAspectRatio(int width, int height); in updateAspectRatio() argument
110 int width, int height, int gravity) { in LegacyImpl() argument
111 super(context, name, width, height, gravity); in LegacyImpl()
135 int width = (int)(display.getWidth() * INITIAL_SCALE); in show() local
138 height = mHeight * width / mWidth; in show()
140 width = mWidth * height / mHeight; in show()
142 params.width = width; in show()
165 public void updateAspectRatio(int width, int height) { in updateAspectRatio() argument
202 int width, int height, int gravity) { in JellybeanMr1Impl() argument
203 super(context, name, width, height, gravity); in JellybeanMr1Impl()
242 public void updateAspectRatio(int width, int height) { in updateAspectRatio() argument
243 if (mWidth * height < mHeight * width) { in updateAspectRatio()
244 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio()
245 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio()
247 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio()
276 mTextureView.getLayoutParams().width = mWidth; in createWindow()
323 int width = (int)(mWidth * scale); in updateWindowParams() local
325 int x = (int)(mWindowX + mLiveTranslationX - width * offsetScale); in updateWindowParams()
327 x = Math.max(0, Math.min(x, mDefaultDisplayMetrics.widthPixels - width)); in updateWindowParams()
334 + ", width=" + width + ", height=" + height); in updateWindowParams()
341 (mWidth - mTextureView.getLayoutParams().width) * scale / 2); in updateWindowParams()
347 mWindowParams.width = width; in updateWindowParams()
393 int width, int height) {
409 int width, int height) {