OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:layerPaint
(Results
1 - 11
of
11
) sorted by null
/external/skia/gm/
fadefilter.cpp
22
SkPaint
layerPaint
;
23
layerPaint
.setImageFilter(filter);
24
canvas->drawRect(SkRect::MakeLTRB(64, 64, 192, 192),
layerPaint
);
recordopts.cpp
60
SkPaint
layerPaint
;
61
layerPaint
.setColor(SkColorSetARGB(128, 0, 0, 0));
62
canvas->saveLayer(&targetRect, &
layerPaint
);
88
SkPaint
layerPaint
;
89
layerPaint
.setColor(SkColorSetARGB(129, 0, 0, 0));
90
canvas->saveLayer(&targetRect, &
layerPaint
);
114
SkPaint
layerPaint
;
115
layerPaint
.setColor(SkColorSetARGB(130, 0, 0, 0));
116
canvas->saveLayer(&targetRect, &
layerPaint
);
/external/skia/src/core/
SkRecordOpts.cpp
61
static bool fold_opacity_layer_color_to_paint(const SkPaint&
layerPaint
,
64
// We assume
layerPaint
is always from a saveLayer. If isSaveLayer is
95
const uint32_t layerColor =
layerPaint
.getColor();
102
if (
layerPaint
.getPathEffect() ||
103
layerPaint
.getShader() ||
104
layerPaint
.getXfermode() ||
105
layerPaint
.getMaskFilter() ||
106
layerPaint
.getColorFilter() ||
107
layerPaint
.getRasterizer() ||
108
layerPaint
.getLooper() |
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DrawingPreviewPlacerView.java
43
final Paint
layerPaint
= new Paint();
44
layerPaint
.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_OVER));
45
setLayerType(LAYER_TYPE_HARDWARE,
layerPaint
);
/external/skia/tests/
RecordingXfermodeTest.cpp
44
SkPaint
layerPaint
;
45
layerPaint
.setColor(0xff000000);
46
layerPaint
.setXfermodeMode(mode);
55
canvas->saveLayer(NULL, &
layerPaint
);
LayerDrawLooperTest.cpp
54
SkPaint*
layerPaint
= looperBuilder.addLayer(layerInfo);
55
layerPaint
->setXfermodeMode(SkXfermode::kSrc_Mode);
94
SkPaint*
layerPaint
= looperBuilder.addLayerOnTop(layerInfo);
95
layerPaint
->setXfermodeMode(SkXfermode::kSrc_Mode);
134
SkPaint*
layerPaint
= looperBuilder.addLayerOnTop(layerInfo);
135
layerPaint
->setXfermodeMode(SkXfermode::kSrc_Mode);
PictureTest.cpp
342
SkPaint
layerPaint
;
343
layerPaint
.setColor(SK_ColorRED); // Non-alpha only to avoid SaveLayerDrawRestoreNooper
346
c->saveLayer(NULL, &
layerPaint
); // layer #4
356
c->saveLayer(NULL, &
layerPaint
); // layer #6
[
all
...]
/external/skia/src/gpu/
GrLayerHoister.cpp
244
SkDEBUGCODE(const SkPaint*
layerPaint
= layer->paint();)
246
SkASSERT(!
layerPaint
|| !
layerPaint
->getImageFilter());
/external/skia/src/utils/
SkDeferredCanvas.cpp
485
SkBaseDevice* SkDeferredDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*
layerPaint
) {
491
return immediateDevice()->onCreateDevice(cinfo,
layerPaint
);
[
all
...]
/external/skia/src/pdf/
SkPDFDevice.cpp
574
static bool not_supported_for_layers(const SkPaint&
layerPaint
) {
582
return
layerPaint
.getImageFilter() != NULL;
585
SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*
layerPaint
) {
587
(
layerPaint
&& not_supported_for_layers(*
layerPaint
))) {
[
all
...]
/frameworks/base/libs/hwui/
OpenGLRenderer.cpp
804
SkPaint
layerPaint
;
805
layerPaint
.setAlpha(layer->getAlpha());
806
layerPaint
.setXfermodeMode(SkXfermode::kDstIn_Mode);
807
layerPaint
.setColorFilter(layer->getColorFilter());
809
drawColorRect(rect.left, rect.top, rect.right, rect.bottom, &
layerPaint
, true);
[
all
...]
Completed in 368 milliseconds