Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java102 CharSequence displayText = null; in update() local
112 displayText = carrierName; in update()
122 displayText = subs.get(0).getCarrierName(); in update()
128 displayText = getContext().getText( in update()
133 displayText = i.getStringExtra(TelephonyIntents.EXTRA_PLMN); in update()
138 setText(displayText); in update()
139 setVisibility(TextUtils.isEmpty(displayText) ? GONE : VISIBLE); in update()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java130 String displayText = ""; in parseParticipant() local
141 displayText = parser.getText(); in parseParticipant()
152 Log.v(LOG_TAG, "DisplayText: "+displayText); in parseParticipant()
157 bundle.putString(ImsConferenceState.DISPLAY_TEXT, displayText); in parseParticipant()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java169 CharSequence displayText = null; in updateCarrierText() local
184 displayText = concatenate(displayText, carrierTextForSimState); in updateCarrierText()
211 displayText = makeCarrierStringOnEmergencyCapable( in updateCarrierText()
238 displayText = makeCarrierStringOnEmergencyCapable(getMissingSimMessage(), text); in updateCarrierText()
242 displayText = updateCarrierTextWithSimIoError(displayText, allSimsMissing); in updateCarrierText()
246 displayText = getAirplaneModeMessage(); in updateCarrierText()
248 setText(displayText); in updateCarrierText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java137 CharSequence displayText = null; in updateText() local
147 displayText = carrierName; in updateText()
153 setText(displayText); in updateText()
/frameworks/support/media/src/main/java/android/support/v4/media/
DMediaMetadataCompat.java485 CharSequence displayText = getText(METADATA_KEY_DISPLAY_TITLE); in getDescription() local
486 if (!TextUtils.isEmpty(displayText)) { in getDescription()
489 text[0] = displayText; in getDescription()
/frameworks/base/media/java/android/media/
DMediaMetadata.java558 CharSequence displayText = getText(METADATA_KEY_DISPLAY_TITLE); in getDescription() local
559 if (!TextUtils.isEmpty(displayText)) { in getDescription()
562 text[0] = displayText; in getDescription()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2205 final String displayText = createAddressText(entry); in createChip() local
2206 if (TextUtils.isEmpty(displayText)) { in createChip()
2210 final int textLength = displayText.length() - 1; in createChip()
2211 final SpannableString chipText = new SpannableString(displayText); in createChip()
3189 final SpannableString displayText = in processReplacements()
3192 displayText.setSpan(replacement, 0, in processReplacements()
3193 displayText.length() - 1, in processReplacements()
3198 text.replace(start, end, displayText); in processReplacements()
3199 replacement.setOriginalText(displayText.toString()); in processReplacements()