Home
last modified time | relevance | path

Searched refs:getColorMode (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DColorModePreferenceControllerTest.java63 doReturn(ColorDisplayManager.COLOR_MODE_AUTOMATIC).when(mController).getColorMode(); in updateState_colorModeAutomatic_shouldSetSummaryToAutomatic()
73 doReturn(ColorDisplayManager.COLOR_MODE_SATURATED).when(mController).getColorMode(); in updateState_colorModeSaturated_shouldSetSummaryToSaturated()
82 doReturn(ColorDisplayManager.COLOR_MODE_BOOSTED).when(mController).getColorMode(); in updateState_colorModeBoosted_shouldSetSummaryToBoosted()
91 doReturn(ColorDisplayManager.COLOR_MODE_NATURAL).when(mController).getColorMode(); in updateState_colorModeNatural_shouldSetSummaryToNatural()
DColorModePreferenceFragmentTest.java156 doReturn(ColorDisplayManager.COLOR_MODE_NATURAL).when(mFragment).getColorMode(); in getKey_natural()
166 doReturn(ColorDisplayManager.COLOR_MODE_BOOSTED).when(mFragment).getColorMode(); in getKey_boosted()
176 doReturn(ColorDisplayManager.COLOR_MODE_SATURATED).when(mFragment).getColorMode(); in getKey_saturated()
186 doReturn(ColorDisplayManager.COLOR_MODE_AUTOMATIC).when(mFragment).getColorMode(); in getKey_automatic()
/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceController.java39 return ColorModeUtils.getColorModeMapping(mContext.getResources()).get(getColorMode()); in getSummary()
43 public int getColorMode() { in getColorMode() method in ColorModePreferenceController
44 return mContext.getSystemService(ColorDisplayManager.class).getColorMode(); in getColorMode()
DColorModePreferenceFragment.java228 final int colorMode = getColorMode(); in getDefaultKey()
248 public int getColorMode() { in getColorMode() method in ColorModePreferenceFragment
249 return mColorDisplayManager.getColorMode(); in getColorMode()
DDisplayWhiteBalancePreferenceController.java130 mPreference.setVisible(cdm.getColorMode() != ColorDisplayManager.COLOR_MODE_SATURATED && in updateVisibility()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDisplayCompat.java30 public int getColorMode() { in getColorMode() method in DisplayCompat
31 return mDisplay.getColorMode(); in getColorMode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDisplayWhiteBalancePreferenceControllerTest.java127 when(mColorDisplayManager.getColorMode()) in onStart_configuredAvailable()
184 when(mColorDisplayManager.getColorMode()).thenReturn(ColorDisplayManager.COLOR_MODE_NATURAL); in visibility_configuredAvailableColorModeChanged()
190 when(mColorDisplayManager.getColorMode()).thenReturn(ColorDisplayManager.COLOR_MODE_SATURATED); in visibility_configuredAvailableColorModeChanged()
195 when(mColorDisplayManager.getColorMode()).thenReturn(ColorDisplayManager.COLOR_MODE_NATURAL); in visibility_configuredAvailableColorModeChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java95 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java103 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java261 switch (mJobInfo.getAttributes().getColorMode()) { in getColorSpace()
/packages/services/BuiltInPrintService/src/com/android/bips/
DImagePrintActivity.java296 if (attributes.getColorMode() == PrintAttributes.COLOR_MODE_MONOCHROME) { in getBitmap()