/packages/apps/Messaging/src/com/android/messaging/ui/ |
OrientedBitmapDrawable.java | 36 private final Rect mDstRect; 55 mDstRect = new Rect(); 84 mDstRect); 85 mCenterX = mDstRect.centerX(); 86 mCenterY = mDstRect.centerY(); 90 final RectF rotatedRect = new RectF(mDstRect); 92 mDstRect.set((int) rotatedRect.left, (int) rotatedRect.top, (int) rotatedRect.right, 101 canvas.drawBitmap(getBitmap(), (Rect) null, mDstRect, getPaint());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapsRectActivity.java | 44 private final RectF mDstRect; 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/ |
CircleFramedDrawable.java | 48 private RectF mDstRect; 94 mDstRect = new RectF(0, 0, mSize, mSize); 102 mDstRect.set(pad, pad, mSize - pad, mSize - pad); 103 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
|
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
CircleFramedDrawable.java | 45 private RectF mDstRect; 91 mDstRect = new RectF(0, 0, mSize, mSize); 99 mDstRect.set(pad, pad, mSize - pad, mSize - pad); 100 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
|
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable.java | 56 final Rect mDstRect = new Rect(); // Gravity.apply() sets this 227 gravityCompatApply(mGravity, minDimen, minDimen, getBounds(), mDstRect); 231 final int minDrawDimen = Math.min(mDstRect.width(), mDstRect.height()); 232 final int insetX = Math.max(0, (mDstRect.width() - minDrawDimen) / 2); 233 final int insetY = Math.max(0, (mDstRect.height() - minDrawDimen) / 2); 234 mDstRect.inset(insetX, insetY); 237 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); 239 mDstRectF.set(mDstRect); 264 canvas.drawBitmap(bitmap, null, mDstRect, mPaint) [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 80 private final Rect mDstRect = new Rect();
219 mDstRect.offsetTo(MARGIN+x, MARGIN+y);
234 canvas.drawBitmap(mBmpPlayer1, mSrcRect, mDstRect, mBmpPaint);
239 canvas.drawBitmap(mBmpPlayer2, mSrcRect, mDstRect, mBmpPaint);
290 mDstRect.set(MARGIN, MARGIN, size - MARGIN, size - MARGIN);
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 105 private Rect mDstRect; 236 mDstRect = new Rect(); 512 mDstRect.set(0, 0, src.width(), src.height()); 513 canvas.drawBitmap(mFullBitmap, src, mDstRect, null);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 87 private final Rect mDstRect = new Rect(); // #updateDstRectAndInsetsIfDirty() sets this 525 canvas.translate(mDstRect.right - mDstRect.left, 0); 529 canvas.drawBitmap(bitmap, null, mDstRect, paint); 536 canvas.drawRect(mDstRect, paint); 567 final int dx = mDstRect.right - mDstRect.left; 599 bounds, mDstRect, layoutDirection); 601 final int left = mDstRect.left - bounds.left; 602 final int top = mDstRect.top - bounds.top [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.h | 98 hwc_rect_t mDstRect;
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.h | 99 hwc_rect_t mDstRect;
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_utils.h | 114 hwc_rect_t mDstRect;
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.h | 108 hwc_rect_t mDstRect;
|
/prebuilts/sdk/current/support/core-utils/ |
android-support-core-utils.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |