Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionUtils.java51 final int opacityValue; in parseOpacity() local
54 opacityValue = (value & 0xFF) << 24; in parseOpacity()
57 opacityValue = (value & 0xFF) << 24; in parseOpacity()
60 opacityValue = value & 0xFF000000; in parseOpacity()
64 return opacityValue | 0xFFFFFF; in parseOpacity()
73 public static int mergeColorOpacity(int colorValue, int opacityValue) { in mergeColorOpacity() argument
78 value = 0x00FFFF00 | Color.alpha(opacityValue); in mergeColorOpacity()
81 value = Color.alpha(opacityValue); in mergeColorOpacity()
84 value = (colorValue & 0x00FFFFFF) | (opacityValue & 0xFF000000); in mergeColorOpacity()
DFloatingMenuTransparencyPreferenceController.java112 final float opacityValue = MAXIMUM_TRANSPARENCY - convertTransparencyIntToFloat(position); in setSliderPosition() local
114 Settings.Secure.ACCESSIBILITY_FLOATING_MENU_OPACITY, opacityValue); in setSliderPosition()