HomeSort by relevance Sort by last modified time
    Searched full:saveflags (Results 1 - 25 of 44) sorted by null

1 2

  /frameworks/base/libs/hwui/tests/microbench/
DisplayListCanvasBench.cpp 72 canvas.save(SaveFlags::MatrixClip);
73 canvas.save(SaveFlags::MatrixClip);
111 canvas.save(SaveFlags::MatrixClip);
116 canvas.save(SaveFlags::MatrixClip);
139 state.save(SaveFlags::MatrixClip);
140 state.save(SaveFlags::MatrixClip);
  /frameworks/base/libs/hwui/tests/common/scenes/
SaveLayerAnimation.cpp 37 canvas.saveLayerAlpha(0, 0, 400, 400, 200, SaveFlags::ClipToLayer);
40 canvas.saveLayerAlpha(100, 100, 300, 300, 128, SaveFlags::ClipToLayer);
46 canvas.save(SaveFlags::MatrixClip);
48 canvas.saveLayerAlpha(100, 100, 300, 300, 128, SaveFlags::Flags(0)); // unclipped
ShapeAnimation.cpp 72 int outerCount = canvas.save(SaveFlags::MatrixClip);
82 int middleCount = canvas.save(SaveFlags::MatrixClip);
84 int innerCount = canvas.save(SaveFlags::MatrixClip);
ClippingAnimation.cpp 35 canvas.save(SaveFlags::MatrixClip);
46 canvas.save(SaveFlags::MatrixClip);
  /frameworks/base/libs/hwui/tests/unit/
CanvasStateTests.cpp 86 state.save(SaveFlags::MatrixClip);
96 state.save(SaveFlags::MatrixClip);
105 state.save(SaveFlags::MatrixClip);
122 state.save(SaveFlags::Clip);
132 state.save(SaveFlags::Matrix);
146 state.save(SaveFlags::Matrix); // NOTE: clip not saved
156 state.save(SaveFlags::Clip); // NOTE: matrix not saved
LeakCheckTests.cpp 35 canvas.saveLayerAlpha(0, 0, 100, 100, 128, SaveFlags::ClipToLayer);
55 canvas.saveLayerAlpha(10, 10, 190, 190, 128, (SaveFlags::Flags)(0));
RecordingCanvasTests.cpp 51 canvas.save(SaveFlags::MatrixClip);
59 canvas.save(SaveFlags::MatrixClip);
75 canvas.save(SaveFlags::MatrixClip);
248 canvas.save(SaveFlags::MatrixClip);
251 canvas.save(SaveFlags::MatrixClip);
257 canvas.save(SaveFlags::MatrixClip);
311 canvas.saveLayerAlpha(10, 20, 190, 180, 128, SaveFlags::ClipToLayer);
345 canvas.saveLayerAlpha(0, 0, 200, 200, 128, SaveFlags::ClipToLayer);
360 canvas.saveLayerAlpha(10, 20, 190, 180, 128, (SaveFlags::Flags)0); // unclipped
392 canvas.save(SaveFlags::MatrixClip)
    [all...]
