OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mBitmapPaint
(Results
1 - 16
of
16
) sorted by null
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
CircularBitmapDrawable.java
40
private final Paint
mBitmapPaint
= new Paint();
57
mBitmapPaint
.setAntiAlias(true);
58
mBitmapPaint
.setFilterBitmap(true);
59
mBitmapPaint
.setDither(true);
134
BitmapShader shader = (BitmapShader)
mBitmapPaint
.getShader();
148
mBitmapPaint
.setShader(shader);
150
int oldAlpha =
mBitmapPaint
.getAlpha();
151
mBitmapPaint
.setAlpha((int) (oldAlpha * alpha));
153
mBitmapPaint
);
154
mBitmapPaint
.setAlpha(oldAlpha)
[
all
...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Alpha8BitmapActivity.java
42
private Paint
mBitmapPaint
;
69
mBitmapPaint
= new Paint();
70
mBitmapPaint
.setFilterBitmap(true);
71
mBitmapPaint
.setShader(shader);
79
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
84
canvas.drawBitmap(mBitmap1, matrix,
mBitmapPaint
);
89
canvas.drawBitmap(mBitmap1, src, dst,
mBitmapPaint
);
92
canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0,
mBitmapPaint
);
BitmapsActivity.java
55
private Paint
mBitmapPaint
;
74
mBitmapPaint
= new Paint();
83
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
89
mBitmapPaint
.setAlpha(127);
92
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
94
mBitmapPaint
.setAlpha(255);
97
mBitmapPaint
.setColor(0xffff0000);
98
canvas.drawRect(0.0f, 0.0f, mBitmap2.getWidth(), mBitmap2.getHeight(),
mBitmapPaint
);
99
mBitmapPaint
.setXfermode(mDstIn);
100
canvas.drawBitmap(mBitmap2, 0.0f, 0.0f,
mBitmapPaint
);
[
all
...]
QuickRejectActivity.java
39
private Paint
mBitmapPaint
;
47
mBitmapPaint
= new Paint();
48
mBitmapPaint
.setFilterBitmap(true);
73
count = canvas.saveLayer(0, 0, 10, 10,
mBitmapPaint
, Canvas.ALL_SAVE_FLAG);
83
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
84
canvas.drawBitmap(mBitmap1, -mBitmap1.getWidth(), 0.0f,
mBitmapPaint
);
85
canvas.drawBitmap(mBitmap1, 50.0f, 0.0f,
mBitmapPaint
);
BitmapsRectActivity.java
40
private Paint
mBitmapPaint
;
53
mBitmapPaint
= new Paint();
54
mBitmapPaint
.setFilterBitmap(true);
70
canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect,
mBitmapPaint
);
74
canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect2,
mBitmapPaint
);
MipMapActivity.java
45
private Paint
mBitmapPaint
;
57
mBitmapPaint
= new Paint();
58
mBitmapPaint
.setFilterBitmap(true);
67
canvas.drawBitmap(mBitmap1, 0, 0,
mBitmapPaint
);
73
canvas.drawBitmap(mBitmap2, 0, 0,
mBitmapPaint
);
BitmapsSkewActivity.java
38
private Paint
mBitmapPaint
;
53
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
Bitmaps3dActivity.java
44
private final Paint
mBitmapPaint
;
52
mBitmapPaint
= new Paint();
69
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
BitmapMutateActivity.java
60
private final Paint
mBitmapPaint
;
72
mBitmapPaint
= new Paint();
103
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
107
canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false,
mBitmapPaint
);
BitmapsAlphaActivity.java
43
private Paint
mBitmapPaint
;
61
mBitmapPaint
= new Paint();
71
canvas.drawBitmap(mBitmap1, 0.0f, 0.0f,
mBitmapPaint
);
BitmapMeshActivity.java
38
private Paint
mBitmapPaint
;
BitmapMeshLayerActivity.java
39
private Paint
mBitmapPaint
;
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AbstractAvatarDrawable.java
55
protected final Paint
mBitmapPaint
;
65
mBitmapPaint
= new Paint();
66
mBitmapPaint
.setAntiAlias(true);
67
mBitmapPaint
.setFilterBitmap(true);
68
mBitmapPaint
.setDither(true);
128
mBitmapPaint
.setShader(shader);
129
drawCircle(canvas, bounds,
mBitmapPaint
);
237
mBitmapPaint
.setAlpha(alpha);
242
mBitmapPaint
.setColorFilter(cf);
ContactDrawable.java
95
sPaint.setAlpha(
mBitmapPaint
.getAlpha());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
UserAvatarView.java
46
private final Paint
mBitmapPaint
= new Paint();
79
mBitmapPaint
.setAntiAlias(true);
98
mBitmapPaint
.setShader(new BitmapShader(
101
mBitmapPaint
.setShader(null);
181
canvas.drawCircle(halfBW, halfBH, halfBSW - mFrameWidth / mScale + 1,
mBitmapPaint
);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
FingerPaint.java
66
private Paint
mBitmapPaint
;
72
mBitmapPaint
= new Paint(Paint.DITHER_FLAG);
86
canvas.drawBitmap(mBitmap, 0, 0,
mBitmapPaint
);
Completed in 186 milliseconds