/frameworks/rs/script_api/include/ |
H A D | rs_atomic.rsh | 85 * If the value at addr matches compareValue then the newValue is written at addr, 86 * i.e. if (*addr == compareValue) { *addr = newValue; }. 94 * newValue: Value to write if the test passes. 100 rsAtomicCas(volatile int32_t* addr, int32_t compareValue, int32_t newValue); 105 rsAtomicCas(volatile uint32_t* addr, uint32_t compareValue, uint32_t newValue);
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 506 final int newValue; 509 newValue = value << (targetWidth - currentWidth); 512 newValue = value >> (currentWidth - targetWidth); 514 return newValue & ((1 << targetWidth) - 1);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeEnablerManager.java | 87 public boolean onPreferenceChange(final Preference pref, final Object newValue) { argument 88 if (!(newValue instanceof Boolean)) { 91 final boolean isChecking = (Boolean) newValue;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ShortcutPicker.java | 129 public void onTuningChanged(String key, String newValue) { argument 130 String v = newValue != null ? newValue : "";
|
H A D | DemoModeFragment.java | 127 public boolean onPreferenceChange(Preference preference, Object newValue) { argument 128 boolean enabled = newValue == Boolean.TRUE;
|
H A D | TunerService.java | 53 void onTuningChanged(String key, String newValue); argument
|
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/ |
H A D | LiveData.java | 102 Object newValue; 104 newValue = mPendingData; 108 setValue((T) newValue);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 121 public void onTuningChanged(String key, String newValue) { argument 123 mAllowFancy = newValue == null || Integer.parseInt(newValue) != 0; 128 mFullRows = newValue == null || Integer.parseInt(newValue) != 0;
|
H A D | QSTileHost.java | 170 public void onTuningChanged(String key, String newValue) { argument 175 if (newValue == null && UserManager.isDeviceInDemoMode(mContext)) { 176 newValue = mContext.getResources().getString(R.string.quick_settings_tiles_retail_mode); 178 final List<String> tileSpecs = loadTileSpecs(mContext, newValue);
|
H A D | QuickQSPanel.java | 123 public void onTuningChanged(String key, String newValue) { argument 145 public void onTuningChanged(String key, String newValue) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 373 boolean evicted, String key, String oldValue, String newValue) { 411 boolean evicted, String key, String oldValue, String newValue) { 412 log.add(key + "=" + oldValue + ">" + newValue); 438 boolean evicted, String key, Integer oldValue, Integer newValue) { 439 log.add(key + "=" + oldValue + ">" + newValue); 458 boolean evicted, String key, String oldValue, String newValue) { 461 : (key + "=" + oldValue + ">" + newValue);
|
/frameworks/base/core/java/android/widget/ |
H A D | TimePickerClockDelegate.java | 880 public void onValueSelected(int pickerType, int newValue, boolean autoAdvance) { 884 if (getHour() != newValue) { 888 setHourInternal(newValue, FROM_RADIAL_PICKER, !isTransition, true); 892 final int localizedHour = getLocalizedHour(newValue); 897 if (getMinute() != newValue) { 900 setMinuteInternal(newValue, FROM_RADIAL_PICKER, true); 912 public void onValueChanged(int pickerType, int newValue) { 915 setHourInternal(newValue, FROM_INPUT_PICKER, false, true); 918 setMinuteInternal(newValue, FROM_INPUT_PICKER, true); 921 setAmOrPm(newValue); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarGestureHelper.java | 309 public void onTuningChanged(String key, String newValue) { argument 312 mDockWindowEnabled = newValue != null && (Integer.parseInt(newValue) != 0);
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | ViewBindingAdapter.java | 195 View.OnLayoutChangeListener newValue) { 200 if (newValue != null) { 201 view.addOnLayoutChangeListener(newValue); 194 setOnLayoutChangeListener(View view, View.OnLayoutChangeListener oldValue, View.OnLayoutChangeListener newValue) argument
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 540 String newValue) { 544 newPrefList.append(key).append(':').append(newValue); 561 newPrefList.append(key).append(':').append(newValue); 578 newPrefList.append(key).append(':').append(newValue); 539 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument 45 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); 48 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument 49 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | Picker.java | 416 * @param newValue A new value desired to be set on the column. 418 public void onColumnValueChanged(int columnIndex, int newValue) { argument 420 if (column.getCurrentValue() != newValue) { 421 column.setCurrentValue(newValue); 505 int newValue = mColumns.get(colIndex).getMinValue() + position; 506 onColumnValueChanged(colIndex, newValue);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 392 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) { argument 394 setHour(newValue, false); 395 String announcement = String.format("%d", newValue); 400 mTimePicker.setContentDescription(mHourPickerDescription + ": " + newValue); 405 setMinute(newValue); 406 mTimePicker.setContentDescription(mMinutePickerDescription + ": " + newValue); 408 updateAmPmDisplay(newValue);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DndTile.java | 178 final boolean newValue = zen != ZEN_MODE_OFF; 179 final boolean valueChanged = state.value != newValue; 182 state.value = newValue;
|
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 260 * @param newValue the new value for {@code key}, if it exists. If non-null, 264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroupList.java | 56 WifiP2pGroup oldValue, WifiP2pGroup newValue) {
|
/frameworks/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 271 * @param newValue the new value for {@code key}, if it exists. If non-null, 275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | LruCache.java | 224 * @param newValue the new value for {@code key}, if it exists. If non-null, 228 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 151 public void onTuningChanged(String key, String newValue) { argument 153 ArraySet<String> icons = StatusBarIconController.getIconBlacklist(newValue);
|
H A D | RoundedCorners.java | 171 public void onTuningChanged(String key, String newValue) { argument 176 size = (int) (Integer.parseInt(newValue) * mDensity);
|