Home
last modified time | relevance | path

Searched refs:positions (Results 1 – 15 of 15) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java187 int[] positions, in binarySort() argument
190 final int count = positions.length; in binarySort()
192 final int pivotPosition = positions[start]; in binarySort()
241 positions[left + 2] = positions[left + 1]; in binarySort()
245 positions[left + 1] = positions[left]; in binarySort()
250 System.arraycopy(positions, left, positions, left + 1, n); in binarySort()
255 positions[left] = pivotPosition; in binarySort()
268 int[] positions, in binarySort() argument
271 final int count = positions.length; in binarySort()
273 final int pivotPosition = positions[start]; in binarySort()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java40 int positions[] = new int[]{0, 1, 3, 5, 8, 9}; in testNeedTrimming() local
42 assertFalse(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()
44 positions = new int[]{0, 1, 7, 9, 16, 17, 19, 20}; in testNeedTrimming()
46 assertTrue(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java429 final List<Integer> positions = new ArrayList<>(approximateSectionCount); in getSections() local
434 positions.add(0); in getSections()
453 positions.add(position); in getSections()
458 mSectionHeaderPositions = positions.toArray(new Integer[positions.size()]); in getSections()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java240 public static boolean needTrimming(int count, int[] counts, int[] positions) { in needTrimming() argument
244 return positions.length > 0 && counts.length > 0 in needTrimming()
245 && count <= (counts[counts.length - 1] + positions[positions.length - 1]); in needTrimming()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DBufferManager.java639 for (Pair<SampleChunk, Integer> positions : entry.getValue().values()) { in release()
640 if (toRelease != positions.first) { in release()
641 toRelease = positions.first; in release()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DSplitter.java169 positions:
174 continue positions;
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java620 final ArrayList<ContentProviderOperation> positions = new ArrayList<>(); in getReflowedPinningOperations() local
636 positions.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in getReflowedPinningOperations()
638 return positions; in getReflowedPinningOperations()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java996 IntSparseArrayMap<Object> positions = new IntSparseArrayMap<>();
998 positions.put(item.screenId, item);
1001 return positions;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java1105 final OverlayPosition[] positions = new OverlayPosition[len]; in parsePositions() local
1107 positions[i] = new OverlayPosition(topArray[i], bottomArray[i]); in parsePositions()
1109 return positions; in parsePositions()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...