Home
last modified time | relevance | path

Searched refs:bitmapHandle (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp151 explicit LocalScopedBitmap(jlong bitmapHandle) in LocalScopedBitmap() argument
152 : mBitmapWrapper(reinterpret_cast<BitmapWrapper*>(bitmapHandle)) {} in LocalScopedBitmap()
219 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap) { in toSkBitmap() argument
220 LocalScopedBitmap bitmap(bitmapHandle); in toSkBitmap()
228 jlong bitmapHandle = env->GetLongField(bitmap, gBitmap_nativePtr); in toBitmap() local
229 LocalScopedBitmap localBitmap(bitmapHandle); in toBitmap()
233 Bitmap& toBitmap(jlong bitmapHandle) { in toBitmap() argument
234 LocalScopedBitmap localBitmap(bitmapHandle); in toBitmap()
243 jlong bitmapHandle = env->GetLongField(bitmap, gBitmap_nativePtr); in imageInfo() local
244 LocalScopedBitmap localBitmap(bitmapHandle); in imageInfo()
[all …]
DBitmap.h41 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap);
44 Bitmap& toBitmap(jlong bitmapHandle);
DShader.cpp65 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong matrixPtr, jlong bitmapHandle, in BitmapShader_constructor() argument
69 if (bitmapHandle) { in BitmapShader_constructor()
72 image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in BitmapShader_constructor()
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java268 native private static int native_getInternalFormat(long bitmapHandle); in native_getInternalFormat() argument
269 native private static int native_getType(long bitmapHandle); in native_getType() argument
271 long bitmapHandle, int type, int border); in native_texImage2D() argument
273 long bitmapHandle, int format, int type); in native_texSubImage2D() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp57 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster() argument
59 if (bitmapHandle != 0) { in initRaster()
60 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in initRaster()
67 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap() argument
69 if (bitmapHandle != 0) { in setBitmap()
70 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in setBitmap()
400 static void drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawNinePatch() argument
405 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawNinePatch()
431 static void drawBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawBitmap() argument
435 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmap()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java100 /*package*/ static long nInitRaster(long bitmapHandle) { in nInitRaster() argument
101 if (bitmapHandle > 0) { in nInitRaster()
103 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmapHandle); in nInitRaster()
118 public static void nSetBitmap(long canvas, long bitmapHandle) { in nSetBitmap() argument
120 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmapHandle); in nSetBitmap()
DBaseCanvas_Delegate.java81 /*package*/ static void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, float top, in nDrawBitmap() argument
84 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmapHandle); in nDrawBitmap()
99 /*package*/ static void nDrawBitmap(long nativeCanvas, long bitmapHandle, float srcLeft, in nDrawBitmap() argument
104 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmapHandle); in nDrawBitmap()
473 /*package*/ static void nDrawBitmapMatrix(long nCanvas, long bitmapHandle, in nDrawBitmapMatrix() argument
485 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmapHandle); in nDrawBitmapMatrix()
511 /*package*/ static void nDrawBitmapMesh(long nCanvas, long bitmapHandle, in nDrawBitmapMesh() argument
DBitmapShader_Delegate.java80 /*package*/ static long nativeCreate(long nativeMatrix, long bitmapHandle, in nativeCreate() argument
82 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(bitmapHandle); in nativeCreate()
DNinePatch_Delegate.java164 /*package*/ static long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion() argument
/frameworks/base/graphics/java/android/graphics/
DBitmapShader.java68 private static native long nativeCreate(long nativeMatrix, long bitmapHandle, in nativeCreate() argument
DNinePatch.java286 private static native long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion() argument
DBaseCanvas.java663 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap() argument
667 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float srcLeft, in nDrawBitmap() argument
726 private static native void nDrawBitmapMatrix(long nativeCanvas, long bitmapHandle, in nDrawBitmapMatrix() argument
729 private static native void nDrawBitmapMesh(long nativeCanvas, long bitmapHandle, int meshWidth, in nDrawBitmapMesh() argument
DBaseRecordingCanvas.java580 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap() argument
585 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, in nDrawBitmap() argument
663 private static native void nDrawBitmapMatrix(long nativeCanvas, long bitmapHandle, in nDrawBitmapMatrix() argument
667 private static native void nDrawBitmapMesh(long nativeCanvas, long bitmapHandle, int meshWidth, in nDrawBitmapMesh() argument
DHardwareRenderer.java1118 private static native boolean nCopyLayerInto(long nativeProxy, long layer, long bitmapHandle); in nCopyLayerInto() argument
1165 int srcLeft, int srcTop, int srcRight, int srcBottom, long bitmapHandle); in nCopySurfaceInto() argument
DCanvas.java1383 private static native long nInitRaster(long bitmapHandle); in nInitRaster() argument
1386 private static native void nSetBitmap(long canvasHandle, long bitmapHandle); in nSetBitmap() argument
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java450 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, long bitmapHandle, in rsnAllocationCreateFromBitmap() argument
457 …ive long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, long bitmapHandle, in rsnAllocationCreateBitmapBackedAllocation() argument
466 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, long bitmapHandle, in rsnAllocationCubeCreateFromBitmap() argument
473 native long rsnAllocationCreateBitmapRef(long con, long type, long bitmapHandle); in rsnAllocationCreateBitmapRef() argument
484 native void rsnAllocationCopyToBitmap(long con, long alloc, long bitmapHandle); in rsnAllocationCopyToBitmap() argument
540 native void rsnAllocationCopyFromBitmap(long con, long alloc, long bitmapHandle); in rsnAllocationCopyFromBitmap() argument
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java493 private static native void nativeRenderPage(long documentPtr, long pagePtr, long bitmapHandle, in nativeRenderPage() argument