HomeSort by relevance Sort by last modified time
    Searched refs:runInLocale (Results 1 - 13 of 13) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
RunInLocale.java 24 public abstract class RunInLocale<T> {
36 public T runInLocale(final Resources res, final Locale newLocale) {
SubtypeLocaleUtils.java 188 final RunInLocale<String> getExceptionalName = new RunInLocale<String>() {
194 displayName = getExceptionalName.runInLocale(sResources, displayLocale);
246 final RunInLocale<String> getSubtypeName = new RunInLocale<String>() {
264 getSubtypeName.runInLocale(sResources, displayLocale), displayLocale);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DictionaryInfoUtilsTests.java 30 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() {
37 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
CapsModeUtilsTests.java 56 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() {
63 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
94 sp = job.runInLocale(res, Locale.FRENCH);
101 sp = job.runInLocale(res, Locale.GERMAN);
107 sp = job.runInLocale(res, Locale.ENGLISH);
115 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM"));
SpacebarLanguagetUtilsTests.java 156 private final RunInLocale<Void> testsPredefinedSubtypesForSpacebar = new RunInLocale<Void>() {
200 private final RunInLocale<Void> testsAdditionalSubtypesForSpacebar = new RunInLocale<Void>() {
237 testsPredefinedSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH);
241 testsAdditionalSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH);
245 testsPredefinedSubtypesForSpacebar.runInLocale(mRes, Locale.FRENCH);
249 testsAdditionalSubtypesForSpacebar.runInLocale(mRes, Locale.FRENCH);
SubtypeLocaleUtilsTests.java 166 final RunInLocale<Void> tests = new RunInLocale<Void>() {
190 tests.runInLocale(mRes, Locale.ENGLISH);
194 final RunInLocale<Void> tests = new RunInLocale<Void>() {
214 tests.runInLocale(mRes, Locale.ENGLISH);
238 final RunInLocale<Void> tests = new RunInLocale<Void>() {
262 tests.runInLocale(mRes, Locale.FRENCH);
266 final RunInLocale<Void> tests = new RunInLocale<Void>()
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardTextsSet.java 25 import com.android.inputmethod.latin.utils.RunInLocale;
47 final RunInLocale<Void> job = new RunInLocale<Void>() {
55 job.runInLocale(res,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
SentenceLevelAdapter.java 27 import com.android.inputmethod.latin.utils.RunInLocale;
79 final RunInLocale<SpacingAndPunctuations> job
80 = new RunInLocale<SpacingAndPunctuations>() {
86 mSpacingAndPunctuations = job.runInLocale(res, locale);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
KeyboardLayoutSetActionLabelBase.java 26 import com.android.inputmethod.latin.utils.RunInLocale;
95 final RunInLocale<String> job = new RunInLocale<String>() {
101 final String label = job.runInLocale(getContext().getResources(), labelLocale);
KeyboardLayoutSetActionLabelKlpTests.java 27 import com.android.inputmethod.latin.utils.RunInLocale;
96 final RunInLocale<Void> job = new RunInLocale<Void>() {
118 job.runInLocale(getContext().getResources(), systemLocale);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
SpacingAndPunctuationsTests.java 26 import com.android.inputmethod.latin.utils.RunInLocale;
99 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() {
105 return job.runInLocale(getContext().getResources(), locale);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
Settings.java 34 import com.android.inputmethod.latin.utils.RunInLocale;
180 final RunInLocale<SettingsValues> job = new RunInLocale<SettingsValues>() {
186 mSettingsValues = job.runInLocale(mRes, locale);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputConnectionAndTextRangeTests.java 36 import com.android.inputmethod.latin.utils.RunInLocale;
53 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() {
60 mSpacingAndPunctuations = job.runInLocale(res, Locale.ENGLISH);

Completed in 203 milliseconds