Home
last modified time | relevance | path

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

12

/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DInputTypeActivity.java30 import android.view.inputmethod.EditorInfo;
55 … mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL, in onCreate()
59 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
63 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
67 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
71 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
75 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
79 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate()
83 … mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_URI, in onCreate()
87 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_EMAIL_ADD… in onCreate()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java31 public class EditorInfo implements InputType, Parcelable { class
424 public static final Parcelable.Creator<EditorInfo> CREATOR =
425 new Parcelable.Creator<EditorInfo>() {
426 public EditorInfo createFromParcel(Parcel source) {
427 EditorInfo res = new EditorInfo();
445 public EditorInfo[] newArray(int size) {
446 return new EditorInfo[size];
DInputMethod.java130 public void startInput(InputConnection inputConnection, EditorInfo info); in startInput()
148 public void restartInput(InputConnection inputConnection, EditorInfo attribute); in restartInput()
DEditorInfo.aidl19 parcelable EditorInfo;
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java57 import android.view.inputmethod.EditorInfo;
283 EditorInfo mInputEditorInfo;
343 final EditorInfo ei = getCurrentInputEditorInfo();
348 } else if ((ei.imeOptions&EditorInfo.IME_MASK_ACTION)
349 != EditorInfo.IME_ACTION_NONE) {
350 ic.performEditorAction(ei.imeOptions&EditorInfo.IME_MASK_ACTION);
399 public void startInput(InputConnection ic, EditorInfo attribute) { in startInput()
404 public void restartInput(InputConnection ic, EditorInfo attribute) { in restartInput()
902 public EditorInfo getCurrentInputEditorInfo() { in getCurrentInputEditorInfo()
1006 && (mInputEditorInfo.imeOptions & EditorInfo.IME_FLAG_NO_FULLSCREEN) != 0) { in onEvaluateFullscreenMode()
[all …]
DIInputMethodWrapper.java36 import android.view.inputmethod.EditorInfo;
170 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
181 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
261 public void startInput(IInputContext inputContext, EditorInfo attribute) { in startInput()
267 public void restartInput(IInputContext inputContext, EditorInfo attribute) { in restartInput()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl22 import android.view.inputmethod.EditorInfo;
41 void startInput(in IInputContext inputContext, in EditorInfo attribute); in startInput()
43 void restartInput(in IInputContext inputContext, in EditorInfo attribute); in restartInput()
DIInputMethodManager.aidl23 import android.view.inputmethod.EditorInfo;
50 IInputContext inputContext, in EditorInfo attribute, int controlFlags); in startInput()
60 in EditorInfo attribute, IInputContext inputContext); in windowGainedFocus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java35 import android.view.inputmethod.EditorInfo;
72 && (actionId == EditorInfo.IME_ACTION_DONE in onFinishInflate()
73 || actionId == EditorInfo.IME_ACTION_NEXT in onFinishInflate()
74 || actionId == EditorInfo.IME_ACTION_SEND); in onFinishInflate()
/frameworks/base/core/java/android/widget/
DTextView.java133 import android.view.inputmethod.EditorInfo;
826 int inputType = EditorInfo.TYPE_NULL; in TextView()
1084 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView()
1180 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView()
1182 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD); in TextView()
1184 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD); in TextView()
1186 == (EditorInfo.TYPE_CLASS_NUMBER | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD); in TextView()
1206 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
1210 mEditor.mInputType = EditorInfo.TYPE_CLASS_TEXT; in TextView()
1218 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
[all …]
DTimePickerSpinnerDelegate.java31 import android.view.inputmethod.EditorInfo;
106 mHourSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePickerSpinnerDelegate()
144 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePickerSpinnerDelegate()
179 mAmPmSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_DONE); in TimePickerSpinnerDelegate()
513 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_DONE); in updateMinuteControl()
515 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in updateMinuteControl()
DAutoCompleteTextView.java37 import android.view.inputmethod.EditorInfo;
178 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in AutoCompleteTextView()
179 == EditorInfo.TYPE_CLASS_TEXT) { in AutoCompleteTextView()
180 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView()
DDatePicker.java36 import android.view.inputmethod.EditorInfo;
1093 imeOptions = EditorInfo.IME_ACTION_NEXT; in setImeOptions()
1095 imeOptions = EditorInfo.IME_ACTION_DONE; in setImeOptions()
DEditor.java101 import android.view.inputmethod.EditorInfo;
179 int mInputType = EditorInfo.TYPE_NULL;
690 if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) { in adjustInputType()
692 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
693 | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD; in adjustInputType()
696 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
697 | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD; in adjustInputType()
699 } else if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_NUMBER) { in adjustInputType()
701 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
702 | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD; in adjustInputType()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeIInputMethodManager.java28 import android.view.inputmethod.EditorInfo;
188 EditorInfo attribute, int controlFlags) throws RemoteException { in startInput()
230 int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, in windowGainedFocus()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPasswordView.java31 import android.view.inputmethod.EditorInfo;
319 && (actionId == EditorInfo.IME_NULL in onEditorAction()
320 || actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
321 || actionId == EditorInfo.IME_ACTION_NEXT); in onEditorAction()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java39 import android.view.inputmethod.EditorInfo;
240 if ((EditorInfo.IME_ACTION_SEARCH == action || in onFinishInflate()
241 EditorInfo.IME_NULL == action) && null != mSearchBarListener) { in onFinishInflate()
252 } else if (EditorInfo.IME_ACTION_NONE == action && null != mSearchBarListener) { in onFinishInflate()
262 } else if (EditorInfo.IME_ACTION_GO == action) { in onFinishInflate()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java31 import android.view.inputmethod.EditorInfo;
155 if (actionId == EditorInfo.IME_ACTION_DONE && mOutputStream != null) { in onEditorAction()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java39 import android.view.inputmethod.EditorInfo;
334 public InputConnection onCreateInputConnection(EditorInfo outAttrs); in onCreateInputConnection()
/frameworks/base/docs/html/training/keyboard-input/
Dstyle.jd152 {@link android.view.inputmethod.EditorInfo} class, such as
153 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. For example:</p>
161 if (actionId == EditorInfo.IME_ACTION_SEND) {
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java29 import android.view.inputmethod.EditorInfo;
/frameworks/base/core/java/android/app/
DSearchableInfo.java38 import android.view.inputmethod.EditorInfo;
325 EditorInfo.IME_ACTION_GO); in SearchableInfo()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java81 import android.view.inputmethod.EditorInfo;
368 if (action == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
383 public InputConnection onCreateInputConnection(@NonNull EditorInfo outAttrs) { in onCreateInputConnection()
385 int imeActions = outAttrs.imeOptions&EditorInfo.IME_MASK_ACTION; in onCreateInputConnection()
386 if ((imeActions&EditorInfo.IME_ACTION_DONE) != 0) { in onCreateInputConnection()
390 outAttrs.imeOptions |= EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
392 if ((outAttrs.imeOptions&EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in onCreateInputConnection()
393 outAttrs.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION; in onCreateInputConnection()
396 outAttrs.actionId = EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd233 …{@link android.inputmethodservice.InputMethodService#onStartInputView(EditorInfo, boolean) onStart…
234 passing in an {@link android.view.inputmethod.EditorInfo} object that contains details about
236 {@link android.view.inputmethod.EditorInfo#inputType} field contains the text field's input
240 The {@link android.view.inputmethod.EditorInfo#inputType} field is an <code>int</code>
275 The {@link android.view.inputmethod.EditorInfo#inputType} field can contain other bits that
296 Remember to mask {@link android.view.inputmethod.EditorInfo#inputType} with the appropriate
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtext.jd192 android.view.inputmethod.EditorInfo#IME_ACTION_SEND} or {@link
193 android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}.</p>
204 if (actionId == EditorInfo.IME_ACTION_SEND) {

12