Searched refs:votes (Results 1 – 1 of 1) sorted by relevance
146 SparseArray<Vote> votes = getVotesLocked(displayId); in getAllowedModes() local154 return getAllowedModesLocked(votes, modes, defaultMode); in getAllowedModes()161 final SparseArray<Vote> votes; in getVotesLocked() local163 votes = displayVotes.clone(); in getVotesLocked()165 votes = new SparseArray<>(); in getVotesLocked()172 if (votes.indexOfKey(priority) < 0) { in getVotesLocked()173 votes.put(priority, globalVotes.valueAt(i)); in getVotesLocked()177 return votes; in getVotesLocked()181 private int[] getAllowedModesLocked(@NonNull SparseArray<Vote> votes, in getAllowedModesLocked() argument193 Vote vote = votes.get(priority); in getAllowedModesLocked()[all …]