Home
last modified time | relevance | path

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

123456

/development/apps/Development/src/com/android/development/
DShowActivity.java88 mLaunch.setText(getText(R.string.launch_multiple)); in onCreate()
91 mLaunch.setText(getText(R.string.launch_singleTop)); in onCreate()
94 mLaunch.setText(getText(R.string.launch_singleTask)); in onCreate()
97 mLaunch.setText(getText(R.string.launch_singleInstance)); in onCreate()
100 mLaunch.setText(getText(R.string.launch_unknown)); in onCreate()
104 ? mActivityInfo.taskAffinity : getText(R.string.none)); in onCreate()
106 ? mActivityInfo.permission : getText(R.string.none)); in onCreate()
109 ? getText(R.string.yes) : getText(R.string.no)); in onCreate()
112 ? getText(R.string.yes) : getText(R.string.no)); in onCreate()
115 ? getText(R.string.yes) : getText(R.string.no)); in onCreate()
DLogTextBox.java64 public Editable getText() { in getText() method in LogTextBox
65 return (Editable) super.getText(); in getText()
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java62 Log.d(TAG, "onGetSuggestions: " + textInfo.getText()); in onGetSuggestions()
64 final String input = textInfo.getText(); in onGetSuggestions()
98 Log.d(TAG, "onGetSentenceSuggestionsMultiple: " + ti.getText()); in onGetSentenceSuggestionsMultiple()
100 final String input = ti.getText(); in onGetSentenceSuggestionsMultiple()
131 lengths = new int[] { ti.getText().length() }; in onGetSentenceSuggestionsMultiple()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java98 CharSequence text = getText(); in onInitializeAccessibilityNodeInfo()
110 CharSequence text = getText(); in onPopulateAccessibilityEvent()
112 event.getText().add(text); in onPopulateAccessibilityEvent()
166 CharSequence text = getText(); in tryInstallAccessibilityDelegate()
178 CharSequence text = getText(); in tryInstallAccessibilityDelegate()
180 event.getText().add(text); in tryInstallAccessibilityDelegate()
234 public CharSequence getText() { in getText() method in CustomViewAccessibilityActivity.BaseToggleButton
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServerService.java79 setContentTitle(getText(R.string.notification_title)). in createNotification()
80 setContentText(getText(R.string.notification_message)). in createNotification()
82 setTicker(getText(R.string.ticker_text)). in createNotification()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java60 .putExtra(prefix + ".ADDRESS", mServerAddress.getText().toString()) in onActivityResult()
61 .putExtra(prefix + ".PORT", mServerPort.getText().toString()) in onActivityResult()
62 .putExtra(prefix + ".SECRET", mSharedSecret.getText().toString()); in onActivityResult()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java123 dialog.setMessage(getText(R.string.ui_activity_authenticating)); in onCreateDialog()
150 mUsername = mUsernameEdit.getText().toString(); in handleLogin()
152 mPassword = mPasswordEdit.getText().toString(); in handleLogin()
237 mMessage.setText(getText(R.string.login_activity_loginfail_text_both)); in onAuthenticationResult()
242 mMessage.setText(getText(R.string.login_activity_loginfail_text_pwonly)); in onAuthenticationResult()
265 final CharSequence msg = getText(R.string.login_activity_newaccount_text); in getMessage()
270 return getText(R.string.login_activity_loginfail_text_pwmissing); in getMessage()
/development/samples/ApiDemos/src/com/example/android/apis/text/
DLogTextBox.java56 public Editable getText() { in getText() method in LogTextBox
57 return (Editable) super.getText(); in getText()
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson3/
DClickFunActivityTest.java94 final String actualNextButtonText = mClickMeButton.getText().toString(); in testClickMeButton_labelText()
111 assertEquals("", mInfoTextView.getText()); in testInfoTextViewText_isEmpty()
122 assertEquals(expectedInfoText, mInfoTextView.getText()); in testClickMeButton_clickButtonAndExpectInfoText()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java38 mText = mActivity.getResources().getText(resId); in setText()
66 public CharSequence getText() { in getText() method in CompatTabEclair
/development/samples/ApiDemos/src/com/example/android/apis/content/
DResourcesSample.java58 cs = getText(R.string.styled_text); in onCreate()
79 cs = res.getText(R.string.styled_text); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java98 if (TextUtils.isEmpty(recipientTextEdit.getText())) { in onCreate()
104 if (TextUtils.isEmpty(contentTextEdit.getText())) { in onCreate()
115 List<String> messages = sms.divideMessage(contentTextEdit.getText().toString()); in onCreate()
117 String recipient = recipientTextEdit.getText().toString(); in onCreate()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java124 String sender = mSenderNumber.getText().toString(); in buildVoicemailObjectFromUiElements()
125 String dateStr = mTime.getText().toString(); in buildVoicemailObjectFromUiElements()
126 String durationStr = mDuration.getText().toString(); in buildVoicemailObjectFromUiElements()
127 String mimeType = mMimeType.getText().toString(); in buildVoicemailObjectFromUiElements()
128 String sourcePackageName = mProviderPackage.getText().toString(); in buildVoicemailObjectFromUiElements()
/development/samples/training/notify-user/src/com/example/android/pingme/
DMainActivity.java48 String message = msgText.getText().toString(); in onPingClick()
56 String input = editText.getText().toString(); in onPingClick()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java109 checkInTitle = new SpannableString(getText(R.string.android_building_title)); in postNotificationForGeofenceId()
113 checkInTitle = new SpannableString(getText(R.string.yerba_buena_title)); in postNotificationForGeofenceId()
133 getText(R.string.check_in_prompt), checkInIntent); in postNotificationForGeofenceId()
137 .setContentText(getText(R.string.check_in_prompt)) in postNotificationForGeofenceId()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DCustomTitle.java76 leftText.setText(leftTextEdit.getText()); in onCreate()
81 rightText.setText(rightTextEdit.getText()); in onCreate()
DReceiveResult.java91 mResults.setText(mResults.getText(), TextView.BufferType.EDITABLE); in onCreate()
116 Editable text = (Editable)mResults.getText(); in onActivityResult()
DLocalService.java102 CharSequence text = getText(R.string.local_service_started); in showNotification()
113 notification.setLatestEventInfo(this, getText(R.string.local_service_label), in showNotification()
DStatusBarNotifications.java195 CharSequence text = getText(textId); in setMood()
205 notification.setLatestEventInfo(this, getText(R.string.status_bar_notifications_mood_title), in setMood()
224 CharSequence text = getText(textId); in setMoodView()
249 CharSequence text = getText(R.string.status_bar_notifications_happy_message); in setDefault()
258 getText(R.string.status_bar_notifications_mood_title), in setDefault()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DAddRssItem.java38 String title = ((TextView) findViewById(R.id.title_textbox)).getText().toString();
39 String url = ((TextView) findViewById(R.id.url_textbox)).getText().toString();
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java277 setTitle(getText(R.string.title_create)); in onResume()
303 setTitle(getText(R.string.error_title)); in onResume()
304 mText.setText(getText(R.string.error_message)); in onResume()
348 String text = mText.getText().toString(); in onPause()
414 String currentNote = mText.getText().toString(); in onPrepareOptionsMenu()
437 String text = mText.getText().toString(); in onOptionsItemSelected()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java139 doRSS(mUrlText.getText()); in onCreate()
427 outState.putString(URL_KEY, mUrlText.getText().toString()); in onSaveInstanceState()
430 outState.putCharSequence(STATUS_KEY, mStatusText.getText()); in onSaveInstanceState()
500 title = xpp.getText(); in parseRSS()
503 link = xpp.getText(); in parseRSS()
506 description = xpp.getText(); in parseRSS()
/development/samples/SkeletonApp/src/com/example/android/skeletonapp/
DSkeletonActivity.java60 mEditor.setText(getText(R.string.main_label)); in onCreate()
96 menu.findItem(CLEAR_ID).setVisible(mEditor.getText().length() > 0); in onPrepareOptionsMenu()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNoteEdit.java63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNoteEdit.java63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()

123456