Lines Matching refs:height
62 int width, int height, int gravity) {
66 mHeight = height;
71 int width, int height, int gravity) {
73 return new JellybeanMr1Impl(context, name, width, height, gravity);
75 return new LegacyImpl(context, name, width, height, gravity);
91 public abstract void updateAspectRatio(int width, int height);
110 int width, int height, int gravity) {
111 super(context, name, width, height, gravity);
136 int height = (int)(display.getHeight() * INITIAL_SCALE);
138 height = mHeight * width / mWidth;
140 width = mWidth * height / mHeight;
143 params.height = height;
165 public void updateAspectRatio(int width, int height) {
202 int width, int height, int gravity) {
203 super(context, name, width, height, gravity);
242 public void updateAspectRatio(int width, int height) {
243 if (mWidth * height < mHeight * width) {
245 mTextureView.getLayoutParams().height = mWidth * height / width;
247 mTextureView.getLayoutParams().width = mHeight * width / height;
248 mTextureView.getLayoutParams().height = mHeight;
277 mTextureView.getLayoutParams().height = mHeight;
324 int height = (int)(mHeight * scale);
326 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale);
328 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height));
334 + ", width=" + width + ", height=" + height);
343 (mHeight - mTextureView.getLayoutParams().height) * scale / 2);
348 mWindowParams.height = height;
393 int width, int height) {
409 int width, int height) {