Searched refs:getColorMode (Results 1 – 11 of 11) sorted by relevance
63 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()
156 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()
39 return ColorModeUtils.getColorModeMapping(mContext.getResources()).get(getColorMode()); in getSummary()43 public int getColorMode() { in getColorMode() method in ColorModePreferenceController44 return mContext.getSystemService(ColorDisplayManager.class).getColorMode(); in getColorMode()
228 final int colorMode = getColorMode(); in getDefaultKey()248 public int getColorMode() { in getColorMode() method in ColorModePreferenceFragment249 return mColorDisplayManager.getColorMode(); in getColorMode()
130 mPreference.setVisible(cdm.getColorMode() != ColorDisplayManager.COLOR_MODE_SATURATED && in updateVisibility()
30 public int getColorMode() { in getColorMode() method in DisplayCompat31 return mDisplay.getColorMode(); in getColorMode()
127 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()
95 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
103 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
261 switch (mJobInfo.getAttributes().getColorMode()) { in getColorSpace()
296 if (attributes.getColorMode() == PrintAttributes.COLOR_MODE_MONOCHROME) { in getBitmap()