/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterColorBorder.java | 30 RectF mBounds = new RectF(); field in ImageFilterColorBorder 62 mBounds.set(0, 0, w, h); in applyHelper() 66 float bs = size / 100.f * mBounds.width(); in applyHelper() 67 float r = radius / 100.f * mBounds.width(); in applyHelper() 69 mInsideBounds.set(mBounds.left + bs, in applyHelper() 70 mBounds.top + bs, mBounds.right - bs, in applyHelper() 71 mBounds.bottom - bs); in applyHelper() 73 mBorderPath.moveTo(mBounds.left, mBounds.top); in applyHelper() 74 mBorderPath.lineTo(mBounds.right, mBounds.top); in applyHelper() 75 mBorderPath.lineTo(mBounds.right, mBounds.bottom); in applyHelper() [all …]
|
D | RedEyeCandidate.java | 23 RectF mBounds = new RectF(); field in RedEyeCandidate 27 mBounds.set(candidate.mBounds); in RedEyeCandidate() 32 mBounds.set(bounds); in RedEyeCandidate() 37 && candidate.mBounds.equals(mBounds)) { in equals()
|
D | FilterRedEyeRepresentation.java | 61 bounds.union(r.mBounds); in addRect()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TransformingTouchDelegate.java | 34 private final RectF mBounds; field in TransformingTouchDelegate 47 mBounds = new RectF(); in TransformingTouchDelegate() 52 mBounds.set(left, top, right, bottom); in setBounds() 62 mTouchCheckBounds.set(mBounds); in updateTouchBounds() 83 mWasTouchOutsideBounds = !mBounds.contains(event.getX(), event.getY()); in onTouchEvent() 101 event.setLocation(mBounds.centerX(), mBounds.centerY()); in onTouchEvent() 103 event.offsetLocation(-mBounds.left, -mBounds.top); in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLView.java | 59 protected final Rect mBounds = new Rect(); field in GLView 188 return mBounds; in bounds() 192 return mBounds.right - mBounds.left; in getWidth() 196 return mBounds.bottom - mBounds.top; in getHeight() 271 int xoffset = component.mBounds.left - mScrollX; in renderChild() 272 int yoffset = component.mBounds.top - mScrollY; in renderChild() 297 Rect rect = component.mBounds; in dispatchTouchEvent() 359 boolean sizeChanged = (right - left) != (mBounds.right - mBounds.left) in setBounds() 360 || (bottom - top) != (mBounds.bottom - mBounds.top); in setBounds() 361 mBounds.set(left, top, right, bottom); in setBounds() [all …]
|
D | EdgeEffect.java | 412 private Rect mBounds = new Rect(); field in EdgeEffect.Drawable 428 mBounds.set(left, top, right, bottom); in setBounds() 438 Rect b = mBounds; in draw()
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | AutoThumbnailDrawable.java | 57 private Rect mBounds = new Rect(); field in AutoThumbnailDrawable 97 mBounds.set(bounds); in onBoundsChange() 98 if (mBounds.isEmpty()) { in onBoundsChange() 112 canvas.clipRect(mBounds); in draw() 122 if (mBitmap == null || mBounds.isEmpty()) { in updateDrawMatrixLocked() 132 int vwidth = mBounds.width(); in updateDrawMatrixLocked() 133 int vheight = mBounds.height(); in updateDrawMatrixLocked() 156 int vwidth = mBounds.width(); in calculateSampleSizeLocked() 157 int vheight = mBounds.height(); in calculateSampleSizeLocked() 170 if (mBounds.isEmpty() || mImageWidth == 0 || mImageHeight == 0) { in refreshSampleSizeLocked() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | AnimationParticle.java | 51 private final Rect mBounds; // bounds for the canvas field in AnimationParticle 78 mBounds = bounds; in AnimationParticle() 219 final float w = mBounds.right - mBounds.exactCenterX() - mBorderWidth; in drawDot() 220 final float h = mBounds.bottom - mBounds.exactCenterY() - mBorderWidth; in drawDot() 222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot() 223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot() 231 mBounds.width() - mBorderWidth, mBounds.height() - mBorderWidth); in drawRing()
|
D | FaceEnrollAnimationDrawable.java | 45 private Rect mBounds; field in FaceEnrollAnimationDrawable 95 mBounds = bounds; in onBoundsChange() 111 if (mBounds == null) { in draw() 117 canvas.drawRect(0, 0, mBounds.width(), mBounds.height(), mSquarePaint); in draw() 120 canvas.drawCircle(mBounds.exactCenterX(), mBounds.exactCenterY(), in draw() 121 mBounds.height() / 2 - BORDER_BOUNDS, mCircleCutoutPaint); in draw()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | AnimationParticle.java | 51 private final Rect mBounds; // bounds for the canvas field in AnimationParticle 78 mBounds = bounds; in AnimationParticle() 219 final float w = mBounds.right - mBounds.exactCenterX() - mBorderWidth; in drawDot() 220 final float h = mBounds.bottom - mBounds.exactCenterY() - mBorderWidth; in drawDot() 222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot() 223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot() 231 mBounds.width() - mBorderWidth, mBounds.height() - mBorderWidth); in drawRing()
|
D | FaceEnrollAnimationDrawable.java | 45 private Rect mBounds; field in FaceEnrollAnimationDrawable 95 mBounds = bounds; in onBoundsChange() 111 if (mBounds == null) { in draw() 117 canvas.drawRect(0, 0, mBounds.width(), mBounds.height(), mSquarePaint); in draw() 120 canvas.drawCircle(mBounds.exactCenterX(), mBounds.exactCenterY(), in draw() 121 mBounds.height() / 2 - BORDER_BOUNDS, mCircleCutoutPaint); in draw()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitScreenBounds.java | 50 private WindowBounds mBounds; field in SplitScreenBounds 56 if (!bounds.equals(mBounds)) { in setSecondaryWindowBounds() 57 mBounds = bounds; in setSecondaryWindowBounds() 65 if (mBounds == null) { in getSecondaryWindowBounds() 66 mBounds = createDefaultWindowBounds(context); in getSecondaryWindowBounds() 68 return mBounds; in getSecondaryWindowBounds()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | VerticalListDividerDecoration.java | 42 private final Rect mBounds = new Rect(); field in VerticalListDividerDecoration 101 parent.getDecoratedBoundsWithMargins(child, mBounds); in drawVertical() 102 final int bottom = mBounds.bottom + Math.round(child.getTranslationY()); in drawVertical()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | RenderingRequest.java | 36 private Rect mBounds = null; field in RenderingRequest 167 return mBounds; in getBounds() 171 mBounds = bounds; in setBounds()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperCropActivity.java | 446 private final Point mBounds; 455 mBounds = bounds; 461 setBoundsAndFinish(mBounds, cropSucceeded && mShouldFadeOutOnFinish);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 101 private RectF mBounds = new RectF(); field in PinnedHeaderListView 574 mBounds.set(0, 0, view.getWidth(), view.getHeight()); in drawHeader() 575 canvas.saveLayerAlpha(mBounds, header.alpha); in drawHeader()
|