Lines Matching refs:height

62             int width, int height, int gravity) {  in OverlayDisplayWindow()  argument
66 mHeight = height; 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()
136 int height = (int)(display.getHeight() * INITIAL_SCALE); in show() local
138 height = mHeight * width / mWidth; in show()
140 width = mWidth * height / mHeight; in show()
143 params.height = height; 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()
245 mTextureView.getLayoutParams().height = mWidth * height / 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()
324 int height = (int)(mHeight * scale); in updateWindowParams() local
326 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); in updateWindowParams()
328 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height)); in updateWindowParams()
334 + ", width=" + width + ", height=" + height); in updateWindowParams()
343 (mHeight - mTextureView.getLayoutParams().height) * scale / 2); in updateWindowParams()
348 mWindowParams.height = height; in updateWindowParams()
393 int width, int height) {
409 int width, int height) {