Searched refs:primaryIndex (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 172 int primaryIndex = fitIndex; in runTonalExtraction() local 173 int mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 198 primaryIndex = h.length - 1; in runTonalExtraction() 200 primaryIndex = 0; in runTonalExtraction() 202 primaryIndex = Math.min(fitIndex, 3); in runTonalExtraction() 204 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 212 primaryIndex = h.length - 1; in runTonalExtraction() 214 primaryIndex = 0; in runTonalExtraction() 216 primaryIndex = 2; in runTonalExtraction() 218 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 779 int primaryIndex = NOT_A_KEY; in getKeyIndices() local 790 primaryIndex = nearestKeyIndices[i]; in getKeyIndices() 822 if (primaryIndex == NOT_A_KEY) { in getKeyIndices() 823 primaryIndex = closestKey; in getKeyIndices() 825 return primaryIndex; in getKeyIndices()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentContainer.java | 234 final int primaryIndex = taskContainer.indexOf(pairedPrimaryContainer); in TaskFragmentContainer() local 235 taskContainer.addTaskFragmentContainer(primaryIndex + 1, this); in TaskFragmentContainer()
|