Searched refs:tintController (Results 1 – 3 of 3) sorted by relevance
54 final ReduceBrightColorsTintController tintController = in setAndGetMatrix() local56 tintController.setUp(mContext, /* needsLinear= */ true); in setAndGetMatrix()57 tintController.setMatrix(50); in setAndGetMatrix()58 tintController.setActivated(true); in setAndGetMatrix()59 assertThat(tintController.getStrength()).isEqualTo(50); in setAndGetMatrix()60 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrix()71 final ReduceBrightColorsTintController tintController = in setAndGetMatrixClampToZero() local73 tintController.setUp(mContext, /* needsLinear= */ true); in setAndGetMatrixClampToZero()74 tintController.setMatrix(-50); in setAndGetMatrixClampToZero()75 tintController.setActivated(true); in setAndGetMatrixClampToZero()[all …]
33 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in setAndGetMatrix() local34 tintController.setMatrix(50); in setAndGetMatrix()35 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrix()44 final GlobalSaturationTintController tintController = new GlobalSaturationTintController(); in resetMatrix() local45 tintController.setMatrix(100); in resetMatrix()48 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in resetMatrix()
685 private void applyTint(TintController tintController, boolean immediate) { in applyTint() argument686 tintController.cancelAnimator(); in applyTint()689 final float[] from = dtm.getColorMatrix(tintController.getLevel()); in applyTint()690 final float[] to = tintController.getMatrix(); in applyTint()693 dtm.setColorMatrix(tintController.getLevel(), to); in applyTint()697 tintController.setAnimator(valueAnimator); in applyTint()698 valueAnimator.setDuration(tintController.getTransitionDurationMilliseconds()); in applyTint()703 dtm.setColorMatrix(tintController.getLevel(), value); in applyTint()718 Slog.d(TAG, tintController.getClass().getSimpleName() in applyTint()729 dtm.setColorMatrix(tintController.getLevel(), to); in applyTint()[all …]