Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java147 /*package*/ static boolean native_isOpaque(long nativeCanvas) { in native_isOpaque() argument
149 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_isOpaque()
158 /*package*/ static int native_getWidth(long nativeCanvas) { in native_getWidth() argument
160 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getWidth()
169 /*package*/ static int native_getHeight(long nativeCanvas) { in native_getHeight() argument
171 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getHeight()
180 /*package*/ static int native_save(long nativeCanvas, int saveFlags) { in native_save() argument
182 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_save()
191 /*package*/ static int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
195 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_saveLayer()
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java102 public CanvasFinalizer(long nativeCanvas) { in CanvasFinalizer() argument
103 mNativeCanvasWrapper = nativeCanvas; in CanvasFinalizer()
160 public Canvas(long nativeCanvas) { in Canvas() argument
161 if (nativeCanvas == 0) { in Canvas()
164 mNativeCanvasWrapper = nativeCanvas; in Canvas()
1972 private static native int native_saveLayer(long nativeCanvas, float l, in native_saveLayer() argument
1976 private static native int native_saveLayerAlpha(long nativeCanvas, float l, in native_saveLayerAlpha() argument
1991 private static native void native_concat(long nativeCanvas, in native_concat() argument
1993 private static native void native_setMatrix(long nativeCanvas, in native_setMatrix() argument
1995 private static native boolean native_clipRect(long nativeCanvas, in native_clipRect() argument
[all …]
DPicture.java187 private static native long nativeBeginRecording(long nativeCanvas, int w, int h); in nativeBeginRecording() argument
188 private static native void nativeEndRecording(long nativeCanvas); in nativeEndRecording() argument
189 private static native void nativeDraw(long nativeCanvas, long nativePicture); in nativeDraw() argument
197 public RecordingCanvas(Picture pict, long nativeCanvas) { in RecordingCanvas() argument
198 super(nativeCanvas); in RecordingCanvas()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java251 public PdfCanvas(long nativeCanvas) { in PdfCanvas() argument
252 super(nativeCanvas); in PdfCanvas()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp175 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_TextureView_lockCanvas() local
176 nativeCanvas->clipRect(clipRect); in android_view_TextureView_lockCanvas()
Dandroid_view_GraphicBuffer.cpp207 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas); in android_view_GraphicBuffer_lockCanvas() local
208 nativeCanvas->clipRect(clipRect); in android_view_GraphicBuffer_lockCanvas()
Dandroid_view_Surface.cpp249 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj); in nativeLockCanvas() local
250 nativeCanvas->clipRect( SkRect::Make(reinterpret_cast<const SkIRect&>(dirtyRect)) ); in nativeLockCanvas()