Searched refs:black (Results 1 – 4 of 4) sorted by relevance
/gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/ |
D | ShadowFilter.java | 26 private float black; field in ShadowFilter 34 black = shadow * 0.5f; in setShadow() 40 ImageUtils.nativeWhiteBlack(src.bitmap(), dst.bitmap(), 1f, black); in process() local
|
D | ImageUtils.java | 60 public static native void nativeWhiteBlack(Bitmap src, Bitmap dst, float white, float black); in nativeWhiteBlack() argument
|
/gdk/samples/PhotoEditor/jni/ |
D | whiteblack.cpp | 36 void WhiteblackXF(float white, float black, int xform[]) { in WhiteblackXF() argument 37 float scale = (black != white) ? 1.0f / (white - black) : 2000.0f; in WhiteblackXF() 38 float offset = k256Multiply255 * black; in WhiteblackXF() 47 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black) { in Java_com_android_photoeditor_filters_ImageUtils_nativeWhiteBlack() argument 49 return f(env, obj, src_bitmap, dst_bitmap, white, black); in Java_com_android_photoeditor_filters_ImageUtils_nativeWhiteBlack() 53 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black) { in WhiteBlack() argument 69 WhiteblackXF(white, black, xform); in WhiteBlack()
|
D | _jni.h | 25 …lack(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black); 50 …ype)(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black);
|