Searched defs:style (Results 1 - 4 of 4) sorted by path
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ColorChipView.java | 73 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 D | FormatUtils.java | 21 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 D | LevenshteinFormatterTest.java | 344 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 D | BatteryHistoryChart.java | 316 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