Searched defs:style (Results 1 - 11 of 11) 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/TV/usbtuner/src/com/google/android/exoplayer/text/
H A DSubtitleView.java166 * Configures the view according to the given style.
168 * @param style A style for the view.
170 public void setStyle(CaptionStyleCompat style) { argument
171 mForegroundColor = style.foregroundColor;
172 mBackgroundColor = style.backgroundColor;
173 mEdgeType = style.edgeType;
174 mEdgeColor = style.edgeColor;
175 setTypeface(style.typeface);
176 super.setBackgroundColor(style
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DCaptionFragment.java205 private void setCaptionsStyle(int style) { argument
207 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, style);
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripLayoutHelper.java36 import android.text.style.CharacterStyle;
37 import android.text.style.StyleSpan;
38 import android.text.style.UnderlineSpan;
126 R.styleable.SuggestionStripView, defStyle, R.style.SuggestionStripView);
614 final CharacterStyle style) {
616 return ((Spanned)text).getSpanStart(style) >= 0;
621 private static void addStyleSpan(@Nonnull final Spannable text, final CharacterStyle style) { argument
622 text.removeSpan(style);
623 text.setSpan(style, 0, text.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
613 hasStyleSpan(@ullable final CharSequence text, final CharacterStyle style) argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java302 public void setTypeface(TextPaint paint, Typeface tf, int style) { argument
303 if (style > 0) {
305 tf = Typeface.defaultFromStyle(style);
307 tf = Typeface.create(tf, style);
313 int need = style & ~typefaceStyle;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java246 * specification string, Key attribute array, key style, and etc.
250 * @param style the {@link KeyStyle} of this key.
256 @Nonnull final KeyStyle style, @Nonnull final KeyboardParams params,
278 mBackgroundType = style.getInt(keyAttr,
287 mLabelFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyLabelFlags)
291 int actionFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyActionFlags);
292 String[] moreKeys = style.getStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys);
296 | style.getInt(keyAttr, R.styleable.Keyboard_Key_maxMoreKeysColumn,
324 additionalMoreKeys = style.getStringArray(keyAttr,
340 final int disabledIconId = KeySpecParser.getIconId(style
255 Key(@ullable final String keySpec, @Nonnull final TypedArray keyAttr, @Nonnull final KeyStyle style, @Nonnull final KeyboardParams params, @Nonnull final KeyboardRow row) argument
[all...]
/packages/apps/TV/usbtuner/libs/
H A Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 1979 milliseconds