Lines Matching refs:width
62 int width, int height, int gravity) {
65 mWidth = width;
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);
135 int width = (int)(display.getWidth() * INITIAL_SCALE);
138 height = mHeight * width / mWidth;
140 width = mWidth * height / mHeight;
142 params.width = width;
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) {
244 mTextureView.getLayoutParams().width = mWidth;
245 mTextureView.getLayoutParams().height = mWidth * height / width;
247 mTextureView.getLayoutParams().width = mHeight * width / height;
276 mTextureView.getLayoutParams().width = mWidth;
323 int width = (int)(mWidth * scale);
325 int x = (int)(mWindowX + mLiveTranslationX - width * offsetScale);
327 x = Math.max(0, Math.min(x, mDefaultDisplayMetrics.widthPixels - width));
334 + ", width=" + width + ", height=" + height);
341 (mWidth - mTextureView.getLayoutParams().width) * scale / 2);
347 mWindowParams.width = width;
393 int width, int height) {
409 int width, int height) {