Home
last modified time | relevance | path

Searched refs:setText (Results 1 – 25 of 212) sorted by relevance

123456789

/development/apps/Development/src/com/android/development/
DShowActivity.java75 mPackage.setText(mActivityInfo.applicationInfo.packageName); in onCreate()
79 mClass.setText(mActivityInfo.name.substring( in onCreate()
82 mClass.setText(mActivityInfo.name); in onCreate()
85 mLabel.setText("\"" + (label != null ? label : "") + "\""); in onCreate()
88 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()
102 mProcess.setText(mActivityInfo.processName); in onCreate()
[all …]
DPackageSummary.java98 mPackage.setText(info.packageName); in onCreate()
121 mUid.setText(Integer.toString(info.applicationInfo.uid)); in onCreate()
122 mProcess.setText(info.applicationInfo.processName); in onCreate()
124 mVersion.setText(info.versionName + " (#" + info.versionCode + ")"); in onCreate()
126 mVersion.setText("(#" + info.versionCode + ")"); in onCreate()
128 mSource.setText(info.applicationInfo.sourceDir); in onCreate()
129 mData.setText(info.applicationInfo.dataDir); in onCreate()
131 mTask.setText("\"" + info.applicationInfo.taskAffinity + "\""); in onCreate()
133 mTask.setText("(No Task Affinity)"); in onCreate()
138 mClass.setText(appClass.substring(info.packageName.length())); in onCreate()
[all …]
DSyncAdapterDriver.java164 mStatusTextView.setText( in startSync()
172 mStatusTextView.setText( in startSync()
189 mStatusTextView.setText(getString(R.string.status_canceled_sync)); in cancelSync()
192 mStatusTextView.setText( in cancelSync()
235 mBoundAdapterTextView.setText(getString(R.string.binding_connected_format, in onServiceConnected()
241 mBoundAdapterTextView.setText(getString(R.string.binding_not_connected)); in onServiceDisconnected()
255 mStatusTextView.setText(getString(R.string.status_received_heartbeat)); in uiThreadSendHeartbeat()
260 mStatusTextView.setText( in uiThreadOnFinished()
263 mStatusTextView.setText( in uiThreadOnFinished()
283 mStatusTextView.setText(getString(R.string.status_already_bound)); in initiateBind()
[all …]
/development/samples/Obb/src/com/example/android/obbapp/
DObbMountActivity.java68 mStatus.setText(state.status); in onCreate()
69 mPath.setText(state.path); in onCreate()
82 mStatus.setText(String.valueOf(state));
84 mPath.setText(mSM.getMountedObbPath(mObbPath));
86 mPath.setText("");
101 mStatus.setText(R.string.attempting_mount);
103 mStatus.setText(R.string.failed_to_start_mount);
106 mStatus.setText(R.string.obb_already_mounted);
119 mStatus.setText(R.string.attempting_unmount);
121 mStatus.setText(R.string.failed_to_start_unmount);
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/content/
DClipboardSample.java69 tv.setText(mStyledText); in onCreate()
73 tv.setText(mPlainText); in onCreate()
78 tv.setText(mHtmlText); in onCreate()
133 mMimeTypes.setText(""); in updateClipData()
141 mMimeTypes.setText("NULL"); in updateClipData()
167 mDataText.setText("(No data)"); in updateClipData()
170 mDataText.setText(item.getText()); in updateClipData()
173 mDataText.setText(item.getHtmlText()); in updateClipData()
176 mDataText.setText(item.getIntent().toUri(0)); in updateClipData()
179 mDataText.setText(item.getUri().toString()); in updateClipData()
[all …]
DResourcesSample.java60 tv.setText(cs); in onCreate()
66 tv.setText(str); in onCreate()
81 tv.setText(cs); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSearchQueryResults.java59 mDeliveredByText.setText("onCreate(), but no ACTION_SEARCH intent"); in onCreate()
81 mDeliveredByText.setText("onNewIntent(), but no ACTION_SEARCH intent"); in onNewIntent()
95 mQueryText.setText(queryString); in doSearchQuery()
108 mAppDataText.setText("<no app data bundle>"); in doSearchQuery()
112 mAppDataText.setText((testStr == null) ? "<no app data>" : testStr); in doSearchQuery()
116 mDeliveredByText.setText(entryPoint); in doSearchQuery()
DMessengerServiceActivities.java49 mCallbackText.setText("Received from service: " + msg.arg1); in handleMessage()
74 mCallbackText.setText("Attached.");
104 mCallbackText.setText("Disconnected.");
119 mCallbackText.setText("Binding."); in doBindService()
141 mCallbackText.setText("Unbinding."); in doUnbindService()
163 mCallbackText.setText("Not attached."); in onCreate()
DFragmentHideShow.java59 button.setText("Hide"); in addShowHideListener()
62 button.setText("Show"); in addShowHideListener()
77 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
82 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
103 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
DSaveRestoreState.java81 ((TextView)findViewById(R.id.msg)).setText(R.string.save_restore_msg); in onCreate()
95 ((EditText)findViewById(R.id.saved)).setText(text); in setSavedText()
DIncomingMessageView.java47 ((TextView)findViewById(R.id.from)).setText( in onCreate()
49 ((TextView)findViewById(R.id.message)).setText( in onCreate()
DFragmentNestingTabs.java43 .setText("Menus") in onCreate()
47 .setText("Args") in onCreate()
51 .setText("Stack") in onCreate()
55 .setText("Tabs") in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList13.java105 text.setText(mStrings[position]); in getView()
109 text.setText("Loading..."); in getView()
123 mStatus.setText("Idle"); in onCreate()
148 t.setText(mStrings[first + i]); in onScrollStateChanged()
153 mStatus.setText("Idle"); in onScrollStateChanged()
157 mStatus.setText("Touch scroll"); in onScrollStateChanged()
161 mStatus.setText("Fling"); in onScrollStateChanged()
DGridLayout3.java67 c.setText("Email setup"); in create()
73 c.setText("You can configure email in a few simple steps:"); in create()
78 c.setText("Email address:"); in create()
89 c.setText("Password:"); in create()
100 c.setText("Manual setup"); in create()
105 c.setText("Next"); in create()
DSeekBar1.java49 mProgressText.setText(progress + " " + in onProgressChanged()
54 mTrackingText.setText(getString(R.string.seekbar_tracking_on)); in onStartTrackingTouch()
58 mTrackingText.setText(getString(R.string.seekbar_tracking_off)); in onStopTrackingTouch()
DList4.java127 mTitle.setText(title); in SpeechView()
132 mDialogue.setText(words); in SpeechView()
141 mTitle.setText(title); in setTitle()
148 mDialogue.setText(words); in setDialogue()
DList6.java376 mTitle.setText(title); in SpeechView()
380 mDialogue.setText(dialogue); in SpeechView()
390 mTitle.setText(title); in setTitle()
397 mDialogue.setText(words); in setDialogue()
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DTechFilter.java41 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); in onCreate()
43 mText.setText("Scan a tag"); in onCreate()
49 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); in onNewIntent()
DForegroundNdefPush.java50 mText.setText("Tap another Android phone with NFC to push a URL"); in onCreate()
52 mText.setText("This phone is not NFC enabled."); in onCreate()
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoy.java93 mButton.setText("PLAY!"); in onClick()
96 mTextView.setText(R.string.helpText); in onClick()
111 mTextView.setText(R.string.helpText); in onClick()
113 mButton.setText("PLAY!"); in onClick()
118 mButton.setText("PLAY!"); in onClick()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DDeviceDetailFragment.java127 statusText.setText("Sending: " + uri); in onActivityResult()
148 view.setText(getResources().getString(R.string.group_owner_text) in onConnectionInfoAvailable()
154 view.setText("Group Owner IP - " + info.groupOwnerAddress.getHostAddress()); in onConnectionInfoAvailable()
166 ((TextView) mContentView.findViewById(R.id.status_text)).setText(getResources() in onConnectionInfoAvailable()
183 view.setText(device.deviceAddress); in showDetails()
185 view.setText(device.toString()); in showDetails()
195 view.setText(R.string.empty); in resetViews()
197 view.setText(R.string.empty); in resetViews()
199 view.setText(R.string.empty); in resetViews()
201 view.setText(R.string.empty); in resetViews()
[all …]
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java147 mPasswordLengthInputField.setText(String.valueOf(mPolicy.getPasswordLength())); in initPolicySetupScreen()
149 mPasswordLengthInputField.setText(""); in initPolicySetupScreen()
153 mPasswordMinUppercaseInputField.setText( in initPolicySetupScreen()
156 mPasswordMinUppercaseInputField.setText(""); in initPolicySetupScreen()
168 passwordQualityView.setText( in initViewPolicyScreen()
170 passwordLengthView.setText(String.valueOf(mPolicy.getPasswordLength())); in initViewPolicyScreen()
175 ((TextView) findViewById(R.id.policy_password_uppercase)).setText( in initViewPolicyScreen()
251 setupMessage.setText(messageResId); in setupNavigation()
253 actionBtn.setText(buttonTextResId); in setupNavigation()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentHideShowSupport.java60 button.setText("Hide"); in addShowHideListener()
63 button.setText("Show"); in addShowHideListener()
78 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
83 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
104 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
/development/samples/SkeletonApp/src/com/example/android/skeletonapp/
DSkeletonActivity.java60 mEditor.setText(getText(R.string.main_label)); in onCreate()
111 mEditor.setText(""); in onOptionsItemSelected()
132 mEditor.setText("");
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java47 viewMethods.setText(sbMethods.toString()); in printStatus()
56 viewStatus.setText(sbStatus.toString()); in printStatus()

123456789