Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java248 final long newValue = SQLiteGlobal.getDefaultPageSize(); in setPageSize() local
250 if (value != newValue) { in setPageSize()
251 execute("PRAGMA page_size=" + newValue, null, null); in setPageSize()
258 final long newValue = SQLiteGlobal.getWALAutoCheckpoint(); in setAutoCheckpointInterval() local
260 if (value != newValue) { in setAutoCheckpointInterval()
261 executeForLong("PRAGMA wal_autocheckpoint=" + newValue, null, null); in setAutoCheckpointInterval()
268 final long newValue = SQLiteGlobal.getJournalSizeLimit(); in setJournalSizeLimit() local
270 if (value != newValue) { in setJournalSizeLimit()
271 executeForLong("PRAGMA journal_size_limit=" + newValue, null, null); in setJournalSizeLimit()
278 final long newValue = mConfiguration.foreignKeyConstraintsEnabled ? 1 : 0; in setForeignKeyModeFromConfiguration() local
[all …]
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBNNMTest.java98 int newValue = (originalValue + delta); in addByteNoise() local
99 if (newValue < -127) { in addByteNoise()
100 newValue = -127; in addByteNoise()
102 if (newValue > 127) { in addByteNoise()
103 newValue = 127; in addByteNoise()
105 data[n] = (byte)(newValue); in addByteNoise()
/frameworks/support/v4/kitkat/android/support/v4/media/session/
DMediaSessionCompatApi19.java95 public void onMetadataUpdate(int key, Object newValue) { in onMetadataUpdate() argument
96 if (key == MediaMetadataEditor.RATING_KEY_BY_USER && newValue instanceof Rating) { in onMetadataUpdate()
97 mCallback.onSetRating(newValue); in onMetadataUpdate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java134 int newValue = edge + mProvider.getSize(i); in findRowMax() local
135 if (findLarge ? newValue > value : newValue < value) { in findRowMax()
137 value = newValue; in findRowMax()
171 int newValue = edge - mProvider.getSize(i); in findRowMin() local
172 if (findLarge ? newValue > value : newValue < value) { in findRowMin()
173 value = newValue; in findRowMin()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DStringFloat.java24 public StringFloat(String newKey, float newValue) { in StringFloat() argument
26 value = newValue; in StringFloat()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DStaticAccessImportOnDemandTest.java45 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local
46 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
DStaticAccessImportOnDemandWithConflictTest.java45 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local
46 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
DStaticAccessTest.java47 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local
48 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java373 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization()
411 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut()
412 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentPut()
438 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate()
439 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentCreate()
458 boolean evicted, String key, String oldValue, String newValue) {
461 : (key + "=" + oldValue + ">" + newValue);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DStatusBarSwitch.java41 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument
45 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged()
DDemoModeFragment.java128 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument
129 boolean enabled = newValue == Boolean.TRUE; in onPreferenceChange()
DTunerFragment.java194 public boolean onPreferenceChange(Preference preference, Object newValue) {
195 final boolean v = (Boolean) newValue;
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java64 final boolean newValue = !isChecked(); in onClick()
65 if (callChangeListener(newValue)) { in onClick()
66 setChecked(newValue); in onClick()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DTwoStatePreference.java62 final boolean newValue = !isChecked(); in onClick()
63 if (callChangeListener(newValue)) { in onClick()
64 setChecked(newValue); in onClick()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java184 Fragment oldValue, Fragment newValue) { in entryRemoved() argument
186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java325 final TextWatcher newValue; in setListener() local
327 newValue = null; in setListener()
329 newValue = new TextWatcher() { in setListener()
352 final TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); in setListener()
356 if (newValue != null) { in setListener()
357 view.addTextChangedListener(newValue); in setListener()
DViewBindingAdapter.java196 View.OnLayoutChangeListener newValue) { in setOnLayoutChangeListener() argument
201 if (newValue != null) { in setOnLayoutChangeListener()
202 view.addOnLayoutChangeListener(newValue); in setOnLayoutChangeListener()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DMultiArgTestAdapter.java73 public static void setWithOldValue(TextView view, String oldValue, String newValue) { in setWithOldValue() argument
74 view.setText(String.format("%s -> %s", oldValue, newValue)); in setWithOldValue()
/frameworks/rs/api/
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/
Drs_core.c39 …ute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { in rsAtomicCas() argument
40 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
43 …__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { in rsAtomicCas() argument
44 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DColorCutQuantizer.java504 final int newValue; in modifyWordWidth() local
507 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
510 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
512 return newValue & ((1 << targetWidth) - 1); in modifyWordWidth()
/frameworks/rs/scriptc/
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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java126 final boolean newValue = zen != Global.ZEN_MODE_OFF; in handleUpdateState()
127 final boolean valueChanged = state.value != newValue; in handleUpdateState()
128 state.value = newValue; in handleUpdateState()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java542 String newValue) { in updateValueInCommaSeparatedList() argument
546 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
563 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
580 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java392 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) {
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);

123