/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 151 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 …]
|
D | Bitmap.h | 41 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap); 44 Bitmap& toBitmap(jlong bitmapHandle);
|
D | Shader.cpp | 65 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/ |
D | GLUtils.java | 268 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/ |
D | android_graphics_Canvas.cpp | 57 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/ |
D | Canvas_Delegate.java | 100 /*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()
|
D | BaseCanvas_Delegate.java | 81 /*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
|
D | BitmapShader_Delegate.java | 80 /*package*/ static long nativeCreate(long nativeMatrix, long bitmapHandle, in nativeCreate() argument 82 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(bitmapHandle); in nativeCreate()
|
D | NinePatch_Delegate.java | 164 /*package*/ static long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion() argument
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapShader.java | 68 private static native long nativeCreate(long nativeMatrix, long bitmapHandle, in nativeCreate() argument
|
D | NinePatch.java | 286 private static native long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion() argument
|
D | BaseCanvas.java | 663 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
|
D | BaseRecordingCanvas.java | 580 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
|
D | HardwareRenderer.java | 1118 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
|
D | Canvas.java | 1383 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/ |
D | RenderScript.java | 450 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/ |
D | PdfRenderer.java | 493 private static native void nativeRenderPage(long documentPtr, long pagePtr, long bitmapHandle, in nativeRenderPage() argument
|