OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LocaleInfo
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/core/java/com/android/internal/app/
LocaleStore.java
30
private static final HashMap<String,
LocaleInfo
> sLocaleCache = new HashMap<>();
33
public static class
LocaleInfo
{
52
private
LocaleInfo
(Locale locale) {
62
private
LocaleInfo
(String localeId) {
217
for (
LocaleInfo
li : sLocaleCache.values()) {
223
li.mSuggestionFlags |=
LocaleInfo
.SUGGESTION_TYPE_SIM;
241
for (
LocaleInfo
li : sLocaleCache.values()) {
244
li.mSuggestionFlags |=
LocaleInfo
.SUGGESTION_TYPE_SIM;
260
LocaleInfo
li = new
LocaleInfo
(localeId)
[
all
...]
LocalePicker.java
58
public static class
LocaleInfo
implements Comparable<
LocaleInfo
> {
64
public
LocaleInfo
(String label, Locale locale) {
83
public int compareTo(
LocaleInfo
another) {
100
public static List<
LocaleInfo
> getAllAssetLocales(Context context, boolean isInDeveloperMode) {
118
final ArrayList<
LocaleInfo
> localeInfos = new ArrayList<
LocaleInfo
>(localeList.size());
130
localeInfos.add(new
LocaleInfo
(toTitleCase(l.getDisplayLanguage(l)), l));
136
final
LocaleInfo
previous = localeInfos.get(localeInfos.size() - 1);
149
localeInfos.add(new
LocaleInfo
(toTitleCase
[
all
...]
SuggestedLocaleAdapter.java
37
* This adapter wraps around a regular ListAdapter for
LocaleInfo
, and creates 2 sections.
54
private ArrayList<LocaleStore.
LocaleInfo
> mLocaleOptions;
55
private ArrayList<LocaleStore.
LocaleInfo
> mOriginalLocaleOptions;
60
public SuggestedLocaleAdapter(Set<LocaleStore.
LocaleInfo
> localeOptions, boolean countryMode) {
63
for (LocaleStore.
LocaleInfo
li : localeOptions) {
159
LocaleStore.
LocaleInfo
item = (LocaleStore.
LocaleInfo
) getItem(position);
208
ArrayList<LocaleStore.
LocaleInfo
> values;
219
final ArrayList<LocaleStore.
LocaleInfo
> newValues = new ArrayList<>();
222
final LocaleStore.
LocaleInfo
value = values.get(i)
[
all
...]
LocalePickerWithRegion.java
52
private Set<LocaleStore.
LocaleInfo
> mLocaleList;
53
private LocaleStore.
LocaleInfo
mParentLocale;
71
void onLocaleSelected(LocaleStore.
LocaleInfo
locale);
75
LocaleSelectedListener listener, LocaleStore.
LocaleInfo
parent,
104
LocaleStore.
LocaleInfo
parent, boolean translatedOnly) {
207
final LocaleStore.
LocaleInfo
locale =
208
(LocaleStore.
LocaleInfo
) getListAdapter().getItem(position);
LocaleHelper.java
202
* Locale-sensitive comparison for
LocaleInfo
.
204
* <p>It uses the label, leaving the decision on what to put there to the
LocaleInfo
.
210
public static final class LocaleInfoComparator implements Comparator<LocaleStore.
LocaleInfo
> {
248
public int compare(LocaleStore.
LocaleInfo
lhs, LocaleStore.
LocaleInfo
rhs) {
/external/ImageMagick/MagickCore/
locale_.h
39
}
LocaleInfo
;
47
extern MagickExport const
LocaleInfo
locale.c
178
register
LocaleInfo
181
p=(
LocaleInfo
*) locale_info;
516
% const
LocaleInfo
*GetLocaleInfo_(const char *tag,
526
MagickExport const
LocaleInfo
*GetLocaleInfo_(const char *tag,
529
const
LocaleInfo
534
return((const
LocaleInfo
*) NULL);
539
locale_info=(const
LocaleInfo
*) GetNextValueInSplayTree(locale_cache);
543
locale_info=(const
LocaleInfo
*) GetValueFromSplayTree(locale_cache,tag);
565
% const
LocaleInfo
**GetLocaleInfoList(const char *pattern,
585
const
LocaleInfo
[
all
...]
/development/apps/CustomLocale/src/com/android/customlocale2/
CustomLocaleActivity.java
183
if (o instanceof
LocaleInfo
) {
184
if (((
LocaleInfo
) o).isCustom()) {
211
ArrayList<
LocaleInfo
> data = new ArrayList<
LocaleInfo
>();
218
data.add(new
LocaleInfo
(locale, loc.getDisplayName()));
231
data.add(new
LocaleInfo
(
239
Collections.sort(data, new Comparator<
LocaleInfo
>() {
240
public int compare(
LocaleInfo
lhs,
LocaleInfo
rhs) {
246
mListView.setAdapter(new ArrayAdapter<
LocaleInfo
>(
[
all
...]
/packages/apps/Settings/src/com/android/settings/localepicker/
LocaleDragAndDropAdapter.java
51
private final List<LocaleStore.
LocaleInfo
> mFeedItemList;
83
public LocaleDragAndDropAdapter(Context context, List<LocaleStore.
LocaleInfo
> feedItemList) {
152
final LocaleStore.
LocaleInfo
feedItem = mFeedItemList.get(i);
168
LocaleStore.
LocaleInfo
feedItem =
169
(LocaleStore.
LocaleInfo
) dragCell.getTag();
188
final LocaleStore.
LocaleInfo
saved = mFeedItemList.get(fromPosition);
242
for (LocaleStore.
LocaleInfo
li : mFeedItemList) {
250
LocaleStore.
LocaleInfo
getFirstChecked() {
251
for (LocaleStore.
LocaleInfo
li : mFeedItemList) {
259
void addLocale(LocaleStore.
LocaleInfo
li)
[
all
...]
LocaleListEditor.java
71
final List<LocaleStore.
LocaleInfo
> feedsList = getUserLocaleList(this.getContext());
222
private static List<LocaleStore.
LocaleInfo
> getUserLocaleList(Context context) {
223
final List<LocaleStore.
LocaleInfo
> result = new ArrayList<>();
261
public void onLocaleSelected(LocaleStore.
LocaleInfo
locale) {
/packages/apps/Settings/src/com/android/settings/accessibility/
LocalePreference.java
44
List<LocalePicker.
LocaleInfo
> locales = LocalePicker.getAllAssetLocales(context,
54
final LocalePicker.
LocaleInfo
info = locales.get(i);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
LanguageFragment.java
44
private final Map<String, LocalePicker.
LocaleInfo
> mLocaleInfoMap = new ArrayMap<>();
79
final List<LocalePicker.
LocaleInfo
> localeInfoList =
83
for (final LocalePicker.
LocaleInfo
localeInfo
: localeInfoList) {
84
final String languageTag =
localeInfo
.getLocale().toLanguageTag();
85
mLocaleInfoMap.put(languageTag,
localeInfo
);
90
radioPreference.setTitle(
localeInfo
.getLabel());
94
if (
localeInfo
.getLocale().equals(currentLocale)) {
CaptionFragment.java
75
final List<LocalePicker.
LocaleInfo
> localeInfoList =
80
for (final LocalePicker.
LocaleInfo
info : localeInfoList) {
/frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecLocalDevicePlayback.java
30
import com.android.internal.app.LocalePicker.
LocaleInfo
;
336
final List<
LocaleInfo
> localeInfos = LocalePicker.getAllAssetLocales(
338
for (
LocaleInfo
localeInfo
: localeInfos) {
339
if (
localeInfo
.getLocale().getISO3Language().equals(iso3Language)) {
345
LocalePicker.updateLocale(
localeInfo
.getLocale());
/external/libgdx/backends/gdx-backends-gwt/libs/
gwt-user.jar
Completed in 985 milliseconds