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.java352 final int opacityValue; in parseColorOpacity() local
356 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
360 opacityValue = (value & 0xFF) << 24; in parseColorOpacity()
364 opacityValue = value & 0xFF000000; in parseColorOpacity()
368 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()
374 final int opacityValue = opacity.getValue(); in mergeColorOpacity() local
379 value = 0x00FFFF00 | Color.alpha(opacityValue); in mergeColorOpacity()
382 value = Color.alpha(opacityValue); in mergeColorOpacity()
385 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()