Home
last modified time | relevance | path

Searched refs:gainmapPtr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
DGainmap.cpp99 static void Gainmap_setBitmap(JNIEnv* env, jobject, jlong gainmapPtr, jobject jBitmap) { in Gainmap_setBitmap() argument
101 fromJava(gainmapPtr)->bitmap = sk_ref_sp(bitmap); in Gainmap_setBitmap()
104 static void Gainmap_setRatioMin(JNIEnv*, jobject, jlong gainmapPtr, jfloat r, jfloat g, jfloat b) { in Gainmap_setRatioMin() argument
105 fromJava(gainmapPtr)->info.fGainmapRatioMin = {r, g, b, 1.f}; in Gainmap_setRatioMin()
108 static void Gainmap_getRatioMin(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getRatioMin() argument
109 const auto value = fromJava(gainmapPtr)->info.fGainmapRatioMin; in Gainmap_getRatioMin()
114 static void Gainmap_setRatioMax(JNIEnv*, jobject, jlong gainmapPtr, jfloat r, jfloat g, jfloat b) { in Gainmap_setRatioMax() argument
115 fromJava(gainmapPtr)->info.fGainmapRatioMax = {r, g, b, 1.f}; in Gainmap_setRatioMax()
118 static void Gainmap_getRatioMax(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getRatioMax() argument
119 const auto value = fromJava(gainmapPtr)->info.fGainmapRatioMax; in Gainmap_getRatioMax()
[all …]
DBitmap.cpp1202 static void Bitmap_setGainmap(JNIEnv*, jobject, jlong bitmapHandle, jlong gainmapPtr) { in Bitmap_setGainmap() argument
1205 uirenderer::Gainmap* gainmap = reinterpret_cast<uirenderer::Gainmap*>(gainmapPtr); in Bitmap_setGainmap()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java2577 private static native void nativeSetGainmap(long bitmapPtr, long gainmapPtr); in nativeSetGainmap() argument