Home
last modified time | relevance | path

Searched refs:tint (Results 1 – 6 of 6) sorted by relevance

/gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/
DTintFilter.java26 private int tint; field in TintFilter
29 tint = color; in setTint()
35 ImageUtils.nativeTint(src.bitmap(), dst.bitmap(), tint); in process() local
DImageUtils.java57 public static native void nativeTint(Bitmap src, Bitmap dst, int tint); in nativeTint() argument
/gdk/samples/PhotoEditor/jni/
Dtint.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint) { in Java_com_android_photoeditor_filters_ImageUtils_nativeTint() argument
32 return f(env, obj, src_bitmap, dst_bitmap, tint); in Java_com_android_photoeditor_filters_ImageUtils_nativeTint()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint) { in Tint() argument
55 uint32_t tint_red = kTintRatio * ((tint >> 16) & 0xff); in Tint()
56 uint32_t tint_green = kTintRatio * ((tint >> 8) & 0xff); in Tint()
57 uint32_t tint_blue = kTintRatio * (tint & 0xff); in Tint()
DAndroid-portable.mk32 tint.cpp \
DAndroid.mk32 tint.cpp \
D_jni.h22 void Tint(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint);
47 …def void (*pTintType)(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint);