Searched refs:mHeight (Results 1 - 25 of 81) sorted by relevance

1234

/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/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/
H A DManualLayoutFrame.java32 private int mHeight; field in class:ManualLayoutFrame
55 if (mHeight == 0 && mDesiredHeight != 0) {
57 mHeight = mDesiredHeight;
60 if (mHeight != 0) {
62 setMeasuredDimension(getMeasuredWidth(), 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/Browser/src/com/android/browser/view/
H A DPieListView.java47 mHeight = mChildHeight * mAdapter.getCount();
49 mTop = Math.max(anchorY - mHeight / 2, 0);
50 if (mTop + mHeight > pHeight) {
51 mTop = pHeight - mHeight;
69 canvas.drawRect(mLeft, mTop, mLeft + mWidth, mTop + mHeight, mBgPaint);
79 final int ix = (y - mTop) * mViews.size() / mHeight;
H A DPieStackView.java65 mHeight = mChildHeight + (mViews.size() - 1) * mMinHeight;
67 mTop = anchorY - mHeight / 2;
76 int dy = (n == 1) ? 0 : (mHeight - mChildHeight) / (n - 1);
100 final int ix = (y - mTop) * mViews.size() / mHeight;
H A DStopProgressView.java18 int mHeight; field in class:StopProgressView
76 mHeight = (bottom - top) * 2 / 3;
84 int t = (getHeight() - mHeight) / 2;
85 mOverlayDrawable.setBounds(l, t, l + mWidth, t + mHeight);
/packages/apps/Settings/src/com/android/settings/applications/
H A DSpacePreference.java33 private int mHeight; field in class:SpacePreference
48 mHeight = a.getDimensionPixelSize(0, 0);
52 mHeight = height;
64 LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, mHeight);
/packages/wallpapers/Basic/src/com/android/wallpaper/
H A DRenderScriptScene.java27 protected int mHeight; field in class:RenderScriptScene
35 mHeight = height;
54 return mHeight;
81 mHeight = height;
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptScene.java28 protected int mHeight; field in class:RenderScriptScene
37 mHeight = height;
56 return mHeight;
85 mHeight = height;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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;
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 DTiledScreenNail.java49 private int mHeight; field in class:TiledScreenNail
57 mHeight = bitmap.getHeight();
82 mHeight = Math.round(scale * height);
101 mHeight = newer.mHeight;
127 return mHeight;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DBitmapWorkerOptions.java47 private int mHeight; field in class:BitmapWorkerOptions
64 private int mHeight; field in class:BitmapWorkerOptions.Builder
71 mHeight = MAX_IMAGE_DIMENSION_PX;
86 final int largestDim = Math.max(mWidth, mHeight);
90 mHeight *= scale;
95 options.mHeight = mHeight;
133 mHeight = height;
173 return mHeight;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationOverlayItem.java33 private int mHeight; // in px field in class:ConversationOverlayItem
97 return mHeight;
108 if (mHeight != h) {
109 mHeight = h;
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/
H A DFrameBuffer.cpp15 mHeight = 0;
65 mHeight = height;
97 return mHeight;
H A DFrameBuffer.h32 int mHeight; member in class:FrameBuffer
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
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 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...]
H A DColorValueView.java42 private float mHeight; field in class:ColorValueView
98 if (mDotY > mHeight - mBorder) {
99 mDotY = mHeight - mBorder;
101 mHSVO[2] = (mDotY - mBorder) / (mHeight - mBorder * 2);
113 float pos = mHSVO[2] * (mHeight - mBorder * 2);
126 mHeight = h;
139 Shader sg = new LinearGradient(mBorder, mBorder, mBorder, mHeight - mBorder, color1, color2,
148 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1);
149 canvas.drawLine(mDotX, mDotY, mDotX, mHeight - mBorder, mLinePaint2);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
H A DFrameBuffer.cpp15 mHeight = 0;
63 mHeight = height;
95 return mHeight;
H A DFrameBuffer.h29 int mHeight; member in class:FrameBuffer
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
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/Camera2/src/com/android/camera/ui/
H A DModeTransitionView.java75 private int mHeight = 0; field in class:ModeTransitionView
125 mShadePath.addRect(0, mHeight - getScrollDistance(), mWidth, mHeight,
135 if (shadeHeight < mHeight / 2 || mHeight == 0) {
138 int alpha = ((int) shadeHeight - mHeight / 2) * ALPHA_FULLY_OPAQUE
139 / (mHeight / 2);
156 scrollDistance = Math.min(scrollDistance, mHeight);
160 scrollDistance = Math.max(scrollDistance, -mHeight);
196 mHeight
[all...]

Completed in 1115 milliseconds

1234