Home
last modified time | relevance | path

Searched refs:positions (Results 1 – 17 of 17) 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/Launcher2/src/com/android/launcher2/
DCling.java171 int[] positions = getPunchThroughPositions(); in onTouchEvent() local
172 for (int i = 0; i < positions.length; i += 2) { in onTouchEvent()
173 double diff = Math.sqrt(Math.pow(event.getX() - positions[i], 2) + in onTouchEvent()
174 Math.pow(event.getY() - positions[i + 1], 2)); in onTouchEvent()
238 int[] positions = getPunchThroughPositions(); in dispatchDraw() local
239 for (int i = 0; i < positions.length; i += 2) { in dispatchDraw()
240 cx = positions[i]; in dispatchDraw()
241 cy = positions[i + 1]; in dispatchDraw()
/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/DocumentsUI/tests/common/com/android/documentsui/selection/
DSelectionProbe.java105 public void select(int...positions) { in select() argument
106 for (int position : positions) { in select()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
DBufferManager.java605 for (Pair<SampleChunk, Integer> positions : entry.getValue().values()) { in release()
606 if (toRelease != positions.first) { in release()
607 toRelease = positions.first; in release()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java622 final ArrayList<ContentProviderOperation> positions = new ArrayList<>(); in getReflowedPinningOperations() local
638 positions.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in getReflowedPinningOperations()
640 return positions; in getReflowedPinningOperations()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DSplitter.java169 positions:
174 continue positions;
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java986 LongArrayMap<Object> positions = new LongArrayMap<>();
988 positions.put(item.screenId, item);
990 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.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz