Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 227) 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.java72 public Editable getText() { in getText() method in EditText
73 return (Editable) super.getText(); in getText()
85 Selection.setSelection(getText(), start, stop); in setSelection()
92 Selection.setSelection(getText(), index); in setSelection()
99 Selection.selectAll(getText()); in selectAll()
106 Selection.extendSelection(getText(), index); in extendSelection()
DMultiAutoCompleteTextView.java115 Editable text = getText(); in enoughToFilter()
143 Editable e = getText(); in performValidation()
144 int i = getText().length(); in performValidation()
190 int start = mTokenizer.findTokenStart(getText(), end); in replaceText()
192 Editable editable = getText(); in replaceText()
DToggleButton.java55 mTextOn = a.getText(com.android.internal.R.styleable.ToggleButton_textOn); in ToggleButton()
56 mTextOff = a.getText(com.android.internal.R.styleable.ToggleButton_textOff); in ToggleButton()
159 event.getText().add(mContext.getString(R.string.togglebutton_pressed)); in onPopulateAccessibilityEvent()
161 event.getText().add(mContext.getString(R.string.togglebutton_not_pressed)); in onPopulateAccessibilityEvent()
DCheckBox.java76 event.getText().add(mContext.getString(R.string.checkbox_checked)); in onPopulateAccessibilityEvent()
78 event.getText().add(mContext.getString(R.string.checkbox_not_checked)); in onPopulateAccessibilityEvent()
DRadioButton.java83 event.getText().add(mContext.getString(R.string.radiobutton_selected)); in onPopulateAccessibilityEvent()
85 event.getText().add(mContext.getString(R.string.radiobutton_not_selected)); in onPopulateAccessibilityEvent()
DSpellChecker.java169 Editable editable = (Editable) mTextView.getText(); in spellCheck()
204 Editable editable = (Editable) mTextView.getText(); in onGetSuggestions()
308 ((Editable) mTextView.getText()).setSpan(mRange, start, end, in init()
313 ((Editable) mTextView.getText()).removeSpan(mRange); in close()
317 return ((Editable) mTextView.getText()).getSpanStart(mRange) < 0; in isDone()
321 Editable editable = (Editable) mTextView.getText(); in parse()
DSwitch.java143 mTextOn = a.getText(com.android.internal.R.styleable.Switch_textOn); in Switch()
144 mTextOff = a.getText(com.android.internal.R.styleable.Switch_textOff); in Switch()
370 CharSequence text = mOnLayout.getText(); in onPopulateAccessibilityEvent()
374 event.getText().add(text); in onPopulateAccessibilityEvent()
376 CharSequence text = mOffLayout.getText(); in onPopulateAccessibilityEvent()
380 event.getText().add(text); in onPopulateAccessibilityEvent()
606 if (!TextUtils.isEmpty(getText())) { in getCompoundPaddingRight()
/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/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/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/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.java261 int textLength = getText().length(); in onSelectionChanged()
274 if (!TextUtils.isEmpty(getText())) { in onRestoreInstanceState()
353 Editable editable = getText(); in shrink()
358 Editable text = getText(); in shrink()
382 Editable text = getText(); in expand()
693 Editable editable = getText(); in handlePendingChips()
751 Editable editable = getText(); in sanitizeSpannable()
786 int start = mTokenizer.findTokenStart(getText(), end); in createReplacementChip()
954 Editable editable = getText(); in commitDefault()
959 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
[all …]
/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/policy/src/com/android/internal/policy/impl/
DKeyguardStatusViewManager.java232 mCarrierHelpText = getText(resId); in setCarrierHelpText()
236 private CharSequence getText(int resId) { in getText() method in KeyguardStatusViewManager
237 return resId == 0 ? null : getContext().getText(resId); in getText()
248 final CharSequence tmp = getText(textResId); in setHelpMessage()
470 getContext().getText(R.string.lockscreen_network_locked_message)); in updateCarrierTextWithSimStatus()
475 carrierText = getContext().getText(R.string.lockscreen_missing_sim_message_short); in updateCarrierTextWithSimStatus()
480 carrierText = getContext().getText(R.string.lockscreen_missing_sim_message_short); in updateCarrierTextWithSimStatus()
487 getContext().getText(R.string.lockscreen_missing_sim_message_short)); in updateCarrierTextWithSimStatus()
494 getContext().getText(R.string.lockscreen_sim_locked_message)); in updateCarrierTextWithSimStatus()
499 getContext().getText(R.string.lockscreen_sim_puk_locked_message)); in updateCarrierTextWithSimStatus()
/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()
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()
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()
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/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/java/android/webkit/
DWebTextView.java243 Spannable text = (Spannable) getText(); in dispatchKeyEvent()
328 } else if (!oldText.equals(getText().toString())) { in dispatchKeyEvent()
335 Spannable span = (Spannable) getText(); in dispatchKeyEvent()
615 String replacedString = getText().subSequence(start, in onTextChanged()
683 Spannable buffer = getText(); in onTouchEvent()
756 Spannable text = getText(); in onTrackballEvent()
803 mWebView.passToJavaScript(getText().toString(), event); in sendDomEvent()
866 Spannable text = (Spannable) getText(); in setDefaultSelection()
953 Spannable text = (Spannable) getText(); in setSelectionFromWebKit()
981 Editable edit = getText(); in setTextAndKeepSelection()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtonsTest.java112 assertEquals(indexInfo, label, button.getText().toString()); in TODO_testNavigateThroughAllButtonsAndBack()
129 assertEquals(indexInfo, label, button.getText().toString()); in TODO_testNavigateThroughAllButtonsAndBack()
154 assertEquals(firstButtonLabel, firstButton.getText()); in testGoInAndOutOfListWithItemsFocusable()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DRecycleAccessibilityEventTest.java49 first.getText().add(TEXT); in testAccessibilityEventViewTextChangedType()
65 assertEquals(0, first.getText().size()); in testAccessibilityEventViewTextChangedType()

12345678910