Searched defs:style (Results 1 - 4 of 4) sorted by path

/packages/apps/Calendar/src/com/android/calendar/
H A DColorChipView.java73 public void setDrawStyle(int style) { argument
74 if (style != DRAW_FULL && style != DRAW_BORDER && style != DRAW_FADED) {
77 mDrawStyle = style;
/packages/apps/Contacts/src/com/android/contacts/format/
H A DFormatUtils.java21 import android.text.style.StyleSpan;
95 * Applies the given style to a range of the input CharSequence.
96 * @param style The style to apply (see the style constants in {@link Typeface}).
97 * @param input The CharSequence to style.
98 * @param start Starting index of the range to style (will be clamped to be a minimum of 0).
99 * @param end Ending index of the range to style (will be clamped to a maximum of the input
104 public static CharSequence applyStyleToSpan(int style, CharSequence input, int start, int end, argument
110 text.setSpan(new StyleSpan(style), star
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DLevenshteinFormatterTest.java344 public SpanFormat(int start, String expectedText, int style) { argument
348 mStyle = style;
355 assertEquals("Wrong style for '" + spannedText + "' at position " + mStart,
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java316 public void setTypeface(Typeface tf, int style) { argument
317 if (style > 0) {
319 tf = Typeface.defaultFromStyle(style);
321 tf = Typeface.create(tf, style);
327 int need = style & ~typefaceStyle;

Completed in 252 milliseconds