Searched refs:autoMode (Results 1 – 5 of 5) sorted by relevance
262 public boolean setNightDisplayAutoMode(@AutoMode int autoMode) { in setNightDisplayAutoMode() argument263 if (autoMode != AUTO_MODE_DISABLED in setNightDisplayAutoMode()264 && autoMode != AUTO_MODE_CUSTOM_TIME in setNightDisplayAutoMode()265 && autoMode != AUTO_MODE_TWILIGHT) { in setNightDisplayAutoMode()266 throw new IllegalArgumentException("Invalid autoMode: " + autoMode); in setNightDisplayAutoMode()268 if (mManager.getNightDisplayAutoMode() != autoMode) { in setNightDisplayAutoMode()272 .setSubtype(autoMode)); in setNightDisplayAutoMode()274 return mManager.setNightDisplayAutoMode(autoMode); in setNightDisplayAutoMode()581 boolean setNightDisplayAutoMode(int autoMode) { in setNightDisplayAutoMode() argument583 return mCdm.setNightDisplayAutoMode(autoMode); in setNightDisplayAutoMode()
37 boolean setNightDisplayAutoMode(int autoMode); in setNightDisplayAutoMode() argument
144 default void onAutoModeChanged(int autoMode) { in onAutoModeChanged() argument
453 private void onNightDisplayAutoModeChanged(int autoMode) { in onNightDisplayAutoModeChanged() argument454 Slog.d(TAG, "onNightDisplayAutoModeChanged: autoMode=" + autoMode); in onNightDisplayAutoModeChanged()461 if (autoMode == AUTO_MODE_CUSTOM_TIME) { in onNightDisplayAutoModeChanged()463 } else if (autoMode == AUTO_MODE_TWILIGHT) { in onNightDisplayAutoModeChanged()730 private boolean setNightDisplayAutoModeInternal(@AutoMode int autoMode) { in setNightDisplayAutoModeInternal() argument731 if (getNightDisplayAutoModeInternal() != autoMode) { in setNightDisplayAutoModeInternal()738 Secure.NIGHT_DISPLAY_AUTO_MODE, autoMode, mCurrentUser); in setNightDisplayAutoModeInternal()742 int autoMode = getNightDisplayAutoModeRawInternal(); in getNightDisplayAutoModeInternal() local743 if (autoMode == NOT_SET) { in getNightDisplayAutoModeInternal()744 autoMode = getContext().getResources().getInteger( in getNightDisplayAutoModeInternal()[all …]
250 public void onAutoModeChanged(int autoMode) {251 if (autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME252 || autoMode == ColorDisplayManager.AUTO_MODE_TWILIGHT) {