Searched refs:appendStyled (Results 1 - 2 of 2) sorted by relevance
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
H A D | NotificationPresets.java | 121 appendStyled(title, "Stylized", new StyleSpan(Typeface.BOLD_ITALIC)); 124 appendStyled(text, "C", new ForegroundColorSpan(Color.RED)); 125 appendStyled(text, "O", new ForegroundColorSpan(Color.GREEN)); 126 appendStyled(text, "L", new ForegroundColorSpan(Color.BLUE)); 127 appendStyled(text, "O", new ForegroundColorSpan(Color.YELLOW)); 128 appendStyled(text, "R", new ForegroundColorSpan(Color.MAGENTA)); 129 appendStyled(text, "S", new ForegroundColorSpan(Color.CYAN)); 131 appendStyled(text, "1.25x size", new RelativeSizeSpan(1.25f)); 133 appendStyled(text, "0.75x size", new RelativeSizeSpan(0.75f)); 135 appendStyled(tex 158 private void appendStyled(SpannableStringBuilder builder, String str, Object... spans) { method in class:NotificationPresets.StylizedTextPreset [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
H A D | NotificationPresets.java | 125 appendStyled(title, "Stylized", new StyleSpan(Typeface.BOLD_ITALIC)); 128 appendStyled(text, "C", new ForegroundColorSpan(Color.RED)); 129 appendStyled(text, "O", new ForegroundColorSpan(Color.GREEN)); 130 appendStyled(text, "L", new ForegroundColorSpan(Color.BLUE)); 131 appendStyled(text, "O", new ForegroundColorSpan(Color.YELLOW)); 132 appendStyled(text, "R", new ForegroundColorSpan(Color.MAGENTA)); 133 appendStyled(text, "S", new ForegroundColorSpan(Color.CYAN)); 135 appendStyled(text, "1.25x size", new RelativeSizeSpan(1.25f)); 137 appendStyled(text, "0.75x size", new RelativeSizeSpan(0.75f)); 139 appendStyled(tex 167 private void appendStyled(SpannableStringBuilder builder, String str, Object... spans) { method in class:NotificationPresets.StylizedTextNotificationPreset [all...] |
Completed in 182 milliseconds