Home
last modified time | relevance | path

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

12345678910>>...16

/packages/apps/Contacts/tests/src/com/android/contacts/format/
DPrefixHighligherTest.java46 mView.setText("", TextView.BufferType.SPANNABLE); in setUp()
50 mPrefixHighlighter.setText(mView, "", new char[0]); in testSetText_EmptyPrefix()
53 mPrefixHighlighter.setText(mView, "test", new char[0]); in testSetText_EmptyPrefix()
58 mPrefixHighlighter.setText(mView, "test", "TE".toCharArray()); in testSetText_MatchingPrefix()
61 mPrefixHighlighter.setText(mView, "Test", "TE".toCharArray()); in testSetText_MatchingPrefix()
64 mPrefixHighlighter.setText(mView, "TEst", "TE".toCharArray()); in testSetText_MatchingPrefix()
67 mPrefixHighlighter.setText(mView, "a test", "TE".toCharArray()); in testSetText_MatchingPrefix()
72 mPrefixHighlighter.setText(mView, "test", "TA".toCharArray()); in testSetText_NotMatchingPrefix()
77 mPrefixHighlighter.setText(mView, "a test's tests are not tests", "TE".toCharArray()); in testSetText_FirstMatch()
83 mPrefixHighlighter.setText(mView, "atest", "TE".toCharArray()); in testSetText_NoMatchingMiddleOfWord()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java180 mBSSID.setText(wifiInfo.getBSSID());
181 mHiddenSSID.setText(String.valueOf(wifiInfo.getHiddenSSID()));
189 mIPAddr.setText(ipBuf);
190 mLinkSpeed.setText(String.valueOf(wifiInfo.getLinkSpeed())+" Mbps");
191 mMACAddr.setText(wifiInfo.getMacAddress());
192 mNetworkId.setText(String.valueOf(wifiInfo.getNetworkId()));
193 mRSSI.setText(String.valueOf(wifiInfo.getRssi()));
194 mSSID.setText(wifiInfo.getSSID());
203 mSupplicantState.setText("FOUR WAY HANDSHAKE"); in setSupplicantStateText()
205 mSupplicantState.setText("ASSOCIATED"); in setSupplicantStateText()
[all …]
DWifiSettingsForSetupWizardXL.java336 mConnectingStatusView.setText(R.string.wifi_setup_description_connected); in showConnectedState()
341 mBackButton.setText(R.string.wifi_setup_back); in showConnectedState()
347 mTitleView.setText(getString(R.string.wifi_setup_title)); in showDefaultTitle()
352 mTitleView.setText(R.string.wifi_setup_title_add_network); in showAddNetworkTitle()
365 mTitleView.setText(getString(R.string.wifi_setup_title_editing_network, mNetworkName)); in showEditingTitle()
378 mTitleView.setText(getString(R.string.wifi_setup_title_connecting_network, mNetworkName)); in showConnectingTitle()
391 mTitleView.setText(getString(R.string.wifi_setup_title_connected_network, mNetworkName)); in showConnectedTitle()
470 mConnectButton.setText(R.string.wifi_connect); in showConfigUi()
471 mBackButton.setText(R.string.wifi_setup_cancel); in showConfigUi()
534 mBackButton.setText(R.string.wifi_setup_back); in onEapNetworkSelected()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactListEmptyView.java58 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers)); in show()
60 empty.setText(context.getText(R.string.noFavoritesHelpText)); in show()
62 empty.setText(context.getText(R.string.noMatchingContacts)); in show()
65 empty.setText(context.getText(R.string.no_contacts_selected)); in show()
67 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers)); in show()
76 empty.setText( in show()
79 empty.setText(context.getText(R.string.noContactsHelpTextWithSync)); in show()
81 empty.setText(context.getText(R.string.noContactsNoSimHelpTextWithSync)); in show()
86 empty.setText(context.getText(R.string.noContactsHelpTextForCreateShortcut)); in show()
88 empty.setText(context.getText(R.string.noContactsHelpText)); in show()
[all …]
/packages/apps/Browser/src/com/android/browser/
DAutoFillSettingsFragment.java161 mFullNameEdit.setText(""); in onOptionsItemSelected()
162 mEmailEdit.setText(""); in onOptionsItemSelected()
163 mCompanyEdit.setText(""); in onOptionsItemSelected()
164 mAddressLine1Edit.setText(""); in onOptionsItemSelected()
165 mAddressLine2Edit.setText(""); in onOptionsItemSelected()
166 mCityEdit.setText(""); in onOptionsItemSelected()
167 mStateEdit.setText(""); in onOptionsItemSelected()
168 mZipEdit.setText(""); in onOptionsItemSelected()
169 mCountryEdit.setText(""); in onOptionsItemSelected()
170 mPhoneEdit.setText(""); in onOptionsItemSelected()
[all …]
/packages/apps/Settings/src/com/android/settings/
DBatteryInfo.java85 mLevel.setText("" + intent.getIntExtra("level", 0));
86 mScale.setText("" + intent.getIntExtra("scale", 0));
87 mVoltage.setText("" + intent.getIntExtra("voltage", 0) + " "
89 mTemperature.setText("" + tenthsToFixedString(intent.getIntExtra("temperature", 0))
91 mTechnology.setText("" + intent.getStringExtra("technology"));
93 mStatus.setText(Utils.getBatteryStatus(getResources(), intent));
97 mPower.setText(getString(R.string.battery_info_power_unplugged));
100 mPower.setText(getString(R.string.battery_info_power_ac));
103 mPower.setText(getString(R.string.battery_info_power_usb));
106 mPower.setText(getString(R.string.battery_info_power_ac_usb));
[all …]
DRadioInfo.java213 mNeighboringCids.setText("unknown");
219 smsc.setText("refresh error");
221 smsc.setText((String)ar.result);
228 smsc.setText("update error");
415 radioPowerButton.setText(buttonText); in updatePowerState()
419 dnsCheckState.setText(phone.isDnsCheckDisabled() ? in updateDnsCheckState()
432 dBm.setText("0"); in updateSignalStrength()
443 dBm.setText(String.valueOf(signalDbm) + " " in updateSignalStrength()
455 mLocation.setText(r.getString(R.string.radioInfo_lac) + " = " in updateLocation()
467 mLocation.setText("BID = " in updateLocation()
[all …]
DConfirmLockPattern.java187 mHeaderTextView.setText(mHeaderText); in updateStage()
189 mHeaderTextView.setText(R.string.lockpattern_need_to_unlock); in updateStage()
192 mFooterTextView.setText(mFooterText); in updateStage()
194 mFooterTextView.setText(R.string.lockpattern_need_to_unlock_footer); in updateStage()
202 mHeaderTextView.setText(mHeaderWrongText); in updateStage()
204 mHeaderTextView.setText(R.string.lockpattern_need_to_unlock_wrong); in updateStage()
207 mFooterTextView.setText(mFooterWrongText); in updateStage()
209 mFooterTextView.setText(R.string.lockpattern_need_to_unlock_wrong_footer); in updateStage()
290 … mHeaderTextView.setText(R.string.lockpattern_too_many_failed_confirmation_attempts_header); in handleAttemptLockout()
292 mFooterTextView.setText(getString( in handleAttemptLockout()
DApnEditor.java244 mName.setText(mCursor.getString(NAME_INDEX)); in fillUi()
245 mApn.setText(mCursor.getString(APN_INDEX)); in fillUi()
246 mProxy.setText(mCursor.getString(PROXY_INDEX)); in fillUi()
247 mPort.setText(mCursor.getString(PORT_INDEX)); in fillUi()
248 mUser.setText(mCursor.getString(USER_INDEX)); in fillUi()
249 mServer.setText(mCursor.getString(SERVER_INDEX)); in fillUi()
250 mPassword.setText(mCursor.getString(PASSWORD_INDEX)); in fillUi()
251 mMmsProxy.setText(mCursor.getString(MMSPROXY_INDEX)); in fillUi()
252 mMmsPort.setText(mCursor.getString(MMSPORT_INDEX)); in fillUi()
253 mMmsc.setText(mCursor.getString(MMSC_INDEX)); in fillUi()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java185 weekDay.setText(buildDayOfWeek()); in getView()
186 date.setText(buildFullDate()); in getView()
191 weekDay.setText(buildWeekNum()); in getView()
195 date.setText(buildMonthYearDate()); in getView()
199 date.setText(buildMonthYearDate()); in getView()
203 weekDay.setText(buildDayOfWeek()); in getView()
204 date.setText(buildFullDate()); in getView()
224 title.setText(mButtonNames [DAY_BUTTON_INDEX]); in getView()
227 title.setText(mButtonNames [WEEK_BUTTON_INDEX]); in getView()
230 title.setText(mButtonNames [MONTH_BUTTON_INDEX]); in getView()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java269 mLine1View.setText(tmp); in customizeViewContent()
272 mLine2View.setText(tmp); in customizeViewContent()
276 mLine3View.setText(tmp); in customizeViewContent()
283 mLine5View.setText(tmp); in customizeViewContent()
288 mLine1View.setText(tmp); in customizeViewContent()
291 mLine2View.setText(tmp); in customizeViewContent()
295 mLine3View.setText(tmp); in customizeViewContent()
302 mLine5View.setText(tmp); in customizeViewContent()
307 mLine1View.setText(tmp); in customizeViewContent()
310 mLine2View.setText(tmp); in customizeViewContent()
[all …]
DBluetoothOppTransferAdapter.java90 tv.setText(title); in bindView()
99 tv.setText(deviceName); in bindView()
107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); in bindView()
117 tv.setText(completeText); in bindView()
127 tv.setText(str); in bindView()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DViewHelper.java35 v.setText(msgId); in showError()
43 void setText(int viewId, String text) { in setText() method in ViewHelper
46 if (v != null) v.setText(text); in setText()
49 void setText(int viewId, int textId) { in setText() method in ViewHelper
51 if (v != null) v.setText(textId); in setText()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java73 headerTextView.setText(R.string.list_filter_phones); in updateAccountFilterTitle()
77 headerTextView.setText(context.getString( in updateAccountFilterTitle()
81 headerTextView.setText(R.string.listCustomView); in updateAccountFilterTitle()
89 headerTextView.setText(R.string.list_filter_all_accounts); in updateAccountFilterTitle()
93 headerTextView.setText(context.getString( in updateAccountFilterTitle()
97 headerTextView.setText(R.string.listCustomView); in updateAccountFilterTitle()
100 headerTextView.setText(R.string.listSingleContact); in updateAccountFilterTitle()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java93 textView.setText(getString(R.string.contact_editor_prompt_multiple_accounts)); in onCreate()
96 button.setText(getString(R.string.add_new_account)); in onCreate()
114 textView.setText(getString(R.string.contact_editor_prompt_one_account, in onCreate()
119 leftButton.setText(getString(R.string.add_new_account)); in onCreate()
124 rightButton.setText(getString(android.R.string.ok)); in onCreate()
140 textView.setText(getString(R.string.contact_editor_prompt_zero_accounts)); in onCreate()
144 leftButton.setText(getString(R.string.keep_local)); in onCreate()
158 rightButton.setText(getString(R.string.add_account)); in onCreate()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideListItemView.java77 mAttachmentName.setText(name); in setAudio()
80 mAttachmentName.setText(""); in setAudio()
105 public void setText(String name, String text) { in setText() method in SlideListItemView
106 mTextPreview.setText(text); in setText()
116 mAttachmentName.setText(name); in setVideo()
119 mAttachmentName.setText(""); in setVideo()
DAudioAttachmentView.java121 mNameView.setText(name); in setAudio()
122 mAlbumView.setText((String) extras.get("album")); in setAudio()
123 mArtistView.setText((String) extras.get("artist")); in setAudio()
141 public void setText(String name, String text) { in setText() method in AudioAttachmentView
192 mErrorMsgView.setText(msg); in showErrorMessage()
DDeliveryReportListItem.java62 mRecipientView.setText(Contact.get(recipient, false).getName()); in bind()
64 mRecipientView.setText(""); in bind()
67 mStatusView.setText(status); in bind()
93 mDeliveryDateView.setText(deliveryDate); in bind()
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
DSpeechRecorderActivity.java83 mCommand.setText("Please click 'Record' to begin"); in onCreate()
107 m8KHz.setText("PCM/16bit/8KHz"); in onCreate()
108 m11KHz.setText("PCM/16bit/11KHz"); in onCreate()
143 mCommand.setText("Finished: Thank You!"); in setupRecording()
149 mCommand.setText("Say: \"" + utterances[index] + "\""); in setupRecording()
172 mStatus.setText(status + " Recording... " + remain); in setupRecording()
175 mStatus.setText(status); in setupRecording()
241 mCommand.setText("Got it!"); in stopRecording()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java224 mClearDataButton.setText(R.string.clear_user_data_text); in initDataButtons()
229 mClearDataButton.setText(R.string.manage_space_text); in initDataButtons()
231 mClearDataButton.setText(R.string.clear_user_data_text); in initDataButtons()
264 mMoveAppButton.setText(R.string.move_app); in initMoveButton()
266 mMoveAppButton.setText(R.string.move_app_to_internal); in initMoveButton()
270 mMoveAppButton.setText(R.string.move_app_to_sdcard); in initMoveButton()
296 mUninstallButton.setText(R.string.app_factory_reset); in initUninstallButtons()
313 mUninstallButton.setText(R.string.disable_text); in initUninstallButtons()
315 mUninstallButton.setText(R.string.disable_text); in initUninstallButtons()
318 mUninstallButton.setText(R.string.enable_text); in initUninstallButtons()
[all …]
DAppViewHolder.java51 appSize.setText(entry.internalSizeStr); in updateSizeText()
54 appSize.setText(entry.externalSizeStr); in updateSizeText()
57 appSize.setText(entry.sizeStr); in updateSizeText()
61 appSize.setText(invalidSizeStr); in updateSizeText()
/packages/apps/Phone/src/com/android/phone/
DFdnSetting.java122 mButtonEnableFDN.setText(""); in toggleFDNEnable()
155 mButtonChangePin2.setText(""); in updatePINChangeState()
166 mButtonChangePin2.setText(""); in updatePINChangeState()
179 mButtonChangePin2.setText(""); in updatePINChangeState()
183 mButtonChangePin2.setText(""); in updatePINChangeState()
193 mButtonChangePin2.setText(""); in updatePINChangeState()
206 mButtonChangePin2.setText(""); in updatePINChangeState()
221 mButtonChangePin2.setText(""); in updatePINChangeState()
225 mButtonChangePin2.setText(""); in updatePINChangeState()
448 mButtonChangePin2.setText(icicle.getString(DIALOG_PIN_ENTRY_KEY)); in onCreate()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportPreviewActivity.java32 mText.setText(icicle.getString("text")); in onCreate()
50 mText.setText(text); in onCreate()
53 mText.setText("Unable to open file: " + uri + ": " + fnfe); in onCreate()
57 mText.setText("Unable to process log: " + ioe); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java180 mCounterHeaderView.setText(String.format(format, count)); in showCount()
188 mCounterHeaderView.setText(getString( in showCount()
192 mCounterHeaderView.setText(R.string.listTotalPhoneContactsZero); in showCount()
195 mCounterHeaderView.setText(R.string.listTotalAllContactsZeroStarred); in showCount()
198 mCounterHeaderView.setText(R.string.listTotalAllContactsZeroCustom); in showCount()
201 mCounterHeaderView.setText(R.string.listTotalAllContactsZero); in showCount()
218 mSearchProgressText.setText(R.string.search_results_searching); in showCount()
221 mSearchProgressText.setText(R.string.listFoundAllContactsZero); in showCount()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactReadOnlyEditorView.java135 mAccountTypeTextView.setText(R.string.local_profile_title); in setState()
138 mAccountTypeTextView.setText(mContext.getString(R.string.external_profile_title, in setState()
140 mAccountNameTextView.setText(mAccountName); in setState()
149 mAccountNameTextView.setText( in setState()
155 mAccountTypeTextView.setText(mContext.getString(R.string.account_type_format, in setState()
181 mName.setText(primary != null ? primary.getAsString(StructuredName.DISPLAY_NAME) : in setState()
253 titleView.setText(titleText); in bindData()
261 dataView.setText(data); in bindData()
264 typeView.setText(type); in bindData()

12345678910>>...16