/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 133 public static boolean nIsOpaque(long nativeCanvas) { in nIsOpaque() argument 135 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nIsOpaque() 144 public static void nSetHighContrastText(long nativeCanvas, boolean highContrastText){} in nSetHighContrastText() argument 147 public static int nGetWidth(long nativeCanvas) { in nGetWidth() argument 149 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nGetWidth() 158 public static int nGetHeight(long nativeCanvas) { in nGetHeight() argument 160 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nGetHeight() 169 public static int nSave(long nativeCanvas, int saveFlags) { in nSave() argument 171 Canvas_Delegate canvasDelegate = Canvas_Delegate.getDelegate(nativeCanvas); in nSave() 180 public static int nSaveLayer(long nativeCanvas, float l, in nSaveLayer() argument [all …]
|
D | BaseCanvas_Delegate.java | 78 /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, in nDrawBitmap() argument 90 drawBitmap(nativeCanvas, bitmapDelegate, nativePaintOrZero, in nDrawBitmap() 96 … /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float srcLeft, float srcTop, in nDrawBitmap() argument 105 drawBitmap(nativeCanvas, bitmapDelegate, nativePaintOrZero, (int) srcLeft, (int) srcTop, in nDrawBitmap() 111 /*package*/ static void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap() argument 119 draw(nativeCanvas, nativePaintOrZero, true /*compositeOnly*/, false /*forceSrcMode*/, in nDrawBitmap() 131 /*package*/ static void nDrawColor(long nativeCanvas, final int color, final int mode) { in nDrawColor() argument 133 BaseCanvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in nDrawColor() 140 draw(nativeCanvas, (graphics, paint) -> { in nDrawColor() 158 /*package*/ static void nDrawPaint(long nativeCanvas, long paint) { in nDrawPaint() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Picture.java | 178 private static native long nativeBeginRecording(long nativeCanvas, int w, int h); in nativeBeginRecording() argument 179 private static native void nativeEndRecording(long nativeCanvas); in nativeEndRecording() argument 180 private static native void nativeDraw(long nativeCanvas, long nativePicture); in nativeDraw() argument 188 public RecordingCanvas(Picture pict, long nativeCanvas) { in RecordingCanvas() argument 189 super(nativeCanvas); in RecordingCanvas()
|
D | BaseCanvas.java | 556 private static native void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, in nDrawBitmap() argument 559 private static native void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float srcLeft, in nDrawBitmap() argument 564 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap() argument 567 private static native void nDrawColor(long nativeCanvas, int color, int mode); in nDrawColor() argument 569 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint() argument 576 private static native void nDrawLine(long nativeCanvas, float startX, float startY, float stopX, in nDrawLine() argument 582 private static native void nDrawRect(long nativeCanvas, float left, float top, float right, in nDrawRect() argument 585 private static native void nDrawOval(long nativeCanvas, float left, float top, float right, in nDrawOval() argument 588 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, in nDrawCircle() argument 591 private static native void nDrawArc(long nativeCanvas, float left, float top, float right, in nDrawArc() argument [all …]
|
D | Canvas.java | 125 public Canvas(long nativeCanvas) { in Canvas() argument 126 if (nativeCanvas == 0) { in Canvas() 129 mNativeCanvasWrapper = nativeCanvas; in Canvas() 1238 private static native boolean nGetClipBounds(long nativeCanvas, Rect bounds); in nGetClipBounds() argument 1254 private static native int nSaveLayer(long nativeCanvas, float l, float t, float r, float b, in nSaveLayer() argument 1257 private static native int nSaveLayerAlpha(long nativeCanvas, float l, float t, float r, float b, in nSaveLayerAlpha() argument 1275 private static native void nConcat(long nativeCanvas, long nativeMatrix); in nConcat() argument 1277 private static native void nSetMatrix(long nativeCanvas, long nativeMatrix); in nSetMatrix() argument 1279 private static native boolean nClipRect(long nativeCanvas, in nClipRect() argument 1282 private static native boolean nClipPath(long nativeCanvas, long nativePath, int regionOp); in nClipPath() argument [all …]
|
D | Movie.java | 40 private native void nDraw(long nativeCanvas, float x, float y, long paintHandle); in nDraw() argument
|
/frameworks/base/core/java/android/view/ |
D | RecordingCanvas.java | 52 public RecordingCanvas(long nativeCanvas) { in RecordingCanvas() argument 53 super(nativeCanvas); in RecordingCanvas() 536 private static native void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, in nDrawBitmap() argument 540 private static native void nDrawBitmap(long nativeCanvas, Bitmap bitmap, in nDrawBitmap() argument 546 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, in nDrawBitmap() argument 550 private static native void nDrawColor(long nativeCanvas, int color, int mode); in nDrawColor() argument 553 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint() argument 563 private static native void nDrawLine(long nativeCanvas, float startX, float startY, float stopX, in nDrawLine() argument 571 private static native void nDrawRect(long nativeCanvas, float left, float top, float right, in nDrawRect() argument 575 private static native void nDrawOval(long nativeCanvas, float left, float top, float right, in nDrawOval() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 171 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_lockCanvas() local 172 nativeCanvas->setBitmap(bitmap); in android_view_TextureView_lockCanvas() 173 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom, in android_view_TextureView_lockCanvas() 187 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_unlockCanvasAndPost() local 188 nativeCanvas->setBitmap(SkBitmap()); in android_view_TextureView_unlockCanvasAndPost()
|
D | android_view_Surface.cpp | 348 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeLockCanvas() local 349 nativeCanvas->setBitmap(bitmap); in nativeLockCanvas() 352 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, in nativeLockCanvas() 379 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeUnlockCanvasAndPost() local 380 nativeCanvas->setBitmap(SkBitmap()); in nativeUnlockCanvasAndPost()
|
/frameworks/webview/chromium/plat_support/ |
D | graphics_utils.cpp | 58 android::Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, java_canvas); in GetPixels() local 59 if (!nativeCanvas) in GetPixels() 62 PixelInfo* pixels = new PixelInfo(nativeCanvas); in GetPixels()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicBuffer.cpp | 209 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_graphics_GraphicBuffer_lockCanvas() local 210 nativeCanvas->setBitmap(bitmap); in android_graphics_GraphicBuffer_lockCanvas() 211 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom, in android_graphics_GraphicBuffer_lockCanvas() 227 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_graphics_GraphicBuffer_unlockCanvasAndPost() local 228 nativeCanvas->setBitmap(SkBitmap()); in android_graphics_GraphicBuffer_unlockCanvasAndPost()
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfDocument.java | 254 public PdfCanvas(long nativeCanvas) { in PdfCanvas() argument 255 super(nativeCanvas); in PdfCanvas()
|