Searched refs:mDstRect (Results 1 – 4 of 4) 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, mIconPaint); 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 | 90 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this field in BitmapDrawable 545 canvas.translate(mDstRect.right - mDstRect.left, 0); in draw() 549 canvas.drawBitmap(bitmap, null, mDstRect, paint); in draw() 556 canvas.drawRect(mDstRect, paint); in draw() 587 final int dx = mDstRect.right - mDstRect.left; in updateShaderMatrix() 619 bounds, mDstRect, layoutDirection); in updateDstRectAndInsetsIfDirty() 621 final int left = mDstRect.left - bounds.left; in updateDstRectAndInsetsIfDirty() 622 final int top = mDstRect.top - bounds.top; in updateDstRectAndInsetsIfDirty() 623 final int right = bounds.right - mDstRect.right; in updateDstRectAndInsetsIfDirty() 624 final int bottom = bounds.bottom - mDstRect.bottom; in updateDstRectAndInsetsIfDirty() [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 19680 Landroid/graphics/drawable/BitmapDrawable;->mDstRect:Landroid/graphics/Rect;
|