Searched refs:newValue (Results 1 - 25 of 55) sorted by relevance

123

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStringFloat.java24 public StringFloat(String newKey, float newValue) { argument
26 value = newValue;
/frameworks/support/v4/kitkat/android/support/v4/media/session/
H A DMediaSessionCompatApi19.java95 public void onMetadataUpdate(int key, Object newValue) { argument
96 if (key == MediaMetadataEditor.RATING_KEY_BY_USER && newValue instanceof Rating) {
97 mCallback.onSetRating(newValue);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DStatusBarSwitch.java41 public void onTuningChanged(String key, String newValue) { argument
45 mBlacklist = StatusBarIconController.getIconBlacklist(newValue);
H A DDemoModeFragment.java128 public boolean onPreferenceChange(Preference preference, Object newValue) { argument
129 boolean enabled = newValue == Boolean.TRUE;
H A DTunerFragment.java194 public boolean onPreferenceChange(Preference preference, Object newValue) {
195 final boolean v = (Boolean) newValue;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DStaticAccessImportOnDemandTest.java45 String newValue = UUID.randomUUID().toString();
46 StaticTestsVo.ourStaticObservable.set(newValue);
H A DStaticAccessImportOnDemandWithConflictTest.java45 String newValue = UUID.randomUUID().toString();
46 StaticTestsVo.ourStaticObservable.set(newValue);
H A DStaticAccessTest.java47 String newValue = UUID.randomUUID().toString();
48 StaticTestsVo.ourStaticObservable.set(newValue);
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java98 int newValue = (originalValue + delta);
99 if (newValue < -127) {
100 newValue = -127;
102 if (newValue > 127) {
103 newValue = 127;
105 data[n] = (byte)(newValue);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java248 final long newValue = SQLiteGlobal.getDefaultPageSize();
250 if (value != newValue) {
251 execute("PRAGMA page_size=" + newValue, null, null);
258 final long newValue = SQLiteGlobal.getWALAutoCheckpoint();
260 if (value != newValue) {
261 executeForLong("PRAGMA wal_autocheckpoint=" + newValue, null, null);
268 final long newValue = SQLiteGlobal.getJournalSizeLimit();
270 if (value != newValue) {
271 executeForLong("PRAGMA journal_size_limit=" + newValue, null, null);
278 final long newValue
298 setSyncMode(String newValue) argument
317 setJournalMode(String newValue) argument
1258 entryRemoved(boolean evicted, String key, PreparedStatement oldValue, PreparedStatement newValue) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java64 final boolean newValue = !isChecked();
65 if (callChangeListener(newValue)) {
66 setChecked(newValue);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java184 Fragment oldValue, Fragment newValue) {
186 if (evicted || (newValue != null && oldValue != newValue)) {
183 entryRemoved(boolean evicted, String key, Fragment oldValue, Fragment newValue) argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DTwoStatePreference.java62 final boolean newValue = !isChecked();
63 if (callChangeListener(newValue)) {
64 setChecked(newValue);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java73 public static void setWithOldValue(TextView view, String oldValue, String newValue) { argument
74 view.setText(String.format("%s -> %s", oldValue, newValue));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java134 int newValue = edge + mProvider.getSize(i);
135 if (findLarge ? newValue > value : newValue < value) {
137 value = newValue;
171 int newValue = edge - mProvider.getSize(i);
172 if (findLarge ? newValue > value : newValue < value) {
173 value = newValue;
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java325 final TextWatcher newValue;
327 newValue = null;
329 newValue = new TextWatcher() {
352 final TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher);
356 if (newValue != null) {
357 view.addTextChangedListener(newValue);
H A DViewBindingAdapter.java196 View.OnLayoutChangeListener newValue) {
201 if (newValue != null) {
202 view.addOnLayoutChangeListener(newValue);
195 setOnLayoutChangeListener(View view, View.OnLayoutChangeListener oldValue, View.OnLayoutChangeListener newValue) argument
/frameworks/rs/api/
H A Drs_atomic.spec78 arg: int32_t newValue, "Value to write if the test passes."
81 If the value at addr matches compareValue then the newValue is written at addr,
82 i.e. <code>if (*addr == compareValue) { *addr = newValue; }</code>.
94 arg: uint32_t newValue
/frameworks/rs/driver/runtime/
H A Drs_core.c39 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument
40 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
43 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument
44 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
/frameworks/rs/scriptc/
H A Drs_atomic.rsh85 * 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 DColorCutQuantizer.java504 final int newValue;
507 newValue = value << (targetWidth - currentWidth);
510 newValue = value >> (currentWidth - targetWidth);
512 return newValue & ((1 << targetWidth) - 1);
/frameworks/base/core/tests/coretests/src/android/util/
H A DLruCacheTest.java373 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/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDndTile.java126 final boolean newValue = zen != Global.ZEN_MODE_OFF;
127 final boolean valueChanged = state.value != newValue;
128 state.value = newValue;
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java542 String newValue) {
546 newPrefList.append(key).append(':').append(newValue);
563 newPrefList.append(key).append(':').append(newValue);
580 newPrefList.append(key).append(':').append(newValue);
541 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java392 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);

Completed in 1856 milliseconds

123