Home
last modified time | relevance | path

Searched refs:valueHolder (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DArrayMapWithHistory.java70 ReferenceWithHistory<V> valueHolder = mMap.get(key); in put() local
71 if (valueHolder == null) { in put()
72 valueHolder = new ReferenceWithHistory<>(mMaxHistorySize); in put()
73 mMap.put(key, valueHolder); in put()
74 } else if (valueHolder.getHistoryCount() == 0) { in put()
78 return valueHolder.set(value); in put()
90 ReferenceWithHistory<V> valueHolder = mMap.get(key); in get() local
91 if (valueHolder == null) { in get()
93 } else if (valueHolder.getHistoryCount() == 0) { in get()
96 return valueHolder.get(); in get()
[all …]
/frameworks/base/core/java/android/widget/
DGridLayout.java1379 MutableInt valueHolder = links.getValue(i); in computeLinks() local
1381 valueHolder.value = max(valueHolder.value, min ? size : -size); in computeLinks()