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.java151 /*package*/ static boolean native_isOpaque(long nativeCanvas) { in native_isOpaque() argument
153 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_isOpaque()
162 /*package*/ static int native_getWidth(long nativeCanvas) { in native_getWidth() argument
164 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getWidth()
173 /*package*/ static int native_getHeight(long nativeCanvas) { in native_getHeight() argument
175 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getHeight()
184 /*package*/ static int native_save(long nativeCanvas, int saveFlags) { in native_save() argument
186 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_save()
195 /*package*/ static int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
199 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayer()
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java94 public CanvasFinalizer(long nativeCanvas) { in CanvasFinalizer() argument
95 mNativeCanvasWrapper = nativeCanvas; in CanvasFinalizer()
152 public Canvas(long nativeCanvas) { in Canvas() argument
153 if (nativeCanvas == 0) { in Canvas()
156 mNativeCanvasWrapper = nativeCanvas; in Canvas()
1988 private static native int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
1992 private static native int native_saveLayerAlpha(long nativeCanvas, float l, in native_saveLayerAlpha() argument
2008 private static native void native_concat(long nativeCanvas, in native_concat() argument
2010 private static native void native_setMatrix(long nativeCanvas, in native_setMatrix() argument
2012 private static native boolean native_clipRect(long nativeCanvas, in native_clipRect() argument
[all …]
DPicture.java182 private static native long nativeBeginRecording(long nativeCanvas, int w, int h); in nativeBeginRecording() argument
183 private static native void nativeEndRecording(long nativeCanvas); in nativeEndRecording() argument
184 private static native void nativeDraw(long nativeCanvas, long nativePicture); in nativeDraw() argument
192 public RecordingCanvas(Picture pict, long nativeCanvas) { in RecordingCanvas() argument
193 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.cpp170 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_lockCanvas() local
171 nativeCanvas->setBitmap(bitmap); in android_view_TextureView_lockCanvas()
172 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); in android_view_TextureView_lockCanvas()
185 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_unlockCanvasAndPost() local
186 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.cpp333 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeLockCanvas() local
334 nativeCanvas->setBitmap(bitmap); in nativeLockCanvas()
337 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, in nativeLockCanvas()
364 Canvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeUnlockCanvasAndPost() local
365 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()