Searched refs:sat (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/graphics/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 | 73 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/ |
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/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1150 int sat = satisfiedConstraints; in isConstraintsSatisfied() local 1153 sat |= (requiredConstraints & SOFT_OVERRIDE_CONSTRAINTS); in isConstraintsSatisfied() 1156 return (sat & mRequiredConstraintsOfInterest) == mRequiredConstraintsOfInterest; in isConstraintsSatisfied()
|