HomeSort by relevance Sort by last modified time
    Searched refs:mIdMap (Results 1 - 12 of 12) sorted by null

  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
StableArrayAdapter.java 29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
34 mIdMap.put(objects.get(i), i);
40 if (position < 0 || position >= mIdMap.size()) {
44 return mIdMap.get(item);
  /frameworks/base/tools/aapt/
ResourceIdCache.cpp 32 static map< uint32_t, CacheEntry > mIdMap;
66 map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode);
67 if (item == mIdMap.end()) {
81 mIdMap.erase(hashcode);
91 if (mIdMap.size() < MAX_CACHE_ENTRIES) {
94 mIdMap[hashcode] = CacheEntry(hashedName, resId);
101 printf("Size: %ld\n", mIdMap.size());
  /packages/apps/Contacts/src/com/android/contacts/editor/
ViewIdGenerator.java 47 private Bundle mIdMap = new Bundle();
75 int id = mIdMap.getInt(k, INVALID_VIEW_ID);
79 mIdMap.putInt(k, id);
111 dest.writeBundle(mIdMap);
116 mIdMap = src.readBundle();
  /development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
StableArrayAdapter.java 29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
37 mIdMap.put(objects.get(i), i);
44 return mIdMap.get(item);
  /development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
StableArrayAdapter.java 29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
37 mIdMap.put(objects.get(i), i);
44 return mIdMap.get(item);
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 48 HashMap<ListItemObject, Integer> mIdMap = new HashMap<ListItemObject, Integer>();
65 if (mIdMap.containsKey(item)) {
66 return mIdMap.get(item);
72 mIdMap.clear();
75 mIdMap.put(mData.get(i), mCounter++);
80 mIdMap.put(mData.get(position), ++mCounter);
  /development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
ListViewAnimations.java 111 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
117 mIdMap.put(objects.get(i), i);
124 return mIdMap.get(item);
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
ListViewAddRemoveNoTransition.java 81 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
87 mIdMap.put(objects.get(i), i);
94 return mIdMap.get(item);
ListViewAddRemove.java 145 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
151 mIdMap.put(objects.get(i), i);
158 return mIdMap.get(item);
  /development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
ListViewDeletion.java 152 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
158 mIdMap.put(objects.get(i), i);
165 return mIdMap.get(item);
  /cts/suite/audio_quality/lib/include/audio/
RemoteAudio.h 150 std::map<android::String8, int> mIdMap;
  /cts/suite/audio_quality/lib/src/audio/
RemoteAudio.cpp 216 mIdMap[name] = id;
223 it = mIdMap.find(name);
224 if (it == mIdMap.end()) {

Completed in 740 milliseconds