HomeSort by relevance Sort by last modified time
    Searched refs:mDstRect (Results 1 - 7 of 7) sorted by null

  /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/Keyguard/src/com/android/keyguard/
KeyguardCircleFramedDrawable.java 48 private RectF mDstRect;
98 mDstRect = new RectF(0, 0, mSize, mSize);
99 mFrameRect = new RectF(mDstRect);
115 mDstRect.set(pad, pad, outside - pad, outside - pad);
116 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
118 mFrameRect.set(mDstRect);
  /packages/apps/Settings/src/com/android/settings/users/
CircleFramedDrawable.java 54 private RectF mDstRect;
119 mDstRect = new RectF(0, 0, mSize, mSize);
120 mFrameRect = new RectF(mDstRect);
129 mDstRect.set(pad, pad, mSize - pad, mSize - pad);
130 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
132 mFrameRect.set(mDstRect);
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 70 private final Rect mDstRect = new Rect(); // Gravity.apply() sets this
472 copyBounds(mDstRect);
481 getBounds(), mDstRect, layoutDirection);
487 canvas.translate(mDstRect.right - mDstRect.left, 0);
490 canvas.drawBitmap(bitmap, null, mDstRect, state.mPaint);
496 copyBounds(mDstRect);
501 updateMirrorMatrix(mDstRect.right - mDstRect.left);
509 canvas.drawRect(mDstRect, state.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();
511 mDstRect.set(0, 0, src.width(), src.height());
512 canvas.drawBitmap(mFullBitmap, src, mDstRect, null);
  /packages/apps/Gallery/src/com/android/camera/
ImageGallery.java 773 // mSrcRect and mDstRect are only used in drawImage, but we put them as
777 private final Rect mDstRect = new Rect();
800 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
801 canvas.drawBitmap(b, mSrcRect, mDstRect, null);
804 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
805 canvas.drawBitmap(b, mSrcRect, mDstRect, mPaint);
816 mDstRect.set(left, top, left + width, top + height);
817 canvas.drawBitmap(error, mSrcRect, mDstRect, null);
    [all...]

Completed in 149 milliseconds