Searched refs:spannableString (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 95 final SpannableString spannableString = new SpannableString(" a bcd efg hij "); in testSplitCharSequenceWithSpan() local 102 spannableString.setSpan(span1, 0, 7, SPAN1_FLAGS); in testSplitCharSequenceWithSpan() 103 spannableString.setSpan(span2, 0, 5, SPAN2_FLAGS); in testSplitCharSequenceWithSpan() 104 spannableString.setSpan(span3, 12, 13, SPAN3_FLAGS); in testSplitCharSequenceWithSpan() 106 spannableString, " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan() 108 spannableString.toString(), " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 1463 final SpannableString spannableString = new SpannableString(senders); in getSingleMessageInboxLine() local 1464 spannableString.setSpan(notificationPrimarySpan, 0, senders.length(), 0); in getSingleMessageInboxLine() 1466 return spannableString; in getSingleMessageInboxLine() 1478 final SpannableString spannableString = new SpannableString(instantiatedString); in getSingleMessageInboxLine() local 1488 spannableString.setSpan(notificationPrimarySpan, in getSingleMessageInboxLine() 1490 spannableString.setSpan(notificationSecondarySpan, in getSingleMessageInboxLine() 1492 return spannableString; in getSingleMessageInboxLine() 1507 final SpannableString spannableString = new SpannableString(subject); 1508 spannableString.setSpan(notificationSubjectSpan, 0, subject.length(), 0); 1510 return spannableString; [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 361 SpannableString spannableString = new SpannableString(contactDeviceProvider); in initiateUIDeviceOwner() local 369 spannableString.setSpan(span, startIx, endIx, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in initiateUIDeviceOwner() 373 info.setText(spannableString); in initiateUIDeviceOwner()
|