コード例 #1
0
 @Override
 public String toString() {
   return String.format(
       Locale.ROOT,
       "[%s %s:%s %dx%d %s %s%s%s%s%s%s%s%s%s]",
       elementIdToName(mElementId),
       mSubtype.getLocale(),
       mSubtype.getExtraValueOf(KEYBOARD_LAYOUT_SET),
       mWidth,
       mHeight,
       modeName(mMode),
       actionName(imeAction()),
       (navigateNext() ? " navigateNext" : ""),
       (navigatePrevious() ? " navigatePrevious" : ""),
       (mClobberSettingsKey ? " clobberSettingsKey" : ""),
       (passwordInput() ? " passwordInput" : ""),
       (mHasShortcutKey ? " hasShortcutKey" : ""),
       (mLanguageSwitchKeyEnabled ? " languageSwitchKeyEnabled" : ""),
       (isMultiLine() ? " isMultiLine" : ""),
       (mIsSplitLayout ? " isSplitLayout" : ""));
 }
コード例 #2
0
 public Locale getLocale() {
   return mSubtype.getLocale();
 }