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

12

/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.java79 public void onMetadataUpdate(int key, Object newValue) { argument
80 if (key == MediaMetadataEditor.RATING_KEY_BY_USER && newValue instanceof Rating) {
81 mCallback.onSetRating(newValue);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java250 final long newValue = SQLiteGlobal.getDefaultPageSize();
252 if (value != newValue) {
253 execute("PRAGMA page_size=" + newValue, null, null);
260 final long newValue = SQLiteGlobal.getWALAutoCheckpoint();
262 if (value != newValue) {
263 executeForLong("PRAGMA wal_autocheckpoint=" + newValue, null, null);
270 final long newValue = SQLiteGlobal.getJournalSizeLimit();
272 if (value != newValue) {
273 executeForLong("PRAGMA journal_size_limit=" + newValue, null, null);
280 final long newValue
300 setSyncMode(String newValue) argument
319 setJournalMode(String newValue) argument
1256 entryRemoved(boolean evicted, String key, PreparedStatement oldValue, PreparedStatement newValue) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java63 final boolean newValue = !isChecked();
64 if (callChangeListener(newValue)) {
65 setChecked(newValue);
H A DPreference.java148 * @param newValue The new value of the Preference.
151 boolean onPreferenceChange(Preference preference, Object newValue); argument
923 * @param newValue The new value of this Preference.
927 protected boolean callChangeListener(Object newValue) { argument
928 return mOnChangeListener == null ? true : mOnChangeListener.onPreferenceChange(this, 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/rs/driver/runtime/
H A Drs_core.c37 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument
38 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
41 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument
42 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
/frameworks/rs/scriptc/
H A 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/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/core/java/android/speech/tts/
H A DTtsEngines.java543 String newValue) {
547 newPrefList.append(key).append(':').append(newValue);
564 newPrefList.append(key).append(':').append(newValue);
581 newPrefList.append(key).append(':').append(newValue);
542 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java391 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) { argument
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/util/
H A DLruCache.java260 * @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/tools/layoutlib/bridge/src/android/util/
H A DLruCache.java271 * @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/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java56 WifiP2pGroup oldValue, WifiP2pGroup newValue) {
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java223 * @param newValue the new value for {@code key}, if it exists. If non-null,
227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
/frameworks/base/core/java/android/widget/
H A DTimePickerClockDelegate.java623 public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) { argument
627 updateHeaderHour(newValue, false);
629 mDelegator.announceForAccessibility(newValue + ". " + mSelectMinutes);
631 updateHeaderHour(newValue, true);
635 updateHeaderMinute(newValue, true);
638 updateAmPmLabelStates(newValue);
H A DRadialTimePickerView.java186 void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance); argument
1250 final int newValue;
1262 newValue = getCurrentHour();
1269 newValue = getCurrentMinute();
1275 mListener.onValueSelected(type, newValue, autoAdvance);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java740 final String newValue = (args == null)
760 values.put(Settings.NameValueTable.VALUE, newValue);
763 Slog.v(TAG, "call_put(system:" + request + "=" + newValue + ") for "
792 Slog.v(TAG, "call_put(secure:" + request + "=" + newValue + ") for "
818 + newValue + "' to managed profile (id "
828 Slog.v(TAG, "call_put(global:" + request + "=" + newValue + ") for "
1263 protected void entryRemoved(boolean evicted, String key, Bundle oldValue, Bundle newValue) { argument
H A DDatabaseHelper.java337 int newValue = (1 << AudioManager.STREAM_RING)
342 + String.valueOf(newValue) + "')");
450 int newValue = (1 << AudioManager.STREAM_RING)
456 + String.valueOf(newValue) + "')");
867 int newValue = (1 << AudioManager.STREAM_RING)
874 + String.valueOf(newValue) + "')");
/frameworks/base/libs/hwui/
H A DRenderProperties.h143 static bool setFlag(int flag, bool newValue, int* outFlags) { argument
144 if (newValue) {
/frameworks/base/core/java/android/os/
H A DStrictMode.java2297 final int newValue = value != null ? value + 1 : 1;
2298 sInstanceCounts.put(mKlass, newValue);
2308 final int newValue = value - 1;
2309 if (newValue > 0) {
2310 sInstanceCounts.put(mKlass, newValue);
/frameworks/base/core/java/android/transition/
H A DTransition.java1798 Object newValue = newValues.values.get(key);
1800 if (oldValue == null && newValue == null) {
1803 } else if (oldValue == null || newValue == null) {
1808 changed = !oldValue.equals(newValue);
1812 "oldValue != newValue for " + key +
1813 ": old, new = " + oldValue + ", " + newValue);
/frameworks/native/services/inputflinger/
H A DInputReader.cpp6448 float newValue, highNewValue; local
6451 newValue = (axis.rawAxisInfo.maxValue - rawEvent->value)
6457 newValue = (axis.axisInfo.splitValue - rawEvent->value)
6461 newValue = 0.0f;
6465 newValue = 0.0f;
6470 newValue = rawEvent->value * axis.scale + axis.offset;
6474 axis.newValue = newValue;
6547 axis.newValue, axis.currentValue, axis.min, axis.max)) {
6548 axis.currentValue = axis.newValue;
6562 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument
6578 hasMovedNearerToValueWithinFilteredRange( float filter, float newValue, float currentValue, float thresholdValue) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp527 const int32_t newValue = enabled ? eventBit : 0; local
529 if (newValue != oldValue) {
534 events = (events & ~eventBit) | newValue;
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java785 * @param newValue the Object storing the new value for the key.
787 public abstract void onMetadataUpdate(int key, Object newValue); argument

Completed in 2168 milliseconds

12