Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DColorModePreferenceFragmentTest.java84 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_NATURAL)); in getCandidates_all()
86 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_BOOSTED)); in getCandidates_all()
88 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_SATURATED)); in getCandidates_all()
90 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_AUTOMATIC)); in getCandidates_all()
124 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_NATURAL)); in getCandidates_withAutomatic()
126 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_AUTOMATIC)); in getCandidates_withAutomatic()
146 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_NATURAL)); in getCandidates_withoutAutomatic()
148 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_BOOSTED)); in getCandidates_withoutAutomatic()
150 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_SATURATED)); in getCandidates_withoutAutomatic()
160 .isEqualTo(mFragment.getKeyForColorMode(ColorDisplayManager.COLOR_MODE_NATURAL)); in getKey_natural()
[all …]
/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceFragment.java220 getKeyForColorMode(colorMode), in getCandidates()
230 return getKeyForColorMode(colorMode); in getDefaultKey()
232 return getKeyForColorMode(COLOR_MODE_FALLBACK); in getDefaultKey()
266 String getKeyForColorMode(int colorMode) { in getKeyForColorMode() method in ColorModePreferenceFragment