/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | ListenerUtil.java | 57 final T oldValue = (T) view.getTag(listenerResourceId); in trackListener() local 59 return oldValue; in trackListener() 67 final WeakReference<T> oldValue; in trackListener() local 69 oldValue = (WeakReference<T>) listeners.remove(view); in trackListener() 71 oldValue = (WeakReference<T>) listeners.put(view, new WeakReference(listener)); in trackListener() 73 if (oldValue == null) { in trackListener() 76 return oldValue.get(); in trackListener() 100 final WeakReference<T> oldValue = (WeakReference<T>) listeners.get(view); in getListener() local 101 if (oldValue == null) { in getListener() 104 return oldValue.get(); in getListener()
|
D | ViewBindingAdapter.java | 194 public static void setOnLayoutChangeListener(View view, View.OnLayoutChangeListener oldValue, in setOnLayoutChangeListener() argument 197 if (oldValue != null) { in setOnLayoutChangeListener() 198 view.removeOnLayoutChangeListener(oldValue); in setOnLayoutChangeListener()
|
D | TextViewBindingAdapter.java | 379 final TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); in setTextWatcher() local 380 if (oldValue != null) { in setTextWatcher() 381 view.removeTextChangedListener(oldValue); in setTextWatcher()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayTransformManager.java | 99 final float[] oldValue = mColorMatrix.get(level); in setColorMatrix() local 100 if (!Arrays.equals(oldValue, value)) { in setColorMatrix() 103 } else if (oldValue == null) { in setColorMatrix() 106 System.arraycopy(value, 0, oldValue, 0, value.length); in setColorMatrix()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 373 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) { 460 ? (key + "=" + oldValue) 461 : (key + "=" + oldValue + ">" + newValue);
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsStrongAuth.java | 96 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleRequireStrongAuthOneUser() local 99 : (oldValue | strongAuthReason); in handleRequireStrongAuthOneUser() 100 if (oldValue != newValue) { in handleRequireStrongAuthOneUser()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 184 Fragment oldValue, Fragment newValue) { in entryRemoved() argument 186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved() 187 mCurTransaction.remove(oldValue); in entryRemoved()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 161 boolean oldValue = mAllowPurging; in allowPurging() 162 if (oldValue != allowPurging) { in allowPurging() 166 return oldValue; in allowPurging()
|
/frameworks/support/documents-archive/src/android/support/provider/ |
D | DocumentArchiveHelper.java | 79 Loader oldValue, Loader newValue) { 80 oldValue.getWriteLock().lock(); 82 oldValue.get().close(); 86 oldValue.getWriteLock().unlock();
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
D | ObservableArrayMap.java | 97 V oldValue = super.setValueAt(index, value); in setValueAt() local 99 return oldValue; in setValueAt()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
D | MultiArgTestAdapter.java | 71 public static void setWithOldValue(TextView view, String oldValue, String newValue) { in setWithOldValue() argument 72 view.setText(String.format("%s -> %s", oldValue, newValue)); in setWithOldValue()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | MultiValueMap.java | 37 public T replace(String key, T oldValue, T newValue) { in replace() argument 46 if (value == oldValue) { in replace()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MultiValueMap.java | 35 public T replace(String key, T oldValue, T newValue) { in replace() argument 44 if (value == oldValue) { in replace()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 56 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList() 58 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 114 String oldValue = null; in restoreValue() local 128 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue() 169 .putExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE, oldValue); in restoreValue()
|
D | SettingsState.java | 259 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() local 274 updateMemoryUsagePerPackageLocked(packageName, oldValue, value); in insertSettingLocked() 363 private void updateMemoryUsagePerPackageLocked(String packageName, String oldValue, in updateMemoryUsagePerPackageLocked() argument 373 final int oldValueSize = (oldValue != null) ? oldValue.length() : 0; in updateMemoryUsagePerPackageLocked()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 204 final Object oldValue = map.remove(propertyName); in parse() local 205 if (oldValue != null) { in parse() 208 if (value.getClass() != oldValue.getClass()) { in parse()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 86 final String oldValue = in testRowNameContentUriForSystem() local 94 if (oldValue != null) { in testRowNameContentUriForSystem() 95 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue); in testRowNameContentUriForSystem() local
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | Binding.java | 217 String oldValue, String converted) { in toJavaInternal() argument 266 String oldValue, String converted) { in toJavaInternal() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 594 final boolean oldValue = mInEmergencyCall.getAndSet(value); in setInEmergencyCall() 595 if (oldValue != value) { in setInEmergencyCall() 608 final boolean oldValue = mInEcm.getAndSet(value); in setInEcm() 609 if (oldValue != value) { in setInEcm()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | manage-memory.jd | 178 BitmapDrawable oldValue, BitmapDrawable newValue) { 179 if (RecyclingBitmapDrawable.class.isInstance(oldValue)) { 182 ((RecyclingBitmapDrawable) oldValue).setIsCached(false); 189 (new SoftReference<Bitmap>(oldValue.getBitmap()));
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | LruCache.java | 227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
|
/frameworks/support/transition/ics/android/support/transition/ |
D | TransitionPort.java | 876 Object oldValue = oldValues.values.get(key); in playTransition() local 878 if (oldValue != null && newValue != null && in playTransition() 879 !oldValue.equals(newValue)) { in playTransition() 884 ": old, new = " + oldValue + ", " + newValue); in playTransition()
|