Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 142) 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/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java73 if (!checkProxyConfigs(proxyHost.getText().toString(), in onCreate()
74 proxyPort.getText().toString())) { in onCreate()
79 Arrays.stream(packages.getText().toString().split(",")) in onCreate()
89 serverPortNum = Integer.parseInt(serverPort.getText().toString()); in onCreate()
95 proxyPortNum = Integer.parseInt(proxyPort.getText().toString()); in onCreate()
100 .putString(Prefs.SERVER_ADDRESS, serverAddress.getText().toString()) in onCreate()
102 .putString(Prefs.SHARED_SECRET, sharedSecret.getText().toString()) in onCreate()
103 .putString(Prefs.PROXY_HOSTNAME, proxyHost.getText().toString()) in onCreate()
/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()
99 Log.d(TAG, "onGetSentenceSuggestionsMultiple: " + ti.getText()); in onGetSentenceSuggestionsMultiple()
101 final String input = ti.getText(); in onGetSentenceSuggestionsMultiple()
133 lengths = new int[] { ti.getText().length() }; in onGetSentenceSuggestionsMultiple()
/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/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/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()
DProcessText.java29 edit.setSelection(edit.getText().length()); in onCreate()
47 intent.putExtra(Intent.EXTRA_PROCESS_TEXT, edit.getText()); in finish()
/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/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/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/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.java101 CharSequence text = getText(R.string.local_service_started); in showNotification()
112 .setContentTitle(getText(R.string.local_service_label)) // the label of the entry in showNotification()
DStatusBarNotifications.java195 CharSequence text = getText(textId); in setMood()
198 CharSequence title = getText(R.string.status_bar_notifications_mood_title); in setMood()
229 CharSequence text = getText(textId); in setMoodView()
252 CharSequence text = getText(R.string.status_bar_notifications_happy_message); in setDefault()
255 CharSequence title = getText(R.string.status_bar_notifications_mood_title); in setDefault()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java108 checkInTitle = new SpannableString(getText(R.string.android_building_title)); in postNotificationForGeofenceId()
112 checkInTitle = new SpannableString(getText(R.string.yerba_buena_title)); in postNotificationForGeofenceId()
132 getText(R.string.check_in_prompt), checkInIntent); in postNotificationForGeofenceId()
136 .setContentText(getText(R.string.check_in_prompt)) in postNotificationForGeofenceId()
/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/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/samples/NotePad/src/com/example/android/notepad/
DTitleEditor.java165 if (!TextUtils.isEmpty(mText.getText())) { in saveTitle()
167 String newTitle = mText.getText().toString(); in saveTitle()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java239 final boolean canSearch = mAcSearchQuery.getText().length() > 0; in refreshUi()
366 return mAcCommandLine.getText().toString().trim(); in getCommandLine()
419 edit.getText().replace(Math.min(start, end), Math.max(start, end), in insertText()
471 final String query = mAcSearchQuery.getText().toString(); in doFindNextOrPrev()
505 mRegexpHistory.add(mAcPattern.getText().toString().trim()); in startCommand()
589 final int before = Utils.parseInt(mAcBeforeContext.getText().toString(), 0); in buildCommandLine()
590 final int after = Utils.parseInt(mAcAfterContext.getText().toString(), 0); in buildCommandLine()
591 final int head = Utils.parseInt(mAcHead.getText().toString(), 0); in buildCommandLine()
592 final int tail = Utils.parseInt(mAcTail.getText().toString(), 0); in buildCommandLine()
595 final String regexp = mAcPattern.getText().toString(); in buildCommandLine()
/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()

123456