Searched refs:scaler (Results 1 – 2 of 2) sorted by relevance
137 float scaler = 255 * 60 / 360.0f; in JNI_COLORSPACE_METHOD() local139 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()
356 private static Bitmap transform(Matrix scaler, in transform() argument407 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()