Home
last modified time | relevance | path

Searched refs:tintController (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DGlobalSaturationTintControllerTest.java33 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in setAndGetMatrix() local
34 tintController.setMatrix(50); in setAndGetMatrix()
35 assertThat(tintController.getMatrix()).hasValuesWithin(0.00001f) in setAndGetMatrix()
42 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in resetMatrix() local
43 tintController.setMatrix(100); in resetMatrix()
46 assertThat(tintController.getMatrix()).hasValuesWithin(0.00001f).of(matrix); in resetMatrix()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java582 private void applyTint(TintController tintController, boolean immediate) { in applyTint() argument
583 tintController.cancelAnimator(); in applyTint()
586 final float[] from = dtm.getColorMatrix(tintController.getLevel()); in applyTint()
587 final float[] to = tintController.getMatrix(); in applyTint()
590 dtm.setColorMatrix(tintController.getLevel(), to); in applyTint()
594 tintController.setAnimator(valueAnimator); in applyTint()
600 dtm.setColorMatrix(tintController.getLevel(), value); in applyTint()
615 Slog.d(TAG, tintController.getClass().getSimpleName() in applyTint()
626 dtm.setColorMatrix(tintController.getLevel(), to); in applyTint()
628 tintController.setAnimator(null); in applyTint()