Home
last modified time | relevance | path

Searched defs:locale (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java52 static boolean isLanguageChinese(@Nullable Locale locale) { in isLanguageChinese()
57 static boolean isLanguageJapanese(@Nullable Locale locale) { in isLanguageJapanese()
62 static boolean isLanguageKorean(@Nullable Locale locale) { in isLanguageKorean()
67 static boolean isLocaleCJK(@Nullable Locale locale) { in isLocaleCJK()
73 private static String getLikelyScript(Locale locale) { in getLikelyScript()
86 static String getScriptIfChinese(@Nullable Locale locale) { in getScriptIfChinese()
90 static boolean isLocaleSimplifiedChinese(@Nullable Locale locale) { in isLocaleSimplifiedChinese()
95 static boolean isLocaleTraditionalChinese(@Nullable Locale locale) { in isLocaleTraditionalChinese()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DTwoDigitFormatter.java26 final Locale locale = Locale.getDefault(); in TwoDigitFormatter() local
30 private void init(Locale locale) { in init()
46 private static char getZeroDigit(Locale locale) { in getZeroDigit()
52 private java.util.Formatter createFormatter(Locale locale) { in createFormatter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java107 private static String getKeyboardLayoutNameForLocale(final Locale locale) { in getKeyboardLayoutNameForLocale()
160 public boolean isValidWord(final Locale locale, final String word) { in isValidWord()
171 public SuggestionResults getSuggestionResults(final Locale locale, in getSuggestionResults()
191 public boolean hasMainDictionaryForLocale(final Locale locale) { in hasMainDictionaryForLocale()
214 public Keyboard getKeyboardForLocale(final Locale locale) { in getKeyboardForLocale()
225 private Keyboard createKeyboardForLocale(final Locale locale) { in createKeyboardForLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionary.java47 UserHistoryDictionary(final Context context, final Locale locale, in UserHistoryDictionary()
59 static String getUserHistoryDictName(final String name, final Locale locale, in getUserHistoryDictName()
70 private static String getUserHistoryDictNamePerAccount(final String name, final Locale locale, in getUserHistoryDictNamePerAccount()
85 public static UserHistoryDictionary getDictionary(final Context context, final Locale locale, in getDictionary()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dadditional_proximity_chars.h43 AK_FORCE_INLINE static bool isEnLocale(const std::vector<int> *locale) { in isEnLocale()
57 static int getAdditionalCharsSize(const std::vector<int> *locale, const int c) { in getAdditionalCharsSize()
77 static const int *getAdditionalChars(const std::vector<int> *locale, const int c) { in getAdditionalChars()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java56 public void setLocale(String locale) { in setLocale()
93 final String locale = cursor.getString(columnIndex); in getUserDictionaryLocalesSet() local
116 final String locale = subtype.getLocale(); in getUserDictionaryLocalesSet() local
191 private Preference createUserDictionaryPreference(String locale) { in createUserDictionaryPreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/touchinputconsumer/
DGestureConsumer.java42 final Locale locale, final Keyboard keyboard) { in newInstance()
53 public void onInit(final Locale locale, final Keyboard keyboard) { in onInit()
56 public void onGestureStarted(final Locale locale, final Keyboard keyboard) { in onGestureStarted()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
DFrenchCustomizer.java25 public FrenchCustomizer(final Locale locale) { super(locale); } in FrenchCustomizer()
93 public FrenchEuroCustomizer(final Locale locale) { in FrenchEuroCustomizer()
DGermanCustomizer.java26 public GermanCustomizer(final Locale locale) { super(locale); } in GermanCustomizer()
92 public GermanEuroCustomizer(final Locale locale) { in GermanEuroCustomizer()
DDvorakCustomizer.java26 public DvorakCustomizer(final Locale locale) { super(locale); } in DvorakCustomizer()
68 public EnglishDvorakCustomizer(final Locale locale) { in EnglishDvorakCustomizer()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java39 private static void assert_toTitleCaseOfKeyLabel(final Locale locale, in assert_toTitleCaseOfKeyLabel()
122 private static void assert_toTitleCaseOfKeyCode(final Locale locale, final int lowerCase, in assert_toTitleCaseOfKeyCode()
155 private static void assert_capitalizeFirstCodePoint(final Locale locale, final String text, in assert_capitalizeFirstCodePoint()
175 private static void assert_capitalizeFirstAndDowncaseRest(final Locale locale, in assert_capitalizeFirstAndDowncaseRest()
346 final int[] sortedSeparators, final Locale locale) { in checkCapitalize()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java44 abstract ExpectedKeyOutput toUpperCase(final Locale locale); in toUpperCase()
61 ExpectedKeyOutput toUpperCase(final Locale locale) { in toUpperCase()
107 ExpectedKeyOutput toUpperCase(final Locale locale) { return this; } in toUpperCase()
123 ExpectedKeyOutput toUpperCase(final Locale locale) { in toUpperCase()
163 ExpectedKeyOutput toUpperCase(final Locale locale) { return this; } in toUpperCase()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DBulgarianBds.java28 public BulgarianBds(final Locale locale) { in BulgarianBds()
36 BulgarianBdsCustomizer(final Locale locale) { super(locale); } in BulgarianBdsCustomizer()
DBulgarian.java29 public Bulgarian(final Locale locale) { in Bulgarian()
39 BulgarianCustomizer(final Locale locale) { in BulgarianCustomizer()
DMongolian.java28 public Mongolian(final Locale locale) { in Mongolian()
36 MongolianCustomizer(final Locale locale) { super(locale); } in MongolianCustomizer()
DHindiCompact.java34 public HindiCompact(final Locale locale) { in HindiCompact()
42 HindiCompactCustomizer(final Locale locale) { super(locale); } in HindiCompactCustomizer()
DNepaliTraditional.java35 public NepaliTraditional(final Locale locale) { in NepaliTraditional()
43 NepaliTraditionalCustomizer(final Locale locale) { super(locale); } in NepaliTraditionalCustomizer()
DGeorgian.java33 public Georgian(final Locale locale) { in Georgian()
41 GeorgianCustomizer(final Locale locale) { super(locale); } in GeorgianCustomizer()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserDictionaryCompatUtils.java29 final int freq, final String shortcut, final Locale locale) { in addWord()
45 final int freq, final String shortcut, final Locale locale) { in addWordWithShortcut()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLocaleTestUtils.java83 public void setLocale(Locale locale) { in setLocale()
114 private Locale setResourcesLocale(Resources resources, Locale locale) { in setResourcesLocale()
/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java61 public String getSnippet(Context context, Locale locale) { in getSnippet()
129 public static NdefRecord newTextRecord(String text, Locale locale) { in newTextRecord()
133 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { in newTextRecord()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java75 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testSwitchToAlphaKeyLabel() local
102 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testTextFromResources() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFactory.java47 final Locale locale) { in createMainDictionaryFromManager()
128 final Locale locale) { in createReadOnlyBinaryDictionary()
DDictionaryCollection.java38 public DictionaryCollection(final String dictType, final Locale locale) { in DictionaryCollection()
43 public DictionaryCollection(final String dictType, final Locale locale, in DictionaryCollection()
54 public DictionaryCollection(final String dictType, final Locale locale, in DictionaryCollection()
DDicTraverseSession.java49 private static native long setDicTraverseSessionNative(String locale, long dictSize); in setDicTraverseSessionNative()
56 public DicTraverseSession(Locale locale, long dictionary, long dictSize) { in DicTraverseSession()
75 private static long createNativeDicTraverseSession(String locale, long dictSize) { in createNativeDicTraverseSession()

12345678910>>...12