Home
last modified time | relevance | path

Searched refs:EditorInfo (Results 1 – 25 of 43) 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
371 …public static final Parcelable.Creator<EditorInfo> CREATOR = new Parcelable.Creator<EditorInfo>() {
372 public EditorInfo createFromParcel(Parcel source) {
373 EditorInfo res = new EditorInfo();
391 public EditorInfo[] newArray(int size) {
392 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.java53 import android.view.inputmethod.EditorInfo;
279 EditorInfo mInputEditorInfo;
331 final EditorInfo ei = getCurrentInputEditorInfo();
336 } else if ((ei.imeOptions&EditorInfo.IME_MASK_ACTION)
337 != EditorInfo.IME_ACTION_NONE) {
338 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()
861 public EditorInfo getCurrentInputEditorInfo() { in getCurrentInputEditorInfo()
965 && (mInputEditorInfo.imeOptions & EditorInfo.IME_FLAG_NO_FULLSCREEN) != 0) { in onEvaluateFullscreenMode()
[all …]
DIInputMethodWrapper.java35 import android.view.inputmethod.EditorInfo;
158 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
169 EditorInfo info = (EditorInfo)args.arg2; in executeMessage()
241 public void startInput(IInputContext inputContext, EditorInfo attribute) { in startInput()
246 public void restartInput(IInputContext inputContext, EditorInfo attribute) { in restartInput()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl24 import android.view.inputmethod.EditorInfo;
43 void startInput(in IInputContext inputContext, in EditorInfo attribute); in startInput()
45 void restartInput(in IInputContext inputContext, in EditorInfo attribute); in restartInput()
DIInputMethodManager.aidl23 import android.view.inputmethod.EditorInfo;
46 IInputContext inputContext, in EditorInfo attribute, int controlFlags); in startInput()
56 in EditorInfo attribute, IInputContext inputContext); in windowGainedFocus()
/frameworks/base/core/java/android/widget/
DTextView.java118 import android.view.inputmethod.EditorInfo;
695 int inputType = EditorInfo.TYPE_NULL; in TextView()
944 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView()
1015 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView()
1017 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD); in TextView()
1019 == (EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD); in TextView()
1021 == (EditorInfo.TYPE_CLASS_NUMBER | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD); in TextView()
1041 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
1045 mEditor.mInputType = EditorInfo.TYPE_CLASS_TEXT; in TextView()
1053 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
[all …]
DTimePicker.java31 import android.view.inputmethod.EditorInfo;
162 mHourSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePicker()
200 mMinuteSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_NEXT); in TimePicker()
235 mAmPmSpinnerInput.setImeOptions(EditorInfo.IME_ACTION_DONE); in TimePicker()
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.java35 import android.view.inputmethod.EditorInfo;
713 imeOptions = EditorInfo.IME_ACTION_NEXT; in setImeOptions()
715 imeOptions = EditorInfo.IME_ACTION_DONE; in setImeOptions()
DEditor.java87 import android.view.inputmethod.EditorInfo;
134 int mInputType = EditorInfo.TYPE_NULL;
526 if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) { in adjustInputType()
528 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
529 | EditorInfo.TYPE_TEXT_VARIATION_PASSWORD; in adjustInputType()
532 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
533 | EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD; in adjustInputType()
535 } else if ((mInputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_NUMBER) { in adjustInputType()
537 mInputType = (mInputType & ~(EditorInfo.TYPE_MASK_VARIATION)) in adjustInputType()
538 | EditorInfo.TYPE_NUMBER_VARIATION_PASSWORD; in adjustInputType()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardAbsKeyInputView.java30 import android.view.inputmethod.EditorInfo;
199 if (actionId == EditorInfo.IME_NULL || actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
200 || 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()
213 int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, in windowGainedFocus()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
DPasswordUnlockScreen.java43 import android.view.inputmethod.EditorInfo;
376 if (actionId == EditorInfo.IME_NULL || actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
377 || actionId == EditorInfo.IME_ACTION_NEXT) { in onEditorAction()
/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.java35 import android.view.inputmethod.EditorInfo;
301 public InputConnection onCreateInputConnection(EditorInfo outAttrs); in onCreateInputConnection()
DWebViewClassic.java93 import android.view.inputmethod.EditorInfo;
172 int variation = mInputType & EditorInfo.TYPE_MASK_VARIATION; in setAutoFillable()
173 if (variation != EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD in setAutoFillable()
334 case EditorInfo.IME_ACTION_NEXT: in performEditorAction()
337 case EditorInfo.IME_ACTION_PREVIOUS: in performEditorAction()
340 case EditorInfo.IME_ACTION_DONE: in performEditorAction()
343 case EditorInfo.IME_ACTION_GO: in performEditorAction()
344 case EditorInfo.IME_ACTION_SEARCH: in performEditorAction()
365 int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI in initEditorInfo()
366 | EditorInfo.IME_FLAG_NO_FULLSCREEN; in initEditorInfo()
[all …]
/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.java71 import android.view.inputmethod.EditorInfo;
290 if (action == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
305 public InputConnection onCreateInputConnection(EditorInfo outAttrs) { in onCreateInputConnection()
307 int imeActions = outAttrs.imeOptions&EditorInfo.IME_MASK_ACTION; in onCreateInputConnection()
308 if ((imeActions&EditorInfo.IME_ACTION_DONE) != 0) { in onCreateInputConnection()
312 outAttrs.imeOptions |= EditorInfo.IME_ACTION_DONE; in onCreateInputConnection()
314 if ((outAttrs.imeOptions&EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in onCreateInputConnection()
315 outAttrs.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION; in onCreateInputConnection()
/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/core/java/android/app/
DSearchableInfo.java37 import android.view.inputmethod.EditorInfo;
324 EditorInfo.IME_ACTION_GO); in SearchableInfo()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtext.jd193 android.view.inputmethod.EditorInfo#IME_ACTION_SEND} or {@link
194 android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}.</p>
205 if (actionId == EditorInfo.IME_ACTION_SEND) {

12