/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 767 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 …]
|
D | RecordingCanvas.h | 53 class RecordingCanvas; variable 71 friend class RecordingCanvas; 137 class RecordingCanvas final : public SkCanvasVirtualEnforcer<SkNoDrawCanvas> { 139 RecordingCanvas();
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewDelegate.java | 30 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/ |
D | RecordingCanvas.java | 38 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
|
D | RenderNode.java | 210 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/ |
D | StaticLayoutPerfTest.java | 20 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()
|
D | CanvasDrawTextTest.java | 18 import android.graphics.RecordingCanvas; 59 RecordingCanvas canvas = node.start(100, 100); in drawText_LongText_SmallWindow()
|
D | PaintMeasureDrawPerfTest.java | 20 import android.graphics.RecordingCanvas; 111 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
|
D | StaticLayoutCreateDrawPerfTest.java | 21 import android.graphics.RecordingCanvas; 123 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
|
D | BoringLayoutCreateDrawPerfTest.java | 21 import android.graphics.RecordingCanvas; 124 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
|
D | TextViewSetTextMeasurePerfTest.java | 22 import android.graphics.RecordingCanvas; 132 final RecordingCanvas canvas = node.start(1200, 200); in timeDraw()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 23 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/ |
D | WindowCallbacks.java | 19 import android.graphics.RecordingCanvas; 86 void onPostDraw(RecordingCanvas canvas); in onPostDraw()
|
D | RenderNodeAnimatorSetHelper.java | 19 import android.graphics.RecordingCanvas; 35 public static RenderNode getTarget(RecordingCanvas recordingCanvas) { in getTarget()
|
D | GhostView.java | 21 import android.graphics.RecordingCanvas; 52 if (canvas instanceof RecordingCanvas) { in onDraw() 53 RecordingCanvas dlCanvas = (RecordingCanvas) canvas; in onDraw()
|
D | ThreadedRenderer.java | 26 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()
|
D | TextureView.java | 26 import android.graphics.RecordingCanvas; 347 RecordingCanvas recordingCanvas = (RecordingCanvas) canvas; in draw()
|
D | RenderNodeAnimator.java | 25 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/ |
D | CustomRenderer.java | 24 import android.graphics.RecordingCanvas; 65 RecordingCanvas canvas = mRootNode.beginRecording(); in setupRoot() 88 RecordingCanvas canvas = mChildNode.beginRecording(); in setupChild()
|
D | CirclePropActivity.java | 25 import android.graphics.RecordingCanvas; 91 RecordingCanvas recordingCanvas = (RecordingCanvas) canvas; in onDraw()
|
D | MultiProducerActivity.java | 24 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/ |
D | RippleForeground.java | 26 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/ |
D | WindowCallbacksCompat.java | 20 import android.graphics.RecordingCanvas; 58 public void onPostDraw(RecordingCanvas canvas) {
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 19 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/ |
D | TextViewPrecomputedTextPerfTest.java | 23 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()
|