Searched refs:mIdMap (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/tools/aapt/ |
H A D | ResourceIdCache.cpp | 30 static std::map< uint32_t, CacheEntry > mIdMap; variable 64 std::map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode); in lookup() 65 if (item == mIdMap.end()) { in lookup() 79 mIdMap.erase(hashcode); in lookup() 89 if (mIdMap.size() < MAX_CACHE_ENTRIES) { in store() 92 mIdMap[hashcode] = CacheEntry(hashedName, resId); in store() 99 printf("Size: %zd\n", mIdMap.size()); in dump()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ViewIdGenerator.java | 47 private Bundle mIdMap = new Bundle(); field in ViewIdGenerator 75 int id = mIdMap.getInt(k, INVALID_VIEW_ID); in getId() 79 mIdMap.putInt(k, id); in getId() 111 dest.writeBundle(mIdMap); in writeToParcel() 116 mIdMap = src.readBundle(); in readFromParcel()
|
/aosp12/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | ListViewAddRemoveNoTransition.java | 81 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in ListViewAddRemoveNoTransition.StableArrayAdapter 87 mIdMap.put(objects.get(i), i); in StableArrayAdapter() 94 return mIdMap.get(item); in getItemId()
|
H A D | ListViewAddRemove.java | 146 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in ListViewAddRemove.StableArrayAdapter 152 mIdMap.put(objects.get(i), i); in StableArrayAdapter() 159 return mIdMap.get(item); in getItemId()
|