OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSrcRect
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsRectActivity.java
43
private final Rect
mSrcRect
;
58
mSrcRect
= new Rect((int) fourth, (int) (half - half / 2.0f),
70
canvas.drawBitmap(mBitmap1,
mSrcRect
, mDstRect, mBitmapPaint);
74
canvas.drawBitmap(mBitmap1,
mSrcRect
, mDstRect2, mBitmapPaint);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
TransitionImageView.java
77
private final Rect
mSrcRect
= new Rect();
127
mSrc.getOptimizedRect(
mSrcRect
);
130
params.width =
mSrcRect
.width();
131
params.height =
mSrcRect
.height();
135
mSrcClipRect.offset(-
mSrcRect
.left, -
mSrcRect
.top);
139
mSrcUnclipRect.offset(-
mSrcRect
.left, -
mSrcRect
.top);
160
mScaleX = (float) mDstRect.width() /
mSrcRect
.width();
161
mScaleY = (float) mDstRect.height() /
mSrcRect
.height()
[
all
...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
CircleFramedDrawable.java
47
private Rect
mSrcRect
;
93
mSrcRect
= new Rect(0, 0, mSize, mSize);
103
canvas.drawBitmap(mBitmap,
mSrcRect
, mDstRect, null);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
TiledTexture.java
63
private final RectF
mSrcRect
= new RectF();
278
RectF src =
mSrcRect
;
289
canvas.drawMixed(t, color, ratio,
mSrcRect
, mDestRect);
297
RectF src =
mSrcRect
;
308
canvas.drawTexture(t,
mSrcRect
, mDestRect);
315
RectF src =
mSrcRect
;
/packages/apps/Gallery/src/com/android/camera/
ImageGallery.java
773
//
mSrcRect
and mDstRect are only used in drawImage, but we put them as
776
private final Rect
mSrcRect
= new Rect();
798
mSrcRect
.set(0 + halfDeltaW, 0 + halfDeltaH,
801
canvas.drawBitmap(b,
mSrcRect
, mDstRect, null);
803
mSrcRect
.set(0, 0, bw, bh);
805
canvas.drawBitmap(b,
mSrcRect
, mDstRect, mPaint);
813
mSrcRect
.set(0, 0, width, height);
817
canvas.drawBitmap(error,
mSrcRect
, mDstRect, null);
843
mSrcRect
.set(left, top, left + width, top + height);
844
overlay.setBounds(
mSrcRect
);
[
all
...]
/frameworks/ex/framesequence/src/android/support/rastermill/
FrameSequenceDrawable.java
133
private final Rect
mSrcRect
;
243
mSrcRect
= new Rect(0, 0, width, height);
377
canvas.drawBitmap(mFrontBitmap,
mSrcRect
, getBounds(), mPaint);
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
GameView.java
79
private final Rect
mSrcRect
= new Rect();
126
mSrcRect
.set(0, 0, mBmpPlayer1.getWidth() -1, mBmpPlayer1.getHeight() - 1);
234
canvas.drawBitmap(mBmpPlayer1,
mSrcRect
, mDstRect, mBmpPaint);
239
canvas.drawBitmap(mBmpPlayer2,
mSrcRect
, mDstRect, mBmpPaint);
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
XfermodeTest.java
135
private final RectF
mSrcRect
= new RectF(30, 30, 80, 80);
156
srcCanvas.drawRect(
mSrcRect
, srcPaint);
Completed in 530 milliseconds