/frameworks/support/v13/java/android/support/v13/view/inputmethod/ |
EditorInfoCompat.java | 24 import android.view.inputmethod.EditorInfo; 27 * Helper for accessing features in {@link EditorInfo} introduced after API level 13 in a backwards 33 * Flag of {@link EditorInfo#imeOptions}: used to request that the IME does not update any 53 * Flag of {@link EditorInfo#imeOptions}: used to request an IME that is capable of inputting 73 void setContentMimeTypes(@NonNull EditorInfo editorInfo, 76 String[] getContentMimeTypes(@NonNull EditorInfo editorInfo); 86 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, [all...] |
InputConnectionCompat.java | 28 import android.view.inputmethod.EditorInfo; 45 @NonNull EditorInfo editorInfo, @NonNull OnCommitContentListener callback); 82 @NonNull EditorInfo editorInfo, 84 String[] contentMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); 147 @Nullable InputConnection inputConnection, @NonNull EditorInfo editorInfo, 177 * @param editorInfo {@link EditorInfo} associated with the given {@code inputConnection [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
KlpActionCustomTests.java | 20 import android.view.inputmethod.EditorInfo; 30 final EditorInfo editorInfo = new EditorInfo(); 31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; 32 editorInfo.actionLabel = "customLabel"; 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
LxxActionCustomTests.java | 20 import android.view.inputmethod.EditorInfo; 30 final EditorInfo editorInfo = new EditorInfo(); 31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; 32 editorInfo.actionLabel = "customLabel"; 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
ActionTestsBase.java | 22 import android.view.inputmethod.EditorInfo; 91 final EditorInfo editorInfo = new EditorInfo(); 92 editorInfo.imeOptions = actionId; 93 doTestActionKey(tag, subtype, editorInfo, expectedKey); 97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { 99 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; 100 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); [all...] |
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
CtsBaseInputMethod.java | 32 import android.view.inputmethod.EditorInfo; 59 public void onStartInput(EditorInfo editorInfo, boolean restarting) { 62 + " editorInfo=" + editorInfo 65 sendEvent(ON_START_INPUT, editorInfo, restarting); 67 super.onStartInput(editorInfo, restarting); 71 public void onStartInputView(EditorInfo editorInfo, boolean restarting) { 74 + " editorInfo=" + editorInf [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputAttributes.java | 25 import android.view.inputmethod.EditorInfo; 54 final private EditorInfo mEditorInfo; 57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, 59 mEditorInfo = editorInfo; 61 mTargetApplicationPackageName = null != editorInfo ? editorInfo.packageName : null; 62 final int inputType = null != editorInfo ? editorInfo.inputType : 0; 72 if (null == editorInfo) { [all...] |
LatinIME.java | 53 import android.view.inputmethod.EditorInfo; 410 private EditorInfo mAppliedEditorInfo; 431 private void executePendingImsCallback(final LatinIME latinIme, final EditorInfo editorInfo, 440 latinIme.onStartInputInternal(editorInfo, restarting); 445 public void onStartInput(final EditorInfo editorInfo, final boolean restarting) { 457 executePendingImsCallback(latinIme, editorInfo, restarting); 458 latinIme.onStartInputInternal(editorInfo, restarting); 463 public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
InputTypeUtils.java | 20 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) { 108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { 109 return EditorInfo.IME_ACTION_NONE; 110 } else if (editorInfo.actionLabel != null) { 113 // Note: this is different from editorInfo.actionId, hence "ImeOptionsActionId" 114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethod.java | 130 * @see EditorInfo 132 public void startInput(InputConnection inputConnection, EditorInfo info); 148 * @see EditorInfo 150 public void restartInput(InputConnection inputConnection, EditorInfo attribute); 153 * This method is called when {@code {@link #startInput(InputConnection, EditorInfo)} or 154 * {@code {@link #restartInput(InputConnection, EditorInfo)} needs to be dispatched. 159 * {@link #startInput(InputConnection, EditorInfo)} to be still called back.</p> 164 * @param editorInfo information about the text box (typically, an EditText) that requests input 166 * {@link #startInput(InputConnection, EditorInfo)}. Otherwise this 167 * corresponds to {@link #restartInput(InputConnection, EditorInfo)} [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
EditorInfoCompatUtils.java | 19 import android.view.inputmethod.EditorInfo; 25 // Note that EditorInfo.IME_FLAG_FORCE_ASCII has been introduced 28 EditorInfo.class, "IME_FLAG_FORCE_ASCII"); 32 EditorInfo.class, "hintLocales"); 44 final int actionId = imeOptions & EditorInfo.IME_MASK_ACTION; 46 case EditorInfo.IME_ACTION_UNSPECIFIED: 48 case EditorInfo.IME_ACTION_NONE: 50 case EditorInfo.IME_ACTION_GO: 52 case EditorInfo.IME_ACTION_SEARCH: 54 case EditorInfo.IME_ACTION_SEND [all...] |
/developers/build/prebuilts/gradle/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/ |
ImageKeyboard.java | 36 import android.view.inputmethod.EditorInfo; 65 @Nullable EditorInfo editorInfo, @NonNull String mimeType) { 66 if (editorInfo == null) { 75 if (!validatePackageName(editorInfo)) { 79 final String[] supportedMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); 90 final EditorInfo editorInfo = getCurrentInputEditorInfo(); 93 if (!validatePackageName(editorInfo)) { 119 editorInfo.packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION) [all...] |
/developers/samples/android/input/keyboard/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/ |
ImageKeyboard.java | 36 import android.view.inputmethod.EditorInfo; 65 @Nullable EditorInfo editorInfo, @NonNull String mimeType) { 66 if (editorInfo == null) { 75 if (!validatePackageName(editorInfo)) { 79 final String[] supportedMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); 90 final EditorInfo editorInfo = getCurrentInputEditorInfo(); 93 if (!validatePackageName(editorInfo)) { 119 editorInfo.packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION) [all...] |
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/ |
ImageKeyboard.java | 36 import android.view.inputmethod.EditorInfo; 65 @Nullable EditorInfo editorInfo, @NonNull String mimeType) { 66 if (editorInfo == null) { 75 if (!validatePackageName(editorInfo)) { 79 final String[] supportedMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); 90 final EditorInfo editorInfo = getCurrentInputEditorInfo(); 93 if (!validatePackageName(editorInfo)) { 119 editorInfo.packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ImeAwareEditText.java | 22 import android.view.inputmethod.EditorInfo; 55 * @param editorInfo context about the text input field. 59 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 60 final InputConnection ic = super.onCreateInputConnection(editorInfo);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
TestsSplitLayoutQwertyEnglishUS.java | 20 import android.view.inputmethod.EditorInfo; 41 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 43 return super.createKeyboardLayoutSet(subtype, editorInfo, voiceInputKeyEnabled,
|
TestsQwertyEmail.java | 21 import android.view.inputmethod.EditorInfo; 45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 47 final EditorInfo emailField = new EditorInfo();
|
TestsQwertyUrl.java | 21 import android.view.inputmethod.EditorInfo; 45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 47 final EditorInfo emailField = new EditorInfo();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityUtils.java | 33 import android.view.inputmethod.EditorInfo; 130 public boolean shouldObscureInput(final EditorInfo editorInfo) { 131 if (editorInfo == null) return false; 146 return InputTypeUtils.isPasswordInputType(editorInfo.inputType); 244 * @param editorInfo The input connection's editor info attribute. 247 public void onStartInputViewInternal(final View view, final EditorInfo editorInfo, 249 if (shouldObscureInput(editorInfo)) {
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/touchinputconsumer/ |
GestureConsumer.java | 19 import android.view.inputmethod.EditorInfo; 41 final EditorInfo editorInfo, final PrivateCommandPerformer commandPerformer,
|
/developers/build/prebuilts/gradle/CommitContentSampleApp/app/src/main/java/com/example/android/commitcontent/app/ |
MainActivity.java | 30 import android.view.inputmethod.EditorInfo; 187 * MIME types to EditorInfo#contentMimeTypes so that developers can locally test how the current 192 * @return a new instance of {@link EditText}, which specifies EditorInfo#contentMimeTypes with 207 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 208 final InputConnection ic = super.onCreateInputConnection(editorInfo); 209 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); 219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); 230 * InputConnection, EditorInfo, InputContentInfoCompat, int, Bundle)} to a human readable 234 * {@link InputConnectionCompat#commitContent(InputConnection, EditorInfo, [all...] |
/developers/samples/android/input/keyboard/CommitContentSampleApp/app/src/main/java/com/example/android/commitcontent/app/ |
MainActivity.java | 30 import android.view.inputmethod.EditorInfo; 187 * MIME types to EditorInfo#contentMimeTypes so that developers can locally test how the current 192 * @return a new instance of {@link EditText}, which specifies EditorInfo#contentMimeTypes with 207 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 208 final InputConnection ic = super.onCreateInputConnection(editorInfo); 209 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); 219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); 230 * InputConnection, EditorInfo, InputContentInfoCompat, int, Bundle)} to a human readable 234 * {@link InputConnectionCompat#commitContent(InputConnection, EditorInfo, [all...] |
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/ |
MainActivity.java | 30 import android.view.inputmethod.EditorInfo; 187 * MIME types to EditorInfo#contentMimeTypes so that developers can locally test how the current 192 * @return a new instance of {@link EditText}, which specifies EditorInfo#contentMimeTypes with 207 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 208 final InputConnection ic = super.onCreateInputConnection(editorInfo); 209 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); 219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); 230 * InputConnection, EditorInfo, InputContentInfoCompat, int, Bundle)} to a human readable 234 * {@link InputConnectionCompat#commitContent(InputConnection, EditorInfo, [all...] |
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
CommitContentSupport.java | 32 import android.view.inputmethod.EditorInfo; 189 * MIME types to {@link EditorInfo#contentMimeTypes} so that developers 195 * {@link EditorInfo#contentMimeTypes} with the given content 210 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 211 final InputConnection ic = super.onCreateInputConnection(editorInfo); 212 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); 222 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); 233 *InputConnection, EditorInfo, InputContentInfoCompat, int, Bundle)} to a human readable 237 * {@link InputConnectionCompat#commitContent(InputConnection, EditorInfo, [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetTestsBase.java | 23 import android.view.inputmethod.EditorInfo; 148 final EditorInfo editorInfo) { 149 return createKeyboardLayoutSet(subtype, editorInfo, false /* voiceInputKeyEnabled */, 154 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 160 final Builder builder = new Builder(context, editorInfo);
|