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

1234567

/frameworks/base/core/java/android/text/style/
H A DParagraphStyle.java17 package android.text.style;
H A DUpdateAppearance.java17 package android.text.style;
H A DUpdateLayout.java17 package android.text.style;
H A DWrapTogetherSpan.java17 package android.text.style;
H A DSuggestionSpan.aidl17 package android.text.style;
H A DTabStopSpan.java17 package android.text.style;
H A DStyleSpan.java17 package android.text.style;
28 * Describes a style in a span.
30 * separate spans, or if the base style is bold and a span calls for italic,
31 * you get bold italic. You can't turn off a style from the base style.
40 * @param style An integer constant describing the style for this span. Examples
44 public StyleSpan(int style) { argument
45 mStyle = style;
65 * Returns the style constan
81 apply(Paint paint, int style) argument
[all...]
H A DClickableSpan.java17 package android.text.style;
H A DLineBackgroundSpan.java17 package android.text.style;
H A DMaskFilterSpan.java17 package android.text.style;
H A DRasterizerSpan.java17 package android.text.style;
H A DStrikethroughSpan.java17 package android.text.style;
H A DUnderlineSpan.java17 package android.text.style;
/frameworks/base/graphics/java/android/graphics/
H A DBlurMaskFilter.java43 * @param style The Blur to use
46 public BlurMaskFilter(float radius, Blur style) { argument
47 native_instance = nativeConstructor(radius, style.native_int);
50 private static native int nativeConstructor(float radius, int style); argument
H A DTypeface.java25 * The Typeface class specifies the typeface and intrinsic style of a font.
40 /** The NORMAL style of the default sans serif typeface. */
42 /** The NORMAL style of the default serif typeface. */
44 /** The NORMAL style of the default monospace typeface. */
61 /** Returns the typeface's intrinsic style attributes */
77 * Create a typeface object given a family name, and option style information.
80 * its "real" style characteristics are.
83 * @param style The style (normal, bold, italic) of the typeface.
87 public static Typeface create(String familyName, int style) { argument
102 create(Typeface family, int style) argument
138 defaultFromStyle(int style) argument
222 nativeCreate(String familyName, int style) argument
223 nativeCreateFromTypeface(int native_instance, int style) argument
[all...]
H A DPathDashPathEffect.java34 * applies to drawings when the paint's style is STROKE or STROKE_AND_FILL.
35 * If the paint's style is FILL, then this effect is ignored. The paint's
40 * @param style how to transform the shape at each position as it is stamped
43 Style style) {
45 style.native_style);
42 PathDashPathEffect(Path shape, float advance, float phase, Style style) argument
/frameworks/base/core/jni/
H A Dandroid_view_PointerIcon.h47 int32_t style; member in struct:android::PointerIcon
53 return style == POINTER_ICON_STYLE_NULL;
57 style = POINTER_ICON_STYLE_NULL;
64 /* Gets a system pointer icon with the specified style. */
66 jobject contextObj, int32_t style);
73 /* Loads the bitmap associated with a pointer icon by style.
76 jobject contextObj, int32_t style, PointerIcon* outPointerIcon);
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java21 import android.text.style.*;
84 int[] style = nativeGetStyle(mNative, idx);
86 if (localLOGV) Log.v(TAG, "Got styles: " + Arrays.toString(style));
87 if (style != null) {
92 // the style array is a flat array of <type, start, end> hence
94 for (int styleIndex = 0; styleIndex < style.length; styleIndex += 3) {
95 int styleId = style[styleIndex];
103 // id already found skip to next style
134 res = applyStyles(str, style, mStyleIDs);
166 private CharSequence applyStyles(String str, int[] style, StyleID argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true);
44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlurMaskFilter_Delegate.java58 /*package*/ static int nativeConstructor(float radius, int style) { argument
H A DTypeface_Delegate.java102 /*package*/ static synchronized int nativeCreate(String familyName, int style) { argument
106 if (style < 0) {
107 style = Typeface.NORMAL;
110 Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
124 /*package*/ static synchronized int nativeCreateFromTypeface(int native_instance, int style) { argument
130 Typeface_Delegate newDelegate = new Typeface_Delegate(delegate.mFamily, style);
196 private Typeface_Delegate(String family, int style) { argument
198 mStyle = style;
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp32 SkTypeface::Style style) {
37 face = SkTypeface::CreateFromName(str.c_str(), style);
40 face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)(style ^ SkTypeface::kItalic));
47 // return the default font at the best style if no exact match exists
49 face = SkTypeface::CreateFromName(NULL, style);
54 static SkTypeface* Typeface_createFromTypeface(JNIEnv* env, jobject, SkTypeface* family, int style) { argument
55 SkTypeface* face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style);
58 face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
64 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style);
74 return face->style();
31 Typeface_create(JNIEnv* env, jobject, jstring name, SkTypeface::Style style) argument
[all...]
/frameworks/base/core/java/android/view/
H A DPointerIcon.java77 private PointerIcon(int style) { argument
78 mStyle = style;
105 * Gets a system pointer icon for the given style.
106 * If style is not recognized, returns the default pointer icon.
109 * @param style The pointer icon style.
114 public static PointerIcon getSystemIcon(Context context, int style) { argument
119 if (style == STYLE_NULL) {
123 int styleIndex = getSystemIconStyleIndex(style);
135 Log.w(TAG, "Missing theme resources for pointer icon style "
421 getSystemIconStyleIndex(int style) argument
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java34 import android.text.style.AbsoluteSizeSpan;
35 import android.text.style.AlignmentSpan;
36 import android.text.style.CharacterStyle;
37 import android.text.style.ForegroundColorSpan;
38 import android.text.style.ImageSpan;
39 import android.text.style.ParagraphStyle;
40 import android.text.style.QuoteSpan;
41 import android.text.style.RelativeSizeSpan;
42 import android.text.style.StrikethroughSpan;
43 import android.text.style
[all...]
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java67 Notification.BigTextStyle style = new Notification.BigTextStyle(b)
71 style.setSummaryText(summaryText);
78 Notification.BigPictureStyle style = new Notification.BigPictureStyle(b)
82 style.bigLargeIcon(bigLargeIcon);
85 style.setSummaryText(summaryText);
91 Notification.InboxStyle style = new Notification.InboxStyle(b)
94 style.setSummaryText(summaryText);
97 style.addLine(text);

Completed in 409 milliseconds

1234567