/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 150 explicit LocalScopedBitmap(jlong bitmapHandle) in LocalScopedBitmap() argument 151 : mBitmapWrapper(reinterpret_cast<BitmapWrapper*>(bitmapHandle)) {} in LocalScopedBitmap() 218 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap) { in toSkBitmap() argument 219 LocalScopedBitmap bitmap(bitmapHandle); in toSkBitmap() 223 Bitmap& toBitmap(jlong bitmapHandle) { in toBitmap() argument 224 LocalScopedBitmap localBitmap(bitmapHandle); in toBitmap() 239 jlong bitmapHandle = env->GetLongField(bitmap, gBitmap_nativePtr); in getNativeBitmap() local 240 LocalScopedBitmap localBitmap(bitmapHandle); in getNativeBitmap() 249 jlong bitmapHandle = env->GetLongField(bitmap, gBitmap_nativePtr); in getBitmapInfo() local 250 LocalScopedBitmap localBitmap(bitmapHandle); in getBitmapInfo() [all …]
|
D | android_graphics_Canvas.cpp | 73 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster() argument 75 if (bitmapHandle != 0) { in initRaster() 76 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in initRaster() 83 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap() argument 85 if (bitmapHandle != 0) { in setBitmap() 86 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in setBitmap() 482 static void drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawNinePatch() argument 487 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawNinePatch() 513 static void drawBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawBitmap() argument 517 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmap() [all …]
|
D | Bitmap.h | 40 Bitmap& toBitmap(jlong bitmapHandle);
|
D | RenderEffect.cpp | 55 jlong bitmapHandle, in createBitmapEffect() argument 65 sk_sp<SkImage> image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in createBitmapEffect()
|
D | Shader.cpp | 61 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong matrixPtr, jlong bitmapHandle, in BitmapShader_constructor() argument 71 if (bitmapHandle) { in BitmapShader_constructor() 74 auto& bitmap = android::bitmap::toBitmap(bitmapHandle); in BitmapShader_constructor()
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 137 AndroidBitmapInfo ABitmap_getInfo(ABitmap* bitmapHandle) { in ABitmap_getInfo() argument 138 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getInfo() 142 ADataSpace ABitmap_getDataSpace(ABitmap* bitmapHandle) { in ABitmap_getDataSpace() argument 143 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getDataSpace() 155 void* ABitmap_getPixels(ABitmap* bitmapHandle) { in ABitmap_getPixels() argument 156 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getPixels() 171 void ABitmap_notifyPixelsChanged(ABitmap* bitmapHandle) { in ABitmap_notifyPixelsChanged() argument 172 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_notifyPixelsChanged() 307 AHardwareBuffer* ABitmap_getHardwareBuffer(ABitmap* bitmapHandle) { in ABitmap_getHardwareBuffer() argument 308 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getHardwareBuffer()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RenderEffect.java | 172 long bitmapHandle = bitmap.getNativeInstance(); in createBitmapEffect() local 179 bitmapHandle, in createBitmapEffect() 331 long bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, in nativeCreateBitmapEffect() argument
|
D | BitmapShader.java | 237 private static native long nativeCreate(long nativeMatrix, long bitmapHandle, in nativeCreate() argument
|
D | NinePatch.java | 271 private static native long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion() argument
|
D | BaseCanvas.java | 758 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap() argument 762 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float srcLeft, in nDrawBitmap() argument 821 private static native void nDrawBitmapMatrix(long nativeCanvas, long bitmapHandle, in nDrawBitmapMatrix() argument 824 private static native void nDrawBitmapMesh(long nativeCanvas, long bitmapHandle, int meshWidth, in nDrawBitmapMesh() argument
|
D | BaseRecordingCanvas.java | 634 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, float left, in nDrawBitmap() argument 639 private static native void nDrawBitmap(long nativeCanvas, long bitmapHandle, in nDrawBitmap() argument 717 private static native void nDrawBitmapMatrix(long nativeCanvas, long bitmapHandle, in nDrawBitmapMatrix() argument 721 private static native void nDrawBitmapMesh(long nativeCanvas, long bitmapHandle, int meshWidth, in nDrawBitmapMesh() argument
|
D | Canvas.java | 1452 private static native long nInitRaster(long bitmapHandle); 1455 private static native void nSetBitmap(long canvasHandle, long bitmapHandle);
|
D | HardwareRenderer.java | 1534 private static native boolean nCopyLayerInto(long nativeProxy, long layer, long bitmapHandle); in nCopyLayerInto() argument
|