Searched refs:positions (Results 1 – 17 of 17) sorted by relevance
187 int[] positions, in binarySort() argument190 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() argument271 final int count = positions.length; in binarySort()273 final int pivotPosition = positions[start]; in binarySort()[all …]
171 int[] positions = getPunchThroughPositions(); in onTouchEvent() local172 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() local239 for (int i = 0; i < positions.length; i += 2) { in dispatchDraw()240 cx = positions[i]; in dispatchDraw()241 cy = positions[i + 1]; in dispatchDraw()
40 int positions[] = new int[]{0, 1, 3, 5, 8, 9}; in testNeedTrimming() local42 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()
429 final List<Integer> positions = new ArrayList<>(approximateSectionCount); in getSections() local434 positions.add(0); in getSections()453 positions.add(position); in getSections()458 mSectionHeaderPositions = positions.toArray(new Integer[positions.size()]); in getSections()
240 public static boolean needTrimming(int count, int[] counts, int[] positions) { in needTrimming() argument244 return positions.length > 0 && counts.length > 0 in needTrimming()245 && count <= (counts[counts.length - 1] + positions[positions.length - 1]); in needTrimming()
105 public void select(int...positions) { in select() argument106 for (int position : positions) { in select()
605 for (Pair<SampleChunk, Integer> positions : entry.getValue().values()) { in release()606 if (toRelease != positions.first) { in release()607 toRelease = positions.first; in release()
622 final ArrayList<ContentProviderOperation> positions = new ArrayList<>(); in getReflowedPinningOperations() local638 positions.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in getReflowedPinningOperations()640 return positions; in getReflowedPinningOperations()
169 positions:174 continue positions;
986 LongArrayMap<Object> positions = new LongArrayMap<>();988 positions.put(item.screenId, item);990 return positions;
1105 final OverlayPosition[] positions = new OverlayPosition[len]; in parsePositions() local1107 positions[i] = new OverlayPosition(topArray[i], bottomArray[i]); in parsePositions()1109 return positions; in parsePositions()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...