Home
last modified time | relevance | path

Searched defs:nativeCanvas (Results 1 – 13 of 13) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java129 public static boolean nIsOpaque(long nativeCanvas) { in nIsOpaque()
140 public static int nGetWidth(long nativeCanvas) { in nGetWidth()
151 public static int nGetHeight(long nativeCanvas) { in nGetHeight()
162 public static int nSave(long nativeCanvas, int saveFlags) { in nSave()
173 public static int nSaveLayer(long nativeCanvas, float l, in nSaveLayer()
189 public static int nSaveUnclippedLayer(long nativeCanvas, int l, int t, int r, int b) { in nSaveUnclippedLayer()
194 public static int nSaveLayerAlpha(long nativeCanvas, float l, in nSaveLayerAlpha()
207 public static boolean nRestore(long nativeCanvas) { in nRestore()
220 public static void nRestoreToCount(long nativeCanvas, int saveCount) { in nRestoreToCount()
232 public static int nGetSaveCount(long nativeCanvas) { in nGetSaveCount()
[all …]
DBaseCanvas_Delegate.java81 /*package*/ static void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, float top, in nDrawBitmap()
99 /*package*/ static void nDrawBitmap(long nativeCanvas, long bitmapHandle, float srcLeft, in nDrawBitmap()
115 /*package*/ static void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap()
135 /*package*/ static void nDrawColor(long nativeCanvas, final int color, final int mode) { in nDrawColor()
162 /*package*/ static void nDrawColor(long nativeCanvas, long nativeColorSpace, long color, in nDrawColor()
168 /*package*/ static void nDrawPaint(long nativeCanvas, long paint) { in nDrawPaint()
175 /*package*/ static void nDrawPoint(long nativeCanvas, float x, float y, in nDrawPoint()
183 /*package*/ static void nDrawPoints(long nativeCanvas, float[] pts, int offset, int count, in nDrawPoints()
196 /*package*/ static void nDrawLine(long nativeCanvas, in nDrawLine()
204 /*package*/ static void nDrawLines(long nativeCanvas, in nDrawLines()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBaseRecordingCanvas.java43 public BaseRecordingCanvas(long nativeCanvas) { in BaseRecordingCanvas()
580 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap()
585 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, in nDrawBitmap()
591 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap()
595 private static native void nDrawColor(long nativeCanvas, int color, int mode); in nDrawColor()
598 private static native void nDrawColor(long nativeCanvas, long nativeColorSpace, in nDrawColor()
602 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint()
612 private static native void nDrawLine(long nativeCanvas, float startX, float startY, float stopX, in nDrawLine()
620 private static native void nDrawRect(long nativeCanvas, float left, float top, float right, in nDrawRect()
624 private static native void nDrawOval(long nativeCanvas, float left, float top, float right, in nDrawOval()
[all …]
DBaseCanvas.java663 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap()
667 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float srcLeft, in nDrawBitmap()
672 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap()
675 private static native void nDrawColor(long nativeCanvas, int color, int mode); in nDrawColor()
677 private static native void nDrawColor(long nativeCanvas, long nativeColorSpace, in nDrawColor()
680 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint()
687 private static native void nDrawLine(long nativeCanvas, float startX, float startY, float stopX, in nDrawLine()
693 private static native void nDrawRect(long nativeCanvas, float left, float top, float right, in nDrawRect()
696 private static native void nDrawOval(long nativeCanvas, float left, float top, float right, in nDrawOval()
699 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, in nDrawCircle()
[all …]
DPicture.java236 private static native long nativeBeginRecording(long nativeCanvas, int w, int h); in nativeBeginRecording()
237 private static native void nativeEndRecording(long nativeCanvas); in nativeEndRecording()
238 private static native void nativeDraw(long nativeCanvas, long nativePicture); in nativeDraw()
247 public PictureCanvas(Picture pict, long nativeCanvas) { in PictureCanvas()
DCanvas.java129 public Canvas(long nativeCanvas) { in Canvas()
1389 private static native boolean nGetClipBounds(long nativeCanvas, Rect bounds); in nGetClipBounds()
1403 private static native int nSaveLayer(long nativeCanvas, float l, float t, float r, float b, in nSaveLayer()
1406 private static native int nSaveLayerAlpha(long nativeCanvas, float l, float t, float r, float b, in nSaveLayerAlpha()
1409 private static native int nSaveUnclippedLayer(long nativeCanvas, int l, int t, int r, int b); in nSaveUnclippedLayer()
1411 private static native void nRestoreUnclippedLayer(long nativeCanvas, int saveCount, in nRestoreUnclippedLayer()
1429 private static native void nConcat(long nativeCanvas, long nativeMatrix); in nConcat()
1431 private static native void nSetMatrix(long nativeCanvas, long nativeMatrix); in nSetMatrix()
1433 private static native boolean nClipRect(long nativeCanvas, in nClipRect()
1436 private static native boolean nClipPath(long nativeCanvas, long nativePath, int regionOp); in nClipPath()
[all …]
DMovie.java49 private native void nDraw(long nativeCanvas, float x, float y, long paintHandle); in nDraw()
/frameworks/base/core/java/android/view/
DDisplayListCanvas.java34 protected DisplayListCanvas(long nativeCanvas) { in DisplayListCanvas()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp170 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_lockCanvas() local
186 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_unlockCanvasAndPost() local
Dandroid_view_Surface.cpp273 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeLockCanvas() local
304 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeUnlockCanvasAndPost() local
/frameworks/base/native/webview/plat_support/
Dgraphics_utils.cpp58 android::Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, java_canvas); in GetPixels() local
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp208 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_graphics_GraphicBuffer_lockCanvas() local
226 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_graphics_GraphicBuffer_unlockCanvasAndPost() local
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java254 public PdfCanvas(long nativeCanvas) { in PdfCanvas()