Searched refs:tintController (Results 1 – 2 of 2) sorted by relevance
33 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in setAndGetMatrix() local34 tintController.setMatrix(50); in setAndGetMatrix()35 assertThat(tintController.getMatrix()).hasValuesWithin(0.00001f) in setAndGetMatrix()42 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in resetMatrix() local43 tintController.setMatrix(100); in resetMatrix()46 assertThat(tintController.getMatrix()).hasValuesWithin(0.00001f).of(matrix); in resetMatrix()
582 private void applyTint(TintController tintController, boolean immediate) { in applyTint() argument583 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()