Home
last modified time | relevance | path

Searched refs:primaryIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DColorExtractionAlgorithm.java120 int primaryIndex = fitIndex; in extractInto() local
121 int mainColor = getColorInt(primaryIndex, h, s, l); in extractInto()
141 primaryIndex = h.length - 1; in extractInto()
143 primaryIndex = 0; in extractInto()
145 primaryIndex = Math.min(fitIndex, 3); in extractInto()
147 int secondaryIndex = primaryIndex + (primaryIndex >= 2 ? -2 : 2); in extractInto()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java894 int primaryIndex = NOT_A_KEY; in getKeyIndices() local
905 primaryIndex = nearestKeyIndices[i]; in getKeyIndices()
937 if (primaryIndex == NOT_A_KEY) { in getKeyIndices()
938 primaryIndex = closestKey; in getKeyIndices()
940 return primaryIndex; in getKeyIndices()