Searched defs:mHeight (Results 1 - 25 of 60) sorted by relevance

123

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
H A DFrameBuffer.h29 int mHeight; member in class:FrameBuffer
/packages/apps/Settings/src/com/android/settings/applications/
H A DSpacePreference.java33 private int mHeight; field in class:SpacePreference
49 mHeight = a.getDimensionPixelSize(0, 0);
53 mHeight = height;
60 LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, mHeight);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DColorTexture.java26 private int mHeight; field in class:ColorTexture
31 mHeight = 1;
36 draw(canvas, x, y, mWidth, mHeight);
51 mHeight = height;
61 return mHeight;
H A DFadeTexture.java32 private final int mHeight; field in class:FadeTexture
38 mHeight = height;
46 draw(canvas, x, y, mWidth, mHeight);
61 return mHeight;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DProgressSpinner.java31 private final int mHeight; field in class:ProgressSpinner
42 mHeight = Math.max(mOuter.getHeight(), mInner.getHeight());
50 return mHeight;
73 canvas.translate(x + mWidth / 2, y + mHeight / 2);
H A DSlideshowView.java123 private final int mHeight; field in class:SlideshowView.SlideshowAnimation
130 mHeight = height;
133 MOVE_SPEED * mHeight * (random.nextFloat() - 0.5f));
143 viewWidth / mWidth, (float) viewHeight / mHeight);
H A DSurfaceTextureScreenNail.java38 private int mWidth, mHeight; field in class:SurfaceTextureScreenNail
47 mExtTexture.setSize(mWidth, mHeight);
49 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight);
87 mHeight = height;
92 mExtTexture.setSize(mWidth, mHeight);
93 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight);
104 return mHeight;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFastBitmapDrawable.java31 private int mHeight; field in class:FastBitmapDrawable
39 mHeight = mBitmap.getHeight();
41 mWidth = mHeight = 0;
83 return mHeight;
93 return mHeight;
100 mHeight = mBitmap.getHeight();
102 mWidth = mHeight = 0;
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DImagePersistTask.java42 private int mHeight; field in class:ImagePersistTask
62 mHeight = height;
101 Assert.equals(mHeight, bitmap.getWidth());
102 clippedWidth = (int) (mHeight * mHeightPercent);
106 Assert.equals(mHeight, bitmap.getHeight());
108 clippedHeight = (int) (mHeight * mHeightPercent);
113 mHeight = clippedHeight;
166 mCallback.onMediaReady(mOutputUri, ContentType.IMAGE_JPEG, mWidth, mHeight);
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuRow.java30 private final int mHeight; field in class:MenuRow
42 mHeight = context.getResources().getDimensionPixelSize(heightResId);
70 return mHeight;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DThumbnailLoadTask.java49 private final int mHeight; field in class:ThumbnailLoadTask
92 mHeight = height;
134 final int hDivider = Math.max(opts.outHeight / mHeight, 1);
138 opts.outWidth, opts.outHeight, mWidth, mHeight, opts.inSampleSize);
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageProxy.java91 private final int mHeight; field in class:AndroidImageProxy
107 mHeight = mImage.getHeight();
167 return mHeight;
/packages/apps/Camera2/src/com/android/camera/util/
H A DAspectRatio.java37 private final int mHeight; field in class:AspectRatio
45 mHeight = height;
68 return mHeight;
76 return (float) mWidth / (float) mHeight;
88 if (mHeight != that.mHeight)
98 return Objects.hashCode(mWidth, mHeight);
110 return of(mHeight, mWidth);
153 // this.mHeight other.mHeight
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallTypeIconsView.java46 private int mHeight; field in class:CallTypeIconsView
64 mHeight = 0;
73 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight());
86 mHeight = Math.max(mHeight, sResources.videoCall.getIntrinsicHeight());
133 setMeasuredDimension(mWidth, mHeight);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
H A DJPEGInputStream.java33 private int mHeight = 0; field in class:JPEGInputStream
64 return new Point(mWidth, mHeight);
177 mHeight = dimens.y;
H A DJPEGOutputStream.java27 private int mHeight = 0; field in class:JPEGOutputStream
61 mHeight = height;
91 int flag = setup(out, mWidth, mHeight, mFormat, mQuality);
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java56 int mHeight; field in class:BitmapRegionTileSource
73 mHeight = mDecoder.getHeight();
93 mWidth, mHeight,
111 return mHeight;
161 mOverlapRegion.set(0, 0, mWidth, mHeight);
191 float scale = (float) targetSize / Math.max(mWidth, mHeight);
/packages/apps/Camera2/src/com/android/camera/
H A DPanoProgressBar.java45 private float mHeight; field in class:PanoProgressBar
104 mHeight = h;
105 mDrawBounds.set(0, 0, mWidth, mHeight);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImage.java56 private int mHeight = UNKNOWN_LENGTH; field in class:BaseImage
149 mHeight = options.outHeight;
152 mHeight = 0;
164 if (mHeight == UNKNOWN_LENGTH) setupDimension();
165 return mHeight;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriImage.java56 private int mHeight; field in class:UriImage
178 mHeight = decoder.getHeight();
253 if (mWidth != 0 && mHeight != 0) {
255 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorBrightnessView.java47 private float mHeight; field in class:ColorBrightnessView
144 mHeight = h;
145 mDotY = mHeight / 2;
170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint);
171 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1);
H A DColorCompareView.java45 private float mHeight; field in class:ColorCompareView
99 if (x> mWidth-2*mHeight) {
115 mHeight = h;
126 mOrigRegion.lineTo(mWidth, mHeight);
127 mOrigRegion.lineTo(mWidth - mHeight * 2, mHeight);
128 mOrigRegion.lineTo(mWidth - mHeight, 0);
132 mRegion.lineTo(mWidth - mHeight, 0);
133 mRegion.lineTo(mWidth - mHeight * 2, mHeight);
[all...]
H A DColorHueView.java45 private float mHeight; field in class:ColorHueView
161 mHeight = h;
162 mDotY = mHeight / 2;
175 mRect.bottom = mHeight;
H A DColorOpacityView.java47 private float mHeight; field in class:ColorOpacityView
149 mHeight = h;
150 mDotY = mHeight / 2;
170 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mCheckPaint);
171 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mBarPaint1);
H A DColorRectView.java63 private int mHeight; field in class:ColorRectView
101 y = Math.max(Math.min(y, mHeight - mBorder), mBorder);
104 float sat = 1 - (mDotY - mBorder) / (mHeight - 2 * mBorder);
109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder);
123 mHeight = h;
152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP);
155 0, mBorder, 0, mHeight - mBorder, colors2, null, Shader.TileMode.CLAMP);
167 rect.bottom = mHeight - mBorder;
184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2));
185 mDotY = (float) ((1 - sat) * (mHeight
[all...]

Completed in 926 milliseconds

123