/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
H A D | MetadataResponseListener.java | 43 V newValue = partialResult.get(mKey); 44 if (newValue != null) { 45 mUpdatable.update(newValue); 51 V newValue = totalCaptureResult.get(mKey); 52 if (newValue != null) { 53 mUpdatable.update(newValue);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | StorageLowState.java | 68 public static void setIsStorageLow(boolean newValue) { argument 69 if (sIsStorageLow == newValue) { 73 sIsStorageLow = newValue; 77 if (newValue) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
H A D | InlinePayloadTest.java | 39 int newValue = payload.getValue(mContext); 41 assertThat(newValue).isEqualTo(currentValue); 50 int newValue = payload.getValue(mContext); 52 assertThat(newValue).isEqualTo(currentValue); 61 int newValue = payload.getValue(mContext); 63 assertThat(newValue).isEqualTo(currentValue); 69 int newValue = 1; 73 payload.setValue(mContext, newValue); 76 assertThat(updatedValue).isEqualTo(newValue); 82 int newValue [all...] |
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
H A D | VehiclePropValueBuilder.java | 45 VehiclePropValue newValue = new VehiclePropValue(); 47 newValue.prop = propValue.prop; 48 newValue.areaId = propValue.areaId; 49 newValue.timestamp = propValue.timestamp; 50 newValue.value.stringValue = propValue.value.stringValue; 51 newValue.value.int32Values.addAll(propValue.value.int32Values); 52 newValue.value.floatValues.addAll(propValue.value.floatValues); 53 newValue.value.int64Values.addAll(propValue.value.int64Values); 54 newValue.value.bytes.addAll(propValue.value.bytes); 56 return newValue; [all...] |
/packages/apps/Settings/src/com/android/settings/search/ |
H A D | InlinePayload.java | 138 * @param newValue is the requested value for the setting. 141 public boolean setValue(Context context, int newValue) { argument 142 newValue = standardizeInput(newValue); 146 return Settings.Global.putInt(context.getContentResolver(), mSettingKey, newValue); 148 return Settings.Secure.putInt(context.getContentResolver(), mSettingKey, newValue); 150 return Settings.System.putInt(context.getContentResolver(), mSettingKey, newValue);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | MasterSwitchController.java | 66 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 68 return mListener.onSwitchToggled((Boolean) newValue);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | BluetoothDetailsControllerTestBase.java | 81 public DeviceConfig setName(String newValue) { argument 82 this.name = newValue; 86 public DeviceConfig setAddress(String newValue) { argument 87 this.address = newValue; 91 public DeviceConfig setMajorDeviceClass(int newValue) { argument 92 this.majorDeviceClass = newValue; 96 public DeviceConfig setConnected(boolean newValue) { argument 97 this.connected = newValue;
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | ListenerCombiner.java | 76 * @param newValue the new value of the input. 79 public boolean setInput(Input input, boolean newValue) { argument 81 mInputs.put(input, newValue); 85 if (newValue == mOutput) {
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
H A D | DisplayOrderPreference.java | 76 int newValue = Integer.parseInt(value); 77 if (newValue != mPreferences.getDisplayOrder()) { 78 mPreferences.setDisplayOrder(newValue);
|
H A D | PhoneticNameDisplayPreference.java | 79 final int newValue = Integer.parseInt(value); 80 if (newValue != mPreferences.getPhoneticNameDisplayPreference()) { 81 mPreferences.setPhoneticNameDisplayPreference(newValue);
|
H A D | SortOrderPreference.java | 76 int newValue = Integer.parseInt(value); 77 if (newValue != mPreferences.getSortOrder()) { 78 mPreferences.setSortOrder(newValue);
|
/packages/apps/Dialer/java/com/android/contacts/common/preference/ |
H A D | DisplayOrderPreference.java | 75 int newValue = Integer.parseInt(value); 76 if (newValue != mPreferences.getDisplayOrder()) { 77 mPreferences.setDisplayOrder(newValue);
|
H A D | SortOrderPreference.java | 75 int newValue = Integer.parseInt(value); 76 if (newValue != mPreferences.getSortOrder()) { 77 mPreferences.setSortOrder(newValue);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
H A D | AutoBrightnessPreferenceControllerTest.java | 85 int newValue = 1; 89 ((InlinePayload) mController.getResultPayload()).setValue(mContext, newValue); 92 assertThat(updatedValue).isEqualTo(newValue); 101 int newValue = ((InlinePayload) mController.getResultPayload()).getValue(mContext); 103 assertThat(newValue).isEqualTo(currentValue);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
H A D | DoubleTapPowerPreferenceControllerTest.java | 115 int newValue = 1; 121 payload.setValue(mContext, newValue); 126 assertThat(updatedValue).isEqualTo(newValue); 137 int newValue = ((InlinePayload) mController.getResultPayload()).getValue(mContext); 138 newValue = 1 - newValue; // DoubleTapPower is a non-standard switch 139 assertThat(newValue).isEqualTo(currentValue);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/ |
H A D | GarageModeSettingsFragment.java | 132 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 134 updateGarageSwitch((boolean) newValue); 138 updateGarageTimeLimit(Integer.valueOf((String) newValue)); 146 private void updateGarageSwitch(boolean newValue) { argument 148 KEY_GARAGE_MODE_ENABLED, newValue ? 1 : 0); 151 private void updateGarageTimeLimit(int newValue) { argument 153 KEY_GARAGE_MODE_MAINTENANCE_WINDOW, newValue * 60 * 1000);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | ZenModePrioritySettings.java | 63 public boolean onPreferenceChange(Preference preference, Object newValue) { 65 final boolean val = (Boolean) newValue; 79 public boolean onPreferenceChange(Preference preference, Object newValue) { 81 final boolean val = (Boolean) newValue; 95 public boolean onPreferenceChange(Preference preference, Object newValue) { 97 final int val = Integer.parseInt((String) newValue); 116 public boolean onPreferenceChange(Preference preference, Object newValue) { 118 final int val = Integer.parseInt((String) newValue); 137 public boolean onPreferenceChange(Preference preference, Object newValue) { 139 final boolean val = (Boolean) newValue; [all...] |
H A D | ZenModeVisualInterruptionSettings.java | 56 public boolean onPreferenceChange(Preference preference, Object newValue) { 58 final boolean val = (Boolean) newValue; 70 public boolean onPreferenceChange(Preference preference, Object newValue) { 72 final boolean val = (Boolean) newValue;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | QuickResponseSettings.java | 86 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 89 if (!mResponses[i].equals(newValue)) { 90 mResponses[i] = (String) newValue;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | PhotosDeletionPreference.java | 81 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 82 boolean checked = (boolean) newValue; 84 return super.onPreferenceChange(preference, newValue);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | RespondViaSmsSettings.java | 94 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 97 Log.d(this, " newValue = '%s'", newValue); 103 // Preference itself gets updated, so we need to use newValue here 105 pref.setTitle((String) newValue); 109 editor.putString(pref.getKey(), (String) newValue).commit();
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | ConcurrentState.java | 66 public void update(T newValue) { argument 67 mValue = newValue;
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
H A D | AutoTimePreferenceController.java | 60 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 61 boolean autoEnabled = (Boolean) newValue;
|
H A D | AutoTimeZonePreferenceController.java | 62 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 63 boolean autoZoneEnabled = (Boolean) newValue;
|
/packages/apps/Settings/src/com/android/settings/display/ |
H A D | BatteryPercentagePreferenceController.java | 60 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 61 boolean showPercentage = (Boolean) newValue;
|