/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AspectRatio.java | 37 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 D | ColorTexture.java | 26 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 D | FadeTexture.java | 32 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 D | ManualLayoutFrame.java | 32 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 D | FastBitmapDrawable.java | 31 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 D | PieListView.java | 47 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 D | PieStackView.java | 65 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 D | StopProgressView.java | 18 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 D | SpacePreference.java | 33 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 D | RenderScriptScene.java | 27 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 D | RenderScriptScene.java | 28 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 D | SurfaceTextureScreenNail.java | 38 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 D | ProgressSpinner.java | 31 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 D | TiledScreenNail.java | 49 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 D | BitmapWorkerOptions.java | 47 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 D | ConversationOverlayItem.java | 33 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 D | FrameBuffer.cpp | 15 mHeight = 0; 65 mHeight = height; 97 return mHeight;
|
H A D | FrameBuffer.h | 32 int mHeight; member in class:FrameBuffer
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorCompareView.java | 45 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 D | ColorRectView.java | 63 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 D | ColorValueView.java | 42 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 D | FrameBuffer.cpp | 15 mHeight = 0; 63 mHeight = height; 95 return mHeight;
|
H A D | FrameBuffer.h | 29 int mHeight; member in class:FrameBuffer
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | JPEGOutputStream.java | 27 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 D | ModeTransitionView.java | 75 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...] |