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

12345

/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 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 DTextAppearanceSpan.java17 package android.text.style;
29 * Sets the text color, size, style, and typeface to match a TextAppearance
42 * <code>android.R.style.TextAppearance_Small</code>.
52 * for example, <code>android.R.style.TextAppearance_Small</code>,
95 a = context.obtainStyledAttributes(com.android.internal.R.style.Theme,
106 * Makes text be drawn with the specified typeface, size, style,
109 public TextAppearanceSpan(String family, int style, int size, argument
112 mStyle = style;
193 * Returns the text style specified by this span, or <code>0</code>
217 int style
[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;
H A DQuoteSpan.java17 package android.text.style;
70 Paint.Style style = p.getStyle();
78 p.setStyle(style);
/frameworks/base/docs/html/sdk/
H A Dsdk_toc.cs7 <span style="display:none" class="de">Aktuelle SDK-Version</span>
8 <span style="display:none" class="es">Versión actual del SDK</span>
9 <span style="display:none" class="fr">Version actuelle du SDK</span>
10 <span style="display:none" class="it">Release SDK attuale</span>
11 <span style="display:none" class="ja">現在リリースされている SDK</span>
12 <span style="display:none" class="zh-CN">当前的 SDK 版本</span>
13 <span style="display:none" class="zh-TW">目前 SDK 發行版本</span>
18 <span style="display:none" class="de">Herunterladen</span>
19 <span style="display:none" class="es">Descargar</span>
20 <span style
[all...]
/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 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
H A DTypeface.java24 * The Typeface class specifies the typeface and intrinsic style of a font.
39 /** The NORMAL style of the default sans serif typeface. */
41 /** The NORMAL style of the default serif typeface. */
43 /** The NORMAL style of the default monospace typeface. */
56 /** Returns the typeface's intrinsic style attributes */
72 * Create a typeface object given a family name, and option style information.
75 * its "real" style characteristics are.
78 * @param style The style (normal, bold, italic) of the typeface.
82 public static Typeface create(String familyName, int style) { argument
97 create(Typeface family, int style) argument
110 defaultFromStyle(int style) argument
172 nativeCreate(String familyName, int style) argument
173 nativeCreateFromTypeface(int native_instance, int style) argument
[all...]
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs12 <span class="de" style="display:none">Einführung in Android</span>
13 <span class="es" style="display:none">Información básica sobre Android</span>
14 <span class="fr" style="display:none">Présentation d'Android</span>
15 <span class="it" style="display:none">Nozioni di base su Android</span>
16 <span class="ja" style="display:none">Android の基本</span>
17 <span class="zh-CN" style="display:none">Android 基础知识</span>
18 <span class="zh-TW" style="display:none">Android 簡介</span>
23 <span class="de" style="display:none">Was ist Android?</span>
24 <span class="es" style="display:none">¿Qué es Android?</span>
25 <span class="fr" style
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java20 import android.text.style.*;
84 int[] style = nativeGetStyle(mNative, idx);
86 if (localLOGV) Log.v(TAG, "Got styles: " + style);
87 if (style != null) {
107 res = applyStyles(str, style, mStyleIDs);
135 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { argument
136 if (style.length == 0)
141 while (i < style.length) {
142 int type = style[i];
143 if (localLOGV) Log.v(TAG, "Applying style spa
[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
/frameworks/base/core/java/android/text/
H A DHtml.java32 import android.text.style.AbsoluteSizeSpan;
33 import android.text.style.AlignmentSpan;
34 import android.text.style.CharacterStyle;
35 import android.text.style.ForegroundColorSpan;
36 import android.text.style.ImageSpan;
37 import android.text.style.ParagraphStyle;
38 import android.text.style.QuoteSpan;
39 import android.text.style.RelativeSizeSpan;
40 import android.text.style.StrikethroughSpan;
41 import android.text.style
[all...]
/frameworks/base/docs/html/resources/
H A Dresources_toc.cs4 <span style="display:none" class="de"></span>
5 <span style="display:none" class="es">Comunidad</span>
6 <span style="display:none" class="fr">Communauté</span>
7 <span style="display:none" class="it"></span>
8 <span style="display:none" class="ja">コミュニティ</span>
9 <span style="display:none" class="zh-CN">社区</span>
10 <span style="display:none" class="zh-TW">社群</span>
150 <span class="de" style="display:none">Lernprogramme</span>
151 <span class="es" style="display:none">Tutoriales</span>
152 <span class="fr" style
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java23 import android.text.style.*;
81 StyleSpan[] style;
83 style = s2.getSpans(1, 2, StyleSpan.class);
84 assertEquals(1, style.length);
85 assertEquals(1, s2.getSpanStart(style[0]));
86 assertEquals(2, s2.getSpanEnd(style[0]));
88 style = s2.getSpans(3, 7, StyleSpan.class);
89 assertEquals(1, style.length);
90 assertEquals(3, s2.getSpanStart(style[0]));
91 assertEquals(7, s2.getSpanEnd(style[
[all...]

Completed in 412 milliseconds

12345