Searched refs:inputType (Results 1 - 21 of 21) sorted by relevance

/frameworks/support/v4/ics/android/support/v4/widget/
H A DSearchViewCompatIcs.java50 public static void setInputType(View searchView, int inputType) { argument
51 ((SearchView) searchView).setInputType(inputType);
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java41 public int inputType = TYPE_NULL; field in class:EditorInfo
346 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) {
348 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS
349 | (inputType&TYPE_MASK_FLAGS);
352 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD
353 | (inputType&TYPE_MASK_FLAGS);
357 inputType = TYPE_CLASS_NUMBER
358 | (inputType&TYPE_MASK_FLAGS);
368 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType)
[all...]
/frameworks/rs/
H A DrsProgramFragment.cpp112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); local
116 tmp[1] = (uintptr_t)inputType.get();
118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsProgramVertex.cpp186 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); local
201 tmp[1] = (uintptr_t)inputType.get();
207 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsFont.cpp516 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false, 0); local
520 tmp[1] = (uintptr_t)inputType.get();
524 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(),
/frameworks/support/v4/java/android/support/v4/widget/
H A DSearchViewCompat.java36 void setInputType(View searchView, int inputType); argument
69 public void setInputType(View searchView, int inputType) { argument
247 public void setInputType(View searchView, int inputType) { argument
248 SearchViewCompatIcs.setInputType(searchView, inputType);
313 * @param inputType the input type to set on the query text field
315 public static void setInputType(View searchView, int inputType) { argument
316 IMPL.setInputType(searchView, inputType);
/frameworks/base/core/java/android/widget/
H A DSearchView.java344 final int inputType = a.getInt(R.styleable.SearchView_inputType, -1);
345 if (inputType != -1) {
346 setInputType(inputType);
448 * @param inputType the input type to set on the query text field
452 public void setInputType(int inputType) { argument
453 mSearchSrcTextView.setInputType(inputType);
1141 int inputType = mSearchable.getInputType();
1144 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1147 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1149 inputType |
[all...]
H A DAutoCompleteTextView.java176 int inputType = getInputType();
177 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
179 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE;
180 setRawInputType(inputType);
H A DTextView.java782 int inputType = EditorInfo.TYPE_NULL;
1032 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1115 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
1141 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1142 ? inputType
1153 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1154 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
1155 } else if (inputType != EditorInfo.TYPE_NULL) {
1156 setInputType(inputType, true);
1158 singleLine = !isMultilineInputType(inputType);
4291 isPasswordInputType(int inputType) argument
4302 isVisiblePasswordInputType(int inputType) argument
[all...]
H A DEditor.java572 // mInputType has been set from inputType, possibly modified by mInputMethod.
632 * It would be better to rely on the input type for everything. A password inputType should have
666 int inputType = mTextView.getInputType();
667 int klass = inputType & InputType.TYPE_MASK_CLASS;
668 int variation = inputType & InputType.TYPE_MASK_VARIATION;
H A DAbsListView.java5619 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_FILTER;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java343 final int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1);
344 if (inputType != -1) {
345 setInputType(inputType);
464 * @param inputType the input type to set on the query text field
466 public void setInputType(int inputType) { argument
467 mQueryTextView.setInputType(inputType);
1055 int inputType = mSearchable.getInputType();
1058 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1061 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1063 inputType |
[all...]
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DInputTypeActivity.java142 private View buildEntryView(int inputType, int label) { argument
148 editText.setInputType(inputType);
/frameworks/base/core/java/android/app/
H A DSearchDialog.java398 int inputType = mSearchable.getInputType();
401 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
404 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
406 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
409 mSearchAutoComplete.setInputType(inputType);
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java202 int inputType = sHardwareTypeToTvInputType.get(hardwareInfo.getType(), TYPE_TUNER);
205 hardwareInfo), null, inputType, label, iconUri, false);
209 String id, String parentId, int inputType, String label, Uri iconUri,
236 TvInputInfo input = new TvInputInfo(service, id, parentId, inputType);
244 if (inputType == TYPE_TUNER && TextUtils.isEmpty(input.mSetupActivity)) {
208 createTvInputInfo(Context context, ResolveInfo service, String id, String parentId, int inputType, String label, Uri iconUri, boolean isConnectedToHdmiSwitch) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java205 * important part of this is {@link android.view.inputmethod.EditorInfo#inputType
206 * EditorInfo.inputType}; in particular, if this is
217 * update a soft keyboard to be appropriate for the new inputType.</p>
2222 if (ei.inputType == InputType.TYPE_NULL ||
2258 ei.inputType != InputType.TYPE_NULL);
2284 if (ei.inputType == InputType.TYPE_NULL) {
2312 int inputType = ei.inputType;
2313 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
2315 if ((inputType
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImpl.cpp269 AudioPolicyInterface::input_type_t inputType; local
275 flags, &inputType);
280 switch (inputType) {
298 (int)inputType);
H A DAudioPolicyInterface.h134 input_type_t *inputType) = 0;
H A DAudioPolicyManager.h116 input_type_t *inputType);
H A DAudioPolicyManager.cpp1463 input_type_t *inputType)
1470 *inputType = API_INPUT_INVALID;
1498 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1511 *inputType = API_INPUT_LEGACY;
1515 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1519 *inputType = API_INPUT_MIX_CAPTURE;
1521 *inputType = API_INPUT_LEGACY;
1611 ALOGV("getInputForAttr() returns input type = %d", inputType);
1456 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, input_type_t *inputType) argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java2316 * @param inputType The input type.
2320 public void setInputType(int inputType) { argument
2322 mInputType = inputType;

Completed in 4149 milliseconds