Home
last modified time | relevance | path

Searched refs:sat (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DColorMatrix.java234 public void setSaturation(float sat) { in setSaturation() argument
238 final float invSat = 1 - sat; in setSaturation()
243 m[0] = R + sat; m[1] = G; m[2] = B; in setSaturation()
244 m[5] = R; m[6] = G + sat; m[7] = B; in setSaturation()
245 m[10] = R; m[11] = G; m[12] = B + sat; in setSaturation()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java73 ObjectAnimator sat = ObjectAnimator.ofFloat(this, "saturation", 1.0f); in BitmapsView() local
74 sat.setDuration(1000); in BitmapsView()
75 sat.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView()
76 sat.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView()
77 sat.start(); in BitmapsView()
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DDemoModeController.java130 final float sat = 1 - (x / (float)w); in onTouch() local
132 final int color = Color.HSVToColor(new float[]{hue, sat, val}); in onTouch()
133 if (DEBUG) Log.d(TAG, String.format("hsv=(%s,%s,%s) argb=#%08x", hue, sat, val, color)); in onTouch()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java470 int sat = satisfiedConstraints & CONSTRAINTS_OF_INTEREST; in isConstraintsSatisfied() local
473 sat |= (requiredConstraints & SOFT_OVERRIDE_CONSTRAINTS); in isConstraintsSatisfied()
476 return (sat & req) == req; in isConstraintsSatisfied()