Searched refs:saveFlags (Results 1 – 7 of 7) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 54 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/ |
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/graphics/java/android/graphics/ |
D | Canvas.java | 409 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/ |
D | SkiaCanvas.h | 210 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()
|
D | SkiaCanvas.cpp | 189 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/ |
D | GLCanvas.java | 69 public abstract void save(int saveFlags); in save() argument
|
D | GLES20Canvas.java | 443 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()
|