Searched refs:sat (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/apex/java/android/graphics/ |
D | ColorMatrix.java | 234 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/ |
D | ColorFiltersMutateActivity.java | 94 ObjectAnimator sat = ObjectAnimator.ofFloat(this, "saturation", 1.0f); in BitmapsView() local 95 sat.setDuration(1000); in BitmapsView() 96 sat.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView() 97 sat.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 98 sat.start(); in BitmapsView()
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 130 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/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1545 int sat = satisfiedConstraints; in isConstraintsSatisfied() local 1548 sat |= (requiredConstraints & SOFT_OVERRIDE_CONSTRAINTS); in isConstraintsSatisfied() 1551 return (sat & mRequiredConstraintsOfInterest) == mRequiredConstraintsOfInterest; in isConstraintsSatisfied()
|