Home
last modified time | relevance | path

Searched refs:EditorInfo (Results 1 – 25 of 39) 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
395 …public static final Parcelable.Creator<EditorInfo> CREATOR = new Parcelable.Creator<EditorInfo>() {
396 public EditorInfo createFromParcel(Parcel source) {
397 EditorInfo res = new EditorInfo();
415 public EditorInfo[] newArray(int size) {
416 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;
DInputMethodManager.java301 EditorInfo mCurrentTextBoxAttribute;
1118 EditorInfo tba = new EditorInfo(); in startInputInner()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java54 import android.view.inputmethod.EditorInfo;
280 EditorInfo mInputEditorInfo;
332 final EditorInfo ei = getCurrentInputEditorInfo();
337 } else if ((ei.imeOptions&EditorInfo.IME_MASK_ACTION)
338 != EditorInfo.IME_ACTION_NONE) {
339 ic.performEditorAction(ei.imeOptions&EditorInfo.IME_MASK_ACTION);
388 public void startInput(InputConnection ic, EditorInfo attribute) { in startInput()
393 public void restartInput(InputConnection ic, EditorInfo attribute) { in restartInput()
869 public EditorInfo getCurrentInputEditorInfo() { in getCurrentInputEditorInfo()
973 && (mInputEditorInfo.imeOptions & EditorInfo.IME_FLAG_NO_FULLSCREEN) != 0) { in onEvaluateFullscreenMode()
[all …]
DIInputMethodWrapper.java36 import android.view.inputmethod.EditorInfo;
169 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
180 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
260 public void startInput(IInputContext inputContext, EditorInfo attribute) { in startInput()
266 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;
48 IInputContext inputContext, in EditorInfo attribute, int controlFlags); in startInput()
58 in EditorInfo attribute, IInputContext inputContext); in windowGainedFocus()
/frameworks/base/core/java/android/widget/
DTextView.java121 import android.view.inputmethod.EditorInfo;
751 int inputType = EditorInfo.TYPE_NULL; in TextView()
1000 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView()
1071 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView()
1073 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD); in TextView()
1075 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD); in TextView()
1077 == (EditorInfo.TYPE_CLASS_NUMBER | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD); in TextView()
1097 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
1101 mEditor.mInputType = EditorInfo.TYPE_CLASS_TEXT; in TextView()
1109 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
[all …]
DTimePicker.java33 import android.view.inputmethod.EditorInfo;
167 mHourSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePicker()
205 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePicker()
240 mAmPmSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_DONE); in TimePicker()
620 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_DONE); in updateMinuteControl()
622 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in updateMinuteControl()
DAutoCompleteTextView.java36 import android.view.inputmethod.EditorInfo;
182 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in AutoCompleteTextView()
183 == EditorInfo.TYPE_CLASS_TEXT) { in AutoCompleteTextView()
184 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView()
DDatePicker.java36 import android.view.inputmethod.EditorInfo;
737 imeOptions = EditorInfo.IME_ACTION_NEXT; in setImeOptions()
739 imeOptions = EditorInfo.IME_ACTION_DONE; in setImeOptions()
DEditor.java96 import android.view.inputmethod.EditorInfo;
147 int mInputType = EditorInfo.TYPE_NULL;
544 if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) { in adjustInputType()
546 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
547 | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD; in adjustInputType()
550 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
551 | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD; in adjustInputType()
553 } else if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_NUMBER) { in adjustInputType()
555 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
556 | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD; in adjustInputType()
[all …]
DAbsListView.java67 import android.view.inputmethod.EditorInfo;
5765 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
5771 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_FILTER; in onCreateInputConnection()
5772 outAttrs.imeOptions = EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
5779 private final EditorInfo mOutAttrs;
5782 public InputConnectionWrapper(EditorInfo outAttrs) { in InputConnectionWrapper()
5804 if (editorAction == EditorInfo.IME_ACTION_DONE) { in performEditorAction()
5961 mTextFilter.setRawInputType(EditorInfo.TYPE_CLASS_TEXT in getTextFilterInput()
5962 | EditorInfo.TYPE_TEXT_VARIATION_FILTER); in getTextFilterInput()
5963 mTextFilter.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI); in getTextFilterInput()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java30 import android.view.inputmethod.EditorInfo;
203 if (actionId == EditorInfo.IME_NULL || actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
204 || actionId == EditorInfo.IME_ACTION_NEXT) { in onEditorAction()
/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()
219 int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, in windowGainedFocus()
/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.java37 import android.view.inputmethod.EditorInfo;
315 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/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java73 import android.view.inputmethod.EditorInfo;
310 if (action == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
325 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
327 int imeActions = outAttrs.imeOptions&EditorInfo.IME_MASK_ACTION; in onCreateInputConnection()
328 if ((imeActions&EditorInfo.IME_ACTION_DONE) != 0) { in onCreateInputConnection()
332 outAttrs.imeOptions |= EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
334 if ((outAttrs.imeOptions&EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in onCreateInputConnection()
335 outAttrs.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION; in onCreateInputConnection()
338 outAttrs.actionId = EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
/frameworks/base/core/java/android/app/
DSearchableInfo.java37 import android.view.inputmethod.EditorInfo;
324 EditorInfo.IME_ACTION_GO); in SearchableInfo()
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd213 {@link android.inputmethodservice.InputMethodService#onStartInputView(EditorInfo, boolean)
214 onStartInputView()}, passing in an {@link android.view.inputmethod.EditorInfo} object that
216 the {@link android.view.inputmethod.EditorInfo#inputType} field contains the text field's input
220 The {@link android.view.inputmethod.EditorInfo#inputType} field is an <code>int</code>
255 The {@link android.view.inputmethod.EditorInfo#inputType} field can contain other bits that
276 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