Home
last modified time | relevance | path

Searched refs:displayText (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java125 SpannableStringBuilder displayText = new SpannableStringBuilder(stableText); in updateRecognizedText() local
128 addDottySpans(displayText, stableText, 0); in updateRecognizedText()
132 int pendingTextStart = displayText.length(); in updateRecognizedText()
133 displayText.append(pendingText); in updateRecognizedText()
135 addDottySpans(displayText, pendingText, pendingTextStart); in updateRecognizedText()
139 addColorSpan(displayText, pendingColor, pendingText, pendingTextStart); in updateRecognizedText()
150 updateText(new SpannedString(displayText)); in updateRecognizedText()
189 private void addDottySpans(SpannableStringBuilder displayText, String text, int textStart) { in addDottySpans() argument
195 displayText.setSpan(span, wordStart, wordEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addDottySpans()
199 private void addColorSpan(SpannableStringBuilder displayText, int color, String text, in addColorSpan() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java131 String displayText = ""; in parseParticipant() local
142 displayText = parser.getText(); in parseParticipant()
153 Log.v(LOG_TAG, "DisplayText: "+displayText); in parseParticipant()
158 bundle.putString(ImsConferenceState.DISPLAY_TEXT, displayText); in parseParticipant()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCarrierText.java107 CharSequence displayText = null; in updateCarrierText() local
122 displayText = concatenate(displayText, carrierTextForSimState); in updateCarrierText()
149 displayText = makeCarrierStringOnEmergencyCapable( in updateCarrierText()
177 displayText = makeCarrierStringOnEmergencyCapable( in updateCarrierText()
185 displayText = getContext().getString(R.string.airplane_mode); in updateCarrierText()
187 setText(displayText); in updateCarrierText()
/frameworks/base/media/java/android/media/
DMediaMetadata.java502 CharSequence displayText = getText(METADATA_KEY_DISPLAY_TITLE); in getDescription() local
503 if (!TextUtils.isEmpty(displayText)) { in getDescription()
506 text[0] = displayText; in getDescription()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaMetadataCompat.java453 CharSequence displayText = getText(METADATA_KEY_DISPLAY_TITLE); in getDescription() local
454 if (!TextUtils.isEmpty(displayText)) { in getDescription()
457 text[0] = displayText; in getDescription()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1984 final String displayText = createAddressText(entry); in createChip() local
1985 if (TextUtils.isEmpty(displayText)) { in createChip()
1989 final int textLength = displayText.length() - 1; in createChip()
1990 final SpannableString chipText = new SpannableString(displayText); in createChip()
2967 final SpannableString displayText = in processReplacements()
2970 displayText.setSpan(replacement, 0, in processReplacements()
2971 displayText.length() - 1, in processReplacements()
2976 text.replace(start, end, displayText); in processReplacements()
2977 replacement.setOriginalText(displayText.toString()); in processReplacements()