Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/base/startop/apps/test/src/
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()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java80 mTextView.setText(c, 1, 4); in testArray()
83 mTextView.setText(c, 4, 5); in testArray()
108 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
132 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable()
150 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
169 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData()
196 mTextView.setText(sb.toString()); in testHyphenationWidth()
236 mTextView.setText(createLongText()); in testCopyShouldNotThrowException()
246 mTextView.setText(createLongText()); in testCutShouldNotThrowException()
260 mTextView.setText(text); in testUseDynamicLayout()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java59 topButton.setText("top (position " + position + ")"); in twoButtonsSeparatedByFiller()
66 middleFiller.setText("filler"); in twoButtonsSeparatedByFiller()
71 bottomButton.setText("bottom (position " + position + ")"); 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()
218 ((TextView) convertView).setText(text); in convertText()
[all …]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java122 view.setText(mFileName); in onResume()
124 view.setText(Integer.toHexString(info.getFormat()).toUpperCase(Locale.ROOT)); 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()
132 view.setText(Long.toString(info.getThumbCompressedSize())); 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()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
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()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DHeaderMixin.java50 setText(headerText); in HeaderMixin()
66 public void setText(int title) { in setText() method in HeaderMixin
69 titleView.setText(title); in setText()
78 public void setText(CharSequence title) { in setText() method in HeaderMixin
81 titleView.setText(title); in setText()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java56 textView.setText(ssb); in testLinkAnnotation()
81 textView.setText(ssb); in testOnLinkClickListener()
105 textView.setText(ssb); in testLegacyContextOnClickListener()
121 textView.setText(ssb); in onTouchEvent_clickOnLinks_shouldReturnTrue()
139 textView.setText(ssb); in onTouchEvent_clickOutsideLinks_shouldReturnFalse()
157 textView.setText(ssb); in testTextStyle()
177 view.setText(spannableStringBuilder); in testTextContainingLinksAreFocusable()
186 textView.setText("Thou shall not be focusable!"); in testTextContainingNoLinksAreNotFocusable()
197 textView.setText("Thou shall not be focusable!"); in testRichTextViewFocusChangesWithTextChange()
204 textView.setText(spannableStringBuilder); in testRichTextViewFocusChangesWithTextChange()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java90 mTextView.setText(state); in updateStateText()
94 mWidthTextView.setText("" + mRoot.getWidth()); in updateDimensionTexts()
95 mHeightTextView.setText("" + mRoot.getHeight()); in updateDimensionTexts()
102 mTouchStateTextView.setText("[" + event.getX() + "," + event.getY() + "]"); in updateTouchState()
106 mTouchStateTextView.setText(""); in updateTouchState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarObserver.kt46 holder.elapsedTimeView.setText("") in onChanged()
47 holder.totalTimeView.setText("") in onChanged()
60 holder.elapsedTimeView.setText(DateUtils.formatElapsedTime( in onChanged()
66 holder.totalTimeView.setText(DateUtils.formatElapsedTime( in onChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java118 public void setText(CharSequence text) { in setText() method in QSDualTileLabel
155 mFirstLine.setText(null); in updateText()
156 mSecondLine.setText(null); in updateText()
164 mFirstLine.setText(mText); in updateText()
165 mSecondLine.setText(null); in updateText()
191 mFirstLine.setText(mText.substring(0, lastWordBoundary)); in updateText()
192 mSecondLine.setText(mText.substring(lastWordBoundary).trim()); in updateText()
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp38 breaker.setText(buf, NELEM(buf)); in TEST()
55 breaker.setText(buf, NELEM(buf)); in TEST()
72 breaker.setText(buf, NELEM(buf)); in TEST()
83 breaker.setText(buf, NELEM(buf)); in TEST()
98 breaker.setText(buf, NELEM(buf)); in TEST()
119 breaker.setText(buf, NELEM(buf)); in TEST()
143 breaker.setText(buf, NELEM(buf)); in TEST()
167 breaker.setText(buf, NELEM(buf)); in TEST()
214 breaker.setText(buf, size); in TEST()
239 breaker.setText(buf, size); in TEST()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
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()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
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 …]
/frameworks/base/core/java/android/net/http/
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 …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
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()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DMandelbrot.java34 t.setText("Iterations"); in onBar1Setup()
45 t.setText("Lower Bound: X"); in onBar2Setup()
58 t.setText("Lower Bound: Y"); in onBar3Setup()
71 t.setText("Scale Factor"); in onBar4Setup()
DVignette.java41 t.setText("Scale"); in onBar1Setup()
47 t.setText("Shade"); in onBar2Setup()
53 t.setText("Slope"); in onBar3Setup()
59 t.setText("Shift center X"); in onBar4Setup()
65 t.setText("Shift center Y"); in onBar5Setup()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DMandelbrot.java34 t.setText("Iterations"); in onBar1Setup()
45 t.setText("Lower Bound: X"); in onBar2Setup()
58 t.setText("Lower Bound: Y"); in onBar3Setup()
71 t.setText("Scale Factor"); in onBar4Setup()
DVignette.java41 t.setText("Scale"); in onBar1Setup()
47 t.setText("Shade"); in onBar2Setup()
53 t.setText("Slope"); in onBar3Setup()
59 t.setText("Shift center X"); in onBar4Setup()
65 t.setText("Shift center Y"); in onBar5Setup()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
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()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DVignette.java45 t.setText("Scale"); in onBar1Setup()
51 t.setText("Shade"); in onBar2Setup()
57 t.setText("Slope"); in onBar3Setup()
63 t.setText("Shift center X"); in onBar4Setup()
69 t.setText("Shift center Y"); in onBar5Setup()
/frameworks/base/core/java/android/widget/
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()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
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()
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()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java79 setText(""); in onFocusChanged()
85 setText(getHint()); in onFocusChanged()
207 setText(String.format(format, mValue)); in updateDisplayedValue()
221 setText(String.format("%0" + mMaxCount + "d", i)); in updateMinimumWidth()
230 setText(previousText); in updateMinimumWidth()
293 setText(formattedValue); in handleKeyUp()

12345678910>>...22