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/
DCaptionPropertiesFragment.java332 final int opacityValue; in parseColorOpacity() local
336 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
340 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
344 opacityValue = value & 0xFF000000; in parseColorOpacity()
348 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()
354 final int opacityValue = opacity.getValue(); in mergeColorOpacity() local
359 value = 0x00FFFF00 | Color.alpha(opacityValue); in mergeColorOpacity()
362 value = Color.alpha(opacityValue); in mergeColorOpacity()
365 value = colorValue & 0x00FFFFFF | opacityValue & 0xFF000000; in mergeColorOpacity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java379 final int opacityValue; in parseColorOpacity() local
383 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
387 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
391 opacityValue = value & 0xFF000000; in parseColorOpacity()
395 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()
401 final int opacityValue = opacity.getValue(); in mergeColorOpacity() local
406 value = 0x00FFFF00 | Color.alpha(opacityValue); in mergeColorOpacity()
409 value = Color.alpha(opacityValue); in mergeColorOpacity()
412 value = colorValue & 0x00FFFFFF | opacityValue & 0xFF000000; in mergeColorOpacity()