Home
last modified time | relevance | path

Searched refs:saveLayer (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DLayersActivity.java55 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, in onDraw()
65 count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, in onDraw()
82 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint, in onDraw()
99 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint, in onDraw()
DNewLayersActivity.java65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags); in drawStuff()
DQuickRejectActivity.java73 count = canvas.saveLayer(0, 0, 10, 10, mBitmapPaint, Canvas.ALL_SAVE_FLAG); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java63 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() method in NopCanvas
68 public int saveLayer(RectF bounds, Paint paint) { in saveLayer() method in NopCanvas
73 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() method in NopCanvas
79 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { in saveLayer() method in NopCanvas
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DCanvasTestView.java40 int savedLayer = canvas.saveLayer(0, 0, canvas.getWidth(), canvas.getHeight(), null); in onDraw()
/frameworks/base/libs/hwui/tests/common/scenes/
DListOfFadedTextAnimation.cpp36 canvas.saveLayer(0, 0, length, itemHeight, nullptr); in createListItem()
DSaveLayer2Animation.cpp51 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding, &mBluePaint); in createContent()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java501 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() method in Canvas
506 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, in saveLayer()
536 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { in saveLayer() method in Canvas
537 return saveLayer(bounds, paint, ALL_SAVE_FLAG); in saveLayer()
565 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() method in Canvas
576 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() method in Canvas
577 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); in saveLayer()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSaveLayerInterleaveActivity.java71 canvas.saveLayer(bounds.left, top, bounds.right, top + padding, in onCreate()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp175 canvas->saveLayer(r, &*lazyPaint); in onDraw()
255 canvas->saveLayer(r, &paint); in drawStaging()
DCanvas.h169 … virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryFillDrawable.kt147 canvas.saveLayer(null, null) in <lambda>()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp224 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) { in saveLayer() function in android::SkiaCanvas
228 return mCanvas->saveLayer(rec); in saveLayer()
235 return this->saveLayer(left, top, right, bottom, &alphaPaint); in saveLayerAlpha()
237 return this->saveLayer(left, top, right, bottom, nullptr); in saveLayerAlpha()
DRecordingCanvas.h121 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas::SaveLayerFlags);
DSkiaCanvas.h82 …virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) over…
DRecordingCanvas.cpp138 c->saveLayer({maybe_unset(bounds), &paint, backdrop.get(), flags}); in draw()
798 void DisplayListData::saveLayer(const SkRect* bounds, const SkPaint* paint, in saveLayer() function in android::uirenderer::DisplayListData
1091 fDL->saveLayer(rec.fBounds, rec.fPaint, rec.fBackdrop, rec.fSaveLayerFlags); in getSaveLayerStrategy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DAccessorizedBatteryDrawable.kt149 c.saveLayer(null, null) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java201 canvas.saveLayer(null, null); in draw()
DThemedBatteryDrawable.kt181 c.saveLayer(null, null) in <lambda>()
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h77 void draw(SkCanvas* canvas) const { canvas->saveLayer(saveLayerRec); }
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp112 static jint saveLayer(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle, jfloat l, jfloat t, in saveLayer() function
115 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint)); in saveLayer()
803 {"nSaveLayer", "(JFFFFJ)I", (void*)CanvasJNI::saveLayer},
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt410 c.saveLayer(0F, 0F, largeIconDimension, largeIconDimension, paint, Canvas.ALL_SAVE_FLAG) in <lambda>()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp204 recorder.saveLayer(0, 0, 400, 400, &layerPaint); in TEST()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java784 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12