Home
last modified time | relevance | path

Searched refs:mDstRect (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardCircleFramedDrawable.java46 private RectF mDstRect; field in KeyguardCircleFramedDrawable
96 mDstRect = new RectF(0, 0, mSize, mSize); in KeyguardCircleFramedDrawable()
97 mFrameRect = new RectF(mDstRect); in KeyguardCircleFramedDrawable()
113 mDstRect.set(pad, pad, outside - pad, outside - pad); in draw()
114 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null); in draw()
116 mFrameRect.set(mDstRect); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java85 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this field in BitmapDrawable
534 canvas.translate(mDstRect.right - mDstRect.left, 0); in draw()
538 canvas.drawBitmap(bitmap, null, mDstRect, paint); in draw()
546 updateMirrorMatrix(mDstRect.right - mDstRect.left); in draw()
557 canvas.drawRect(mDstRect, paint); in draw()
575 bounds, mDstRect, layoutDirection); in updateDstRectAndInsetsIfDirty()
577 final int left = mDstRect.left - bounds.left; in updateDstRectAndInsetsIfDirty()
578 final int top = mDstRect.top - bounds.top; in updateDstRectAndInsetsIfDirty()
579 final int right = bounds.right - mDstRect.right; in updateDstRectAndInsetsIfDirty()
580 final int bottom = bounds.bottom - mDstRect.bottom; in updateDstRectAndInsetsIfDirty()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsRectActivity.java44 private final RectF mDstRect; field in BitmapsRectActivity.BitmapsView
60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f); in BitmapsView()
70 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect, mBitmapPaint); in onDraw()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java52 final Rect mDstRect = new Rect(); // Gravity.apply() sets this field in RoundedBitmapDrawable
221 getBounds(), mDstRect); in updateDstRect()
222 mDstRectF.set(mDstRect); in updateDstRect()
239 canvas.drawBitmap(bitmap, null, mDstRect, paint); in draw()
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable21.java34 outline.setRoundRect(mDstRect, getCornerRadius()); in getOutline()