FrameBuilderTests.cpp 176 canvas.save(SaveFlags::MatrixClip);
208 canvas.save(SaveFlags::MatrixClip);
621 canvas.save(SaveFlags::MatrixClip);
653 canvas.save(SaveFlags::MatrixClip);
768 canvas.save(SaveFlags::MatrixClip);
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
NewLayersActivity.java 64 private void drawStuff(Canvas canvas, int saveFlags) {
65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
NopCanvas.java 50 public int save(int saveFlags) {
55 public int saveLayer(RectF bounds, Paint paint, int saveFlags) {
66 int saveFlags) {
76 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) {
87 int saveFlags) {
  /frameworks/base/libs/hwui/
SkiaCanvasProxy.cpp 162 mCanvas->save(android::SaveFlags::MatrixClip);
165 static inline SaveFlags::Flags saveFlags(SkCanvas::SaveLayerFlags layerFlags) {
166 SaveFlags::Flags saveFlags = 0;
169 saveFlags |= SaveFlags::ClipToLayer;
173 saveFlags |= SaveFlags::HasAlphaLayer;
176 return saveFlags;
    [all...]
Snapshot.cpp 47 Snapshot::Snapshot(Snapshot* s, int saveFlags)
60 if (saveFlags & SaveFlags::Matrix) {
67 if (saveFlags & SaveFlags::Clip) {
SkiaCanvas.cpp 86 virtual int save(SaveFlags::Flags flags) override;
91 const SkPaint* paint, SaveFlags::Flags flags) override;
93 int alpha, SaveFlags::Flags flags) override;
177 SaveFlags::Flags saveFlags;
182 void recordPartialSave(SaveFlags::Flags flags);
269 int SkiaCanvas::save(SaveFlags::Flags flags) {
292 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix);
293 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip)
    [all...]
DisplayListCanvas.cpp 108 int DisplayListCanvas::save(SaveFlags::Flags flags) {
131 const SkPaint* paint, SaveFlags::Flags flags) {
133 flags |= SaveFlags::MatrixClip;
238 save(SaveFlags::Matrix);
259 save(SaveFlags::Matrix);
275 save(SaveFlags::Matrix);
289 save(SaveFlags::Matrix);
DeferredDisplayList.cpp 420 * complex clip, and if the flags (SaveFlags::Clip & SaveFlags::ClipToLayer) are set.
436 int saveFlags = op->getFlags();
437 DEFER_LOGD("%p adding saveOp %p, flags %x, new count %d", this, op, saveFlags, newSaveCount);
439 if (recordingComplexClip() && (saveFlags & SaveFlags::Clip)) {
622 // doesn't have SaveFlags::Clip set
655 renderer.save(SaveFlags::MatrixClip);
RecordingCanvas.cpp 106 int RecordingCanvas::save(SaveFlags::Flags flags) {
119 const SkPaint* paint, SaveFlags::Flags flags) {
121 flags |= SaveFlags::MatrixClip;
122 bool clippedLayer = flags & SaveFlags::ClipToLayer;
142 flags |= SaveFlags::ClipToLayer;
454 save(SaveFlags::Matrix);
475 save(SaveFlags::Matrix);
491 save(SaveFlags::Matrix);
RenderProperties.cpp 148 SaveFlags::HasAlphaLayer | SaveFlags::ClipToLayer);
CanvasState.cpp 56 mSnapshot = allocSnapshot(&mFirstSnapshot, SaveFlags::MatrixClip);
73 mSnapshot = allocSnapshot(&mFirstSnapshot, SaveFlags::MatrixClip);
  /frameworks/base/core/jni/
android_graphics_Canvas.cpp 88 SaveFlags::Flags flags = static_cast<SaveFlags::Flags>(flagsHandle);
95 SaveFlags::Flags flags = static_cast<SaveFlags::Flags>(flagsHandle);
101 SaveFlags::Flags flags = static_cast<SaveFlags::Flags>(flagsHandle);
353 canvas->save(SaveFlags::MatrixClip);
392 canvas->save(SaveFlags::MatrixClip);
  /frameworks/base/libs/hwui/hwui/
Canvas.h 40 namespace SaveFlags {
54 } // namespace SaveFlags
137 virtual int save(SaveFlags::Flags flags) = 0;
142 const SkPaint* paint, SaveFlags::Flags flags) = 0;
144 int alpha, SaveFlags::Flags flags) = 0;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLCanvas.java 68 // Same as save(), but only save those specified in saveFlags.
69 public abstract void save(int saveFlags);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Canvas_Delegate.java 192 public static int native_save(long nativeCanvas, int saveFlags) {
199 return canvasDelegate.save(saveFlags);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLCanvas.java 70 // Same as save(), but only save those specified in saveFlags.
71 public abstract void save(int saveFlags);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
GLCanvas.java 68 // Same as save(), but only save those specified in saveFlags.
69 public abstract void save(int saveFlags);
  /external/toybox/lib/
args.c 381 unsigned long long saveflags; local
388 saveflags = 0;
389 while (toys.argv[saveflags++]);
390 toys.optargs = xzalloc(sizeof(char *)*saveflags);
452 saveflags = toys.optflags;
462 toys.optflags = saveflags;

Completed in 491 milliseconds

1 2