/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 59 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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
D | GenericAdapter.java | 31 setText(view, list); in setListText() 36 setText(view, list); in setCollectionText() 41 setText(view, Arrays.asList(values)); in setArrayText() 46 setText(view, list); in setListAndArray() 61 setText(view, list); in setGenericList() 68 private static <T> void setText(TextView view, Collection<T> collection) { in setText() method in GenericAdapter 79 view.setText(stringBuilder.toString()); in setText()
|
D | InstanceAdapter.java | 32 view.setText(String.format(format, text, "foo", "bar", "baz")); in setInstanceAttr0() 37 view.setText(String.format(format, text, text2, "foo", "bar")); in setInstanceAttr1() 42 view.setText(String.format(format, oldText, text, "foo", "bar")); in setInstanceAttr3() 48 view.setText(String.format(format, oldText1, oldText2, text1, text2)); in setInstanceAttr4() 53 view.setText(String.format("%s %s", text, component == null ? "null" : "component")); in setInstanceAttr6() 58 … view.setText(String.format(format, text, component == null ? "null" : "component", "bar", "baz")); in setInstanceAttr7() 63 view.setText(String.format(format, text, text2, component == null ? "null" : "component", in setInstanceAttr8()
|
D | MultiArgTestAdapter.java | 46 view.setText(join(class1, class2)); in setBoth() 52 view.setText(join(str1, str2)); in setBoth() 57 view.setText(class1.getValue()); in setClass1() 62 view.setText(str); in setClassStr() 67 view.setText(class2.getValue()); in setClass2() 72 view.setText(String.format("%s -> %s", oldValue, newValue)); in setWithOldValue() 78 view.setText(String.format("%s, %s -> %s, %s", oldValue1, oldValue2, newValue1, newValue2)); in set2WithOldValues()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 122 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/ |
D | CreateViewTest.java | 77 text.setText("S"); in testLayout4() 83 text.setText("S"); in testLayout5() 94 one.setText("S"); in testLayout6() 98 two.setText("M"); in testLayout6() 102 three.setText("T"); in testLayout6() 106 four.setText("W"); in testLayout6() 110 five.setText("H"); in testLayout6() 114 six.setText("F"); in testLayout6()
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
D | CommitContentSupport.java | 124 mMimeTypes.setText(""); in onCommitContent() 125 mContentUri.setText(""); in onCommitContent() 126 mLabel.setText(""); in onCommitContent() 127 mLinkUri.setText(""); in onCommitContent() 128 mFlags.setText(""); in onCommitContent() 154 mMimeTypes.setText( in onCommitContentInternal() 156 mContentUri.setText(inputContentInfo.getContentUri().toString()); in onCommitContentInternal() 157 mLabel.setText(inputContentInfo.getDescription().getLabel()); in onCommitContentInternal() 159 mLinkUri.setText(linkUri != null ? linkUri.toString() : "null"); in onCommitContentInternal() 160 mFlags.setText(flagsToString(flags)); in onCommitContentInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationGuts.java | 269 mReset.setText(mContext.getString(R.string.do_not_silence)); in bindToggles() 271 mReset.setText(mContext.getString(R.string.do_not_silence_block)); in bindToggles() 273 mBlock.setText(mContext.getString(R.string.block)); in bindToggles() 274 mSilent.setText(mContext.getString(R.string.show_silently)); in bindToggles() 346 mImportanceSummary.setText(mContext.getString( in applyAuto() 348 mImportanceTitle.setText(mContext.getString( in applyAuto() 358 mImportanceSummary.setText(mContext.getString( in updateTitleAndSummary() 360 mImportanceTitle.setText(mContext.getString(R.string.blocked_importance)); in updateTitleAndSummary() 363 mImportanceSummary.setText(mContext.getString( in updateTitleAndSummary() 365 mImportanceTitle.setText(mContext.getString(R.string.min_importance)); in updateTitleAndSummary() [all …]
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentHideShowSupport.java | 50 button1.setText(fragment1.isHidden() ? "Show" : "Hide"); in onCreate() 54 button2.setText(fragment2.isHidden() ? "Show" : "Hide"); in onCreate() 66 button.setText("Hide"); in addShowHideListener() 69 button.setText("Show"); in addShowHideListener() 84 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView() 89 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView() 110 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
|
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/ |
D | RichTextViewTest.java | 40 textView.setText(ssb); in testLinkAnnotation() 62 textView.setText(ssb); in testTextStyle() 83 view.setText(spannableStringBuilder); in testTextContaininingLinksAreFocusable() 92 textView.setText("Thou shall not be focusable!"); in testTextContainingNoLinksAreNotFocusable() 104 textView.setText("Thou shall not be focusable!"); in testRichTxtViewFocusChangesWithTextChange() 111 textView.setText(spannableStringBuilder); in testRichTxtViewFocusChangesWithTextChange()
|
/frameworks/minikin/tests/ |
D | WordBreakerTests.cpp | 42 breaker.setText(buf, NELEM(buf)); in TEST_F() 60 breaker.setText(buf, NELEM(buf)); in TEST_F() 76 breaker.setText(buf, NELEM(buf)); in TEST_F() 93 breaker.setText(buf, NELEM(buf)); in TEST_F() 114 breaker.setText(buf, NELEM(buf)); in TEST_F() 137 breaker.setText(buf, NELEM(buf)); in TEST_F() 152 breaker.setText(buf, NELEM(buf)); in TEST_F() 169 breaker.setText(buf, NELEM(buf)); in TEST_F() 188 breaker.setText(buf, NELEM(buf)); in TEST_F() 212 breaker.setText(buf, NELEM(buf)); in TEST_F() [all …]
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | MainActivity.java | 143 mAllocLabelTextView.setText("Global Allocation Version..."); in onProgressUpdate() 144 mPointerLabelTextView.setText("Processing..."); in onProgressUpdate() 145 mCompareTextView.setText("Image Difference"); in onProgressUpdate() 149 mPointerLabelTextView.setText("Pointer Result"); in onProgressUpdate() 150 mAllocLabelTextView.setText("Processing..."); in onProgressUpdate() 155 mAllocLabelTextView.setText("Global Allocation Version"); in onProgressUpdate() 156 mCompareTextView.setText("Calculating..."); in onProgressUpdate() 159 …mCompareTextView.setText("Percentage Different: " + result.diffPercent + " Average Difference: " +… in onProgressUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 118 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/base/core/java/android/net/http/ |
D | SslCertificate.java | 460 .setText(issuedTo.getCName()); in inflateCertificateView() 462 .setText(issuedTo.getOName()); in inflateCertificateView() 464 .setText(issuedTo.getUName()); in inflateCertificateView() 468 .setText(getSerialNumber(mX509Certificate)); in inflateCertificateView() 474 .setText(issuedBy.getCName()); in inflateCertificateView() 476 .setText(issuedBy.getOName()); in inflateCertificateView() 478 .setText(issuedBy.getUName()); in inflateCertificateView() 484 .setText(issuedOn); in inflateCertificateView() 489 .setText(expiresOn); in inflateCertificateView() 493 .setText(getDigest(mX509Certificate, "SHA256")); in inflateCertificateView() [all …]
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | DetailsDescriptionPresenter.java | 23 vh.getTitle().setText(item.toString()); in onBindDescription() 24 vh.getSubtitle().setText("2013 - 2014 Drama TV-14"); in onBindDescription() 25 vh.getBody().setText("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do " in onBindDescription()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | CrossfadeMultiple.java | 101 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/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 43 tv.setText(c, 1, 4); in testArray() 46 tv.setText(c, 4, 5); in testArray() 70 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable() 95 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable() 112 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel() 129 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/ |
D | GridLayout3.java | 78 c.setText("Email setup"); in create() 84 c.setText("You can configure email in a few simple steps:"); in create() 89 c.setText("Email address:"); in create() 100 c.setText("Password:"); in create() 111 c.setText("Manual setup"); in create() 116 c.setText("Next"); in create()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | Vignette.java | 41 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()
|
D | Mandelbrot.java | 34 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()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Vignette.java | 45 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | Vignette.java | 41 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()
|
D | Mandelbrot.java | 34 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()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
D | DetailsDescriptionPresenter.java | 53 primaryText.setText(card.getTitle()); in onBindViewHolder() 54 sndText1.setText(card.getDescription()); in onBindViewHolder() 55 sndText2.setText(card.getYear() + ""); in onBindViewHolder() 56 extraText.setText(card.getText()); in onBindViewHolder()
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | AddressView.java | 32 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()
|