Home
last modified time | relevance | path

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

12345678910>>...14

/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/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 …]
DChangedContacts.java86 mChangeButton.setText("Changed since " + getLastTimestamp(0, PREF_KEY_CHANGE)); in onCreate()
95 mDeleteButton.setText("Deleted since " + getLastTimestamp(0, PREF_KEY_DELETE)); in onCreate()
208 mDisplayView.setText(data.getCount() + " change(s) since " + mSearchTime); in onLoadFinished()
221 mChangeButton.setText("Changed since " + timestamp); in onLoadFinished()
225 mDisplayView.setText(data.getCount() + " delete(s) since " + mSearchTime); in onLoadFinished()
235 mDeleteButton.setText("Deleted since " + timestamp); in onLoadFinished()
243 mDisplayView.setText(""); in onLoaderReset()
299 setText(item.getChildAt(0), id); in bindView()
300 setText(item.getChildAt(1), timestamp); in bindView()
332 setText(item.getChildAt(0), id); in bindView()
[all …]
DResourcesSample.java60 tv.setText(cs); in onCreate()
66 tv.setText(str); in onCreate()
81 tv.setText(cs); in onCreate()
DDocumentsSample.java68 multiple.setText("ALLOW_MULTIPLE"); in onCreate()
71 localOnly.setText("LOCAL_ONLY"); in onCreate()
76 button.setText("OPEN_DOC */*"); in onCreate()
95 button.setText("OPEN_DOC image/*"); in onCreate()
114 button.setText("OPEN_DOC audio/ogg"); in onCreate()
133 button.setText("OPEN_DOC text/plain, application/msword"); in onCreate()
154 button.setText("CREATE_DOC text/plain"); in onCreate()
171 button.setText("CREATE_DOC image/png"); in onCreate()
188 button.setText("GET_CONTENT */*"); in onCreate()
207 button.setText("OPEN_DOC_TREE"); in onCreate()
[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/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()
DFragmentHideShow.java49 button1.setText(fragment1.isHidden() ? "Show" : "Hide"); in onCreate()
53 button2.setText(fragment2.isHidden() ? "Show" : "Hide"); in onCreate()
65 button.setText("Hide"); in addShowHideListener()
68 button.setText("Show"); in addShowHideListener()
83 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
88 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
109 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
DMessengerServiceActivities.java50 mCallbackText.setText("Received from service: " + msg.arg1); in handleMessage()
75 mCallbackText.setText("Attached.");
105 mCallbackText.setText("Disconnected.");
120 mCallbackText.setText("Binding."); in doBindService()
142 mCallbackText.setText("Unbinding."); in doUnbindService()
164 mCallbackText.setText("Not attached."); 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()
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()
/development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/
DMainActivity.java281 mConnectivityText.setText(R.string.network_fast); in setUiState()
284 mConnectivityText.setText(R.string.network_slow); in setUiState()
289 mButtonText.setText(R.string.button_request_network); in setUiState()
290 mInfoText.setText(R.string.info_request_network); in setUiState()
296 mConnectivityText.setText(R.string.network_connecting); in setUiState()
307 mConnectivityText.setText(R.string.network_fast); in setUiState()
310 mConnectivityText.setText(R.string.network_slow); in setUiState()
319 mButtonText.setText(R.string.button_release_network); in setUiState()
320 mInfoText.setText(R.string.info_release_network); in setUiState()
326 mConnectivityText.setText(R.string.network_disconnected); in setUiState()
[all …]
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java122 mMimeTypes.setText(""); in onCommitContent()
123 mContentUri.setText(""); in onCommitContent()
124 mLabel.setText(""); in onCommitContent()
125 mLinkUri.setText(""); in onCommitContent()
126 mFlags.setText(""); in onCommitContent()
152 mMimeTypes.setText( in onCommitContentInternal()
154 mContentUri.setText(inputContentInfo.getContentUri().toString()); in onCommitContentInternal()
155 mLabel.setText(inputContentInfo.getDescription().getLabel()); in onCommitContentInternal()
157 mLinkUri.setText(linkUri != null ? linkUri.toString() : "null"); in onCommitContentInternal()
158 mFlags.setText(flagsToString(flags)); in onCommitContentInternal()
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/
DMainActivity.java292 mTimeTextView.setText(sDateFormat.format(new Date())); in loadDataAndUpdateScreen()
293 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs)); in loadDataAndUpdateScreen()
295 mStateTextView.setText(getString(R.string.mode_ambient_label)); in loadDataAndUpdateScreen()
296 mUpdateRateTextView.setText( in loadDataAndUpdateScreen()
299 mDrawCountTextView.setText(getString(R.string.draw_count_label, mDrawCount)); in loadDataAndUpdateScreen()
302 mTimeTextView.setText(sDateFormat.format(new Date())); in loadDataAndUpdateScreen()
303 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs)); in loadDataAndUpdateScreen()
305 mStateTextView.setText(getString(R.string.mode_active_label)); in loadDataAndUpdateScreen()
306 mUpdateRateTextView.setText( in loadDataAndUpdateScreen()
309 mDrawCountTextView.setText(getString(R.string.draw_count_label, mDrawCount)); in loadDataAndUpdateScreen()
/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()
/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/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/browseable/NetworkConnect/src/com.example.android.networkconnect/
DMainActivity.java74 mDataText.setText(""); in onOptionsItemSelected()
91 mDataText.setText(result); in updateFromDownload()
93 mDataText.setText(getString(R.string.connection_error)); in updateFromDownload()
124 mDataText.setText("" + percentComplete + "%"); in onProgressUpdate()
/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/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DSimpleTextFragment.java62 mTextView.setText(mText); in onCreateView()
76 public void setText(int stringId) { in setText() method in SimpleTextFragment
77 getTextView().setText(getActivity().getString(stringId)); in setText()
/development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
DMainActivity.java50 ab.addTab(ab.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
51 ab.addTab(ab.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
52 ab.addTab(ab.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DMainActivity.java95 mBooleanEntryValue.setText(booleanRestrictionValue); in onResume()
102 mChoiceEntryValue.setText(singleChoiceRestrictionValue); in onResume()
108 mMultiEntryValue.setText(getString(R.string.na)); in onResume()
114 mMultiEntryValue.setText(tempValue); in onResume()

12345678910>>...14