Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp137 float scaler = 255 * 60 / 360.0f; in JNI_COLORSPACE_METHOD() local
139 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta) : in JNI_COLORSPACE_METHOD()
140 static_cast<int>(scaler * ((g - b) / delta + 6)); in JNI_COLORSPACE_METHOD()
142 h = static_cast<int>(scaler * ((b - r) / delta + 2)); in JNI_COLORSPACE_METHOD()
144 h = static_cast<int>(scaler * ((r - g) / delta + 4)); in JNI_COLORSPACE_METHOD()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java356 private static Bitmap transform(Matrix scaler, in transform() argument
407 scaler.setScale(scale, scale); in transform()
409 scaler = null; in transform()
414 scaler.setScale(scale, scale); in transform()
416 scaler = null; in transform()
421 if (scaler != null) { in transform()
424 source.getWidth(), source.getHeight(), scaler, true); in transform()