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

1234567891011>>

/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;
75 * Returns the style constan
91 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;
/frameworks/base/graphics/java/android/graphics/
H A DBlurMaskFilter.java58 * @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 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/tools/aapt2/link/
H A DAutoVersioner_test.cpp66 "app:style/Foo", test::ParseConfigOrDie("v4"),
79 "app:style/Foo", test::ParseConfigOrDie("v21"),
95 Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", local
97 ASSERT_NE(style, nullptr);
98 ASSERT_EQ(style->entries.size(), 1u);
99 AAPT_ASSERT_TRUE(style->entries.front().key.name);
100 EXPECT_EQ(style->entries.front().key.name.value(),
103 style = test::GetValueForConfig<Style>(table.get(), "app:style/Fo
[all...]
/frameworks/base/tools/aapt2/
H A DValueVisitor_test.cpp43 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/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/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImpl21.java30 Notification.MediaStyle style = new Notification.MediaStyle(b.getBuilder());
32 style.setShowActionsInCompactView(actionsToShowInCompact);
35 style.setMediaSession((MediaSession.Token) token);
H A DAppCompatDialogFragment.java45 public void setupDialog(Dialog dialog, int style) { argument
49 switch (style) {
61 super.setupDialog(dialog, style);
/frameworks/base/libs/androidfw/tests/data/app/
H A DR.h33 struct style { struct in namespace:com::android::app
/frameworks/base/libs/androidfw/tests/data/system/
H A DR.h32 struct style { struct in namespace:android
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$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 DFragmentDialogSupport.java127 // 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 DFragmentDialogSupport.java127 // 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 Dandroid_view_PointerIcon.h70 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/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/support/compat/java/android/support/v4/graphics/
H A DTypefaceCompat.java74 int style);
87 public static Typeface findFromCache(Resources resources, int id, int style) { argument
88 return sTypefaceCache.get(createResourceUid(resources, id, style));
96 * @param a style to be used for this resource, -1 if not availbale.
99 private static String createResourceUid(final Resources resources, int id, int style) { argument
100 return resources.getResourcePackageName(id) + "-" + id + "-" + style;
109 Context context, FamilyResourceEntry entry, Resources resources, int id, int style,
116 providerEntry.getTimeout(), style);
119 context, (FontFamilyFilesResourceEntry) entry, resources, style);
122 sTypefaceCache.put(createResourceUid(resources, id, style), typefac
72 createFromFontFamilyFilesResourceEntry( Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
108 createFromResourcesFamilyXml( Context context, FamilyResourceEntry entry, Resources resources, int id, int style, @Nullable TextView targetView) argument
131 createFromResourcesFontFile( Context context, Resources resources, int id, int style) argument
[all...]

Completed in 2965 milliseconds

1234567891011>>