Searched refs:getText (Results 1 - 25 of 175) sorted by relevance

1234567

/packages/apps/Tag/tests/src/com/android/apps/tag/record/
H A DTextRecordTest.java40 assertEquals("Some random english text.", record.getText());
47 assertEquals("hello", textRecord.getText());
54 assertEquals("Hello", textRecord.getText());
61 assertEquals(I18N, textRecord.getText());
68 assertEquals(I18N, textRecord.getText());
/packages/apps/Calculator/src/com/android/calculator2/
H A DLogic.java66 private String getText() { method in class:Logic
67 return mDisplay.getText().toString();
79 mDisplay.setText(mHistory.getText(),
97 String text = getText();
105 if (getText().equals(mResult) || mIsError) {
118 String text = getText();
140 String text = getText();
145 mDisplay.setText(mHistory.getText(), CalculatorDisplay.Scroll.DOWN);
150 String text = getText();
155 mDisplay.setText(mHistory.getText(), CalculatorDispla
[all...]
H A DCalculatorDisplay.java135 editor.getText().insert(cursor, delta);
142 Editable getText() { method in class:CalculatorDisplay
144 return text.getText();
148 if (getText().length() == 0) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java144 mReadEditText.setText(((TextView)sFocusingView).getText());
145 mCandidateEditText.setText(((TextView)sFocusingPairView).getText());
150 mBeforeEditWnnWord.stroke = ((TextView)sFocusingView).getText().toString();
151 mBeforeEditWnnWord.candidate = ((TextView)sFocusingPairView).getText().toString();
190 if ((mReadEditText.getText().toString().length() != 0) &&
191 (mCandidateEditText.getText().toString().length() != 0)) {
206 if ((mReadEditText.getText().toString().length() != 0) &&
207 (mCandidateEditText.getText().toString().length() != 0)) {
250 String stroke = mReadEditText.getText().toString();
251 String candidate = mCandidateEditText.getText()
[all...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DViewHelper.java38 String getText(int viewId) { method in class:ViewHelper
39 return ((TextView) mView.findViewById(viewId)).getText().toString();
/packages/apps/Tag/tests/src/com/android/apps/tag/
H A DSmartPosterTest.java32 assertEquals("NFC Forum Type 4 Tag", poster.getTitle().getText());
/packages/apps/Settings/src/com/android/settings/
H A DDebugIntentSender.java44 String intentAction = mIntentField.getText().toString();
45 String intentData = mDataField.getText().toString();
46 String account = mAccountField.getText().toString();
47 String resource = mResourceField.getText().toString();
74 Selection.selectAll((Spannable) mIntentField.getText());
H A DApnEditor.java248 mName.setSummary(checkNull(mName.getText()));
249 mApn.setSummary(checkNull(mApn.getText()));
250 mProxy.setSummary(checkNull(mProxy.getText()));
251 mPort.setSummary(checkNull(mPort.getText()));
252 mUser.setSummary(checkNull(mUser.getText()));
253 mServer.setSummary(checkNull(mServer.getText()));
254 mPassword.setSummary(starify(mPassword.getText()));
255 mMmsProxy.setSummary(checkNull(mMmsProxy.getText()));
256 mMmsPort.setSummary(checkNull(mMmsPort.getText()));
257 mMmsc.setSummary(checkNull(mMmsc.getText()));
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DEnableFdnScreen.java75 setTitle(getResources().getText(id));
106 return mPin2Field.getText().toString();
118 showStatus(getResources().getText(mEnable ?
124 showStatus(getResources().getText(
137 if (TextUtils.isEmpty(mPin2Field.getText())) {
141 showStatus(getResources().getText(
H A DEnableIccPinScreen.java75 setTitle(getResources().getText(id));
100 return mPinField.getText().toString();
113 showStatus(getResources().getText(
119 showStatus(getResources().getText(
132 if (TextUtils.isEmpty(mPinField.getText())) {
136 showStatus(getResources().getText(
H A DGetPin2Screen.java59 return mPin2Field.getText().toString();
77 if (TextUtils.isEmpty(mPin2Field.getText())) {
H A DTimeConsumingPreferenceActivity.java45 dialog.setTitle(getText(R.string.updating_title));
52 dialog.setMessage(getText(R.string.reading_settings));
56 dialog.setMessage(getText(R.string.updating_settings));
95 b.setTitle(getText(titleId));
96 b.setMessage(getText(msgId));
H A DChangeIccPinScreen.java135 setTitle(getResources().getText(id));
180 String oldPin = mOldPin.getText().toString();
181 String newPin1 = mNewPin1.getText().toString();
182 String newPin2 = mNewPin2.getText().toString();
189 mNewPin1.getText().clear();
190 mNewPin2.getText().clear();
228 mPhone.getIccCard().supplyPuk2(mPUKCode.getText().toString(),
229 mNewPin1.getText().toString(),
257 mOldPin.getText().clear();
272 mPUKCode.getText()
[all...]
H A DEditFdnContactScreen.java250 return mNameField.getText().toString();
254 return mNumberField.getText().toString();
289 showStatus(getResources().getText(R.string.adding_fdn_contact));
311 showStatus(getResources().getText(R.string.updating_fdn_contact));
360 showStatus(getResources().getText(mAddContact ?
365 showStatus(getResources().getText(R.string.fdn_invalid_number));
367 showStatus(getResources().getText(R.string.pin2_invalid));
403 Selection.selectAll((Spannable) textView.getText());
H A DFdnSetting.java100 String password = mButtonEnableFDN.getText();
141 mOldPin = mButtonChangePin2.getText();
152 mNewPin = mButtonChangePin2.getText();
164 if (!mNewPin.equals(mButtonChangePin2.getText())) {
184 String puk2 = mButtonChangePin2.getText();
316 mButtonChangePin2.setDialogMessage(getText(msgId) + "\n" + getText(strId));
431 out.putString(DIALOG_PIN_ENTRY_KEY, mButtonChangePin2.getText());
/packages/apps/Browser/src/com/android/browser/
H A DHistoryItem.java60 item.mTextView.setText(mTextView.getText());
61 item.mUrlText.setText(mUrlText.getText());
H A DBookmarkItem.java60 item.mTextView.setText(mTextView.getText());
61 item.mUrlText.setText(mUrlText.getText());
H A DAddBookmarkPage.java175 String title = mTitle.getText().toString().trim();
177 BrowserActivity.fixUrl(mAddress.getText().toString());
183 mTitle.setError(r.getText(R.string.bookmark_needs_title));
186 mAddress.setError(r.getText(R.string.bookmark_needs_url));
203 mAddress.setError(r.getText(R.string.bookmark_cannot_save_url));
219 mAddress.setError(r.getText(R.string.bookmark_url_not_valid));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DAppsCorpus.java47 return getContext().getText(R.string.corpus_label_apps);
52 return getContext().getText(R.string.corpus_hint_apps);
72 return getContext().getText(R.string.corpus_description_apps);
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/
H A DSyncActivityTooManyDeletes.java64 getResources().getText(R.string.sync_really_delete),
65 getResources().getText(R.string.sync_undo_deletes),
66 getResources().getText(R.string.sync_do_nothing)
81 getResources().getText(R.string.sync_too_many_deletes_desc);
/packages/apps/Contacts/src/com/android/contacts/
H A DSearchEditText.java46 boolean emptyText = TextUtils.isEmpty(getText());
/packages/apps/Email/src/com/android/email/mail/internet/
H A DTextBody.java46 public String getText() { method in class:TextBody
/packages/apps/Nfc/src/com/android/nfc/
H A DTechListChooserActivity.java43 CharSequence title = getResources().getText(com.android.internal.R.string.chooseActivity);
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportPreviewActivity.java74 CharSequence text = mText.getText();
76 icicle.putString("text", mText.getText().toString());
/packages/apps/Music/src/com/android/music/
H A DMediaAppWidgetProvider.java71 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text));
125 errorState = res.getText(R.string.sdcard_busy_title);
127 errorState = res.getText(R.string.sdcard_busy_title_nosdcard);
131 errorState = res.getText(R.string.sdcard_missing_title);
133 errorState = res.getText(R.string.sdcard_missing_title_nosdcard);
136 errorState = res.getText(R.string.emptyplaylist);

Completed in 1201 milliseconds

1234567