Searched refs:positionMap (Results 1 - 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DReorderingCursorWrapper.java33 * @param positionMap maps wrapper cursor positions to wrapped cursor positions
34 * so that positionMap[wrapperPosition] == wrappedPosition
36 public ReorderingCursorWrapper(Cursor cursor, int[] positionMap) { argument
37 if (cursor.getCount() != positionMap.length) {
42 mPositionMap = positionMap;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java2420 int[] positionMap = new int[limitedMatches.size()];
2421 for (int i = 0; i < positionMap.length; i++) {
2423 positionMap[i] = sortedContactIds.indexOf(id);
2426 return new ReorderingCursorWrapper(cursor, positionMap);

Completed in 65 milliseconds