Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 248) sorted by relevance

12345678910

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java70 app_id.getText().toString(), in onCreate()
71 cont.getText().toString(), in onCreate()
72 pkg.getText().toString(), in onCreate()
73 cls.getText().toString(), in onCreate()
80 app_id.getText().toString(), in onCreate()
81 cont.getText().toString(), in onCreate()
82 pkg.getText().toString(), in onCreate()
83 cls.getText().toString(), in onCreate()
105 app_id.getText().toString(), in onCreate()
106 cont.getText().toString(), in onCreate()
[all …]
/frameworks/base/core/java/android/widget/
DDialerFilter.java128 if (mLetters.getText().length() == mDigits.getText().length()) { in onKeyDown()
134 if (mDigits.getText().length() == mLetters.getText().length()) { in onKeyDown()
269 Editable lettersText = mLetters.getText(); in swapPrimaryAndHint()
270 Editable digitsText = mDigits.getText(); in swapPrimaryAndHint()
284 lettersText = mLetters.getText(); in swapPrimaryAndHint()
289 digitsText = mDigits.getText(); in swapPrimaryAndHint()
300 return mLetters.getText(); in getLetters()
308 return mDigits.getText(); in getDigits()
325 mDigits.getText().append(text); in append()
326 mLetters.getText().append(text); in append()
[all …]
DEditText.java74 public Editable getText() { in getText() method in EditText
75 return (Editable) super.getText(); in getText()
87 Selection.setSelection(getText(), start, stop); in setSelection()
94 Selection.setSelection(getText(), index); in setSelection()
101 Selection.selectAll(getText()); in selectAll()
108 Selection.extendSelection(getText(), index); in extendSelection()
DMultiAutoCompleteTextView.java116 Editable text = getText(); in enoughToFilter()
144 Editable e = getText(); in performValidation()
145 int i = getText().length(); in performValidation()
191 int start = mTokenizer.findTokenStart(getText(), end); in replaceText()
193 Editable editable = getText(); in replaceText()
DEditor.java212 updateSpellCheckSpans(0, mTextView.getText().length(), in onAttachedToWindow()
551 return hasSelectionController() && mTextView.getText().length() != 0; in canSelectText()
609 if (minOffset < 0 || minOffset >= mTextView.getText().length()) return false; in selectCurrentWord()
610 if (maxOffset < 0 || maxOffset >= mTextView.getText().length()) return false; in selectCurrentWord()
615 URLSpan[] urlSpans = ((Spanned) mTextView.getText()). in selectCurrentWord()
619 selectionStart = ((Spanned) mTextView.getText()).getSpanStart(urlSpan); in selectCurrentWord()
620 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord()
623 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset); in selectCurrentWord()
637 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord()
657 final int textLength = mTextView.getText().length(); in getCharRange()
[all …]
DSpellChecker.java140 mTextView.removeMisspelledSpans((Editable) mTextView.getText()); in resetSession()
231 end = mTextView.getText().length(); in spellCheck()
268 Editable editable = (Editable) mTextView.getText(); in spellCheck()
329 final Editable editable = (Editable) mTextView.getText(); in onGetSuggestionsInternal()
384 final Editable editable = (Editable) mTextView.getText(); in onGetSuggestions()
398 final Editable editable = (Editable) mTextView.getText(); in onGetSentenceSuggestions()
516 setRangeSpan((Editable) mTextView.getText(), start, parseEnd); in parse()
522 return ((Editable) mTextView.getText()).getSpanStart(mRange) < 0; in isFinished()
526 removeRangeSpan((Editable) mTextView.getText()); in stop()
545 Editable editable = (Editable) mTextView.getText(); in parse()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java797 message = context.getText(com.android.internal.R.string.mmiError); in processCode()
806 sb.append(context.getText(res)); in handlePasswordError()
824 message = context.getText(com.android.internal.R.string.mmiComplete); in onUssdFinished()
848 message = context.getText(com.android.internal.R.string.mmiError); in onUssdFinishedError()
939 return context.getText(com.android.internal.R.string.mmiFdnError); in getErrorMessage()
943 return context.getText(com.android.internal.R.string.mmiError); in getErrorMessage()
949 return context.getText(com.android.internal.R.string.BaMmi); in getScString()
951 return context.getText(com.android.internal.R.string.CfMmi); in getScString()
953 return context.getText(com.android.internal.R.string.ClipMmi); in getScString()
955 return context.getText(com.android.internal.R.string.ClirMmi); in getScString()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java79 assertEquals("TEST0", e0.getText(80)); in testAddText()
80 assertEquals("TEST1", e1.getText(80)); in testAddText()
81 assertEquals("TES", e2.getText(3)); in testAddText()
101 assertTrue(null == e.getText(80));
157 assertEquals("FILE0", e0.getText(80));
162 assertTrue(null == e2.getText(80));
166 assertTrue(null == e3.getText(80));
209 assertEquals("FUTURE0", e0.getText(80)); in testAddEntriesInTheFuture()
210 assertEquals("FUTURE1", e1.getText(80)); in testAddEntriesInTheFuture()
211 assertEquals("FUTURE2", e2.getText(80)); in testAddEntriesInTheFuture()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DEriManager.java308 mContext.getText(com.android.internal.R.string.roamingText0).toString()); in getEriDisplayInformation()
315 mContext.getText(com.android.internal.R.string.roamingText1).toString()); in getEriDisplayInformation()
322 mContext.getText(com.android.internal.R.string.roamingText2).toString()); in getEriDisplayInformation()
331 mContext.getText(com.android.internal.R.string.roamingText3).toString()); in getEriDisplayInformation()
338 mContext.getText(com.android.internal.R.string.roamingText4).toString()); in getEriDisplayInformation()
345 mContext.getText(com.android.internal.R.string.roamingText5).toString()); in getEriDisplayInformation()
352 mContext.getText(com.android.internal.R.string.roamingText6).toString()); in getEriDisplayInformation()
359 mContext.getText(com.android.internal.R.string.roamingText7).toString()); in getEriDisplayInformation()
366 mContext.getText(com.android.internal.R.string.roamingText8).toString()); in getEriDisplayInformation()
373 mContext.getText(com.android.internal.R.string.roamingText9).toString()); in getEriDisplayInformation()
[all …]
DCdmaMmiCode.java220 message = context.getText(com.android.internal.R.string.mmiError); in processCode()
229 sb.append(context.getText(res)); in handlePasswordError()
250 return context.getText(com.android.internal.R.string.PinMmi); in getScString()
268 sb.append(context.getText( in onSetComplete()
271 sb.append(context.getText( in onSetComplete()
275 sb.append(context.getText( in onSetComplete()
279 sb.append(context.getText( in onSetComplete()
284 sb.append(context.getText( in onSetComplete()
288 sb.append(context.getText( in onSetComplete()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java227 int oldSelStart = Selection.getSelectionStart(getText()); in onTouchEvent()
228 int oldSelEnd = Selection.getSelectionEnd(getText()); in onTouchEvent()
235 mManager.showSoftKey(Selection.getSelectionStart(getText()), in onTouchEvent()
236 Selection.getSelectionEnd(getText())); in onTouchEvent()
349 mManager.updateSpanNextToCursor(getText(), start, before, after); in onTextChanged()
350 mManager.updateSpanPreviousFromCursor(getText(), start, before, after); in onTextChanged()
848 mConverter.getUriArray(uris, getText()); in getHtml()
875 if (pos < 0 || pos > getText().length()) { in getForegroundColor()
879 getText().getSpans(pos, pos, ForegroundColorSpan.class); in getForegroundColor()
1065 if (curpos > 0 && mEST.getText().charAt(curpos - 1) != '\n') { in insertHorizontalLine()
[all …]
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java315 setSelection(Math.min(getSpannable().getSpanEnd(last) + 1, getText().length())); in onSelectionChanged()
322 if (!TextUtils.isEmpty(getText())) { in onRestoreInstanceState()
403 Editable editable = getText(); in shrink()
408 Editable text = getText(); in shrink()
432 Editable text = getText(); in expand()
763 Editable editable = getText(); in handlePendingChips()
836 Editable editable = getText(); in sanitizeEnd()
871 int start = mTokenizer != null ? mTokenizer.findTokenStart(getText(), end) : 0; in createReplacementChip()
1089 Editable editable = getText(); in commitDefault()
1094 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
[all …]
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DQueryController.java66 if (event.getText() != null && event.getText().size() > 0) { in QueryController()
67 if(event.getText().get(0) != null) in QueryController()
68 mLastActivityName = event.getText().get(0).toString(); in QueryController()
74 if (event.getText() != null && event.getText().size() > 0) in QueryController()
75 if(event.getText().get(0) != null) in QueryController()
76 mLastTraversedText = event.getText().get(0).toString(); in QueryController()
/frameworks/base/core/java/android/content/
DSyncActivityTooManyDeletes.java63 getResources().getText(R.string.sync_really_delete), in onCreate()
64 getResources().getText(R.string.sync_undo_deletes), in onCreate()
65 getResources().getText(R.string.sync_do_nothing) in onCreate()
80 getResources().getText(R.string.sync_too_many_deletes_desc); in onCreate()
/frameworks/base/services/java/com/android/server/am/
DAppNotRespondingDialog.java81 res.getText(com.android.internal.R.string.force_close), in AppNotRespondingDialog()
84 res.getText(com.android.internal.R.string.wait), in AppNotRespondingDialog()
89 res.getText(com.android.internal.R.string.report), in AppNotRespondingDialog()
93 setTitle(res.getText(com.android.internal.R.string.anr_title)); in AppNotRespondingDialog()
DAppErrorDialog.java65 res.getText(com.android.internal.R.string.force_close), in AppErrorDialog()
70 res.getText(com.android.internal.R.string.report), in AppErrorDialog()
74 setTitle(res.getText(com.android.internal.R.string.aerr_title)); in AppErrorDialog()
DStrictModeViolationDialog.java65 res.getText(com.android.internal.R.string.dlg_ok), in StrictModeViolationDialog()
70 res.getText(com.android.internal.R.string.report), in StrictModeViolationDialog()
74 setTitle(res.getText(com.android.internal.R.string.aerr_title)); in StrictModeViolationDialog()
DFactoryErrorDialog.java28 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); in FactoryErrorDialog()
31 context.getText(com.android.internal.R.string.factorytest_reboot), in FactoryErrorDialog()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardStatusViewManager.java245 mCarrierHelpText = getText(resId); in setCarrierHelpText()
249 private CharSequence getText(int resId) { in getText() method in KeyguardStatusViewManager
250 return resId == 0 ? null : getContext().getText(resId); in getText()
261 final CharSequence tmp = getText(textResId); in setHelpMessage()
495 getContext().getText(R.string.lockscreen_network_locked_message), in updateCarrierStateWithSimStatus()
506 getContext().getText(R.string.lockscreen_missing_sim_message_short), in updateCarrierStateWithSimStatus()
512 carrierText = getContext().getText( in updateCarrierStateWithSimStatus()
520 getContext().getText(R.string.lockscreen_missing_sim_message_short), in updateCarrierStateWithSimStatus()
528 getContext().getText(R.string.lockscreen_sim_locked_message), in updateCarrierStateWithSimStatus()
535 getContext().getText(R.string.lockscreen_sim_puk_locked_message), in updateCarrierStateWithSimStatus()
/frameworks/base/core/java/android/preference/
DEditTextPreference.java101 public String getText() { in getText() method in EditTextPreference
110 editText.setText(getText()); in onBindDialogView()
140 String value = mEditText.getText().toString(); in onDialogClosed()
187 myState.text = getText(); in onSaveInstanceState()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java36 CharSequence oldText = tv.getText(); in testArray()
39 CharSequence newText = tv.getText(); in testArray()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java70 mAlertParams.mTitle = getText(android.R.string.dialog_alert_title); in onResume()
71 mAlertParams.mPositiveButtonText = getText(android.R.string.ok); in onResume()
73 mAlertParams.mNegativeButtonText = getText(android.R.string.cancel); in onResume()
DManageDialog.java84 mAlertParams.mTitle = getText(R.string.legacy_title); in onResume()
92 mAlertParams.mPositiveButtonText = getText(R.string.configure); in onResume()
95 mAlertParams.mNeutralButtonText = getText(R.string.disconnect); in onResume()
97 mAlertParams.mNegativeButtonText = getText(android.R.string.cancel); in onResume()
/frameworks/compile/mclinker/include/mcld/LD/
DLDFileFormat.h63 LDSection& getText() { in getText() function
68 const LDSection& getText() const { in getText() function
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtonsTest.java113 assertEquals(indexInfo, label, button.getText().toString()); in TODO_testNavigateThroughAllButtonsAndBack()
130 assertEquals(indexInfo, label, button.getText().toString()); in TODO_testNavigateThroughAllButtonsAndBack()
155 assertEquals(firstButtonLabel, firstButton.getText()); in testGoInAndOutOfListWithItemsFocusable()

12345678910