Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp767 RecordingCanvas::RecordingCanvas() : INHERITED(1, 1), fDL(nullptr) {} in RecordingCanvas() function in android::uirenderer::RecordingCanvas
769 void RecordingCanvas::reset(DisplayListData* dl, const SkIRect& bounds) { in reset()
776 sk_sp<SkSurface> RecordingCanvas::onNewSurface(const SkImageInfo&, const SkSurfaceProps&) { in onNewSurface()
780 void RecordingCanvas::onFlush() { in onFlush()
784 void RecordingCanvas::willSave() { in willSave()
788 SkCanvas::SaveLayerStrategy RecordingCanvas::getSaveLayerStrategy(const SaveLayerRec& rec) { in getSaveLayerStrategy()
793 void RecordingCanvas::willRestore() { in willRestore()
802 bool RecordingCanvas::onDoSaveBehind(const SkRect* subset) { in onDoSaveBehind()
807 void RecordingCanvas::didConcat(const SkMatrix& matrix) { in didConcat()
810 void RecordingCanvas::didSetMatrix(const SkMatrix& matrix) { in didSetMatrix()
[all …]
DRecordingCanvas.h53 class RecordingCanvas; variable
71 friend class RecordingCanvas;
137 class RecordingCanvas final : public SkCanvasVirtualEnforcer<SkNoDrawCanvas> {
139 RecordingCanvas();
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java30 import android.graphics.RecordingCanvas;
117 if (!(canvas instanceof RecordingCanvas)) { in callDrawGlFunction()
122 ((RecordingCanvas) canvas).drawGLFunctor2(nativeDrawGLFunctor, null); in callDrawGlFunction()
141 if (!(canvas instanceof RecordingCanvas)) { in callDrawGlFunction()
146 ((RecordingCanvas) canvas).drawGLFunctor2(nativeDrawGLFunctor, releasedRunnable); in callDrawGlFunction()
155 if (!(canvas instanceof RecordingCanvas)) { in drawWebViewFunctor()
160 ((RecordingCanvas) canvas).drawWebViewFunctor(functor); in drawWebViewFunctor()
/frameworks/base/graphics/java/android/graphics/
DRecordingCanvas.java38 public final class RecordingCanvas extends DisplayListCanvas { class
46 private static final SynchronizedPool<RecordingCanvas> sPool =
57 static RecordingCanvas obtain(@NonNull RenderNode node, int width, int height) { in obtain()
59 RecordingCanvas canvas = sPool.acquire(); in obtain()
61 canvas = new RecordingCanvas(node, width, height); in obtain()
94 protected RecordingCanvas(@NonNull RenderNode node, int width, int height) { in RecordingCanvas() method in RecordingCanvas
DRenderNode.java210 private RecordingCanvas mCurrentRecordingCanvas;
370 public @NonNull RecordingCanvas beginRecording(int width, int height) { in beginRecording()
375 mCurrentRecordingCanvas = RecordingCanvas.obtain(this, width, height); in beginRecording()
390 public @NonNull RecordingCanvas beginRecording() { in beginRecording()
407 RecordingCanvas canvas = mCurrentRecordingCanvas; in endRecording()
419 public RecordingCanvas start(int width, int height) { in start()
428 public void end(RecordingCanvas canvas) { in end()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java20 import android.graphics.RecordingCanvas;
268 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_FixedText_NoStyled()
285 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_Styled()
302 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_NoStyled()
319 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_Styled_WithoutCache()
337 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_RandomText_NoStyled_WithoutCache()
356 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_Styled()
374 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_NoStyled()
392 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_Styled_WithoutCache()
411 final RecordingCanvas c = node.beginRecording(1200, 200); in testDraw_PrecomputedText_NoStyled_WithoutCache()
DCanvasDrawTextTest.java18 import android.graphics.RecordingCanvas;
59 RecordingCanvas canvas = node.start(100, 100); in drawText_LongText_SmallWindow()
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()
DTextViewSetTextMeasurePerfTest.java22 import android.graphics.RecordingCanvas;
132 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java23 import android.graphics.RecordingCanvas;
47 RecordingCanvas canvas = node.start(100, 100); in testBasicViewGroupDraw()
74 RecordingCanvas canvas = node.start(100, 100); in testRecordSimpleBitmapView()
/frameworks/base/core/java/android/view/
DWindowCallbacks.java19 import android.graphics.RecordingCanvas;
86 void onPostDraw(RecordingCanvas canvas); in onPostDraw()
DRenderNodeAnimatorSetHelper.java19 import android.graphics.RecordingCanvas;
35 public static RenderNode getTarget(RecordingCanvas recordingCanvas) { in getTarget()
DGhostView.java21 import android.graphics.RecordingCanvas;
52 if (canvas instanceof RecordingCanvas) { in onDraw()
53 RecordingCanvas dlCanvas = (RecordingCanvas) canvas; in onDraw()
DThreadedRenderer.java26 import android.graphics.RecordingCanvas;
603 RecordingCanvas canvas = mRootNode.beginRecording(mSurfaceWidth, mSurfaceHeight); in updateRootDisplayList()
635 void onPreDraw(RecordingCanvas canvas); in onPreDraw()
643 void onPostDraw(RecordingCanvas canvas); in onPostDraw()
DTextureView.java26 import android.graphics.RecordingCanvas;
347 RecordingCanvas recordingCanvas = (RecordingCanvas) canvas; in draw()
DRenderNodeAnimator.java25 import android.graphics.RecordingCanvas;
299 public void setTarget(RecordingCanvas canvas) { in setTarget()
306 setTarget((RecordingCanvas) canvas); in setTarget()
/frameworks/base/tests/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()
DMultiProducerActivity.java24 import android.graphics.RecordingCanvas;
209 RecordingCanvas canvas = nodeFrame.start(currentFrameBounds.width(), in run()
231 RecordingCanvas canvas = nodeBack.start(currentBackBounds.width(), in run()
/frameworks/base/graphics/java/android/graphics/drawable/
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/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowCallbacksCompat.java20 import android.graphics.RecordingCanvas;
58 public void onPostDraw(RecordingCanvas canvas) {
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java19 import android.graphics.RecordingCanvas;
342 RecordingCanvas canvas = mFrameAndBackdropNode.beginRecording(width, height); in redrawLocked()
371 RecordingCanvas canvas = mSystemBarBackgroundNode.beginRecording(width, height); in drawColorViews()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java23 import android.graphics.RecordingCanvas;
347 final RecordingCanvas c = node.beginRecording( in testOnDraw_RandomText()
374 final RecordingCanvas c = node.beginRecording( in testOnDraw_RandomText_Selectable()
403 final RecordingCanvas c = node.beginRecording( in testOnDraw_PrecomputedText()
433 final RecordingCanvas c = node.beginRecording( in testOnDraw_PrecomputedText_Selectable()

12