Searched defs:style (Results 1 - 6 of 6) sorted by relevance

/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/ContactsCommon/src/com/android/contacts/common/format/
H A DFormatUtils.java21 import android.text.style.StyleSpan;
93 * Applies the given style to a range of the input CharSequence.
94 * @param style The style to apply (see the style constants in {@link Typeface}).
95 * @param input The CharSequence to style.
96 * @param start Starting index of the range to style (will be clamped to be a minimum of 0).
97 * @param end Ending index of the range to style (will be clamped to a maximum of the input
102 public static CharSequence applyStyleToSpan(int style, CharSequence input, int start, int end, argument
108 text.setSpan(new StyleSpan(style), star
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java65 public void setStyle(byte style) { argument
66 mType = (byte) (style % ImageFilterDraw.NUMBER_OF_STYLES);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterDraw.java77 public void setStyle(byte style) { argument
78 mCurrentStyle = style % mDrawingsTypes.length;
/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 112 milliseconds