Searched refs:mDistances (Results 1 – 2 of 2) sorted by relevance
229 private int[] mDistances = new int[MAX_NEARBY_KEYS]; field in KeyboardView770 java.util.Arrays.fill(mDistances, Integer.MAX_VALUE); in getKeyIndices()794 for (int j = 0; j < mDistances.length; j++) { in getKeyIndices()795 if (mDistances[j] > dist) { in getKeyIndices()797 System.arraycopy(mDistances, j, mDistances, j + nCodes, in getKeyIndices()798 mDistances.length - j - nCodes); in getKeyIndices()803 mDistances[j + c] = dist; in getKeyIndices()
276 private List<Integer> mDistances; field in ItemTouchHelper775 mDistances = new ArrayList<Integer>(); in findSwapTargets()778 mDistances.clear(); in findSwapTargets()808 if (dist > mDistances.get(j)) { in findSwapTargets()815 mDistances.add(pos, dist); in findSwapTargets()848 mDistances.clear(); in moveIfNecessary()