Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java250 final long newValue = SQLiteGlobal.getDefaultPageSize(); in setPageSize() local
252 if (value != newValue) { in setPageSize()
253 execute("PRAGMA page_size=" + newValue, null, null); in setPageSize()
260 final long newValue = SQLiteGlobal.getWALAutoCheckpoint(); in setAutoCheckpointInterval() local
262 if (value != newValue) { in setAutoCheckpointInterval()
263 executeForLong("PRAGMA wal_autocheckpoint=" + newValue, null, null); in setAutoCheckpointInterval()
270 final long newValue = SQLiteGlobal.getJournalSizeLimit(); in setJournalSizeLimit() local
272 if (value != newValue) { in setJournalSizeLimit()
273 executeForLong("PRAGMA journal_size_limit=" + newValue, null, null); in setJournalSizeLimit()
280 final long newValue = mConfiguration.foreignKeyConstraintsEnabled ? 1 : 0; in setForeignKeyModeFromConfiguration() local
[all …]
/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/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/core/java/android/preference/
DTwoStatePreference.java63 final boolean newValue = !isChecked(); in onClick()
64 if (callChangeListener(newValue)) { in onClick()
65 setChecked(newValue); in onClick()
DPreference.java151 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange() argument
927 protected boolean callChangeListener(Object newValue) { in callChangeListener() argument
928 … return mOnChangeListener == null ? true : mOnChangeListener.onPreferenceChange(this, newValue); in callChangeListener()
/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/rs/driver/runtime/
Drs_core.c37 …ute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { in rsAtomicCas() argument
38 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
41 …__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { in rsAtomicCas() argument
42 return __sync_val_compare_and_swap(ptr, expectedValue, newValue); in rsAtomicCas()
/frameworks/rs/scriptc/
Drs_atomic.rsh153 * If the value at addr matches compareValue then newValue is written.
157 * @param newValue The value to write if the test passes.
162 rsAtomicCas(volatile int32_t* addr, int32_t compareValue, int32_t newValue);
167 * If the value at addr matches compareValue then newValue is written.
171 * @param newValue The value to write if the test passes.
176 rsAtomicCas(volatile uint32_t* addr, uint32_t compareValue, uint32_t newValue);
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java543 String newValue) { in updateValueInCommaSeparatedList() argument
547 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
564 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
581 newPrefList.append(key).append(':').append(newValue); in updateValueInCommaSeparatedList()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java391 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) {
393 setHour(newValue, false);
394 String announcement = String.format("%d", newValue);
399 mTimePicker.setContentDescription(mHourPickerDescription + ": " + newValue);
404 setMinute(newValue);
405 mTimePicker.setContentDescription(mMinutePickerDescription + ": " + newValue);
407 updateAmPmDisplay(newValue);
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java615 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) {
617 updateHeaderHour(newValue, false);
618 String announcement = String.format("%d", newValue);
624 mHourPickerDescription + ": " + newValue);
629 updateHeaderMinute(newValue);
630 mRadialTimePickerView.setContentDescription(mMinutePickerDescription + ": " + newValue);
632 updateAmPmDisplay(newValue);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java743 final String newValue = (args == null) in call() local
763 values.put(Settings.NameValueTable.VALUE, newValue); in call()
766 Slog.v(TAG, "call_put(system:" + request + "=" + newValue + ") for " in call()
795 Slog.v(TAG, "call_put(secure:" + request + "=" + newValue + ") for " in call()
821 + newValue + "' to managed profile (id " in call()
831 Slog.v(TAG, "call_put(global:" + request + "=" + newValue + ") for " in call()
1335 protected void entryRemoved(boolean evicted, String key, Bundle oldValue, Bundle newValue) { in entryRemoved() argument
DDatabaseHelper.java336 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade() local
341 + String.valueOf(newValue) + "')"); in onUpgrade()
449 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade() local
455 + String.valueOf(newValue) + "')"); in onUpgrade()
866 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade() local
873 + String.valueOf(newValue) + "')"); in onUpgrade()
/frameworks/base/libs/hwui/
DRenderProperties.h143 static bool setFlag(int flag, bool newValue, int* outFlags) { in setFlag() argument
144 if (newValue) { in setFlag()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DLruCache.java275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java56 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList()
/frameworks/support/v4/java/android/support/v4/util/
DLruCache.java227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/base/core/java/android/util/
DLruCache.java264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/base/core/java/android/os/
DStrictMode.java2297 final int newValue = value != null ? value + 1 : 1; in InstanceTracker() local
2298 sInstanceCounts.put(mKlass, newValue); in InstanceTracker()
2308 final int newValue = value - 1; in finalize() local
2309 if (newValue > 0) { in finalize()
2310 sInstanceCounts.put(mKlass, newValue); in finalize()
/frameworks/base/core/java/android/transition/
DTransition.java1794 Object newValue = newValues.values.get(key); in isValueChanged() local
1796 if (oldValue == null && newValue == null) { in isValueChanged()
1799 } else if (oldValue == null || newValue == null) { in isValueChanged()
1804 changed = !oldValue.equals(newValue); in isValueChanged()
1809 ": old, new = " + oldValue + ", " + newValue); in isValueChanged()
/frameworks/native/services/inputflinger/
DInputReader.h1802 float newValue; // most recent value member
1828 this->newValue = 0; in resetValue()
1844 float newValue, float currentValue, float min, float max);
1846 float newValue, float currentValue, float thresholdValue);
DInputReader.cpp6448 float newValue, highNewValue; in process() local
6451 newValue = (axis.rawAxisInfo.maxValue - rawEvent->value) in process()
6457 newValue = (axis.axisInfo.splitValue - rawEvent->value) in process()
6461 newValue = 0.0f; in process()
6465 newValue = 0.0f; in process()
6470 newValue = rawEvent->value * axis.scale + axis.offset; in process()
6474 axis.newValue = newValue; in process()
6547 axis.newValue, axis.currentValue, axis.min, axis.max)) { in filterAxes()
6548 axis.currentValue = axis.newValue; in filterAxes()
6563 float filter, float newValue, float currentValue, float min, float max) { in hasValueChangedSignificantly() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWatchdogStateMachine.java1016 public void update(double newValue, int newVolume) { in update() argument
1019 double newProduct = newValue * newVolume; in update()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java787 public abstract void onMetadataUpdate(int key, Object newValue); in onMetadataUpdate() argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp527 const int32_t newValue = enabled ? eventBit : 0; in eventControl() local
529 if (newValue != oldValue) { in eventControl()
534 events = (events & ~eventBit) | newValue; in eventControl()

12