Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 25 of 146) sorted by relevance

123456

/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettings.java1193 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/
DDevelopmentFragment.java1002 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 …]
DCaptionCustomFragment.java144 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/
DVehiclePropValueBuilder.java45 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/
DZenModePrioritySettings.java63 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()
DChannelNotificationSettings.java188 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()
DZenModeVisualInterruptionSettings.java56 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()
DSettingPref.java88 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()
DNotificationSettingsBase.java303 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/
DApnEditor.java645 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 …]
DWifiCallingSettings.java415 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/
DMetadataResponseListener.java43 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/
DGarageModeSettingsFragment.java132 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/
DGeneralPreferences.java304 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/
DAccountSettingsFragment.java296 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/
DSpellCheckerPreference.java99 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/
DStorageLowState.java68 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/
DRespondViaSmsSettings.java94 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/
DSettingsActivity.java161 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/
DValuesDelta.java144 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/
DHighPowerDetail.java127 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/
DImageCaptureManager.java97 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/
DNightDisplaySettings.java229 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/
DDaydreamFragment.java147 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/
DListenerCombiner.java79 public boolean setInput(Input input, boolean newValue) { in setInput() argument
81 mInputs.put(input, newValue); in setInput()
85 if (newValue == mOutput) { in setInput()

123456