Home
last modified time | relevance | path

Searched refs:saveFlags (Results 1 – 7 of 7) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java54 public int save(int saveFlags) { in save() argument
59 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() argument
70 int saveFlags) { in saveLayer() argument
80 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { in saveLayerAlpha() argument
91 int saveFlags) { in saveLayerAlpha() argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DNewLayersActivity.java64 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/graphics/java/android/graphics/
DCanvas.java409 private static void checkValidSaveFlags(int saveFlags) { in checkValidSaveFlags() argument
411 && saveFlags != ALL_SAVE_FLAG) { in checkValidSaveFlags()
449 public int save(@Saveflags int saveFlags) { in save() argument
450 return nSave(mNativeCanvasWrapper, saveFlags); in save()
485 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() argument
489 checkValidSaveFlags(saveFlags); in saveLayer()
550 @Saveflags int saveFlags) { in saveLayer() argument
551 checkValidSaveFlags(saveFlags); in saveLayer()
594 public int saveLayerAlpha(@Nullable RectF bounds, int alpha, @Saveflags int saveFlags) { in saveLayerAlpha() argument
598 checkValidSaveFlags(saveFlags); in saveLayerAlpha()
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.h210 SaveFlags::Flags saveFlags; member
213 SaveRec(int saveCount, SaveFlags::Flags saveFlags, size_t clipIndex) in SaveRec()
214 : saveCount(saveCount), saveFlags(saveFlags), clipIndex(clipIndex) {} in SaveRec()
DSkiaCanvas.cpp189 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore()
190 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore()
298 if (rec && !(rec->saveFlags & SaveFlags::Clip)) { in recordClip()
322 if (!rec || (rec->saveFlags & SaveFlags::Clip)) { in applyPersistentClips()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java69 public abstract void save(int saveFlags); in save() argument
DGLES20Canvas.java443 public void save(int saveFlags) { in save() argument
444 boolean saveAlpha = (saveFlags & SAVE_FLAG_ALPHA) == SAVE_FLAG_ALPHA; in save()
453 boolean saveMatrix = (saveFlags & SAVE_FLAG_MATRIX) == SAVE_FLAG_MATRIX; in save()
462 mSaveFlags.add(saveFlags); in save()