Searched refs:CaptionUtils (Results 1 – 8 of 8) sorted by relevance
34 final int color = CaptionUtils.parseColor(0xFFFF00); in parseColor_defaultPackedColor_shouldReturnUnspecified()41 final int color = CaptionUtils.parseColor(0x00); in parseColor_unrecognizedColor_shouldReturnTransparent()48 final int color = CaptionUtils.parseColor(0xFFFF0000); in parseColor_redColor_shouldReturnRed()55 final int color = CaptionUtils.parseOpacity(0xFFFF00); in parseOpacity_defaultPackedColor_shouldReturnUnspecified()62 final int color = CaptionUtils.parseOpacity(0x00); in parseOpacity_unrecognizedColor_shouldReturnTransparent()69 final int color = CaptionUtils.parseOpacity(0x80FFFFFF); in parseOpacity_halfTransparentValue_shouldReturnHalfTransparent()76 final int color = CaptionUtils.mergeColorOpacity(0xFFFF0000, 0x80FFFFFF); in mergeColorOpacity_halfTransparentRedValue_shouldReturnMergeColorOpacityValue()
55 final int opacity = CaptionUtils.parseOpacity(foregroundColor); in displayPreference()63 final int color = CaptionUtils.parseColor(foregroundColor); in onValueChanged()64 final int merged = CaptionUtils.mergeColorOpacity(color, value); in onValueChanged()
55 final int opacity = CaptionUtils.parseOpacity(windowColor); in displayPreference()63 final int color = CaptionUtils.parseColor(windowColor); in onValueChanged()64 final int merged = CaptionUtils.mergeColorOpacity(color, value); in onValueChanged()
55 final int opacity = CaptionUtils.parseOpacity(backBackgroundColor); in displayPreference()63 final int color = CaptionUtils.parseColor(backBackgroundColor); in onValueChanged()64 final int merged = CaptionUtils.mergeColorOpacity(color, value); in onValueChanged()
57 final int color = CaptionUtils.parseColor(foregroundColor); in displayPreference()66 final int merged = CaptionUtils.mergeColorOpacity(value, opacity); in onValueChanged()73 final int opacity = CaptionUtils.parseOpacity(foregroundColor); in getNonDefaultOpacity()
65 final int color = CaptionUtils.parseColor(backBackgroundColor); in displayPreference()74 final int merged = CaptionUtils.mergeColorOpacity(value, opacity); in onValueChanged()81 final int opacity = CaptionUtils.parseOpacity(backBackgroundColor); in getNonDefaultOpacity()
65 final int color = CaptionUtils.parseColor(windowColor); in displayPreference()74 final int merged = CaptionUtils.mergeColorOpacity(value, opacity); in onValueChanged()81 final int opacity = CaptionUtils.parseOpacity(windowColor); in getNonDefaultOpacity()
23 public final class CaptionUtils { class