Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java156 public static boolean native_isOpaque(long nativeCanvas) { in native_isOpaque() argument
158 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_isOpaque()
167 public static void native_setHighContrastText(long nativeCanvas, boolean highContrastText){} in native_setHighContrastText() argument
170 public static int native_getWidth(long nativeCanvas) { in native_getWidth() argument
172 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getWidth()
181 public static int native_getHeight(long nativeCanvas) { in native_getHeight() argument
183 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getHeight()
192 public static int native_save(long nativeCanvas, int saveFlags) { in native_save() argument
194 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_save()
203 public static int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java142 public Canvas(long nativeCanvas) { in Canvas() argument
143 if (nativeCanvas == 0) { in Canvas()
146 mNativeCanvasWrapper = nativeCanvas; in Canvas()
2004 private static native int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
2008 private static native int native_saveLayerAlpha(long nativeCanvas, float l, in native_saveLayerAlpha() argument
2024 private static native void native_concat(long nativeCanvas, in native_concat() argument
2026 private static native void native_setMatrix(long nativeCanvas, in native_setMatrix() argument
2028 private static native boolean native_clipRect(long nativeCanvas, in native_clipRect() argument
2032 private static native boolean native_clipPath(long nativeCanvas, in native_clipPath() argument
2035 private static native boolean native_clipRegion(long nativeCanvas, in native_clipRegion() argument
[all …]
DPicture.java183 private static native long nativeBeginRecording(long nativeCanvas, int w, int h); in nativeBeginRecording() argument
184 private static native void nativeEndRecording(long nativeCanvas); in nativeEndRecording() argument
185 private static native void nativeDraw(long nativeCanvas, long nativePicture); in nativeDraw() argument
193 public RecordingCanvas(Picture pict, long nativeCanvas) { in RecordingCanvas() argument
194 super(nativeCanvas); in RecordingCanvas()
DMovie.java40 private native void nDraw(long nativeCanvas, float x, float y, long paintHandle); in nDraw() argument
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp166 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_lockCanvas() local
167 nativeCanvas->setBitmap(bitmap); in android_view_TextureView_lockCanvas()
168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); in android_view_TextureView_lockCanvas()
181 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_unlockCanvasAndPost() local
182 nativeCanvas->setBitmap(SkBitmap()); in android_view_TextureView_unlockCanvasAndPost()
Dandroid_view_GraphicBuffer.cpp194 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_GraphicBuffer_lockCanvas() local
195 nativeCanvas->setBitmap(bitmap); in android_view_GraphicBuffer_lockCanvas()
196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); in android_view_GraphicBuffer_lockCanvas()
211 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_GraphicBuffer_unlockCanvasAndPost() local
212 nativeCanvas->setBitmap(SkBitmap()); in android_view_GraphicBuffer_unlockCanvasAndPost()
Dandroid_view_Surface.cpp337 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeLockCanvas() local
338 nativeCanvas->setBitmap(bitmap); in nativeLockCanvas()
341 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, in nativeLockCanvas()
368 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeUnlockCanvasAndPost() local
369 nativeCanvas->setBitmap(SkBitmap()); in nativeUnlockCanvasAndPost()
/frameworks/webview/chromium/plat_support/
Dgraphics_utils.cpp58 android::Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, java_canvas); in GetPixels() local
59 if (!nativeCanvas) in GetPixels()
62 SkCanvas* canvas = nativeCanvas->asSkCanvas(); in GetPixels()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java251 public PdfCanvas(long nativeCanvas) { in PdfCanvas() argument
252 super(nativeCanvas); in PdfCanvas()