Home
last modified time | relevance | path

Searched refs:isNonDefaultColor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptioningForegroundColorController.java64 final boolean isNonDefaultColor = CaptionStyle.hasColor(value); in onValueChanged()
65 final int opacity = getNonDefaultOpacity(isNonDefaultColor); in onValueChanged()
71 private int getNonDefaultOpacity(boolean isNonDefaultColor) { in getNonDefaultOpacity() argument
74 if (isNonDefaultColor) { in getNonDefaultOpacity()
DCaptioningBackgroundColorController.java72 final boolean isNonDefaultColor = CaptionStyle.hasColor(value); in onValueChanged()
73 final int opacity = getNonDefaultOpacity(isNonDefaultColor); in onValueChanged()
79 private int getNonDefaultOpacity(boolean isNonDefaultColor) { in getNonDefaultOpacity() argument
82 if (isNonDefaultColor) { in getNonDefaultOpacity()
DCaptioningWindowColorController.java72 final boolean isNonDefaultColor = CaptionStyle.hasColor(value); in onValueChanged()
73 final int opacity = getNonDefaultOpacity(isNonDefaultColor); in onValueChanged()
79 private int getNonDefaultOpacity(boolean isNonDefaultColor) { in getNonDefaultOpacity() argument
82 if (isNonDefaultColor) { in getNonDefaultOpacity()