/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | NewLayersActivity.java | 64 private void drawStuff(Canvas canvas, int saveFlags) { in drawStuff() argument 65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags); in drawStuff()
|
/frameworks/base/core/java/android/view/ |
D | GLES20Canvas.java | 583 public int save(int saveFlags) { in save() argument 584 return nSave(mRenderer, saveFlags); in save() 590 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() argument 592 … return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); in saveLayer() 599 count = nSaveLayer(mRenderer, nativePaint, saveFlags); in saveLayer() 606 private static native int nSaveLayer(int renderer, int paint, int saveFlags); in nSaveLayer() argument 610 int saveFlags) { in saveLayer() argument 616 count = nSaveLayer(mRenderer, left, top, right, bottom, nativePaint, saveFlags); in saveLayer() 622 return save(saveFlags); in saveLayer() 626 float right, float bottom, int paint, int saveFlags); in nSaveLayer() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | Snapshot.cpp | 43 Snapshot::Snapshot(const sp<Snapshot>& s, int saveFlags): in Snapshot() argument 48 if (saveFlags & SkCanvas::kMatrix_SaveFlag) { in Snapshot() 55 if (saveFlags & SkCanvas::kClip_SaveFlag) { in Snapshot()
|
D | Snapshot.h | 48 Snapshot(const sp<Snapshot>& s, int saveFlags);
|
D | DeferredDisplayList.cpp | 361 int saveFlags = op->getFlags(); in addSave() local 362 DEFER_LOGD("%p adding saveOp %p, flags %x, new count %d", this, op, saveFlags, newSaveCount); in addSave() 364 if (recordingComplexClip() && (saveFlags & SkCanvas::kClip_SaveFlag)) { in addSave()
|
D | DisplayList.cpp | 414 int saveFlags = SkCanvas::kHasAlphaLayer_SaveFlag; in setViewProperties() local 416 saveFlags |= SkCanvas::kClipToLayer_SaveFlag; in setViewProperties() 419 mAlpha * 255, SkXfermode::kSrcOver_Mode, saveFlags), PROPERTY_SAVECOUNT, in setViewProperties()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 347 public native int save(int saveFlags); in save() argument 365 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() argument 368 saveFlags); in saveLayer() 375 int saveFlags) { in saveLayer() argument 378 saveFlags); in saveLayer() 397 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { in saveLayerAlpha() argument 399 return native_saveLayerAlpha(mNativeCanvas, bounds, alpha, saveFlags); in saveLayerAlpha() 406 int saveFlags) { in saveLayerAlpha() argument 408 alpha, saveFlags); in saveLayerAlpha()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 244 SkPaint* paint, jint saveFlags) { in android_view_GLES20Canvas_saveLayer() argument 245 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags); in android_view_GLES20Canvas_saveLayer() 249 OpenGLRenderer* renderer, SkPaint* paint, jint saveFlags) { in android_view_GLES20Canvas_saveLayerClip() argument 252 paint, saveFlags); in android_view_GLES20Canvas_saveLayerClip() 257 jint alpha, jint saveFlags) { in android_view_GLES20Canvas_saveLayerAlpha() argument 258 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags); in android_view_GLES20Canvas_saveLayerAlpha() 262 OpenGLRenderer* renderer, jint alpha, jint saveFlags) { in android_view_GLES20Canvas_saveLayerAlphaClip() argument 265 alpha, saveFlags); in android_view_GLES20Canvas_saveLayerAlphaClip()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 230 /*package*/ static int save(Canvas thisCanvas, int saveFlags) { in save() argument 237 return canvasDelegate.save(saveFlags); in save() 1224 private int save(int saveFlags) { in save() argument 1228 mSnapshot = mSnapshot.save(saveFlags); in save() 1234 private int saveLayerAlpha(RectF rect, int alpha, int saveFlags) { in saveLayerAlpha() argument 1237 return saveLayer(rect, paint, saveFlags); in saveLayerAlpha() 1240 private int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { in saveLayer() argument 1244 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags); in saveLayer()
|