Home
last modified time | relevance | path

Searched refs:RecordingCanvas (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp1073 RecordingCanvas::RecordingCanvas() : INHERITED(1, 1), fDL(nullptr) {} in RecordingCanvas() function in android::uirenderer::RecordingCanvas
1075 void RecordingCanvas::reset(DisplayListData* dl, const SkIRect& bounds) { in reset()
1082 sk_sp<SkSurface> RecordingCanvas::onNewSurface(const SkImageInfo&, const SkSurfaceProps&) { in onNewSurface()
1086 void RecordingCanvas::willSave() { in willSave()
1090 SkCanvas::SaveLayerStrategy RecordingCanvas::getSaveLayerStrategy(const SaveLayerRec& rec) { in getSaveLayerStrategy()
1094 void RecordingCanvas::willRestore() { in willRestore()
1103 bool RecordingCanvas::onDoSaveBehind(const SkRect* subset) { in onDoSaveBehind()
1108 void RecordingCanvas::didConcat44(const SkM44& m) { in didConcat44()
1111 void RecordingCanvas::didSetM44(const SkM44& matrix) { in didSetM44()
1114 void RecordingCanvas::didScale(SkScalar sx, SkScalar sy) { in didScale()
[all …]
DRecordingCanvas.h98 class RecordingCanvas; variable
118 friend class RecordingCanvas;
189 class RecordingCanvas final : public SkCanvasVirtualEnforcer<SkNoDrawCanvas> {
191 RecordingCanvas();
/frameworks/base/graphics/java/android/graphics/
DRecordingCanvas.java36 public final class RecordingCanvas extends BaseRecordingCanvas { class
51 private static final SynchronizedPool<RecordingCanvas> sPool =
62 static RecordingCanvas obtain(@NonNull RenderNode node, int width, int height) { in obtain()
64 RecordingCanvas canvas = sPool.acquire(); in obtain()
66 canvas = new RecordingCanvas(node, width, height); in obtain()
92 private RecordingCanvas(@NonNull RenderNode node, int width, int height) { in RecordingCanvas() method in RecordingCanvas
DRenderNode.java211 private RecordingCanvas mCurrentRecordingCanvas;
482 public @NonNull RecordingCanvas beginRecording(int width, int height) { in beginRecording()
487 mCurrentRecordingCanvas = RecordingCanvas.obtain(this, width, height); in beginRecording()
502 public @NonNull RecordingCanvas beginRecording() { in beginRecording()
519 RecordingCanvas canvas = mCurrentRecordingCanvas; in endRecording()
530 public RecordingCanvas start(int width, int height) { in start()
539 public void end(RecordingCanvas canvas) { in end()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DVariableFontPerfTest.java20 import android.graphics.RecordingCanvas;
64 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_SetVariationOnce()
84 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_SetVariationEachDraw()
106 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_SetDifferentVariationEachDraw()
DCanvasDrawTextTest.java18 import android.graphics.RecordingCanvas;
60 RecordingCanvas canvas = node.beginRecording(); in drawText_LongText_SmallWindow()
DStaticLayoutPerfTest.java20 import android.graphics.RecordingCanvas;
311 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_FixedText_NoStyled()
328 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_Styled()
345 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_NoStyled()
362 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_Styled_WithoutCache()
380 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_NoStyled_WithoutCache()
399 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_Styled()
417 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_NoStyled()
435 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_Styled_WithoutCache()
454 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_NoStyled_WithoutCache()
DPaintMeasureDrawPerfTest.java20 import android.graphics.RecordingCanvas;
111 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
DStaticLayoutCreateDrawPerfTest.java21 import android.graphics.RecordingCanvas;
123 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
DBoringLayoutCreateDrawPerfTest.java21 import android.graphics.RecordingCanvas;
124 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleAnimationSession.java28 import android.graphics.RecordingCanvas;
71 enterHardware((RecordingCanvas) canvas); in enter()
85 if (useRTAnimations(canvas)) exitHardware((RecordingCanvas) canvas); in exit()
108 RecordingCanvas hwCanvas = (RecordingCanvas) canvas; in useRTAnimations()
150 private void exitHardware(RecordingCanvas canvas) { in exitHardware()
175 private void enterHardware(RecordingCanvas canvas) { in enterHardware()
DRippleForeground.java26 import android.graphics.RecordingCanvas;
135 private void startPending(RecordingCanvas c) { in startPending()
167 private void drawHardware(RecordingCanvas c, Paint p) { in drawHardware()
335 final boolean hasDisplayListCanvas = !mForceSoftware && c instanceof RecordingCanvas; in draw()
339 final RecordingCanvas hw = (RecordingCanvas) c; in draw()
/frameworks/base/core/java/android/view/
DWindowCallbacks.java19 import android.graphics.RecordingCanvas;
82 void onPostDraw(RecordingCanvas canvas); in onPostDraw()
DGhostView.java21 import android.graphics.RecordingCanvas;
52 if (canvas instanceof RecordingCanvas) { in onDraw()
53 RecordingCanvas dlCanvas = (RecordingCanvas) canvas; in onDraw()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DCustomRenderer.java24 import android.graphics.RecordingCanvas;
65 RecordingCanvas canvas = mRootNode.beginRecording(); in setupRoot()
88 RecordingCanvas canvas = mChildNode.beginRecording(); in setupChild()
DCirclePropActivity.java25 import android.graphics.RecordingCanvas;
91 RecordingCanvas recordingCanvas = (RecordingCanvas) canvas; in onDraw()
DRippleActivity.java25 import android.graphics.RecordingCanvas;
121 RecordingCanvas recordingCanvas = (RecordingCanvas) canvas; in onDraw()
DStretchySurfaceViewActivity.java25 import android.graphics.RecordingCanvas;
101 RenderNode node = ((RecordingCanvas) canvas).mNode; in onCreate()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java30 import android.graphics.RecordingCanvas;
123 if (!(canvas instanceof RecordingCanvas)) { in drawWebViewFunctor()
128 ((RecordingCanvas) canvas).drawWebViewFunctor(functor); in drawWebViewFunctor()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/
DFrameBuffer.kt22 import android.graphics.RecordingCanvas in <lambda>()
60 fun beginDrawing(): RecordingCanvas { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DImageTile.java25 import android.graphics.RecordingCanvas;
71 RecordingCanvas canvas = mNode.beginRecording(w, h); in getDisplayList()
DImageTileSet.java21 import android.graphics.RecordingCanvas;
147 RecordingCanvas canvas = output.beginRecording(); in toBitmap()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java29 import android.graphics.RecordingCanvas;
58 RecordingCanvas canvas = node.start(100, 100); in testBasicViewGroupDraw()
85 RecordingCanvas canvas = node.start(100, 100); in testRecordSimpleBitmapView()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/scroll/
DFakeScrollCaptureConnection.java24 import android.graphics.RecordingCanvas;
102 private RecordingCanvas mCanvas;
/frameworks/layoutlib/bridge/src/android/graphics/
DLayoutlibRenderer.java32 RecordingCanvas canvas = mRootNode.beginRecording(); in setContentRoot()

123