/frameworks/base/core/java/android/text/style/ |
H A D | ParagraphStyle.java | 17 package android.text.style;
|
H A D | UpdateAppearance.java | 17 package android.text.style;
|
H A D | UpdateLayout.java | 17 package android.text.style;
|
H A D | WrapTogetherSpan.java | 17 package android.text.style;
|
H A D | SuggestionSpan.aidl | 17 package android.text.style;
|
H A D | TabStopSpan.java | 17 package android.text.style;
|
H A D | StyleSpan.java | 17 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; 75 * Returns the style constan 91 apply(Paint paint, int style) argument [all...] |
H A D | ClickableSpan.java | 17 package android.text.style;
|
H A D | LineBackgroundSpan.java | 17 package android.text.style;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BlurMaskFilter.java | 58 * @param style The Blur to use 61 public BlurMaskFilter(float radius, Blur style) { argument 62 native_instance = nativeConstructor(radius, style.native_int); 65 private static native long nativeConstructor(float radius, int style); argument
|
H A D | PathDashPathEffect.java | 34 * 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/tools/aapt2/ |
H A D | ValueVisitor_test.cpp | 43 void Visit(Style* style) override { 44 visited_style = style; 45 ValueVisitor::Visit(style); 58 std::unique_ptr<Style> style = local 60 .SetParent("android:style/foo") 65 style->Accept(&visitor); 67 ASSERT_EQ(style.get(), visitor.visited_style); 71 ASSERT_EQ(style->entries.size() + 2, visitor.visited_refs.size()); 78 std::unique_ptr<Style> style = local 83 EXPECT_NE(ValueCast<Style>(style [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | AutoVersioner_test.cpp | 57 "app:style/Foo", test::ParseConfigOrDie("v4"), 70 "app:style/Foo", test::ParseConfigOrDie("v21"), 86 Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v4")); local 87 ASSERT_THAT(style, NotNull()); 88 ASSERT_EQ(style->entries.size(), 1u); 89 EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")), style->entries.front().key.name); 91 style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v13")); 92 ASSERT_THAT(style, NotNul [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 21 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/libs/androidfw/tests/data/app/ |
H A D | R.h | 33 struct style { struct in namespace:com::android::app
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 32 struct style { struct in namespace:android
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | TypefaceCompat.java | 68 int style); 72 int style); 75 Context context, Resources resources, int id, String path, int style); 85 public static Typeface findFromCache(Resources resources, int id, int style) { argument 86 return sTypefaceCache.get(createResourceUid(resources, id, style)); 94 * @param style style to be used for this resource, -1 if not available. 97 private static String createResourceUid(final Resources resources, int id, int style) { argument 98 return resources.getResourcePackageName(id) + "-" + id + "-" + style; 107 Context context, FamilyResourceEntry entry, Resources resources, int id, int style, 66 createFromFontFamilyFilesResourceEntry( Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument 70 createFromFontInfo(Context context, @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) argument 74 createFromResourcesFontFile( Context context, Resources resources, int id, String path, int style) argument 106 createFromResourcesFamilyXml( Context context, FamilyResourceEntry entry, Resources resources, int id, int style, @Nullable TextView targetView) argument 129 createFromResourcesFontFile( Context context, Resources resources, int id, String path, int style) argument 142 createFromFontInfo(Context context, @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) argument [all...] |
H A D | TypefaceCompatBaseImpl.java | 52 private static <T> T findBestFont(T[] fonts, int style, StyleExtractor<T> extractor) { argument 53 final int targetWeight = (style & Typeface.BOLD) == 0 ? 400 : 700; 54 final boolean isTargetItalic = (style & Typeface.ITALIC) != 0; 71 protected FontInfo findBestInfo(FontInfo[] fonts, int style) { argument 72 return findBestFont(fonts, style, new StyleExtractor<FontInfo>() { 108 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) { 113 FontInfo font = findBestInfo(fonts, style); 125 private FontFileResourceEntry findBestEntry(FontFamilyFilesResourceEntry entry, int style) { argument 126 return findBestFont(entry.getEntries(), style, new StyleExtractor<FontFileResourceEntry>() { 142 FontFamilyFilesResourceEntry entry, Resources resources, int style) { 107 createFromFontInfo(Context context, @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) argument 141 createFromFontFamilyFilesResourceEntry(Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument 156 createFromResourcesFontFile( Context context, Resources resources, int id, String path, int style) argument [all...] |
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
H A D | R$style.class | ... android.layoutlib.test.myapplication.R$style extends java.lang.Object {
public static final int ... |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentDialogSupport.java | 127 // Pick a style based on the num. 128 int style = DialogFragment.STYLE_NORMAL, theme = 0; 130 case 1: style = DialogFragment.STYLE_NO_TITLE; break; 131 case 2: style = DialogFragment.STYLE_NO_FRAME; break; 132 case 3: style = DialogFragment.STYLE_NO_INPUT; break; 133 case 4: style = DialogFragment.STYLE_NORMAL; break; 134 case 5: style = DialogFragment.STYLE_NO_TITLE; break; 135 case 6: style = DialogFragment.STYLE_NO_FRAME; break; 136 case 7: style = DialogFragment.STYLE_NORMAL; break; 139 case 2: theme = android.R.style [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentDialogSupport.java | 127 // Pick a style based on the num. 128 int style = DialogFragment.STYLE_NORMAL, theme = 0; 130 case 1: style = DialogFragment.STYLE_NO_TITLE; break; 131 case 2: style = DialogFragment.STYLE_NO_FRAME; break; 132 case 3: style = DialogFragment.STYLE_NO_INPUT; break; 133 case 4: style = DialogFragment.STYLE_NORMAL; break; 134 case 5: style = DialogFragment.STYLE_NO_TITLE; break; 135 case 6: style = DialogFragment.STYLE_NO_FRAME; break; 136 case 7: style = DialogFragment.STYLE_NORMAL; break; 139 case 2: theme = android.R.style [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_PointerIcon.h | 70 int32_t style; member in struct:android::PointerIcon 78 return style == POINTER_ICON_STYLE_NULL; 82 style = POINTER_ICON_STYLE_NULL; 91 /* Gets a system pointer icon with the specified style. */ 93 jobject contextObj, int32_t style); 105 /* Loads the bitmap associated with a pointer icon by style. 108 jobject contextObj, int32_t style, PointerIcon* outPointerIcon);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDialogFragment.java | 45 public void setupDialog(Dialog dialog, int style) { argument 49 switch (style) { 61 super.setupDialog(dialog, style);
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | ItemLayoutTest.java | 51 R.style.SuwThemeMaterial_Light, 52 R.style.SuwThemeMaterial, 53 R.style.SuwThemeGlif_Light, 54 R.style.SuwThemeGlif, 55 R.style.SuwThemeGlifV2_Light, 56 R.style.SuwThemeGlifV2
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperSettingsActivity.java | 42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true); 44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
|