Searched refs:mDstRect (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | CircleFramedDrawable.java | 48 private RectF mDstRect; field in CircleFramedDrawable 94 mDstRect = new RectF(0, 0, mSize, mSize); in CircleFramedDrawable() 102 mDstRect.set(pad, pad, mSize - pad, mSize - pad); in draw() 103 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null); in draw()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapsRectActivity.java | 44 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/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 89 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this field in BitmapDrawable 544 canvas.translate(mDstRect.right - mDstRect.left, 0); in draw() 548 canvas.drawBitmap(bitmap, null, mDstRect, paint); in draw() 555 canvas.drawRect(mDstRect, paint); in draw() 586 final int dx = mDstRect.right - mDstRect.left; in updateShaderMatrix() 618 bounds, mDstRect, layoutDirection); in updateDstRectAndInsetsIfDirty() 620 final int left = mDstRect.left - bounds.left; in updateDstRectAndInsetsIfDirty() 621 final int top = mDstRect.top - bounds.top; in updateDstRectAndInsetsIfDirty() 622 final int right = bounds.right - mDstRect.right; in updateDstRectAndInsetsIfDirty() 623 final int bottom = bounds.bottom - mDstRect.bottom; in updateDstRectAndInsetsIfDirty() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CarUserSwitchingDialog.java | 100 private RectF mDstRect; field in CarUserSwitchingDialog.CircleFramedDrawable 144 mDstRect = new RectF(0, 0, mSize, mSize); in CircleFramedDrawable() 152 mDstRect.set(pad, pad, mSize - pad, mSize - pad); in draw() 153 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null); in draw()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 21039 Landroid/graphics/drawable/BitmapDrawable;->mDstRect:Landroid/graphics/Rect;
|