Searched refs:mRect (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRectShape.java32 private RectF mRect = new RectF(); field in class:RectShape
38 canvas.drawRect(mRect, paint);
50 mRect.set(0, 0, width, height);
57 return mRect;
63 shape.mRect = new RectF(mRect);
/frameworks/base/core/java/android/animation/
H A DRectEvaluator.java27 * mRect will be modified and returned on every evaluate.
29 private Rect mRect; field in class:RectEvaluator
51 mRect = reuseRect;
77 if (mRect == null) {
80 mRect.set(left, top, right, bottom);
81 return mRect;
/frameworks/support/transition/src/main/java/androidx/transition/
H A DRectEvaluator.java29 * mRect will be modified and returned on every evaluate.
31 private Rect mRect; field in class:RectEvaluator
53 mRect = reuseRect;
79 if (mRect == null) {
82 mRect.set(left, top, right, bottom);
83 return mRect;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
H A DAppTransitionAnimationSpecCompat.java29 private Rect mRect; field in class:AppTransitionAnimationSpecCompat
34 mRect = rect;
39 mBuffer != null ? mBuffer.createGraphicBufferHandle() : null, mRect);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DRectFEvaluator.java26 private final RectF mRect = new RectF(); field in class:RectFEvaluator
49 mRect.set(left, top, right, bottom);
50 return mRect;
/frameworks/base/graphics/java/android/graphics/
H A DOutline.java69 public final Rect mRect = new Rect(); field in class:Outline
99 mRect.setEmpty();
164 mRect.set(src.mRect);
200 mRect.set(left, top, right, bottom);
224 outRect.set(mRect);
262 mRect.setEmpty();
293 mRect.setEmpty();
302 mRect.offset(dx, dy);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipOutlineActivity.java63 private Rect mRect = new Rect(); field in class:ClipOutlineActivity.RegionView
74 mRect.set(0, 0, w, h);
75 mRect.offset((int) (mClipPosition * w), getHeight() / 4);
77 outline.setRoundRect(mRect, w / 2);
H A DMultiProducerActivity.java279 private Rect mRect; field in class:MultiProducerActivity.ColorPulse
286 mRect = new Rect(rect.left + BORDER_WIDTH / 2, rect.top + BORDER_WIDTH / 2,
312 if (mRect != null && !mRect.isEmpty()) {
316 canvas.drawRect(mRect, mPaint);
341 return mRect == null || mRect.isEmpty() ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT;
H A DShapesActivity.java41 private final RectF mRect; field in class:ShapesActivity.ShapesView
49 mRect = new RectF(0.0f, 0.0f, 160.0f, 90.0f);
84 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mNormalPaint);
87 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint);
90 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mFillPaint);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHitRectBug.java42 private Rect mRect = new Rect(); field in class:HitRectBug.TestDrawingView
87 mImageView.getHitRect(mRect);
88 canvas.drawRect(mRect, mPaint);
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DExplodeUsage.java42 final Rect mRect = new Rect(); field in class:ExplodeUsage
55 return mRect;
68 v.getGlobalVisibleRect(mRect);
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DExplodeUsage.java42 final Rect mRect = new Rect(); field in class:ExplodeUsage
55 return mRect;
68 v.getGlobalVisibleRect(mRect);
/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java39 private final RectF mRect = new RectF(); field in class:RoundScrollbarRenderer
86 mRect.set(
92 canvas.drawArc(mRect, -SCROLLBAR_ANGLE_RANGE / 2, SCROLLBAR_ANGLE_RANGE, false,
94 canvas.drawArc(mRect, startAngle, sweepAngle, false, mThumbPaint);
H A DRenderNode.java342 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top,
343 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java104 RectF mRect = calcBounds(xy);
105 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8
106 int mHeight = (((int) (8 + mRect.height())) & ~3);
107 int mPasteOffX = (int) mRect.left - 1;
108 int mPasteOffY = (int) mRect.top - 1;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DBitmapUploadActivity.java36 private final Rect mRect = new Rect(); field in class:BitmapUploadActivity.UploadView
71 mRect.set(0, 0, getWidth(), getHeight());
72 canvas.drawBitmap(mBitmap, null, mRect, null);
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DBitmapUploadActivity.java48 private final Rect mRect = new Rect(); field in class:BitmapUploadActivity.UploadView
83 mRect.set(0, 0, getWidth(), getHeight());
84 canvas.drawBitmap(mBitmap, null, mRect, null);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DCircularBitmapDrawable.java42 private final Rect mRect = new Rect(); field in class:CircularBitmapDrawable
107 mRect.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha);
H A DBasicBitmapDrawable.java68 private final Rect mRect = new Rect(); field in class:BasicBitmapDrawable
387 getDrawVerticalOffsetMultiplier(), mRect);
395 mRect);
404 onDrawBitmap(canvas, mRect, rotatedBounds);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java149 RectF mRect = calcBounds(xy);
150 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8
151 int mHeight = (((int) (8 + mRect.height())) & ~3);
152 int mPasteOffX = (int) mRect.left - 1;
153 int mPasteOffY = (int) mRect.top - 1;
/frameworks/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java56 if (outline.mPath != null || (outline.mRect != null && !outline.mRect.isEmpty())) {
69 if(outline.mMode == Outline.MODE_ROUND_RECT && outline.mRect != null) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java168 private final RectF mRect = new RectF(); field in class:GradientDrawable
730 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
731 mRect.right + rad, mRect.bottom + rad,
770 Math.min(mRect.width(), mRect.height()) * 0.5f);
771 canvas.drawRoundRect(mRect, rad, rad, mFillPaint);
773 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint);
778 canvas.drawRect(mRect, mFillPain
[all...]
/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DTransitionTest.java300 private Rect mRect = new Rect();
305 mRect.set(1, 2, 3, 4);
306 return mRect;
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedActionsStylist.java1294 Rect mRect = new Rect();
1299 mRect.set(centerX, centerY, centerX, centerY);
1300 return mRect;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java142 private final Rect mRect = new Rect(); field in class:RecipientEditTextView
392 mRect.setEmpty();
395 paint.getTextBounds(textHeightSample, 0, textHeightSample.length(), mRect);
397 mRect.left = 0;
398 mRect.right = 0;
400 return mRect.height();
663 getWindowVisibleDisplayFrame(mRect);
664 setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() -

Completed in 176 milliseconds

12