/frameworks/base/docs/html/sdk/ |
D | sdk_toc.cs | 7 <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="display:none" class="fr">Téléchargement</span> [all …]
|
/frameworks/base/docs/html/guide/ |
D | guide_toc.cs | 12 <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> 27 <span class="ja" style="display:none">Android とは</span> 28 <span class="zh-CN" style="display:none">Android 是什么?</span> 29 <span class="zh-TW" style="display:none">什麼是 Android?</span> 32 <!-- <li><a style="color:gray;">The Android SDK</a></li> --> 33 <!-- <li><a style="color:gray;">Walkthrough for Developers</a></li> --> 222 <span class="it" style="display:none">In Eclipse, con ADT</span> 223 <span class="ja" style="display:none">Eclipse 内で ADT を使用</span> [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 20 import android.text.style.*; 83 int[] style = nativeGetStyle(mNative, idx); in get() local 85 if (localLOGV) Log.v(TAG, "Got styles: " + style); in get() 86 if (style != null) { in get() 106 res = applyStyles(str, style, mStyleIDs); in get() 134 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument 135 if (style.length == 0) in applyStyles() 140 while (i < style.length) { in applyStyles() 141 int type = style[i]; in applyStyles() 143 + ", start=" + style[i+1] + ", end=" + style[i+2]); in applyStyles() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 32 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.StyleSpan; [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 82 public static Typeface create(String familyName, int style) { in create() argument 83 return new Typeface(nativeCreate(familyName, style)); in create() 97 public static Typeface create(Typeface family, int style) { in create() argument 102 return new Typeface(nativeCreateFromTypeface(ni, style)); in create() 110 public static Typeface defaultFromStyle(int style) { in defaultFromStyle() argument 111 return sDefaults[style]; in defaultFromStyle() 169 private static native int nativeCreate(String familyName, int style); in nativeCreate() argument 170 private static native int nativeCreateFromTypeface(int native_instance, int style); in nativeCreateFromTypeface() argument
|
D | BlurMaskFilter.java | 46 public BlurMaskFilter(float radius, Blur style) { in BlurMaskFilter() argument 47 native_instance = nativeConstructor(radius, style.native_int); in BlurMaskFilter() 50 private static native int nativeConstructor(float radius, int style); in nativeConstructor() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Typeface.java | 97 public static Typeface create(String familyName, int style) { in create() argument 98 styleBuffer[0] = style; in create() 121 public static Typeface create(Typeface family, int style) { in create() argument 122 styleBuffer[0] = style; in create() 139 public static Typeface defaultFromStyle(int style) { in defaultFromStyle() argument 140 return sDefaults[style]; in defaultFromStyle() 155 private Typeface(String family, int style, List<Font> fonts) { in Typeface() argument 158 mStyle = style; in Typeface()
|
D | Canvas.java | 784 Style style = paint.getStyle(); in doDrawRect() local 787 if (style == Style.FILL || style == Style.FILL_AND_STROKE) { in doDrawRect() 791 if (style == Style.STROKE || style == Style.FILL_AND_STROKE) { in doDrawRect() 809 Style style = paint.getStyle(); in drawRoundRect() local 816 if (style == Style.FILL || style == Style.FILL_AND_STROKE) { in drawRoundRect() 821 if (style == Style.STROKE || style == Style.FILL_AND_STROKE) { in drawRoundRect() 884 Style style = paint.getStyle(); in drawCircle() local 889 if (style == Style.FILL || style == Style.FILL_AND_STROKE) { in drawCircle() 893 if (style == Style.STROKE || style == Style.FILL_AND_STROKE) { in drawCircle() 911 Style style = paint.getStyle(); in drawOval() local [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 17 package android.text.style; 95 a = context.obtainStyledAttributes(com.android.internal.R.style.Theme, in TextAppearanceSpan() 109 public TextAppearanceSpan(String family, int style, int size, in TextAppearanceSpan() argument 112 mStyle = style; in TextAppearanceSpan() 217 int style = 0; in updateMeasureState() local 220 style = tf.getStyle(); in updateMeasureState() 223 style |= mStyle; in updateMeasureState() 226 tf = Typeface.create(mTypeface, style); in updateMeasureState() 228 tf = Typeface.defaultFromStyle(style); in updateMeasureState() 230 tf = Typeface.create(tf, style); in updateMeasureState() [all …]
|
D | StyleSpan.java | 17 package android.text.style; 44 public StyleSpan(int style) { in StyleSpan() argument 45 mStyle = style; in StyleSpan() 81 private static void apply(Paint paint, int style) { in apply() argument 91 int want = oldStyle | style; in apply()
|
D | QuoteSpan.java | 17 package android.text.style; 70 Paint.Style style = p.getStyle(); in drawLeadingMargin() local 78 p.setStyle(style); in drawLeadingMargin()
|
/frameworks/base/docs/html/guide/appendix/ |
D | media-formats.jd | 27 <td style="text-align: center;">X</td> 35 <td style="text-align: center;">X</td> 41 <td style="text-align: center;">X</td> 46 <td style="text-align: center;">X</td> 47 <td style="text-align: center;">X</td> 56 <td style="text-align: center;">X</td> 64 <td style="text-align: center;">X</td> 73 <td style="text-align: center;">X</td> 81 <td style="text-align: center;">X</td> 89 <td style="text-align: center;">X</td> [all …]
|
/frameworks/base/awt/java/awt/im/ |
D | InputMethodHighlight.java | 57 private Map<TextAttribute,?> style; field in InputMethodHighlight 64 int variation, Map<java.awt.font.TextAttribute, ?> style) { in InputMethodHighlight() argument 72 this.style = style; in InputMethodHighlight() 84 return style; in getStyle()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/content/ |
D | PrimitiveTest.java | 48 tryEnum(R.style.TestEnum1, 1); in testEnum() 49 tryEnum(R.style.TestEnum2, 2); in testEnum() 50 tryEnum(R.style.TestEnum10, 10); in testEnum() 51 tryEnum(R.style.TestEnum1_EmptyInherit, 1); in testEnum() 67 tryFlag(R.style.TestFlag1, 0x1); in testFlags() 68 tryFlag(R.style.TestFlag2, 0x2); in testFlags() 69 tryFlag(R.style.TestFlag31, 0x40000000); in testFlags() 70 tryFlag(R.style.TestFlag1And2, 0x3); in testFlags() 71 tryFlag(R.style.TestFlag1And2And31, 0x40000003); in testFlags()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | themes.jd | 28 …style is a set of one or more formatting attributes that you can apply as a unit to single element… 32 …es. Android provides some default style and theme resources that you can use, or you can declare y… 37 …<li>For each style or theme, add a <code><style></code> element with a unique <code>name</co… 38 …The name is used for referencing these styles later, and the parent indicates what style resource … 39 …<li>Inside the <code><style></code> element, declare format values in one or more <code><ite… 40 …<code><item></code> identifies its style property with a <code>name</code> attribute and def… 47 <p>Here's an example declaration of a style: </p> 52 <style name="SpecialText" parent="@style/Text"> 55 </style> 59 …n, you can use <code><item></code> elements to set specific formatting values for the style. [all …]
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
D | FontManager.java | 309 private FontPeer createFontPeer(String name, int style, int size, int logicalIndex){ in createFontPeer() argument 312 peer = createLogicalFontPeer(name, style, size); in createFontPeer() 314 peer = createPhysicalFontPeer(name, style, size); in createFontPeer() 343 private FontPeer createLogicalFontPeer(String faceName, int style, int size){ in createLogicalFontPeer() argument 345 FontProperty[] fps = getFontProperties(family.toLowerCase() + "." + style); //$NON-NLS-1$ in createLogicalFontPeer() 368 physicalFonts[i] = (FontPeerImpl)getDefaultFont(style, size); in createLogicalFontPeer() 371 return new CompositeFont(family, faceName, style, size, fps, physicalFonts); in createLogicalFontPeer() 376 FontPeerImpl peer = (FontPeerImpl)getDefaultFont(style, size); in createLogicalFontPeer() 390 public abstract FontPeer createPhysicalFontPeer(String name, int style, int size); in createPhysicalFontPeer() argument 400 public FontPeer getDefaultFont(int style, int size){ in getDefaultFont() argument [all …]
|
D | AndroidFontManager.java | 133 int style = getBoldStyle(weight) | getItalicStyle(italic); in initFontProperties() local 141 …rty fp = new AndroidFontProperty(lName, styleName, null, fontName, value, style, exclRange, encodi… in initFontProperties() 251 public FontPeer createPhysicalFontPeer(String name, int style, int size) { in createPhysicalFontPeer() argument 258 peer = new AndroidFont(getFamily(familyIndex), style, size); in createPhysicalFontPeer() 265 peer = new AndroidFont(name, style, size); in createPhysicalFontPeer() 272 public FontPeer createDefaultFont(int style, int size) { in createDefaultFont() argument 273 Log.i("DEFAULT FONT", Integer.toString(style)); in createDefaultFont() 274 return new AndroidFont(DEFAULT_NAME, style, size); in createDefaultFont()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | SpannedTest.java | 23 import android.text.style.*; 81 StyleSpan[] style; in testWrapParcel() local 83 style = s2.getSpans(1, 2, StyleSpan.class); in testWrapParcel() 84 assertEquals(1, style.length); in testWrapParcel() 85 assertEquals(1, s2.getSpanStart(style[0])); in testWrapParcel() 86 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel() 88 style = s2.getSpans(3, 7, StyleSpan.class); in testWrapParcel() 89 assertEquals(1, style.length); in testWrapParcel() 90 assertEquals(3, s2.getSpanStart(style[0])); in testWrapParcel() 91 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel()
|
D | HtmlTest.java | 28 import android.text.style.ForegroundColorSpan; 29 import android.text.style.QuoteSpan; 30 import android.text.style.StrikethroughSpan; 31 import android.text.style.StyleSpan; 32 import android.text.style.SubscriptSpan; 33 import android.text.style.SuperscriptSpan; 34 import android.text.style.TextAppearanceSpan; 35 import android.text.style.TypefaceSpan; 36 import android.text.style.URLSpan; 37 import android.text.style.UnderlineSpan;
|
/frameworks/base/awt/java/awt/ |
D | Font.java | 159 protected int style; field in Font 249 this.style = Font.PLAIN; in Font() 263 this.style |= Font.ITALIC; in Font() 269 this.style |= Font.BOLD; in Font() 296 if ((this.style & Font.BOLD) != 0) { in Font() 301 if ((this.style & Font.ITALIC) != 0) { in Font() 320 public Font(String name, int style, int size) { in Font() argument 324 this.style = (style & ~0x03) == 0 ? style : Font.PLAIN; in Font() 336 if ((this.style & Font.BOLD) != 0) { in Font() 341 if ((this.style & Font.ITALIC) != 0) { in Font() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Typeface.cpp | 31 SkTypeface::Style style) { in Typeface_create() argument 35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style); in Typeface_create() 39 face = SkTypeface::CreateFromName(str.c_str(), style); in Typeface_create() 44 static SkTypeface* Typeface_createFromTypeface(JNIEnv* env, jobject, SkTypeface* family, int style)… in Typeface_createFromTypeface() argument 45 return SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface() 53 return face->style(); in Typeface_getStyle()
|
/frameworks/base/docs/html/intl/ja/ |
D | index.jd | 15 <div id="announcement" style="width:275px"> 21 …<div id="carouselMain" style="height:210px"> <!-- this height can be adjusted based on the content… 28 <div style="left: 0px;" id="app-list"> 38 <div style="clear:both"> </div> 44 …Root}sdk/index.html"><img src="{@docRoot}assets/images/icon_download.jpg" style="padding:0" /></a>… 55 …droid.com/market.html"><img src="{@docRoot}assets/images/icon_market.jpg" style="padding:0" /></a>… 66 …ource.android.com"><img src="{@docRoot}assets/images/icon_contribute.jpg" style="padding:0" /></a>… 77 …ser/androiddevelopers"><img src="{@docRoot}assets/images/video-droid.png" style="padding:0" /></a>… 81 … <p style="margin-top:1em"><a href="{@docRoot}videos/index.html">その他の Android 動画 »</a></p> 90 <style> [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | FontLoader.java | 137 public synchronized Font getFont(String family, int[] style) { in getFont() argument 157 Font f = styleMap.get(style); in getFont() 164 switch (style[0]) { in getFont() 170 f = getFont(ttf, FONT_STYLES[style[0]]); in getFont() 173 style[0] = Typeface.NORMAL; in getFont() 177 f = getFont(ttf, FONT_STYLES[style[0]]); in getFont() 181 style[0] = Typeface.BOLD; in getFont() 185 style[0] = Typeface.ITALIC; in getFont() 188 style[0] = Typeface.NORMAL; in getFont() 196 styleMap.put(style[0], f); in getFont()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design.jd | 26 <li style="margin-top:4px;"><a href="#dodonts">General guidelines</a></li> 49 your product. Streamlining the graphic style will also make the UI seem more 53 of your application’s user interface that fit the style set by the Android UI 93 <td class="image-caption-i" style="padding-right:0"> 102 <table style="margin-top:0;"> 103 <tr><td style="padding-right:1em"><em>1.</em></td><td>92°</td></tr> 140 <table style="margin-top:0;"> 141 <tr><td style="padding-right:1em"><em>1.</em></td><td>Edge highlight:</td><td>white</td></tr> 153 <table style="margin:0px;padding:0px;"> 155 <td style="border:0;width:350px;"> [all …]
|
/frameworks/base/docs/html/sdk/api_diff/3/ |
D | missingSinces.txt | 62 NO DOC BLOCK: android.text.style.UpdateAppearance Interface 68 NO DOC BLOCK: android.text.style.AbsoluteSizeSpan Constructor (android.os.Parcel) 69 NO DOC BLOCK: android.text.style.AlignmentSpan.Standard Constructor (android.os.Parcel) 71 NO DOC BLOCK: android.text.style.BackgroundColorSpan Constructor (android.os.Parcel) 72 NO DOC BLOCK: android.text.style.BulletSpan Constructor (android.os.Parcel) 73 NO DOC BLOCK: android.text.style.DynamicDrawableSpan Constructor (int) 74 NO DOC BLOCK: android.text.style.ForegroundColorSpan Constructor (android.os.Parcel) 79 NO DOC BLOCK: android.text.style.ImageSpan Constructor (android.content.Context, android.net.Uri, i… 80 NO DOC BLOCK: android.text.style.ImageSpan Constructor (android.content.Context, int, int) 81 NO DOC BLOCK: android.text.style.ImageSpan Constructor (android.graphics.Bitmap, int) [all …]
|