Home
last modified time | relevance | path

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

/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java183 if (o instanceof LocaleInfo) { in onCreateContextMenu()
184 if (((LocaleInfo) o).isCustom()) { in onCreateContextMenu()
211 ArrayList<LocaleInfo> data = new ArrayList<LocaleInfo>(); in setupLocaleList()
218 data.add(new LocaleInfo(locale, loc.getDisplayName())); in setupLocaleList()
231 data.add(new LocaleInfo( in setupLocaleList()
239 Collections.sort(data, new Comparator<LocaleInfo>() { in setupLocaleList()
240 public int compare(LocaleInfo lhs, LocaleInfo rhs) { in setupLocaleList()
246 mListView.setAdapter(new ArrayAdapter<LocaleInfo>( in setupLocaleList()
287 if (o instanceof LocaleInfo) { in checkLocaleInList()
288 String code = ((LocaleInfo) o).getLocale(); in checkLocaleInList()
[all …]