Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java107 final String layoutName = predefinedLayoutSet[i]; in initLocked() local
108 sKeyboardLayoutToDisplayNameMap.put(layoutName, layoutDisplayNames[i]); in initLocked()
109 final String resourceName = SUBTYPE_NAME_RESOURCE_GENERIC_PREFIX + layoutName; in initLocked()
111 sKeyboardLayoutToNameIdsMap.put(layoutName, resId); in initLocked()
113 final String noLanguageResName = SUBTYPE_NAME_RESOURCE_NO_LANGUAGE_PREFIX + layoutName; in initLocked()
116 final String key = getNoLanguageLayoutKey(layoutName); in initLocked()
319 final String layoutName = getKeyboardLayoutSetName(subtype); in getKeyboardLayoutSetDisplayName() local
320 return getKeyboardLayoutSetDisplayName(layoutName); in getKeyboardLayoutSetDisplayName()
324 public static String getKeyboardLayoutSetDisplayName(@Nonnull final String layoutName) { in getKeyboardLayoutSetDisplayName() argument
325 return sKeyboardLayoutToDisplayNameMap.get(layoutName); in getKeyboardLayoutSetDisplayName()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java82 String layoutName = String.format(Locale.ENGLISH, FORMATTED_LAYOUT_RES_WITH_HOSTEAT, in get() local
84 int layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get()
88 Log.d(TAG, "Formatted layout: " + layoutName in get()
90 layoutName = String.format(Locale.ENGLISH, FORMATTED_LAYOUT_RES, in get()
92 layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get()
97 Log.d(TAG, "Formatted layout: " + layoutName + " not found. Trying the default layout"); in get()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtilsTests.java151 final String layoutName = SubtypeLocaleUtils in testAllFullDisplayName() local
153 assertTrue(subtypeName, subtypeName.contains(layoutName)); in testAllFullDisplayName()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java423 final String layoutName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in findSubtypeByLocaleAndKeyboardLayoutSet() local
425 && keyboardLayoutSetName.equals(layoutName)) { in findSubtypeByLocaleAndKeyboardLayoutSet()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java275 String layoutName = bundle.getString(RESTRICTION_LAYOUT_NAME); in getWorkspaceLayoutIdFromAppRestrictions() local
276 if (layoutName != null) { in getWorkspaceLayoutIdFromAppRestrictions()
277 return ctx.getResources().getIdentifier(layoutName, "xml", ctx.getPackageName()); in getWorkspaceLayoutIdFromAppRestrictions()