Home
last modified time | relevance | path

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

12

/frameworks/base/tests/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.java59 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() method in NopCanvas
64 public int saveLayer(RectF bounds, Paint paint) { in saveLayer() method in NopCanvas
69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() method in NopCanvas
75 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/graphics/java/android/graphics/
DCanvas.java515 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() method in Canvas
520 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, in saveLayer()
550 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { in saveLayer() method in Canvas
551 return saveLayer(bounds, paint, ALL_SAVE_FLAG); in saveLayer()
579 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() method in Canvas
591 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() method in Canvas
592 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); in saveLayer()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp152 canvas->saveLayer(mSkAnimatedImage->getBounds(), &*lazyPaint); in onDraw()
213 canvas->saveLayer(mSkAnimatedImage->getBounds(), &paint); in drawStaging()
DCanvas.h196 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
/frameworks/base/libs/hwui/tests/common/scenes/
DListOfFadedTextAnimation.cpp35 canvas.saveLayer(0, 0, length, itemHeight, nullptr, SaveFlags::HasAlphaLayer); in createListItem()
DSaveLayer2Animation.cpp50 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding, &mBluePaint, in createContent()
/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/
DSkiaCanvas.cpp172 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, in saveLayer() function in android::SkiaCanvas
177 return mCanvas->saveLayer(rec); in saveLayer()
185 return this->saveLayer(left, top, right, bottom, &alphaPaint, flags); in saveLayerAlpha()
187 return this->saveLayer(left, top, right, bottom, nullptr, flags); in saveLayerAlpha()
DRecordingCanvas.h76 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, const SkImage*,
DSkiaCanvas.h74 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
DRecordingCanvas.cpp117 c->saveLayer({maybe_unset(bounds), &paint, backdrop.get(), clipMask.get(), in draw()
539 void DisplayListData::saveLayer(const SkRect* bounds, const SkPaint* paint, in saveLayer() function in android::uirenderer::DisplayListData
789 fDL->saveLayer(rec.fBounds, rec.fPaint, rec.fBackdrop, rec.fClipMask, rec.fClipMatrix, in getSaveLayerStrategy()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java780 return saveLayer(rect, paint, saveFlags); in saveLayerAlpha()
783 protected int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { in saveLayer() method in BaseCanvas_Delegate
787 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags); in saveLayer()
DCanvas_Delegate.java184 return canvasDelegate.saveLayer(new RectF(l, t, r, b), in nSaveLayer()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java186 canvas.saveLayer(null, null); in draw()
DThemedBatteryDrawable.kt180 c.saveLayer(null, null) in <lambda>()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp92 static jint saveLayer(jlong canvasHandle, jfloat l, jfloat t, in saveLayer() function
96 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint, flags)); in saveLayer()
673 {"nSaveLayer","(JFFFFJI)I", (void*) CanvasJNI::saveLayer},
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java248 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { in saveLayer() method in GcSnapshot
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp200 recorder.saveLayer(0, 0, 400, 400, &layerPaint, SaveFlags::ClipToLayer); in TEST()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java760 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10663 method public int saveLayer(android.graphics.RectF, android.graphics.Paint, int);
10664 method public int saveLayer(android.graphics.RectF, android.graphics.Paint);
10665 method public int saveLayer(float, float, float, float, android.graphics.Paint, int);
10666 method public int saveLayer(float, float, float, float, android.graphics.Paint);
/frameworks/base/config/
Dboot-image-profile.txt41568 HSPLandroid/graphics/Canvas;->saveLayer(FFFFLandroid/graphics/Paint;I)I
41569 HSPLandroid/graphics/Canvas;->saveLayer(Landroid/graphics/RectF;Landroid/graphics/Paint;)I
41570 HSPLandroid/graphics/Canvas;->saveLayer(Landroid/graphics/RectF;Landroid/graphics/Paint;I)I

12