/frameworks/support/v4/java/android/support/v4/util/ |
D | ArrayMap.java | 50 public class ArrayMap<K, V> extends SimpleArrayMap<K, V> implements Map<K, V> { 51 MapCollections<K, V> mCollections; 71 private MapCollections<K, V> getCollection() { in getCollection() 73 mCollections = new MapCollections<K, V>() { in getCollection() 95 protected Map<K, V> colGetMap() { in getCollection() 100 protected void colPut(K key, V value) { in getCollection() 138 public void putAll(Map<? extends K, ? extends V> map) { in putAll() argument 140 for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { in putAll() 178 public Set<Entry<K, V>> entrySet() { in entrySet() 190 public Set<K> keySet() { in keySet()
|
D | LruCache.java | 29 public class LruCache<K, V> { 30 private final LinkedHashMap<K, V> map; 52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 77 public final V get(K key) { in get() 131 public final V put(K key, V value) { in put() 163 K key; in trimToSize() 175 Map.Entry<K, V> toEvict = map.entrySet().iterator().next(); in trimToSize() 192 public final V remove(K key) { in remove() 227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() 244 protected V create(K key) { in create() [all …]
|
D | MapCollections.java | 30 abstract class MapCollections<K, V> { 71 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 87 public Map.Entry<K, V> next() { in next() 105 public K getKey() { in getKey() 110 return (K)colGetEntry(mIndex, 0); in getKey() 163 final class EntrySet implements Set<Map.Entry<K, V>> { 165 public boolean add(Map.Entry<K, V> object) { in add() argument 170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() argument 172 for (Map.Entry<K, V> entry : collection) { in addAll() 213 public Iterator<Map.Entry<K, V>> iterator() { in iterator() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 66 public class LruCache<K, V> { 67 private final LinkedHashMap<K, V> map; 89 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 115 public final V get(K key) { in get() 169 public final V put(K key, V value) { in put() 198 K key; in trimToSize() 214 Map.Entry<K, V> toEvict = null; in trimToSize() 215 for (Map.Entry<K, V> entry : map.entrySet()) { in trimToSize() 240 public final V remove(K key) { in remove() 275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() [all …]
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 62 public class LruCache<K, V> { 63 private final LinkedHashMap<K, V> map; 85 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in LruCache() 110 public final V get(K key) { in get() 164 public final V put(K key, V value) { in put() 196 K key; in trimToSize() 208 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize() 229 public final V remove(K key) { in remove() 264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() 281 protected V create(K key) { in create() [all …]
|
D | MapCollections.java | 32 abstract class MapCollections<K, V> { 73 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 89 public Map.Entry<K, V> next() { in next() 107 public K getKey() { in getKey() 112 return (K)colGetEntry(mIndex, 0); in getKey() 165 final class EntrySet implements Set<Map.Entry<K, V>> { 167 public boolean add(Map.Entry<K, V> object) { in add() argument 172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() argument 174 for (Map.Entry<K, V> entry : collection) { in addAll() 215 public Iterator<Map.Entry<K, V>> iterator() { in iterator() [all …]
|
D | ArrayMap.java | 47 public final class ArrayMap<K, V> implements Map<K, V> { 86 MapCollections<K, V> mCollections; 387 public K keyAt(int index) { in keyAt() 388 return (K)mArray[index << 1]; in keyAt() 430 public V put(K key, V value) { in put() 486 public void append(K key, V value) { in append() 550 public void putAll(ArrayMap<? extends K, ? extends V> array) { in putAll() argument 667 K key = keyAt(i); in equals() 745 private MapCollections<K, V> getCollection() { in getCollection() 747 mCollections = new MapCollections<K, V>() { in getCollection() [all …]
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Maps.java | 32 public static <K, V> HashMap<K, V> newHashMap() { in newHashMap() 33 return new HashMap<K, V>(); in newHashMap() 39 public static <K, V> ArrayMap<K, V> newArrayMap() { in newArrayMap() 40 return new ArrayMap<K, V>(); in newArrayMap()
|
D | Sets.java | 45 public static <K> HashSet<K> newHashSet() { in newHashSet() 46 return new HashSet<K>(); in newHashSet()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedPooledCache.java | 44 public class UnrefedPooledCache<K, V extends Poolable> implements PooledCache<K, V> { 46 private final LinkedHashMap<K, V> mCache; 49 private final LruCache<K, V> mNonPooledCache; 60 mCache = new LinkedHashMap<K, V>(0, 0.75f, true); in UnrefedPooledCache() 72 public V get(K key, boolean incrementRefCount) { in get() 88 public V put(K key, V value) { in put() 131 Map.Entry<K, V> eldestUnref = null; in poll() 132 for (Map.Entry<K, V> entry : mCache.entrySet()) { in poll() 191 for (Map.Entry<K, V> item : mCache.entrySet()) { in toDebugString() 201 for (Map.Entry<K, V> item : mNonPooledCache.snapshot().entrySet()) { in toDebugString() [all …]
|
D | PooledCache.java | 19 public interface PooledCache<K, V> { 21 V get(K key, boolean incrementRefCount); in get() 22 V put(K key, V value); in put()
|
/frameworks/base/test-runner/src/android/test/ |
D | SimpleCache.java | 22 abstract class SimpleCache<K, V> { 23 private Map<K, V> map = new HashMap<K, V>(); 25 protected abstract V load(K key); in load() 27 final V get(K key) { in get()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | AbstractCache.java | 24 public abstract class AbstractCache<K, V> { 31 private final HashMap<K, CacheEntry<V>> mCacheMap; 34 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache() 37 public boolean put(K key, V value) { in put() 64 public V get(K key) { in get() 82 public V purge(K key) { in purge()
|
/frameworks/rs/server/ |
D | TypeHelpers.h | 248 template <typename K, typename V> 249 struct trait_trivial_ctor< key_value_pair_t<K, V> > 250 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; 251 template <typename K, typename V> 252 struct trait_trivial_dtor< key_value_pair_t<K, V> > 253 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; 254 template <typename K, typename V> 255 struct trait_trivial_copy< key_value_pair_t<K, V> > 256 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; 257 template <typename K, typename V> [all …]
|
/frameworks/rs/cpp/util/ |
D | TypeHelpers.h | 248 template <typename K, typename V> 249 struct trait_trivial_ctor< key_value_pair_t<K, V> > 250 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; 251 template <typename K, typename V> 252 struct trait_trivial_dtor< key_value_pair_t<K, V> > 253 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; 254 template <typename K, typename V> 255 struct trait_trivial_copy< key_value_pair_t<K, V> > 256 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; 257 template <typename K, typename V> [all …]
|
/frameworks/base/tests/LegacyRestoreTest/ |
D | jbmr2-encrypted-settings-abcd.ab | 10 ���$t�)�&����Y�e�Y��� ?A>Q��ª_j��a<�E��K��g�;�e���c��:k�(�K*rFA�ȏ�"��wR���&�%�?\��}����z��… 13 …tክ�:[]�r )��Ayާ�5;JM����<pJ�˓�����'�?H���k��N�<�7��Ww4�-XReTr�VZ��K<����'ɷ���;����… 14 �&d?�6g1g�K��^�?�(<Ȭ��F�R���2]����?e�p��� EO���3����{n{��Sn$��� ��fcʲ1i�Bu�z�1z��XG��E�K�… 15 …K��;�Q2���+�b�w�-uyxj��^�qqy��>� ��`�x���⼖��0���I�0j��T�z�,aB�Zo���(7�V5�.���$����…
|
D | kk-fixed-encrypted-settings-abcd.ab | 17 …���\�m��k�r�0�-\���xe0u�e��dZ�ۅ��V��� >I���N��<��?�q�R}b�O �JK�>��}�KD�����+�2Z��0�����i… 18 ��K��KVY�����i�Y�����j<��KC��I7��#Xu13Z�1w㵀;�T� �{��U�C����sKþ�8%:���% #��P�@o($���û"��a����… 21 �K�)�dd����z �P�ОH�fv�|%��Ц>�̭�3��qC�(P�3R*RF���}+*c�l���ދ1fX�3j�Np�0�D�����(k��)^\�E����…
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | SimpleCache.java | 25 class SimpleCache<K, V> extends LinkedHashMap<K, V> { 35 protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) { in removeEldestEntry() argument
|
/frameworks/base/media/tests/contents/media_api/music/ |
D | test_amr_ietf.amr | 2 …M���R�['���E`|X�<Mq�I�C��:8%�h��[(q]���V���<`<4]�� ��x��K˳�'+�{��{���KP<Zga4���^�?�y苁�s`… 6 ]�is��n�,�U����!������<x@0�E�ȍ:�_K�.LJ�:���<$9(6pT��s:����A�I�uNiS��vp<ۘ��R�����`… 21 ؠ<���W%�g-KLo�}�G�@J��bҗ�Z�<[�'���?��K���B�j˞|���!�`<4���k��3�::�۩m�O�$�q��`+�<Y��"�… 35 …���k/0��"Y]�Qa�<x;0~��ie����U+�t���Ɓziy�Z�<G9�_|���K]\%I\�h6J��yP`��<N�����燌��b<̎�K"… 43 …b�:�\W�C���E�M�������<�y:��!�R�.UCR�p��.�2}`����<�)��)�l��T�h���~\�(�_��<������K�… 97 �W�<h[t��(��J��UJ��?8K����|AՐ<�)aG���瘐�K�����b��7�奒�_��<�qwH��0r݄zCmu�����w���AD<#�`l… 124 ���i��0<�-&5Wq���9\{��5�����T���Z!<0�>`&K��X�Z͐�K�b!!�EꙸtP<8�&K��w�J������P�� 125 …I�������j$�W��j����'��Kޜ0<DvcA�w�UХrT̈́j�J��B��� 5p<��}J��i�~)�ՄA��xD0a�?����<�6)A�_���… 153 ���K(n�3����aV�T�`<dG�Z!��̾�1�Q*S��f�D�R�]@<�'����8����2���=��������<"dG�3�A��,�Z()N4��d… 154 …i�5:8)]�b�q��O<�d��w'��LZæ�u,k0f��9)�"�W4�<>$G��<��-��3`Ҭ'<��o�?�`볠<�$6�֒��$�K��L�'ܰ�
|
/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
D | MethodNameInvoker.java | 66 public <K> K invoke(String methodName, Object... params) { in invoke() 88 return (K) mTarget.dispatch(targetMethod, params); in invoke()
|
/frameworks/compile/slang/ |
D | slang_rs_exportable.h | 39 RSExportable(RSContext *Context, RSExportable::Kind K) in RSExportable() argument 41 mK(K) { in RSExportable()
|
/frameworks/native/services/sensorservice/ |
D | Fusion.cpp | 445 vec<mat33_t, 2> K; in update() local 450 K[0] = P[0][0] * LtSi; in update() 451 K[1] = transpose(P[1][0])*LtSi; in update() 460 const mat33_t K0L(K[0] * L); in update() 461 const mat33_t K1L(K[1] * L); in update() 468 const vec3_t dq(K[0]*e); in update() 469 const vec3_t db(K[1]*e); in update()
|
/frameworks/base/core/java/android/emoji/ |
D | EmojiFactory.java | 38 private class CustomLinkedHashMap<K, V> extends LinkedHashMap<K, V> { 51 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { in removeEldestEntry() argument
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 2119 final static class Assoc<K, V> extends ArrayList<Pair<K, V>> { 2120 private final Class<K> keyType; 2123 private Assoc(Class<K> keyType, Class<V> valueType) { 2128 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { 2129 return new Assoc<K, V>(keyType, valueType); 2132 public void put(K key, V value) { 2137 public PackedMap<K, V> pack() { 2139 K[] keys = (K[]) Array.newInstance(keyType, N); 2145 return new PackedMap<K, V>(keys, values); 2164 final static class PackedMap<K, V> { [all …]
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 2243 final static class Assoc<K, V> extends ArrayList<Pair<K, V>> { 2244 private final Class<K> keyType; 2247 private Assoc(Class<K> keyType, Class<V> valueType) { 2252 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { 2253 return new Assoc<K, V>(keyType, valueType); 2256 public void put(K key, V value) { 2261 public PackedMap<K, V> pack() { 2263 K[] keys = (K[]) Array.newInstance(keyType, N); 2269 return new PackedMap<K, V>(keys, values); 2288 final static class PackedMap<K, V> { [all …]
|