Home
last modified time | relevance | path

Searched refs:mPositions (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DContactsSectionIndexer.java33 private int[] mPositions; field in ContactsSectionIndexer
55 mPositions = new int[counts.length]; in ContactsSectionIndexer()
65 mPositions[i] = position; in ContactsSectionIndexer()
76 return mPositions; in getPositions()
84 return mPositions[section]; in getPositionForSection()
92 int index = Arrays.binarySearch(mPositions, position); in getSectionForPosition()
115 int[] tempPositions = new int[mPositions.length + 1]; in setFavoritesHeader()
119 for (int i = 1; i <= mPositions.length; i++) { in setFavoritesHeader()
121 tempPositions[i] = mPositions[i - 1] + numberOfItemsToAdd; in setFavoritesHeader()
124 mPositions = tempPositions; in setFavoritesHeader()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java580 final LinkedList<Position> mPositions; field in FusionDictionary.DictionaryIterator
584 mPositions = new LinkedList<>(); in DictionaryIterator()
586 mPositions.add(rootPos); in DictionaryIterator()
591 for (Position p : mPositions) { in hasNext()
601 Position currentPos = mPositions.getLast(); in next()
614 mPositions.addLast(currentPos); in next()
622 mPositions.removeLast(); in next()
623 currentPos = mPositions.getLast(); in next()
624 mCurrentString.setLength(mPositions.getLast().length); in next()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java66 private final Map<String, Integer> mPositions = new HashMap<>(); field in Model
104 mPositions.clear(); in reset()
169 mPositions.clear(); in updateModelData()
171 mPositions.put(mIds[i], i); in updateModelData()
180 Integer pos = mPositions.get(modelId); in getItem()