Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DQueryStyle.java61 SpannableString spannableString = new SpannableString(phoneNumber); in getStringWithQueryInSpecialStyle() local
65 return spannableString; in getStringWithQueryInSpecialStyle()
73 return spannableString; in getStringWithQueryInSpecialStyle()
79 spannableString.setSpan(mTextAppearanceSpan, startIndex, endIndex + 1, in getStringWithQueryInSpecialStyle()
81 return spannableString; in getStringWithQueryInSpecialStyle()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSpannableStringUtilsTests.java112 final SpannableString spannableString = new SpannableString(" a bcd efg hij "); in testSplitCharSequenceWithSpan() local
119 spannableString.setSpan(span1, 0, 7, SPAN1_FLAGS); in testSplitCharSequenceWithSpan()
120 spannableString.setSpan(span2, 0, 5, SPAN2_FLAGS); in testSplitCharSequenceWithSpan()
121 spannableString.setSpan(span3, 12, 13, SPAN3_FLAGS); in testSplitCharSequenceWithSpan()
123 spannableString, " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan()
125 spannableString.toString(), " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DAbstractDialpadFragment.java190 final SpannableString spannableString = new SpannableString(currentText); in appendDialedNumber() local
195 spannableString.setSpan(mScaleSpan, currentText.length() - number.length(), in appendDialedNumber()
197 mTitleView.setText(spannableString, TextView.BufferType.SPANNABLE); in appendDialedNumber()
/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutSettings.java226 final SpannableString spannableString = new SpannableString( in setupDisabledFooterPreference() local
237 spannableString.setSpan(clickableSpan, textDisabledByAdmin.length() + 1, in setupDisabledFooterPreference()
244 mDisableOptionsPreference.setTitle(spannableString); in setupDisabledFooterPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java297 SpannableString spannableString = in showNextRequest() local
299 spannableString.setSpan(clickableSpan, start, end, 0); in showNextRequest()
300 detailMessage = spannableString; in showNextRequest()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java748 final SpannableString spannableString = new SpannableString(content); in handlePartialClickableTextView() local
754 spannableString.setSpan(span, startIdx, endIdx, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in handlePartialClickableTextView()
758 textView.setText(spannableString); in handlePartialClickableTextView()