/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; 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 D | ImageFilterDraw.java | 81 public void setStyle(byte style) { argument 82 mCurrentStyle = style % mDrawingsTypes.length;
|
/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/wifi/ |
H A D | WifiDialog.java | 49 /** Creates a WifiDialog with fullscreen style. It displays in fullscreen mode. */ 53 R.style.Theme_Settings_NoActionBar, false /* hideSubmitButton */); 57 * Creates a WifiDialog with no additional style. It displays as a dialog above the current 62 return new WifiDialog(context, listener, accessPoint, mode, 0 /* style */, 67 int mode, int style, boolean hideSubmitButton) { 68 super(context, style); 66 WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint, int mode, int style, boolean hideSubmitButton) argument
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
H A D | SubtitleView.java | 168 * Configures the view according to the given style. 170 * @param style A style for the view. 172 public void setStyle(CaptionStyleCompat style) { argument 173 mForegroundColor = style.foregroundColor; 174 mBackgroundColor = style.backgroundColor; 175 mEdgeType = style.edgeType; 176 mEdgeColor = style.edgeColor; 177 setTypeface(style.typeface); 178 super.setBackgroundColor(style [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | CaptionFragment.java | 211 private void setCaptionsStyle(int style) { argument 213 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, style);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageDraw.java | 125 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 D | SuggestionStripLayoutHelper.java | 36 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 D | BatteryHistoryChart.java | 303 public void setTypeface(TextPaint paint, Typeface tf, int style) { argument 304 if (style > 0) { 306 tf = Typeface.defaultFromStyle(style); 308 tf = Typeface.create(tf, style); 314 int need = style & ~typefaceStyle;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | Key.java | 246 * 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...] |