Home
last modified time | relevance | path

Searched refs:nativeCanvas (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java349 /*package*/ static int native_saveLayer(int nativeCanvas, RectF bounds, in native_saveLayer() argument
352 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayer()
366 /*package*/ static int native_saveLayer(int nativeCanvas, float l, in native_saveLayer() argument
370 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayer()
385 /*package*/ static int native_saveLayerAlpha(int nativeCanvas, in native_saveLayerAlpha() argument
389 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayerAlpha()
398 /*package*/ static int native_saveLayerAlpha(int nativeCanvas, float l, in native_saveLayerAlpha() argument
402 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayerAlpha()
485 /*package*/ static boolean native_clipPath(int nativeCanvas, in native_clipPath() argument
488 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_clipPath()
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java88 public CanvasFinalizer(int nativeCanvas) { in CanvasFinalizer() argument
89 mNativeCanvas = nativeCanvas; in CanvasFinalizer()
136 Canvas(int nativeCanvas) { in Canvas() argument
137 if (nativeCanvas == 0) { in Canvas()
140 mNativeCanvas = nativeCanvas; in Canvas()
141 mFinalizer = new CanvasFinalizer(nativeCanvas); in Canvas()
149 private void safeCanvasSwap(int nativeCanvas, boolean copyState) { in safeCanvasSwap() argument
151 mNativeCanvas = nativeCanvas; in safeCanvasSwap()
152 mFinalizer.mNativeCanvas = nativeCanvas; in safeCanvasSwap()
1665 private static native int native_saveLayer(int nativeCanvas, RectF bounds, in native_saveLayer() argument
[all …]
DPicture.java183 private static native int nativeBeginRecording(int nativeCanvas, in nativeBeginRecording() argument
185 private static native void nativeEndRecording(int nativeCanvas); in nativeEndRecording() argument
186 private static native void nativeDraw(int nativeCanvas, int nativePicture); in nativeDraw() argument
194 public RecordingCanvas(Picture pict, int nativeCanvas) { in RecordingCanvas() argument
195 super(nativeCanvas); in RecordingCanvas()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp176 SkCanvas* nativeCanvas = SkNEW_ARGS(SkCanvas, (bitmap)); in android_view_TextureView_lockCanvas() local
177 swapCanvasPtr(env, canvas, nativeCanvas); in android_view_TextureView_lockCanvas()
181 nativeCanvas->clipRect(clipRect); in android_view_TextureView_lockCanvas()
192 SkCanvas* nativeCanvas = SkNEW(SkCanvas); in android_view_TextureView_unlockCanvasAndPost() local
193 swapCanvasPtr(env, canvas, nativeCanvas); in android_view_TextureView_unlockCanvasAndPost()
Dandroid_view_Surface.cpp254 SkCanvas* nativeCanvas = SkNEW_ARGS(SkCanvas, (bitmap)); in nativeLockCanvas() local
255 swapCanvasPtr(env, canvasObj, nativeCanvas); in nativeLockCanvas()
270 nativeCanvas->clipRegion(clipReg); in nativeLockCanvas()
289 SkCanvas* nativeCanvas = SkNEW(SkCanvas); in nativeUnlockCanvasAndPost() local
290 swapCanvasPtr(env, canvasObj, nativeCanvas); in nativeUnlockCanvasAndPost()