Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DContrastRatioFilter.java54 float contrastRatio; in onProcess() local
57 contrastRatio = contrastOperator(inputImage.getWidth(), inputImage.getHeight(), in onProcess()
62 if (mLogVerbose) Log.v(TAG, "contrastRatio: " + contrastRatio); in onProcess()
67 contrastOutFrame2.setValue(contrastRatio); in onProcess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java299 double contrastRatio = ColorUtils.calculateContrast(Color.WHITE, backgroundColor); in checkTint() local
300 if (contrastRatio < ICON_MIN_CONTRAST) { in checkTint()