Searched refs:style (Results 1 - 25 of 140) sorted by relevance

123456

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DTextAppearanceFactory.java20 import android.text.style.TextAppearanceSpan;
34 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Query)
40 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Suggested)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DThemeHelper.java45 return android.R.style.Theme_Leanback_FormWizard;
47 return R.style.Theme_Leanback_FormWizard_Solid;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DDialogUtils.java32 return new ContextThemeWrapper(context, R.style.platformDialogTheme);
H A DSpannableStringUtils.java24 import android.text.style.SuggestionSpan;
25 import android.text.style.URLSpan;
/packages/apps/UnifiedEmail/src/com/android/mail/text/
H A DChangeLabelsSpan.java4 import android.text.style.ClickableSpan;
H A DLinkStyleSpan.java21 import android.text.style.ClickableSpan;
H A DEmailAddressSpan.java21 import android.text.style.URLSpan;
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DTextHighlighter.java21 import android.text.style.CharacterStyle;
22 import android.text.style.ForegroundColorSpan;
23 import android.text.style.StyleSpan;
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...]
H A DSpannedTestUtils.java24 import android.text.style.StyleSpan;
/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/UnifiedEmail/assets/
H A Dscript.js96 elidedTextElement.style.display = isHidden ? 'block' : 'none';
120 elidedElement.style.display = 'none';
190 oldZoom = el.style.zoom;
193 el.style.zoom = 1;
195 origWidth = el.style.width;
196 el.style.width = goalWidth + "px";
204 outerZoom = outerDiv ? outerDiv.style.zoom : 1;
206 el.style.zoom = newZoom / outerZoom;
208 el.style.width = origWidth;
245 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("div[style], textare
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DSpannableStringUtilsTests.java21 import android.text.style.SuggestionSpan;
22 import android.text.style.URLSpan;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DHtmlUtils.java23 import android.text.style.AbsoluteSizeSpan;
24 import android.text.style.ForegroundColorSpan;
25 import android.text.style.QuoteSpan;
26 import android.text.style.StyleSpan;
27 import android.text.style.TypefaceSpan;
28 import android.text.style.URLSpan;
29 import android.text.style.UnderlineSpan;
H A DStyleUtils.java22 import android.text.style.URLSpan;
33 * Removes any {@link android.text.style.URLSpan}s from the text view and replaces them with a
51 * Removes any {@link android.text.style.URLSpan}s from the text view and replaces them with a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardTheme.java44 new KeyboardTheme(THEME_ID_ICS, "ICS", R.style.KeyboardTheme_ICS,
47 new KeyboardTheme(THEME_ID_KLP, "KLP", R.style.KeyboardTheme_KLP,
50 new KeyboardTheme(THEME_ID_LXX_LIGHT, "LXXLight", R.style.KeyboardTheme_LXX_Light,
53 new KeyboardTheme(THEME_ID_LXX_DARK, "LXXDark", R.style.KeyboardTheme_LXX_Dark,
67 // Note: The themeId should be aligned with "themeId" attribute of Keyboard style
68 // in values/themes-<style>.xml.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestionSpanPickedNotificationReceiver.java22 import android.text.style.SuggestionSpan;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
H A DTextInfoCompatUtilsTests.java26 import android.text.style.StyleSpan;
27 import android.text.style.URLSpan;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSendersView.java31 import android.text.style.CharacterStyle;
32 import android.text.style.TextAppearanceSpan;
122 R.style.MessageInfoUnreadTextAppearance);
124 R.style.MessageInfoReadTextAppearance);
125 sDraftsStyleSpan = new TextAppearanceSpan(context, R.style.DraftTextAppearance);
126 sUnreadStyleSpan = new TextAppearanceSpan(context, R.style.SendersAppearanceUnreadStyle);
127 sSendingStyleSpan = new TextAppearanceSpan(context, R.style.SendingTextAppearance);
128 sRetryingStyleSpan = new TextAppearanceSpan(context, R.style.RetryingTextAppearance);
129 sFailedStyleSpan = new TextAppearanceSpan(context, R.style.FailedTextAppearance);
130 sReadStyleSpan = new TextAppearanceSpan(context, R.style
[all...]
H A DConversationItemViewModel.java27 import android.text.style.CharacterStyle;
240 * Describes the style of a Senders fragment.
248 // The style to apply to the TextPaint object.
249 CharacterStyle style; field in class:ConversationItemViewModel.SenderFragment
263 SenderFragment(int start, int end, CharSequence sendersText, CharacterStyle style, argument
267 this.style = style;
H A DBadgeSpan.java26 import android.text.style.CharacterStyle;
27 import android.text.style.ReplacementSpan;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java409 int style = ((tag != null) && (tag instanceof ShortcutInfo) &&
410 (((ShortcutInfo) tag).container >= 0)) ? R.style.PreloadIcon_Folder
411 : R.style.PreloadIcon;
412 Theme theme = sPreloaderThemes.get(style);
415 theme.applyStyle(style, true);
416 sPreloaderThemes.put(style, theme);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DBlueUnderlineTests.java20 import android.text.style.SuggestionSpan;
21 import android.text.style.UnderlineSpan;
/packages/apps/DeskClock/src/com/android/deskclock/
H A DTimePickerFragment.java48 return new TimePickerDialog(getActivity(), R.style.TimePickerTheme, mListener, hour, minute,
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListItem.java26 import android.text.style.ForegroundColorSpan;
27 import android.text.style.StyleSpan;
28 import android.text.style.TextAppearanceSpan;
123 size = android.R.style.TextAppearance_Small;

Completed in 1038 milliseconds

123456