Searched refs:white (Results 1 – 4 of 4) sorted by relevance
/gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/ |
D | HighlightFilter.java | 26 private float white; field in HighlightFilter 34 white = 1f - highlight * 0.5f; in setHighlight() 40 ImageUtils.nativeWhiteBlack(src.bitmap(), dst.bitmap(), white, 0f); 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() 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 …void WhiteBlack(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jf… 50 …ype)(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black);
|