Home
last modified time | relevance | path

Searched refs:EditorInfo (Results 1 – 25 of 88) sorted by relevance

1234

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java20 import android.view.inputmethod.EditorInfo;
82 final EditorInfo editorInfo = new EditorInfo(); in doTestMoreKeysOf()
124 EditorInfo.IME_NULL, in doTestNavigationMoreKeysOf()
128 EditorInfo.IME_FLAG_NAVIGATE_NEXT, in doTestNavigationMoreKeysOf()
132 EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS, in doTestNavigationMoreKeysOf()
136 EditorInfo.IME_FLAG_NAVIGATE_NEXT | EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS, in doTestNavigationMoreKeysOf()
140 EditorInfo.IME_ACTION_NEXT, in doTestNavigationMoreKeysOf()
144 EditorInfo.IME_ACTION_NEXT | EditorInfo.IME_FLAG_NAVIGATE_NEXT, in doTestNavigationMoreKeysOf()
148 EditorInfo.IME_ACTION_NEXT | EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS, in doTestNavigationMoreKeysOf()
152 EditorInfo.IME_ACTION_NEXT | EditorInfo.IME_FLAG_NAVIGATE_NEXT in doTestNavigationMoreKeysOf()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DEditorInfoCompatUtils.java19 import android.view.inputmethod.EditorInfo;
28 EditorInfo.class, "IME_FLAG_FORCE_ASCII");
32 EditorInfo.class, "hintLocales");
44 final int actionId = imeOptions & EditorInfo.IME_MASK_ACTION; in imeActionName()
46 case EditorInfo.IME_ACTION_UNSPECIFIED: in imeActionName()
48 case EditorInfo.IME_ACTION_NONE: in imeActionName()
50 case EditorInfo.IME_ACTION_GO: in imeActionName()
52 case EditorInfo.IME_ACTION_SEARCH: in imeActionName()
54 case EditorInfo.IME_ACTION_SEND: in imeActionName()
56 case EditorInfo.IME_ACTION_NEXT: in imeActionName()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DEnterSubject.java21 import android.view.inputmethod.EditorInfo;
42 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
44 int imeActions = outAttrs.imeOptions&EditorInfo.IME_MASK_ACTION; in onCreateInputConnection()
45 if ((imeActions&EditorInfo.IME_ACTION_NEXT) != 0) { in onCreateInputConnection()
49 outAttrs.imeOptions |= EditorInfo.IME_ACTION_NEXT; in onCreateInputConnection()
51 if ((outAttrs.imeOptions&EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in onCreateInputConnection()
52 outAttrs.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION; in onCreateInputConnection()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEN.java38 import android.view.inputmethod.EditorInfo;
257 protected int getShiftKeyState(EditorInfo editor) { in getShiftKeyState()
310 @Override public void onStartInputView(EditorInfo attribute, boolean restarting) { in onStartInputView()
493 EditorInfo edit = getCurrentInputEditorInfo(); in onEvent()
494 if( edit.inputType == EditorInfo.TYPE_CLASS_PHONE){ in onEvent()
597 EditorInfo edit = getCurrentInputEditorInfo(); in processKeyEvent()
664 if (edit.inputType == EditorInfo.TYPE_CLASS_PHONE) { in processKeyEvent()
977 private void fitInputType(SharedPreferences preference, EditorInfo info) { in fitInputType()
978 if (info.inputType == EditorInfo.TYPE_NULL) { in fitInputType()
991 switch (info.inputType & EditorInfo.TYPE_MASK_CLASS) { in fitInputType()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DInputTypeUtils.java20 import android.view.inputmethod.EditorInfo;
38 public static final int IME_ACTION_CUSTOM_LABEL = EditorInfo.IME_MASK_ACTION + 1;
107 public static int getImeOptionsActionIdFromEditorInfo(final EditorInfo editorInfo) { in getImeOptionsActionIdFromEditorInfo()
108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in getImeOptionsActionIdFromEditorInfo()
109 return EditorInfo.IME_ACTION_NONE; in getImeOptionsActionIdFromEditorInfo()
114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION; in getImeOptionsActionIdFromEditorInfo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java21 import android.view.inputmethod.EditorInfo;
42 tag + " unspecified", subtype, EditorInfo.IME_ACTION_UNSPECIFIED, unspecifiedKey); in doTestActionKeys()
43 doTestActionKey(tag + " none", subtype, EditorInfo.IME_ACTION_NONE, noneKey); in doTestActionKeys()
44 doTestActionKey(tag + " go", subtype, EditorInfo.IME_ACTION_GO, goKey); in doTestActionKeys()
45 doTestActionKey(tag + " search", subtype, EditorInfo.IME_ACTION_SEARCH, searchKey); in doTestActionKeys()
46 doTestActionKey(tag + " send", subtype, EditorInfo.IME_ACTION_SEND, sendKey); in doTestActionKeys()
47 doTestActionKey(tag + " next", subtype, EditorInfo.IME_ACTION_NEXT, nextKey); in doTestActionKeys()
48 doTestActionKey(tag + " done", subtype, EditorInfo.IME_ACTION_DONE, doneKey); in doTestActionKeys()
49 doTestActionKey(tag + " previous", subtype, EditorInfo.IME_ACTION_PREVIOUS, previousKey); in doTestActionKeys()
DLxxActionCustomTests.java20 import android.view.inputmethod.EditorInfo;
30 final EditorInfo editorInfo = new EditorInfo(); in testActionCustom()
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
DKlpActionCustomTests.java20 import android.view.inputmethod.EditorInfo;
30 final EditorInfo editorInfo = new EditorInfo(); in testActionCustom()
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
DActionTestsBase.java22 import android.view.inputmethod.EditorInfo;
91 final EditorInfo editorInfo = new EditorInfo(); in doTestActionKey()
97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { in doTestActionKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java23 import android.view.inputmethod.EditorInfo;
79 public final EditorInfo mEditorInfo;
154 return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0 in navigateNext()
155 || imeAction() == EditorInfo.IME_ACTION_NEXT; in navigateNext()
159 return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0 in navigatePrevious()
160 || imeAction() == EditorInfo.IME_ACTION_PREVIOUS; in navigatePrevious()
211 public static boolean equivalentEditorInfoForKeyboard(final EditorInfo a, final EditorInfo b) { in equivalentEditorInfoForKeyboard()
DKeyboardLayoutSet.java30 import android.view.inputmethod.EditorInfo;
117 EditorInfo mEditorInfo;
264 private static final EditorInfo EMPTY_EDITOR_INFO = new EditorInfo();
266 public Builder(final Context context, @Nullable final EditorInfo ei) { in Builder()
272 final EditorInfo editorInfo = (ei != null) ? ei : EMPTY_EDITOR_INFO; in Builder()
473 private static int getKeyboardMode(final EditorInfo editorInfo) { in getKeyboardMode()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java23 import android.view.inputmethod.EditorInfo;
99 private int getShiftKeyState(EditorInfo editor) { in getShiftKeyState()
148 @Override public void setPreferences(SharedPreferences pref, EditorInfo editor) { in setPreferences()
154 switch (editor.inputType & EditorInfo.TYPE_MASK_CLASS) { in setPreferences()
155 case EditorInfo.TYPE_CLASS_NUMBER: in setPreferences()
156 case EditorInfo.TYPE_CLASS_DATETIME: in setPreferences()
168 case EditorInfo.TYPE_CLASS_PHONE: in setPreferences()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DFallbackSource.java38 import android.view.inputmethod.EditorInfo;
43 protected static final int FLAGS_PHONE = EditorInfo.TYPE_CLASS_PHONE;
44 protected static final int FLAGS_EMAIL = EditorInfo.TYPE_CLASS_TEXT
45 | EditorInfo.TYPE_TEXT_VARIATION_EMAIL_ADDRESS;
46 protected static final int FLAGS_PERSON_NAME = EditorInfo.TYPE_CLASS_TEXT
47 | EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS | EditorInfo.TYPE_TEXT_VARIATION_PERSON_NAME;
48 protected static final int FLAGS_PHONETIC = EditorInfo.TYPE_CLASS_TEXT
49 | EditorInfo.TYPE_TEXT_VARIATION_PHONETIC;
50 protected static final int FLAGS_GENERIC_NAME = EditorInfo.TYPE_CLASS_TEXT
51 | EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS;
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsQwertyEmail.java21 import android.view.inputmethod.EditorInfo;
45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet()
47 final EditorInfo emailField = new EditorInfo(); in createKeyboardLayoutSet()
DTestsQwertyUrl.java21 import android.view.inputmethod.EditorInfo;
45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet()
47 final EditorInfo emailField = new EditorInfo(); in createKeyboardLayoutSet()
DTestsDvorakEmail.java21 import android.view.inputmethod.EditorInfo;
47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet()
49 final EditorInfo emailField = new EditorInfo(); in createKeyboardLayoutSet()
DTestsDvorakUrl.java21 import android.view.inputmethod.EditorInfo;
47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet()
49 final EditorInfo emailField = new EditorInfo(); in createKeyboardLayoutSet()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalView.java32 import android.view.inputmethod.EditorInfo;
313 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
315 EditorInfo.IME_FLAG_NO_EXTRACT_UI | in onCreateInputConnection()
316 EditorInfo.IME_FLAG_NO_ENTER_ACTION | in onCreateInputConnection()
317 EditorInfo.IME_ACTION_NONE; in onCreateInputConnection()
318 outAttrs.inputType = EditorInfo.TYPE_NULL; in onCreateInputConnection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java24 import android.view.inputmethod.EditorInfo;
234 case EditorInfo.IME_ACTION_SEARCH: in getDescriptionForActionKey()
237 case EditorInfo.IME_ACTION_GO: in getDescriptionForActionKey()
240 case EditorInfo.IME_ACTION_SEND: in getDescriptionForActionKey()
243 case EditorInfo.IME_ACTION_NEXT: in getDescriptionForActionKey()
246 case EditorInfo.IME_ACTION_DONE: in getDescriptionForActionKey()
249 case EditorInfo.IME_ACTION_PREVIOUS: in getDescriptionForActionKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DAppWorkaroundsTests.java25 import android.view.inputmethod.EditorInfo;
54 protected EditorInfo enrichEditorInfo(final EditorInfo ei) { in enrichEditorInfo()
DShiftModeTests.java21 import android.view.inputmethod.EditorInfo;
29 protected EditorInfo enrichEditorInfo(final EditorInfo ei) { in enrichEditorInfo()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DBaseAccountType.java39 import android.view.inputmethod.EditorInfo;
60 protected static final int FLAGS_PHONE = EditorInfo.TYPE_CLASS_PHONE;
61 protected static final int FLAGS_EMAIL = EditorInfo.TYPE_CLASS_TEXT
62 | EditorInfo.TYPE_TEXT_VARIATION_EMAIL_ADDRESS;
63 protected static final int FLAGS_PERSON_NAME = EditorInfo.TYPE_CLASS_TEXT
64 | EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS | EditorInfo.TYPE_TEXT_VARIATION_PERSON_NAME;
65 protected static final int FLAGS_PHONETIC = EditorInfo.TYPE_CLASS_TEXT
66 | EditorInfo.TYPE_TEXT_VARIATION_PHONETIC;
67 protected static final int FLAGS_GENERIC_NAME = EditorInfo.TYPE_CLASS_TEXT
68 | EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS;
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java25 import android.view.inputmethod.EditorInfo;
54 final private EditorInfo mEditorInfo;
57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, in InputAttributes()
148 public boolean isSameInputType(final EditorInfo editorInfo) { in isSameInputType()
298 final EditorInfo editorInfo) { in inPrivateImeOptions()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java24 import android.view.inputmethod.EditorInfo;
699 @Override public void setPreferences(SharedPreferences pref, EditorInfo editor) { in setPreferences()
716 if (inputType == EditorInfo.TYPE_NULL) { in setPreferences()
742 switch (inputType & EditorInfo.TYPE_MASK_CLASS) { in setPreferences()
744 case EditorInfo.TYPE_CLASS_NUMBER: in setPreferences()
745 case EditorInfo.TYPE_CLASS_DATETIME: in setPreferences()
749 case EditorInfo.TYPE_CLASS_PHONE: in setPreferences()
759 case EditorInfo.TYPE_CLASS_TEXT: in setPreferences()
760 switch (inputType & EditorInfo.TYPE_MASK_VARIATION) { in setPreferences()
762 case EditorInfo.TYPE_TEXT_VARIATION_PASSWORD: in setPreferences()
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/input/
DCarRestrictedEditText.java23 import android.view.inputmethod.EditorInfo;
65 if (mListener != null && actionId == EditorInfo.IME_ACTION_DONE) { in CarRestrictedEditText()
108 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()

1234