/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSettings.java | 1193 private void writeTrackFrameTimeOptions(Object newValue) { in writeTrackFrameTimeOptions() argument 1195 newValue == null ? "" : newValue.toString()); in writeTrackFrameTimeOptions() 1219 private void writeShowNonRectClipOptions(Object newValue) { in writeShowNonRectClipOptions() argument 1221 newValue == null ? "" : newValue.toString()); in writeShowNonRectClipOptions() 1266 private void writeDebugHwOverdrawOptions(Object newValue) { in writeDebugHwOverdrawOptions() argument 1268 newValue == null ? "" : newValue.toString()); in writeDebugHwOverdrawOptions() 1291 private void writeDebugHwRendererOptions(Object newValue) { in writeDebugHwRendererOptions() argument 1293 newValue == null ? "" : newValue.toString()); in writeDebugHwRendererOptions() 1543 private void writeLogdSizeOption(Object newValue) { in writeLogdSizeOption() argument 1544 boolean disable = (newValue != null) && in writeLogdSizeOption() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 1002 private void writeTrackFrameTimeOptions(Object newValue) { in writeTrackFrameTimeOptions() argument 1004 newValue == null ? "" : newValue.toString()); in writeTrackFrameTimeOptions() 1028 private void writeShowNonRectClipOptions(Object newValue) { in writeShowNonRectClipOptions() argument 1030 newValue == null ? "" : newValue.toString()); in writeShowNonRectClipOptions() 1075 private void writeDebugHwOverdrawOptions(Object newValue) { in writeDebugHwOverdrawOptions() argument 1077 newValue == null ? "" : newValue.toString()); in writeDebugHwOverdrawOptions() 1264 private void writeLogdSizeOption(Object newValue) { in writeLogdSizeOption() argument 1269 final String size = (newValue != null) ? in writeLogdSizeOption() 1270 newValue.toString() : DEFAULT_LOG_RING_BUFFER_SIZE_IN_BYTES; in writeLogdSizeOption() 1302 private void writeUsbConfigurationOption(Object newValue) { in writeUsbConfigurationOption() argument [all …]
|
D | CaptionCustomFragment.java | 144 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 151 setCaptionsFontFamily((String) newValue); in onPreferenceChange() 154 setCaptionsTextColor((String) newValue); in onPreferenceChange() 157 setCaptionsTextOpacity((String) newValue); in onPreferenceChange() 160 setCaptionsEdgeType((String) newValue); in onPreferenceChange() 163 setCaptionsEdgeColor((String) newValue); in onPreferenceChange() 166 setCaptionsBackgroundColor((String) newValue); in onPreferenceChange() 169 setCaptionsBackgroundOpacity((String) newValue); in onPreferenceChange() 172 setCaptionsWindowColor((String) newValue); in onPreferenceChange() 175 setCaptionsWindowOpacity((String) newValue); in onPreferenceChange()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | VehiclePropValueBuilder.java | 45 VehiclePropValue newValue = new VehiclePropValue(); in clone() local 47 newValue.prop = propValue.prop; in clone() 48 newValue.areaId = propValue.areaId; in clone() 49 newValue.timestamp = propValue.timestamp; in clone() 50 newValue.value.stringValue = propValue.value.stringValue; in clone() 51 newValue.value.int32Values.addAll(propValue.value.int32Values); in clone() 52 newValue.value.floatValues.addAll(propValue.value.floatValues); in clone() 53 newValue.value.int64Values.addAll(propValue.value.int64Values); in clone() 54 newValue.value.bytes.addAll(propValue.value.bytes); in clone() 56 return newValue; in clone()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModePrioritySettings.java | 63 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 65 final boolean val = (Boolean) newValue; in onCreate() 79 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 81 final boolean val = (Boolean) newValue; in onCreate() 95 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 97 final int val = Integer.parseInt((String) newValue); in onCreate() 116 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 118 final int val = Integer.parseInt((String) newValue); in onCreate() 137 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 139 final boolean val = (Boolean) newValue; in onCreate()
|
D | ChannelNotificationSettings.java | 188 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupBadge() 189 final boolean value = (Boolean) newValue; in setupBadge() 204 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupLights() 205 final boolean lights = (Boolean) newValue; in setupLights() 221 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupVibrate() 222 final boolean vibrate = (Boolean) newValue; in setupVibrate() 237 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupRingtone() 238 mChannel.setSound((Uri) newValue, mChannel.getAudioAttributes()); in setupRingtone()
|
D | ZenModeVisualInterruptionSettings.java | 56 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 58 final boolean val = (Boolean) newValue; in onCreate() 70 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 72 final boolean val = (Boolean) newValue; in onCreate()
|
D | SettingPref.java | 88 public boolean onPreferenceChange(Preference preference, Object newValue) { in init() 89 setSetting(context, (Boolean) newValue ? 1 : 0); in init() 98 public boolean onPreferenceChange(Preference preference, Object newValue) { in init() 99 return setSetting(context, Integer.parseInt((String) newValue)); in init()
|
D | NotificationSettingsBase.java | 303 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupImportanceToggle() 305 ((Boolean) newValue ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_LOW); in setupImportanceToggle() 322 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupPriorityPref() 323 final boolean bypassZenMode = (Boolean) newValue; in setupPriorityPref() 372 public boolean onPreferenceChange(Preference preference, Object newValue) { in setupVisOverridePref() 373 int sensitive = Integer.parseInt((String) newValue); in setupVisOverridePref()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ApnEditor.java | 645 private String mvnoDescription(String newValue) { in mvnoDescription() argument 646 int mvnoIndex = mMvnoType.findIndexOfValue(newValue); in mvnoDescription() 654 if (newValue != null && newValue.equals(oldValue) == false) { in mvnoDescription() 673 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 677 int index = Integer.parseInt((String) newValue); in onPreferenceChange() 686 String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange() 691 mProtocol.setValue((String) newValue); in onPreferenceChange() 693 String protocol = protocolDescription((String) newValue, mRoamingProtocol); in onPreferenceChange() 698 mRoamingProtocol.setValue((String) newValue); in onPreferenceChange() 700 String bearer = bearerMultiDescription((Set<String>) newValue); in onPreferenceChange() [all …]
|
D | WifiCallingSettings.java | 415 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 418 mButtonWfcMode.setValue((String) newValue); in onPreferenceChange() 419 int buttonMode = Integer.valueOf((String) newValue); in onPreferenceChange() 434 mButtonWfcRoamingMode.setValue((String) newValue); in onPreferenceChange() 435 int buttonMode = Integer.valueOf((String) newValue); in onPreferenceChange()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | MetadataResponseListener.java | 43 V newValue = partialResult.get(mKey); in onProgressed() local 44 if (newValue != null) { in onProgressed() 45 mUpdatable.update(newValue); in onProgressed() 51 V newValue = totalCaptureResult.get(mKey); in onCompleted() local 52 if (newValue != null) { in onCompleted() 53 mUpdatable.update(newValue); in onCompleted()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/ |
D | GarageModeSettingsFragment.java | 132 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 134 updateGarageSwitch((boolean) newValue); in onPreferenceChange() 138 updateGarageTimeLimit(Integer.valueOf((String) newValue)); in onPreferenceChange() 146 private void updateGarageSwitch(boolean newValue) { in updateGarageSwitch() argument 148 KEY_GARAGE_MODE_ENABLED, newValue ? 1 : 0); in updateGarageSwitch() 151 private void updateGarageTimeLimit(int newValue) { in updateGarageTimeLimit() argument 153 KEY_GARAGE_MODE_MAINTENANCE_WINDOW, newValue * 60 * 1000); in updateGarageTimeLimit()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 304 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 308 if ((Boolean)newValue) { in onPreferenceChange() 316 mHideDeclined.setChecked((Boolean) newValue); in onPreferenceChange() 322 mWeekStart.setValue((String) newValue); in onPreferenceChange() 325 mDefaultReminder.setValue((String) newValue); in onPreferenceChange() 328 if (newValue instanceof String) { in onPreferenceChange() 329 Utils.setRingTonePreference(activity, (String) newValue); in onPreferenceChange() 330 String ringtone = getRingtoneTitleFromUri(activity, (String) newValue); in onPreferenceChange() 335 mVibrate.setChecked((Boolean) newValue); in onPreferenceChange()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 296 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 301 String summary = newValue.toString().trim(); in onPreferenceChange() 309 final String summary = newValue.toString().trim(); in onPreferenceChange() 319 String signature = newValue.toString(); in onPreferenceChange() 328 final String summary = newValue.toString(); in onPreferenceChange() 360 final String summary = newValue.toString(); in onPreferenceChange() 369 (Boolean) newValue); in onPreferenceChange() 375 (Boolean) newValue); in onPreferenceChange() 381 (Boolean) newValue); in onPreferenceChange() 386 newFlags |= (Boolean) newValue ? in onPreferenceChange() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckerPreference.java | 99 public boolean callChangeListener(Object newValue) { in callChangeListener() argument 100 newValue = newValue != null ? mScis[Integer.parseInt((String) newValue)] : null; in callChangeListener() 101 return super.callChangeListener(newValue); in callChangeListener()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | StorageLowState.java | 68 public static void setIsStorageLow(boolean newValue) { in setIsStorageLow() argument 69 if (sIsStorageLow == newValue) { in setIsStorageLow() 73 sIsStorageLow = newValue; in setIsStorageLow() 77 if (newValue) { in setIsStorageLow()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RespondViaSmsSettings.java | 94 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 97 Log.d(this, " newValue = '%s'", newValue); in onPreferenceChange() 105 pref.setTitle((String) newValue); in onPreferenceChange() 109 editor.putString(pref.getKey(), (String) newValue).commit(); in onPreferenceChange()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.java | 161 public boolean onPreferenceChange(Preference pref, Object newValue) { in onPreferenceChange() argument 168 final int index = preference.findIndexOfValue((String) newValue); in onPreferenceChange() 175 final int i = simpleMenuPreference.findIndexOfValue((String) newValue); in onPreferenceChange() 179 DataModel.getDataModel().setDisplayClockSeconds((boolean) newValue); in onPreferenceChange() 182 final String delay = (String) newValue; in onPreferenceChange()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ValuesDelta.java | 144 Object newValue = mAfter.get(key); in isChanged() local 148 return newValue != null; in isChanged() 151 return !oldValue.equals(newValue); in isChanged() 217 Object newValue = mAfter.get(key); in isUpdate() local 220 if (newValue != null) { in isUpdate() 223 } else if (!oldValue.equals(newValue)) { in isUpdate()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | HighPowerDetail.java | 127 boolean newValue = mIsEnabled; in onClick() 129 if (newValue != oldValue) { in onClick() 130 logSpecialPermissionChange(newValue, mPackageName, getContext()); in onClick() 131 if (newValue) { in onClick()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ImageCaptureManager.java | 97 public void onImageMetadataChange(Key<?> key, Object second, Object newValue, in onImageMetadataChange() argument 440 final Object newValue = result.get(key); in updateMetadataChangeListeners() 441 mMetadata.put(key, new Pair<Long, Object>(frameNumber, newValue)); in updateMetadataChangeListeners() 445 if (oldValue == newValue || !mMetadataChangeListeners.containsKey(key)) { in updateMetadataChangeListeners() 454 listener.onImageMetadataChange(key, oldValue, newValue, in updateMetadataChangeListeners()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | NightDisplaySettings.java | 229 public boolean onPreferenceChange(Preference preference, Object newValue) { 231 return mController.setAutoMode(Integer.parseInt((String) newValue)); 233 return mController.setActivated((Boolean) newValue); 235 return mController.setColorTemperature(convertTemperature((Integer) newValue));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/ |
D | DaydreamFragment.java | 147 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 150 setActiveDream((String) newValue); in onPreferenceChange() 153 setDreamTime(Integer.parseInt((String) newValue)); in onPreferenceChange() 156 setSleepTime(Integer.parseInt((String) newValue)); in onPreferenceChange()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ListenerCombiner.java | 79 public boolean setInput(Input input, boolean newValue) { in setInput() argument 81 mInputs.put(input, newValue); in setInput() 85 if (newValue == mOutput) { in setInput()
|