Searched refs:mDstRect (Results 1 - 5 of 5) sorted by relevance
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 54 final Rect mDstRect = new Rect(); // Gravity.apply() sets this field in class:RoundedBitmapDrawable 225 gravityCompatApply(mGravity, minDimen, minDimen, getBounds(), mDstRect); 229 final int minDrawDimen = Math.min(mDstRect.width(), mDstRect.height()); 230 final int insetX = Math.max(0, (mDstRect.width() - minDrawDimen) / 2); 231 final int insetY = Math.max(0, (mDstRect.height() - minDrawDimen) / 2); 232 mDstRect.inset(insetX, insetY); 235 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); 237 mDstRectF.set(mDstRect); 262 canvas.drawBitmap(bitmap, null, mDstRect, mPain [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapsRectActivity.java | 44 private final RectF mDstRect; field in class:BitmapsRectActivity.BitmapsView 60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f); 70 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect, mBitmapPaint);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | CircleFramedDrawable.java | 48 private RectF mDstRect; field in class:CircleFramedDrawable 94 mDstRect = new RectF(0, 0, mSize, mSize); 102 mDstRect.set(pad, pad, mSize - pad, mSize - pad); 103 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable21.java | 34 outline.setRoundRect(mDstRect, getCornerRadius());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 86 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this field in class:BitmapDrawable 541 canvas.translate(mDstRect.right - mDstRect.left, 0); 545 canvas.drawBitmap(bitmap, null, mDstRect, paint); 553 updateMirrorMatrix(mDstRect.right - mDstRect.left); 564 canvas.drawRect(mDstRect, paint); 582 bounds, mDstRect, layoutDirection); 584 final int left = mDstRect.left - bounds.left; 585 final int top = mDstRect [all...] |
Completed in 185 milliseconds