Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/inputmethod/
DLocaleUtils.java117 private static final class ScoreEntry implements Comparable<ScoreEntry> { class in LocaleUtils
121 ScoreEntry(@NonNull byte[] score, int index) { in ScoreEntry() method in LocaleUtils.ScoreEntry
170 public int compareTo(final ScoreEntry other) { in compareTo()
199 final HashMap<String, ScoreEntry> scoreboard = new HashMap<>(); in filterByLanguage()
212 final ScoreEntry bestScore = scoreboard.get(lang); in filterByLanguage()
214 scoreboard.put(lang, new ScoreEntry(score, i)); in filterByLanguage()
220 final ScoreEntry[] result = scoreboard.values().toArray(new ScoreEntry[scoreboard.size()]); in filterByLanguage()
222 for (final ScoreEntry entry : result) { in filterByLanguage()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUInfo.java96 List<ScoreEntry<String>> scoreList = new ArrayList<>(); in getName()
101 scoreList.add(new ScoreEntry<String>(name.getText(), in getName()
109 List<ScoreEntry<String>> scoreList = new ArrayList<>(); in getServiceDescription()
114 scoreList.add(new ScoreEntry<>(service.getText(), in getServiceDescription()
162 private static class ScoreEntry<T> implements Comparable<ScoreEntry> { class in OSUInfo
166 private ScoreEntry(T data, int score) { in ScoreEntry() method in OSUInfo.ScoreEntry
176 public int compareTo(ScoreEntry other) { in compareTo()
188 List<ScoreEntry<IconInfo>> matches = new ArrayList<>(); in getIconInfo()
209 matches.add(new ScoreEntry<>(iconInfo, score)); in getIconInfo()
216 for (ScoreEntry<IconInfo> scoredIcon : matches) { in getIconInfo()
/frameworks/base/
Dcompiled-classes-phone5311 com.android.internal.inputmethod.LocaleUtils$ScoreEntry