Searched defs:style (Results 1 - 8 of 8) 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/filters/
H A DImageFilterDraw.java81 public void setStyle(byte style) { argument
82 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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java125 public void setStyle(byte style) { argument
126 mType = (byte) (style % ImageFilterDraw.NUMBER_OF_STYLES);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DCaptionSetupActivity.java200 int style = mCaptioningManager.getRawUserStyle();
201 mStyle = String.valueOf (style);
204 if (style == CaptioningManager.CaptionStyle.PRESET_CUSTOM) {
589 private String getStyleName(String style) { argument
591 if (mStyles [i] == style) {
605 private void setStyle(String style) { argument
606 mStyle = style;
607 mStyleName = getStyleName(style);
609 int s = Integer.parseInt(style);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java295 public void setTypeface(TextPaint paint, Typeface tf, int style) { argument
296 if (style > 0) {
298 tf = Typeface.defaultFromStyle(style);
300 tf = Typeface.create(tf, style);
306 int need = style & ~typefaceStyle;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java227 * specification string, Key attribute array, key style, and etc.
231 * @param style the {@link KeyStyle} of this key.
236 public Key(final String keySpec, final TypedArray keyAttr, final KeyStyle style, argument
255 mBackgroundType = style.getInt(keyAttr,
264 mLabelFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyLabelFlags)
268 int actionFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyActionFlags);
269 String[] moreKeys = style.getStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys);
273 | style.getInt(keyAttr, R.styleable.Keyboard_Key_maxMoreKeysColumn,
301 additionalMoreKeys = style.getStringArray(keyAttr,
317 final int disabledIconId = KeySpecParser.getIconId(style
[all...]

Completed in 326 milliseconds