/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | BitmapWorkerOptions.java | 42 private int mHeight; field in class:BitmapWorkerOptions 59 private int mHeight; field in class:BitmapWorkerOptions.Builder 66 mHeight = MAX_IMAGE_DIMENSION_PX; 81 final int largestDim = Math.max(mWidth, mHeight); 85 mHeight *= scale; 90 options.mHeight = mHeight; 128 mHeight = height; 168 return mHeight;
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
H A D | CallTypeIconsView.java | 52 private int mHeight; field in class:CallTypeIconsView 75 mHeight = 0; 84 mHeight = Math.max(mHeight, drawable.getIntrinsicWidth()); 97 mHeight = Math.max(mHeight, sResources.videoCall.getIntrinsicHeight()); 115 mHeight = Math.max(mHeight, sResources.hdCall.getIntrinsicHeight()); 124 mHeight = Math.max(mHeight, sResource [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
H A D | GestureSelector.java | 46 private final IntSupplier mHeight; field in class:GestureSelector 60 mHeight = heightSupplier; 72 return mHeight.getAsInt();
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | BaseImage.java | 56 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 D | UriImage.java | 56 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 D | ColorBrightnessView.java | 47 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 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 | ColorHueView.java | 45 private float mHeight; field in class:ColorHueView 161 mHeight = h; 162 mDotY = mHeight / 2; 175 mRect.bottom = mHeight;
|
H A D | ColorOpacityView.java | 47 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 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; 183 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2)); 184 mDotY = (float) ((1 - sat) * (mHeight [all...] |
H A D | ColorSVRectView.java | 57 private int mHeight; field in class:ColorSVRectView 148 y = Math.max(Math.min(y, mHeight - mBorder), mBorder); 151 float sat = 1 - (mDotY - mBorder) / (mHeight - 2 * mBorder); 156 float value = (mDotX - mBorder) / (mHeight - 2 * mBorder); 170 mHeight = h; 185 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * sat); 186 mDotY = (float) ((1 - val) * (mHeight - 2 * mBorder) + mBorder);
|
H A D | ColorSaturationView.java | 47 private float mHeight; field in class:ColorSaturationView 144 mHeight = h; 145 mDotY = mHeight / 2; 169 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); 170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1);
|
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/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 45 protected int mHeight = UNSPECIFIED; field in class:BasicTexture 80 mHeight = height; 104 return mHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
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/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsBackgroundDrawable.java | 97 private final int mHeight; field in class:AllAppsBackgroundDrawable 104 mHeight = res.getDimensionPixelSize(R.dimen.all_apps_background_canvas_height); 155 return mHeight;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
H A D | GradientView.java | 58 private int mHeight; field in class:GradientView 109 if (mWidth + mHeight > 0) { 118 this.mHeight = getMeasuredHeight(); 119 if (mWidth + mHeight > 0) { 127 float radius = Math.max(mHeight, mWidth) * gradientCenterY; 128 float posScreenBottom = (radius - mHeight) / radius; // center lives below screen 132 mHeight * gradientCenterY, 143 mHeight * gradientCenterY, 167 float startMaskY = (1f - linearProgress) * mHeight - mMaskHeight * linearProgress; 172 mFinalMaskRect.set(0, div, mWidth, mHeight); [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoProgressBar.java | 42 private float mHeight; field in class:PanoProgressBar 99 mHeight = h; 100 mDrawBounds.set(0, 0, mWidth, mHeight);
|
/packages/apps/Music/src/com/android/music/ |
H A D | TouchInterceptor.java | 63 private int mHeight; field in class:TouchInterceptor 139 mHeight = getHeight(); 141 mUpperBound = Math.min(y - touchSlop, mHeight / 3); 142 mLowerBound = Math.max(y + touchSlop, mHeight * 2 / 3); 194 if (y >= mHeight / 3) { 195 mUpperBound = mHeight / 3; 197 if (y <= mHeight * 2 / 3) { 198 mLowerBound = mHeight * 2 / 3; 341 speed = y > (mHeight + mLowerBound) / 2 ? 16 : 4;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 439 private final int mHeight; field in class:ActivityPicker.EmptyDrawable 443 mHeight = height; 453 return mHeight; 463 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/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 44 protected int mHeight = UNSPECIFIED; field in class:BasicTexture 77 mHeight = height; 97 return mHeight;
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoCarousel.java | 59 private int mHeight; field in class:PhotoCarousel 212 if (width < mWidth && height < mHeight) { 279 mHeight = bottom - top; 282 mOrientation = (mWidth > mHeight ? LANDSCAPE : PORTRAIT); 284 mLongSide = (int) Math.max(mWidth, mHeight); 285 mShortSide = (int) Math.min(mWidth, mHeight);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | TextureViewHelper.java | 54 private int mHeight = 0; field in class:TextureViewHelper 108 if (mWidth != width || mHeight != height || mOrientation != rotation) { 110 mHeight = height; 129 mPreviewArea.set(0, 0, mWidth, mHeight); 201 RectF previewRect = new RectF(0, 0, mWidth, mHeight); 230 mPreviewArea.set(0, 0, mWidth, mHeight); 294 transform.preRotate(270, mWidth / 2, mHeight / 2); 298 transform.preRotate(180, mWidth / 2, mHeight / 2); 302 transform.preRotate(90, mWidth / 2, mHeight / 2); 333 if (mAspectRatio == MATCH_SCREEN || mAspectRatio < 0 || mWidth == 0 || mHeight [all...] |
/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...] |