/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | ListenerUtil.java | 39 * OnFooListener oldValue = ListenerUtil.trackListener(view, listener, R.id.fooListener); 40 * if (oldValue != null) { 41 * view.removeOnFooListener(oldValue); 57 final T oldValue = (T) view.getTag(listenerResourceId); 59 return oldValue; 67 final WeakReference<T> oldValue; 69 oldValue = (WeakReference<T>) listeners.remove(view); 71 oldValue = (WeakReference<T>) listeners.put(view, new WeakReference(listener)); 73 if (oldValue == null) { 76 return oldValue [all...] |
H A D | ViewBindingAdapter.java | 194 public static void setOnLayoutChangeListener(View view, View.OnLayoutChangeListener oldValue, argument 197 if (oldValue != null) { 198 view.removeOnLayoutChangeListener(oldValue);
|
H A D | TextViewBindingAdapter.java | 379 final TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); 380 if (oldValue != null) { 381 view.removeTextChangedListener(oldValue);
|
/frameworks/support/collection/ktx/src/main/java/androidx/collection/ |
H A D | LruCache.kt | 41 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 47 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 48 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | LruCache.kt | 43 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 49 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 50 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableArrayMap.java | 97 V oldValue = super.setValueAt(index, value); 99 return oldValue;
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 146 boolean oldValue = mAllowPurging; 147 if (oldValue != allowPurging) { 151 return oldValue;
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | InstallNonMarketAppsDeprecationTest.java | 55 private String waitTillValueChanges(String errorMessage, String oldValue) { argument 59 while (newValue.equals(oldValue) && SystemClock.uptimeMillis() <= (startTime 71 assertFalse(errorMessage, oldValue.equals(newValue));
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 184 Fragment oldValue, Fragment newValue) { 186 if (evicted || (newValue != null && oldValue != newValue)) { 187 mCurTransaction.remove(oldValue); 183 entryRemoved(boolean evicted, String key, Fragment oldValue, Fragment newValue) argument
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | MultiArgTestAdapter.java | 71 public static void setWithOldValue(TextView view, String oldValue, String newValue) { argument 72 view.setText(String.format("%s -> %s", oldValue, newValue));
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayTransformManager.java | 129 final float[] oldValue = mColorMatrix.get(level); 130 if (!Arrays.equals(oldValue, value)) { 133 } else if (oldValue == null) { 136 System.arraycopy(value, 0, oldValue, 0, value.length);
|
/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) { 460 ? (key + "=" + oldValue) 461 : (key + "=" + oldValue + ">" + newValue);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroupList.java | 56 WifiP2pGroup oldValue, WifiP2pGroup newValue) { 58 mListener.onDeleteGroup(oldValue.getNetworkId());
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsStrongAuth.java | 110 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); 113 : (oldValue | strongAuthReason); 114 if (oldValue != newValue) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyLogger.java | 125 void restrictBackgroundChanged(boolean oldValue, boolean newValue) { argument 128 getRestrictBackgroundChangedLog(oldValue, newValue)); 129 mEventsBuffer.restrictBackgroundChanged(oldValue, newValue); 249 private static String getRestrictBackgroundChangedLog(boolean oldValue, boolean newValue) { argument 250 return "Changed restrictBackground: " + oldValue + "->" + newValue; 379 public void restrictBackgroundChanged(boolean oldValue, boolean newValue) { argument 385 data.bfield1 = oldValue;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 356 String oldValue = oldSetting.getValue(); 362 updateMemoryUsagePerPackageLocked(newSetting.getPackageName(), oldValue, 376 String oldValue = (oldState != null) ? oldState.value : null; 390 StatsLog.write(StatsLog.SETTING_CHANGED, name, value, newState.value, oldValue, tag, 395 updateMemoryUsagePerPackageLocked(packageName, oldValue, value, 440 String oldValue = setting.getValue(); 450 updateMemoryUsagePerPackageLocked(setting.packageName, oldValue, 556 private void updateMemoryUsagePerPackageLocked(String packageName, String oldValue, argument 566 final int oldValueSize = (oldValue != null) ? oldValue [all...] |
H A D | SettingsHelper.java | 128 String oldValue = null; 142 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); 180 .putExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE, oldValue)
|
H A D | SettingsProvider.java | 3218 final String oldValue = systemSecureSettings.getSettingLocked( 3220 if (TextUtils.equals("500", oldValue)) { 3248 final String oldValue = systemSecureSettings.getSettingLocked( 3250 if (TextUtils.equals(null, oldValue)) { 3494 final String oldValue = systemSecureSettings.getSettingLocked( 3496 if (TextUtils.equals(null, oldValue)) { 3561 final String oldValue = systemSecureSettings.getSettingLocked( 3563 if (TextUtils.equals(null, oldValue)) { 3579 final String oldValue = globalSettings.getSettingLocked( 3583 if (TextUtils.equals(null, oldValue) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 204 final Object oldValue = map.remove(propertyName); 205 if (oldValue != null) { 208 if (value.getClass() != oldValue.getClass()) {
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | FrameMetricsAggregator.java | 403 int oldValue = buckets.get(durationMs); 404 buckets.put(durationMs, (oldValue + 1));
|
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
H A D | LruCache.java | 228 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | Binding.java | 249 String oldValue, String converted) { 299 String oldValue, String converted) { 248 toJavaInternal(String componentExpression, String viewExpression, String oldValue, String converted) argument 298 toJavaInternal(String componentExpression, String viewExpression, String oldValue, String converted) argument
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SettingsProviderTest.java | 86 final String oldValue = 94 if (oldValue != null) { 95 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue);
|