Home
last modified time | relevance | path

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

12345678910>>...22

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java92 mTextView.setText(c, 1, 4); in testArray()
95 mTextView.setText(c, 4, 5); in testArray()
132 mTextView.setText(sb.toString()); in testHyphenationWidth()
196 mTextView.setText(text); in testUseDynamicLayout()
200 mTextView.setText(text); in testUseDynamicLayout()
204 mTextView.setText(precomputed); in testUseDynamicLayout()
208 mTextView.setText(precomputed); in testUseDynamicLayout()
340 mTextView.setText(text); in transformedToOriginal_noOffsetMapping()
354 mTextView.setText(text); in originalToTransformed_noOffsetMapping()
379 mTextView.setText(text); in originalToTransformed_hasOffsetMapping()
[all …]
H A DTextViewActivityTest.java164 setText(text); in testPositionCursorAtTextAtIndex_arabic()
184 setText(text); in testPositionCursorAtTextAtIndex_devanagari()
232 setText(text); in testLongPressAndDragToSelect_emoji()
246 setText(text); in testDragAndDrop()
306 setText(text); in testToolbarAppearsAfterSelection()
521 setText(text); in testToolbarAndInsertionHandle()
538 setText(text); in testToolbarAndSelectionHandle()
570 setText(text); in testInsertionHandle()
589 setText(text); in testInsertionHandle_multiLine()
1250 setText(""); in testPastePlainText_menuAction()
[all …]
/aosp14/frameworks/base/startop/apps/test/src/
H A DInteractiveMicrobenchmarkActivity.java56 header.setText(name); in addHeader()
74 button.setText(name); in addBenchmark()
75 mean.setText(""); in addBenchmark()
76 stdev.setText(""); in addBenchmark()
79 mean.setText("Running..."); in addBenchmark()
80 stdev.setText(""); in addBenchmark()
83 mean.setText(String.format("%.3f", resultMean / 1e6)); in addBenchmark()
84 stdev.setText(String.format("%.3f", resultStdev / 1e6)); in addBenchmark()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java66 middleFiller.setText("filler"); in twoButtonsSeparatedByFiller()
120 button.setText("left"); in horizontalButtonSlots()
128 button.setText("center"); in horizontalButtonSlots()
136 button.setText("right"); in horizontalButtonSlots()
158 result.setText(text); in button()
178 ((Button) convertView).setText(text); in convertButton()
198 result.setText(text); in text()
249 t1.setText(text); in doubleText()
258 t2.setText(text); in doubleText()
283 t1.setText(text); in convertDoubleText()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/
H A DTvUnblockSensorActivity.java162 mCancelButton.setText(android.R.string.cancel); in initUI()
191 mContent.setText( in updateUiForHardwareToggle()
203 mTitle.setText(R.string.sensor_privacy_start_use_camera_blocked_dialog_title); in updateUiForHardwareToggle()
208 mTitle.setText(R.string.sensor_privacy_start_use_mic_blocked_dialog_title); in updateUiForHardwareToggle()
221 mCancelButton.setText(android.R.string.ok); in updateUiForHardwareToggle()
231 mContent.setText(R.string.sensor_privacy_start_use_mic_dialog_content); in updateUiForSoftwareToggle()
237 mContent.setText(R.string.sensor_privacy_start_use_camera_dialog_content); in updateUiForSoftwareToggle()
251 mPositiveButton.setText( in updateUiForSoftwareToggle()
267 mTitle.setText(R.string.sensor_privacy_start_use_mic_blocked_dialog_title); in updateUiForHTT()
268 mContent.setText(R.string.sensor_privacy_htt_blocked_dialog_content); in updateUiForHTT()
[all …]
H A DTvSensorPrivacyChangedActivity.java119 mCancelButton.setText(android.R.string.cancel); in initUI()
149 mCancelButton.setText(android.R.string.ok); in updateUI()
154 mTitle.setText(R.string.sensor_privacy_mic_turned_off_dialog_title); in updateUiForMicUpdate()
156 mContent.setText(R.string.sensor_privacy_mic_blocked_with_exception_dialog_content); in updateUiForMicUpdate()
158 mContent.setText(R.string.sensor_privacy_mic_blocked_no_exception_dialog_content); in updateUiForMicUpdate()
163 mTitle.setText(R.string.sensor_privacy_mic_turned_on_dialog_title); in updateUiForMicUpdate()
164 mContent.setText(R.string.sensor_privacy_mic_unblocked_dialog_content); in updateUiForMicUpdate()
172 mTitle.setText(R.string.sensor_privacy_camera_turned_off_dialog_title); in updateUiForCameraUpdate()
173 mContent.setText(R.string.sensor_privacy_camera_blocked_dialog_content); in updateUiForCameraUpdate()
177 mTitle.setText(R.string.sensor_privacy_camera_turned_on_dialog_title); in updateUiForCameraUpdate()
[all …]
/aosp14/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java122 view.setText(mFileName); in onResume()
126 view.setText(Long.toString(info.getCompressedSize())); in onResume()
128 view.setText(Long.toString(info.getThumbPixWidth())); in onResume()
130 view.setText(Long.toString(info.getThumbPixHeight())); in onResume()
134 view.setText(Long.toString(info.getImagePixWidth())); in onResume()
136 view.setText(Long.toString(info.getImagePixHeight())); in onResume()
138 view.setText(Long.toString(info.getImagePixDepth())); in onResume()
140 view.setText(Long.toString(info.getSequenceNumber())); in onResume()
143 view.setText(date.toString()); in onResume()
146 view.setText(date.toString()); in onResume()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DCreateViewTest.java78 text.setText("S"); in testLayout4()
84 text.setText("S"); in testLayout5()
95 one.setText("S"); in testLayout6()
99 two.setText("M"); in testLayout6()
103 three.setText("T"); in testLayout6()
107 four.setText("W"); in testLayout6()
111 five.setText("H"); in testLayout6()
115 six.setText("F"); in testLayout6()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DGainmapMetadataEditor.kt169 parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val)!!.setText(
171 parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val)!!.setText(
173 parent.findViewById<TextView>(R.id.gainmap_metadata_capacitymin_val)!!.setText(
177 parent.findViewById<TextView>(R.id.gainmap_metadata_gamma_val)!!.setText(
179 parent.findViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val)!!.setText(
181 parent.findViewById<TextView>(R.id.gainmap_metadata_offsethdr_val)!!.setText(
204 parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val)!!.setText(
215 parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val)!!.setText(
248 parent.findViewById<TextView>(R.id.gainmap_metadata_gamma_val)!!.setText(
262 parent.findViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val)!!.setText(
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DCustomDialogHelper.java108 mPositiveButton.setText(resid); in setPositiveButtonText()
125 mNegativeButton.setText(resid); in setNegativeButtonText()
142 mBackButton.setText(resid); in setBackButtonText()
150 mPositiveButton.setText(resid); in setButton()
155 mNegativeButton.setText(resid); in setButton()
160 mBackButton.setText(resid); in setButton()
183 mDialogTitle.setText(resid); in setTitle()
191 mDialogMessage.setText(resid); in setMessage()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStretchShaderActivity.java84 overscrollXText.setText("Overscroll X"); in onCreate()
94 overscrollXText.setText("Overscroll X: " + mOverscrollX); in onCreate()
110 overscrollYText.setText("Overscroll Y"); in onCreate()
120 overscrollYText.setText("Overscroll Y: " + mOverscrollY); in onCreate()
136 scrollXText.setText("Scroll X"); in onCreate()
145 scrollXText.setText("Scroll X: " + mScrollY); in onCreate()
161 scrollYText.setText("Scroll Y"); in onCreate()
170 scrollYText.setText("Scroll Y: " + mScrollY); in onCreate()
187 stretchIntensityText.setText("StretchIntensity: " + mMaxStretchIntensity); in onCreate()
196 stretchIntensityText.setText("StretchIntensity: " + mMaxStretchIntensity); in onCreate()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java121 public void setText(CharSequence text) { in setText() method in QSDualTileLabel
159 mFirstLine.setText(null); in updateText()
160 mSecondLine.setText(null); in updateText()
168 mFirstLine.setText(mText); in updateText()
169 mSecondLine.setText(null); in updateText()
195 mFirstLine.setText(mText.substring(0, lastWordBoundary)); in updateText()
196 mSecondLine.setText(mText.substring(lastWordBoundary).trim()); in updateText()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewPrecomputedTextPerfTest.java94 textView.setText(text); in testNewLayout_RandomText()
114 textView.setText(text); in testNewLayout_RandomText_Selectable()
136 textView.setText(text); in testNewLayout_PrecomputedText()
159 textView.setText(text); in testNewLayout_PrecomputedText_Selectable()
181 textView.setText(text); in testSetText_RandomText()
199 textView.setText(text); in testSetText_RandomText_Selectable()
219 textView.setText(text); in testSetText_PrecomputedText()
240 textView.setText(text); in testSetText_PrecomputedText_Selectable()
255 textView.setText(text); in testOnMeasure_RandomText()
276 textView.setText(text); in testOnMeasure_RandomText_Selectable()
[all …]
/aosp14/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java473 .setText(issuedTo.getCName()); in inflateCertificateView()
475 .setText(issuedTo.getOName()); in inflateCertificateView()
477 .setText(issuedTo.getUName()); in inflateCertificateView()
481 .setText(getSerialNumber(mX509Certificate)); in inflateCertificateView()
487 .setText(issuedBy.getCName()); in inflateCertificateView()
489 .setText(issuedBy.getOName()); in inflateCertificateView()
491 .setText(issuedBy.getUName()); in inflateCertificateView()
497 .setText(issuedOn); in inflateCertificateView()
502 .setText(expiresOn); in inflateCertificateView()
506 .setText(getDigest(mX509Certificate, "SHA256")); in inflateCertificateView()
[all …]
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DCrossfadeMultiple.java101 mButton.setText("A"); in sendMessage()
102 mTextView.setText("1111111"); in sendMessage()
107 mButton.setText("B"); in sendMessage()
108 mTextView.setText("2222222"); in sendMessage()
113 mButton.setText("C"); in sendMessage()
114 mTextView.setText("3333333"); in sendMessage()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbContaminantActivity.java68 mTitle.setText(getString(R.string.usb_contaminant_title)); in onCreate()
69 mMessage.setText(getString(R.string.usb_contaminant_message)); in onCreate()
70 mEnableUsb.setText(getString(R.string.usb_disable_contaminant_detection)); in onCreate()
71 mGotIt.setText(getString(R.string.got_it)); in onCreate()
72 mLearnMore.setText(getString(R.string.learn_more)); in onCreate()
/aosp14/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DAddressView.java32 mNameView.setText(a.getString(R.styleable.AddressView_name)); in AddressView()
34 mStreetView.setText((streetNumber <= 0 ? "" : Integer.toString(streetNumber)) + in AddressView()
36 mCityStateZipView.setText(a.getString(R.styleable.AddressView_city) + ", " + in AddressView()
39 mCountryView.setText(a.getString(R.styleable.AddressView_country)); in AddressView()
/aosp14/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java88 c.setText("Email setup"); in create()
94 c.setText("You can configure email in just a few steps:"); in create()
99 c.setText("Email address:"); in create()
110 c.setText("Password:"); in create()
125 c.setText("Manual setup"); in create()
130 c.setText("Next"); in create()
H A DBiDiTestGridLayoutCodeRtl.java88 c.setText("Email setup"); in create()
94 c.setText("You can configure email in just a few steps:"); in create()
99 c.setText("Email address:"); in create()
110 c.setText("Password:"); in create()
125 c.setText("Manual setup"); in create()
130 c.setText("Next"); in create()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DNumericTextView.java80 setText(""); in onFocusChanged()
86 setText(getHint()); in onFocusChanged()
208 setText(String.format(format, mValue)); in updateDisplayedValue()
222 setText(String.format("%0" + mMaxCount + "d", i)); in updateMinimumWidth()
231 setText(previousText); in updateMinimumWidth()
294 setText(formattedValue); in handleKeyUp()
H A DAccountItemView.java87 setText(mAccountName, name); in setAccountName()
91 setText(mAccountNumber, number); in setAccountNumber()
94 private void setText(TextView view, String text) { in setText() method in AccountItemView
98 view.setText(text); in setText()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java76 public void setText(CharSequence text) { in setText() method in TextSwitcher
78 t.setText(text); in setText()
89 ((TextView)getCurrentView()).setText(text); in setCurrentText()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DEmptyShadeView.java59 mEmptyText.setText(mText); in onConfigurationChanged()
81 public void setText(@StringRes int text) { in setText() method in EmptyShadeView
83 mEmptyText.setText(mText); in setText()
94 mEmptyFooterText.setText(mFooterText); in setFooterText()
96 mEmptyFooterText.setText(null); in setFooterText()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/tv/
H A DTvUsbDialogActivity.java84 titleTextView.setText(title); in initUI()
85 contentTextView.setText(text); in initUI()
88 okButton.setText(android.R.string.ok); in initUI()
91 cancelButton.setText(android.R.string.cancel); in initUI()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
H A DBackgroundBlurActivity.kt136 .setText(if (mBlurForceDisabled) "Enable blurs" else "Disable blurs")
145 (findViewById(R.id.background_blur_radius) as TextView).setText(radius.toString())
151 (findViewById(R.id.blur_behind_radius) as TextView).setText(radius.toString())
162 (findViewById(R.id.dim_amount) as TextView).setText("%.2f".format(amount))
171 (findViewById(R.id.toggle_battery_saving_mode) as Button).setText(
185 (findViewById(R.id.background_alpha) as TextView).setText("%.2f".format(alpha))

12345678910>>...22