Searched refs:autoMode (Results 1 – 6 of 6) 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()672 boolean setNightDisplayAutoMode(int autoMode) { in setNightDisplayAutoMode() argument674 return mCdm.setNightDisplayAutoMode(autoMode); in setNightDisplayAutoMode()
40 boolean setNightDisplayAutoMode(int autoMode); in setNightDisplayAutoMode() argument
144 default void onAutoModeChanged(int autoMode) { in onAutoModeChanged() argument
63 override fun onAutoModeChanged(autoMode: Int) {65 autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME ||66 autoMode == ColorDisplayManager.AUTO_MODE_TWILIGHT
498 if (autoMode == AUTO_MODE_CUSTOM_TIME) { in onNightDisplayAutoModeChanged()500 } else if (autoMode == AUTO_MODE_TWILIGHT) { in onNightDisplayAutoModeChanged()888 if (getNightDisplayAutoModeInternal() != autoMode) { in setNightDisplayAutoModeInternal()899 int autoMode = getNightDisplayAutoModeRawInternal(); in getNightDisplayAutoModeInternal() local900 if (autoMode == NOT_SET) { in getNightDisplayAutoModeInternal()904 if (autoMode != AUTO_MODE_DISABLED in getNightDisplayAutoModeInternal()905 && autoMode != AUTO_MODE_CUSTOM_TIME in getNightDisplayAutoModeInternal()906 && autoMode != AUTO_MODE_TWILIGHT) { in getNightDisplayAutoModeInternal()907 Slog.e(TAG, "Invalid autoMode: " + autoMode); in getNightDisplayAutoModeInternal()908 autoMode = AUTO_MODE_DISABLED; in getNightDisplayAutoModeInternal()[all …]
390 public void onAutoModeChanged(int autoMode) {391 if (autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME392 || autoMode == ColorDisplayManager.AUTO_MODE_TWILIGHT) {