Home
last modified time | relevance | path

Searched refs:mIdMap (Results 1 – 6 of 6) sorted by relevance

/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in StableArrayAdapter
34 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
40 if (position < 0 || position >= mIdMap.size()) { in getItemId()
44 return mIdMap.get(item); in getItemId()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DCustomArrayAdapter.java48 HashMap<ListItemObject, Integer> mIdMap = new HashMap<ListItemObject, Integer>(); field in CustomArrayAdapter
65 if (mIdMap.containsKey(item)) { in getItemId()
66 return mIdMap.get(item); in getItemId()
72 mIdMap.clear(); in updateStableIds()
75 mIdMap.put(mData.get(i), mCounter++); in updateStableIds()
80 mIdMap.put(mData.get(position), ++mCounter); in addStableIdForDataAtPosition()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in StableArrayAdapter
37 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
44 return mIdMap.get(item); in getItemId()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in StableArrayAdapter
37 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
44 return mIdMap.get(item); in getItemId()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java111 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in ListViewAnimations.StableArrayAdapter
117 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
124 return mIdMap.get(item); in getItemId()
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
DListViewDeletion.java152 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>(); field in ListViewDeletion.StableArrayAdapter
158 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
165 return mIdMap.get(item); in getItemId()