Searched refs:getText (Results 51 - 75 of 510) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DStyleUtils.java38 final Spannable spannable = (Spannable) textView.getText();
/packages/apps/Car/Settings/src/com/android/car/settings/home/
H A DWifiLineItem.java43 super(context.getText(R.string.wifi_settings), context);
61 return mContext.getText(R.string.wifi_settings_summary);
/packages/apps/Email/src/com/android/email/activity/
H A DComposeActivityEmail.java61 new SpannableStringBuilder(mBodyView.getText());
69 mBodyView.setSelection(mBodyView.getText().length());
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DNameAutoCompletePreference.java90 return TextUtils.isEmpty(getText());
95 String text = getText();
H A DAutoCompleteEditTextPreference.java135 public String getText() { method in class:AutoCompleteEditTextPreference
144 editText.setText(getText());
153 editText.setSelection(editText.getText().length());
175 String value = mAutoCompleteTextView.getText().toString();
206 myState.text = getText();
/packages/apps/Settings/src/com/android/settings/
H A DApnEditor.java561 mName.setSummary(checkNull(mName.getText()));
562 mApn.setSummary(checkNull(mApn.getText()));
563 mProxy.setSummary(checkNull(mProxy.getText()));
564 mPort.setSummary(checkNull(mPort.getText()));
565 mUser.setSummary(checkNull(mUser.getText()));
566 mServer.setSummary(checkNull(mServer.getText()));
567 mPassword.setSummary(starify(mPassword.getText()));
568 mMmsProxy.setSummary(checkNull(mMmsProxy.getText()));
569 mMmsPort.setSummary(checkNull(mMmsPort.getText()));
570 mMmsc.setSummary(checkNull(mMmsc.getText()));
[all...]
H A DProxySelector.java97 String hostname = mHostnameField.getText().toString().trim();
98 String portStr = mPortField.getText().toString().trim();
99 String exclList = mExclusionListField.getText().toString().trim();
215 String hostname = mHostnameField.getText().toString().trim();
216 String portStr = mPortField.getText().toString().trim();
217 String exclList = mExclusionListField.getText().toString().trim();
275 Selection.selectAll((Spannable) textView.getText());
/packages/apps/Settings/src/com/android/settings/notification/
H A DZenRuleNameDialog.java76 return mEditText.getText() == null ? null : mEditText.getText().toString().trim();
/packages/apps/TV/src/com/android/tv/menu/
H A DActionCardView.java88 Log.d(TAG, "onSelected: action=" + mLabelView.getText());
95 Log.d(TAG, "onDeselected: action=" + mLabelView.getText());
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportPreviewActivity.java73 CharSequence text = mText.getText();
75 icicle.putString("text", mText.getText().toString());
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsSetTests.java63 final String switchToAlphaKeyLabel = textsSet.getText(
90 final String text = textsSet.getText(name);
/packages/services/Telephony/src/com/android/phone/
H A DPhoneDisplayMessage.java44 String title = (String)context.getText(R.string.network_info_message);
57 String title = (String)context.getText(R.string.network_error_message);
H A DEmergencyDialer.java165 mDigits.getText().clear();
329 if (TextUtils.isEmpty(mDigits.getText().toString())) {
472 mDigits.getText().clear();
574 mLastNumber = mDigits.getText().toString();
599 mDigits.getText().delete(0, mDigits.getText().length());
649 return getText(R.string.dial_emergency_empty_error).toString();
659 .setTitle(getText(R.string.emergency_enable_radio_dialog_title))
707 mDigits.getText().delete(currentPosition - 1, currentPosition);
715 for (Object o : mDigits.getText()
[all...]
H A DTimeConsumingPreferenceActivity.java65 dialog.setTitle(getText(R.string.updating_title));
72 dialog.setMessage(getText(R.string.reading_settings));
76 dialog.setMessage(getText(R.string.updating_settings));
124 builder.setTitle(getText(titleId));
125 builder.setMessage(getText(msgId));
/packages/apps/Music/src/com/android/music/
H A DMediaAppWidgetProvider.java72 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text));
126 errorState = res.getText(R.string.sdcard_busy_title);
128 errorState = res.getText(R.string.sdcard_busy_title_nosdcard);
132 errorState = res.getText(R.string.sdcard_missing_title);
134 errorState = res.getText(R.string.sdcard_missing_title_nosdcard);
137 errorState = res.getText(R.string.emptyplaylist);
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsMemDetail.java145 getResources().getText(R.string.mem_use_kernel_type), mMemKernelWeight);
147 getResources().getText(R.string.mem_use_zram_type), mMemZRamWeight);
149 getResources().getText(R.string.mem_use_native_type), mMemNativeWeight);
154 getResources().getText(R.string.mem_use_kernel_cache_type), mMemCachedWeight);
156 getResources().getText(R.string.mem_use_free_type), mMemFreeWeight);
158 getResources().getText(R.string.mem_use_total), mMemTotalWeight);
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DButtonActionDialogFragmentTest.java91 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
93 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
108 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
110 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
126 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
128 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/
H A DAnomalyDialogFragmentTest.java124 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
126 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
145 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
147 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
166 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo(
168 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo(
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java99 CharSequence text = context.getResources().getText(description);
118 .append(context.getResources().getText(guide));
224 spannable.append(r.getText(R.string.tip_to_step1));
233 spannable.append(r.getText(R.string.tip_to_step2_a));
241 spannable.append(r.getText(R.string.tip_to_step2_b));
250 spannable.append(r.getText(R.string.tip_to_step2_c));
259 spannable.append(r.getText(R.string.tip_to_step2_d));
271 spannable.append(r.getText(R.string.tip_to_step3_a));
290 spannable.append(r.getText(R.string.tip_to_step4));
299 spannable.append(r.getText(
[all...]
/packages/services/Telephony/src/com/android/phone/settings/fdn/
H A DEditFdnContactScreen.java271 return mNameField.getText().toString();
275 return mNumberField.getText().toString();
309 showStatus(getResources().getText(R.string.adding_fdn_contact));
334 showStatus(getResources().getText(R.string.updating_fdn_contact));
383 showStatus(getResources().getText(mAddContact ?
388 showStatus(getResources().getText(R.string.fdn_invalid_number));
391 showStatus(getResources().getText(R.string.fdn_enable_puk2_requested));
393 showStatus(getResources().getText(R.string.puk2_blocked));
397 showStatus(getResources().getText(R.string.pin2_or_fdn_invalid));
444 Selection.selectAll((Spannable) textView.getText());
[all...]
H A DFdnSetting.java113 String password = mButtonEnableFDN.getText();
158 mOldPin = mButtonChangePin2.getText();
169 mNewPin = mButtonChangePin2.getText();
181 if (!mNewPin.equals(mButtonChangePin2.getText())) {
196 mPuk2 = mButtonChangePin2.getText();
209 mNewPin = mButtonChangePin2.getText();
223 if (!mNewPin.equals(mButtonChangePin2.getText())) {
403 mButtonChangePin2.setDialogMessage(getText(msgId) + "\n" + getText(strId));
549 out.putString(DIALOG_PIN_ENTRY_KEY, mButtonChangePin2.getText());
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
H A DIntentSearchViewHolderTest.java109 assertThat(mHolder.titleView.getText()).isEqualTo(TITLE);
110 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY);
157 assertThat(mHolder.breadcrumbView.getText()).isEqualTo("a > b > c");
200 assertThat(mHolder.titleView.getText()).isEqualTo(TITLE);
201 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY);
220 assertThat(mHolder.titleView.getText()).isEqualTo(TITLE);
221 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY);
236 assertThat(mHolder.titleView.getText()).isEqualTo(TITLE);
237 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY);
/packages/apps/Dialer/java/com/android/dialer/widget/
H A DMessageFragment.java66 return customMessage == null ? null : customMessage.getText().toString();
108 if (!TextUtils.isEmpty(customMessage.getText())) {
109 getListener().onMessageFragmentSendMessage(customMessage.getText().toString());
112 customMessage.setText(((TextView) view).getText());
113 customMessage.setSelection(customMessage.getText().length());
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryAddWordContents.java68 // Use getText in case the edit text modified the text we set. This happens when
70 mWordEditText.setSelection(mWordEditText.getText().length());
99 outState.putString(EXTRA_WORD, mWordEditText.getText().toString());
102 outState.putString(EXTRA_SHORTCUT, mShortcutEditText.getText().toString());
126 final String newWord = mWordEditText.getText().toString();
131 final String tmpShortcut = mShortcutEditText.getText().toString();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
H A DKlpActionLabelTests.java123 textsSet.getText("label_go_key"));
127 textsSet.getText("label_send_key"));
129 textsSet.getText("label_next_key"));
131 textsSet.getText("label_done_key"));
133 textsSet.getText("label_previous_key"));

Completed in 5206 milliseconds

1234567891011>>