Home
last modified time | relevance | path

Searched refs:mDistances (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java237 private int[] mDistances = new int[MAX_NEARBY_KEYS]; field in KeyboardView
780 java.util.Arrays.fill(mDistances, Integer.MAX_VALUE); in getKeyIndices()
804 for (int j = 0; j < mDistances.length; j++) { in getKeyIndices()
805 if (mDistances[j] > dist) { in getKeyIndices()
807 System.arraycopy(mDistances, j, mDistances, j + nCodes, in getKeyIndices()
808 mDistances.length - j - nCodes); in getKeyIndices()
813 mDistances[j + c] = dist; in getKeyIndices()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java271 private List<Integer> mDistances; field in ItemTouchHelper
768 mDistances = new ArrayList<Integer>(); in findSwapTargets()
771 mDistances.clear(); in findSwapTargets()
801 if (dist > mDistances.get(j)) { in findSwapTargets()
808 mDistances.add(pos, dist); in findSwapTargets()
841 mDistances.clear(); in moveIfNecessary()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt32819 Landroid/inputmethodservice/KeyboardView;->mDistances:[I