Searched defs:mDstRect (Results 1 - 4 of 4) sorted by relevance
/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/core-utils/gingerbread/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/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 86 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this field in class:BitmapDrawable 524 canvas.translate(mDstRect.right - mDstRect.left, 0); 528 canvas.drawBitmap(bitmap, null, mDstRect, paint); 535 canvas.drawRect(mDstRect, paint); 566 final int dx = mDstRect.right - mDstRect.left; 598 bounds, mDstRect, layoutDirection); 600 final int left = mDstRect.left - bounds.left; 601 final int top = mDstRect [all...] |
Completed in 119 milliseconds