Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/apex/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/core/java/com/android/internal/widget/remotecompose/core/operations/
DColorExpression.java57 public ColorExpression(int id, float hue, float sat, float value) { in ColorExpression() argument
61 mOutSat = mSat = sat; in ColorExpression()
64 mColor2 = Float.floatToRawIntBits(sat); in ColorExpression()
67 public ColorExpression(int id, int alpha, float hue, float sat, float value) { in ColorExpression() argument
71 mOutSat = mSat = sat; in ColorExpression()
74 mColor2 = Float.floatToRawIntBits(sat); in ColorExpression()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java94 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/
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/core/java/com/android/internal/widget/remotecompose/core/
DRemoteComposeBuffer.java972 public short addColorExpression(float hue, float sat, float value) { in addColorExpression() argument
973 ColorExpression c = new ColorExpression(0, hue, sat, value); in addColorExpression()
989 public short addColorExpression(int alpha, float hue, float sat, float value) { in addColorExpression() argument
990 ColorExpression c = new ColorExpression(0, alpha, hue, sat, value); in addColorExpression()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java2360 int sat = satisfiedConstraints; in isConstraintsSatisfied() local
2363 sat |= (requiredConstraints & SOFT_OVERRIDE_CONSTRAINTS); in isConstraintsSatisfied()
2366 return (sat & mRequiredConstraintsOfInterest) == mRequiredConstraintsOfInterest; in isConstraintsSatisfied()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...