/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | RectShape.java | 32 private RectF mRect = new RectF(); field in RectShape 38 canvas.drawRect(mRect, paint); in draw() 50 mRect.set(0, 0, width, height); in onResize() 57 return mRect; in rect() 63 shape.mRect = new RectF(mRect); in clone()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Outline.java | 69 public final Rect mRect = new Rect(); field in Outline 99 mRect.setEmpty(); in setEmpty() 164 mRect.set(src.mRect); in set() 200 mRect.set(left, top, right, bottom); in setRoundRect() 224 outRect.set(mRect); in getRect() 262 mRect.setEmpty(); in setOval() 293 mRect.setEmpty(); in setConvexPath() 302 mRect.offset(dx, dy); in offset()
|
/frameworks/base/core/java/android/animation/ |
D | RectEvaluator.java | 29 private Rect mRect; field in RectEvaluator 51 mRect = reuseRect; in RectEvaluator() 77 if (mRect == null) { in evaluate() 80 mRect.set(left, top, right, bottom); in evaluate() 81 return mRect; in evaluate()
|
/frameworks/support/transition/src/android/support/transition/ |
D | RectEvaluator.java | 33 private Rect mRect; field in RectEvaluator 55 mRect = reuseRect; in RectEvaluator() 81 if (mRect == null) { in evaluate() 84 mRect.set(left, top, right, bottom); in evaluate() 85 return mRect; in evaluate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ClipOutlineActivity.java | 63 private Rect mRect = new Rect(); field in ClipOutlineActivity.RegionView 74 mRect.set(0, 0, w, h); in RegionView() 75 mRect.offset((int) (mClipPosition * w), getHeight() / 4); in RegionView() 77 outline.setRoundRect(mRect, w / 2); in RegionView()
|
D | ShapesActivity.java | 41 private final RectF mRect; field in ShapesActivity.ShapesView 49 mRect = new RectF(0.0f, 0.0f, 160.0f, 90.0f); in ShapesView() 84 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mNormalPaint); in onDraw() 87 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint); in onDraw() 90 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mFillPaint); in onDraw()
|
D | MultiProducerActivity.java | 279 private Rect mRect; field in MultiProducerActivity.ColorPulse 286 mRect = new Rect(rect.left + BORDER_WIDTH / 2, rect.top + BORDER_WIDTH / 2, in ColorPulse() 312 if (mRect != null && !mRect.isEmpty()) { in draw() 316 canvas.drawRect(mRect, mPaint); in draw() 341 return mRect == null || mRect.isEmpty() ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT; in getOpacity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | RectFEvaluator.java | 26 private RectF mRect = new RectF(); field in RectFEvaluator 49 mRect.set(left, top, right, bottom); in evaluate() 50 return mRect; in evaluate()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | FindRegion.java | 104 RectF mRect = calcBounds(xy); in getBoundingRect() local 105 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8 in getBoundingRect() 106 int mHeight = (((int) (8 + mRect.height())) & ~3); in getBoundingRect() 107 int mPasteOffX = (int) mRect.left - 1; in getBoundingRect() 108 int mPasteOffY = (int) mRect.top - 1; in getBoundingRect()
|
/frameworks/base/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 39 private final RectF mRect = new RectF(); field in RoundScrollbarRenderer 86 mRect.set( in drawRoundScrollbars() 92 canvas.drawArc(mRect, -SCROLLBAR_ANGLE_RANGE / 2, SCROLLBAR_ANGLE_RANGE, false, in drawRoundScrollbars() 94 canvas.drawArc(mRect, startAngle, sweepAngle, false, mThumbPaint); in drawRoundScrollbars()
|
D | RenderNode.java | 342 … return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top, in setOutline() 343 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); in setOutline()
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
D | CircularBorderDrawableLollipop.java | 30 copyBounds(mRect); in getOutline() 31 outline.setOval(mRect); in getOutline()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | HitRectBug.java | 42 private Rect mRect = new Rect(); field in HitRectBug.TestDrawingView 87 mImageView.getHitRect(mRect); in dispatchDraw() 88 canvas.drawRect(mRect, mPaint); in dispatchDraw()
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
D | ExplodeUsage.java | 41 final Rect mRect = new Rect(); field in ExplodeUsage 54 return mRect; in onCreate() 67 v.getGlobalVisibleRect(mRect); in onCreate()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | CircularBorderDrawable.java | 44 final Rect mRect = new Rect(); field in CircularBorderDrawable 98 copyBounds(mRect); in draw() 99 rectF.set(mRect); in draw() 182 final Rect rect = mRect; in createGradientShader()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | BitmapUploadActivity.java | 36 private final Rect mRect = new Rect(); field in BitmapUploadActivity.UploadView 71 mRect.set(0, 0, getWidth(), getHeight()); in onDraw() 72 canvas.drawBitmap(mBitmap, null, mRect, null); in onDraw()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | FindRegion.java | 149 RectF mRect = calcBounds(xy); in getBoundingRect() local 150 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8 in getBoundingRect() 151 int mHeight = (((int) (8 + mRect.height())) & ~3); in getBoundingRect() 152 int mPasteOffX = (int) mRect.left - 1; in getBoundingRect() 153 int mPasteOffY = (int) mRect.top - 1; in getBoundingRect()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 42 private final Rect mRect = new Rect(); field in CircularBitmapDrawable 107 mRect.set(0, 0, bitmap.getWidth(), bitmap.getHeight()); in onDrawPlaceholderOrProgress() 108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha); in onDrawPlaceholderOrProgress()
|
D | BasicBitmapDrawable.java | 68 private final Rect mRect = new Rect(); field in BasicBitmapDrawable 387 getDrawVerticalOffsetMultiplier(), mRect); in draw() local 395 mRect); in draw() 404 onDrawBitmap(canvas, mRect, rotatedBounds); in draw()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 55 if (outline.mPath != null || (outline.mRect != null && !outline.mRect.isEmpty())) { in drawChild() 67 if(outline.mMode == Outline.MODE_ROUND_RECT && outline.mRect != null) { in drawShadow()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 167 private final RectF mRect = new RectF(); field in GradientDrawable 729 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw() 730 mRect.right + rad, mRect.bottom + rad, in draw() 769 Math.min(mRect.width(), mRect.height()) * 0.5f); in draw() 770 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw() 772 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint); in draw() 777 canvas.drawRect(mRect, mFillPaint); in draw() 780 canvas.drawRect(mRect, mStrokePaint); in draw() 785 canvas.drawOval(mRect, mFillPaint); in draw() 787 canvas.drawOval(mRect, mStrokePaint); in draw() [all …]
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | TransitionTest.java | 299 private Rect mRect = new Rect(); in testEpicenter() 304 mRect.set(1, 2, 3, 4); in testEpicenter() 305 return mRect; in testEpicenter()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 142 private final Rect mRect = new Rect(); field in RecipientEditTextView 392 mRect.setEmpty(); in calculateTextHeight() 395 paint.getTextBounds(textHeightSample, 0, textHeightSample.length(), mRect); in calculateTextHeight() 397 mRect.left = 0; in calculateTextHeight() 398 mRect.right = 0; in calculateTextHeight() 400 return mRect.height(); in calculateTextHeight() 663 getWindowVisibleDisplayFrame(mRect); in setAdapter() 664 setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() - in setAdapter()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedActionsStylist.java | 1266 Rect mRect = new Rect(); in startExpanded() 1271 mRect.set(centerX, centerY, centerX, centerY); in startExpanded() 1272 return mRect; in startExpanded()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2771 private Rect mRect; field in EditStyledText.ColorPaletteDrawable 2775 mRect = new Rect(mergin, mergin, width - mergin, height - mergin); in ColorPaletteDrawable() 2781 canvas.drawRect(mRect, getPaint()); in draw()
|