Searched refs:saveFlags (Results 1 – 9 of 9) 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 | 439 private static void checkValidSaveFlags(int saveFlags) { in checkValidSaveFlags() argument 441 && saveFlags != ALL_SAVE_FLAG) { in checkValidSaveFlags() 479 public int save(@Saveflags int saveFlags) { in save() argument 480 return nSave(mNativeCanvasWrapper, saveFlags); in save() 515 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() argument 519 checkValidSaveFlags(saveFlags); in saveLayer() 580 @Saveflags int saveFlags) { in saveLayer() argument 581 checkValidSaveFlags(saveFlags); in saveLayer() 625 public int saveLayerAlpha(@Nullable RectF bounds, int alpha, @Saveflags int saveFlags) { in saveLayerAlpha() argument 629 checkValidSaveFlags(saveFlags); in saveLayerAlpha() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 767 protected int save(int saveFlags) { in save() argument 771 mSnapshot = mSnapshot.save(saveFlags); in save() 777 protected int saveLayerAlpha(RectF rect, int alpha, int saveFlags) { in saveLayerAlpha() argument 780 return saveLayer(rect, paint, saveFlags); in saveLayerAlpha() 783 protected int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { in saveLayer() argument 787 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags); in saveLayer()
|
D | Canvas_Delegate.java | 162 public static int nSave(long nativeCanvas, int saveFlags) { in nSave() argument 169 return canvasDelegate.save(saveFlags); in nSave()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 134 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore() 135 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore() 277 rec->saveFlags = flags; in recordPartialSave() 286 if (rec && !(rec->saveFlags & SaveFlags::Clip)) { in recordClip() 310 if (!rec || (rec->saveFlags & SaveFlags::Clip)) { in applyPersistentClips()
|
D | SkiaCanvas.h | 212 SaveFlags::Flags saveFlags; member
|
/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()
|