Searched refs:style (Results 1 - 25 of 456) 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 DLineBackgroundSpan.java17 package android.text.style;
H A DMaskFilterSpan.java17 package android.text.style;
30 * <img src="{@docRoot}reference/android/images/text/style/maskfilterspan.png" />
H A DRasterizerSpan.java17 package android.text.style;
H A DTabStopSpan.java17 package android.text.style;
46 * <img src="{@docRoot}reference/android/images/text/style/tabstopspan.png" />
/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/
H A DValueVisitor_test.cpp43 void Visit(Style* style) override {
44 visited_style = style;
45 DescendingValueVisitor::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 DAutoVersioner_test.cpp57 "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 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/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/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/main/java/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/main/java/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/compat/src/main/java/androidx/core/graphics/
H A DTypefaceCompat.java77 public static Typeface findFromCache(@NonNull Resources resources, int id, int style) { argument
78 return sTypefaceCache.get(createResourceUid(resources, id, style));
86 * @param style style to be used for this resource, -1 if not available.
89 private static String createResourceUid(final Resources resources, int id, int style) { argument
90 return resources.getResourcePackageName(id) + "-" + id + "-" + style;
101 @NonNull Resources resources, int id, int style,
114 fontCallback, handler, isBlocking, timeout, style);
117 context, (FontFamilyFilesResourceEntry) entry, resources, style);
129 sTypefaceCache.put(createResourceUid(resources, id, style), typefac
99 createFromResourcesFamilyXml( @onNull Context context, @NonNull FamilyResourceEntry entry, @NonNull Resources resources, int id, int style, @Nullable ResourcesCompat.FontCallback fontCallback, @Nullable Handler handler, boolean isRequestFromLayoutInflator) argument
138 createFromResourcesFontFile( @onNull Context context, @NonNull Resources resources, int id, String path, int style) argument
154 createFromFontInfo(@onNull Context context, @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) argument
[all...]
H A DTypefaceCompatBaseImpl.java51 private static <T> T findBestFont(T[] fonts, int style, StyleExtractor<T> extractor) { argument
52 final int targetWeight = (style & Typeface.BOLD) == 0 ? 400 : 700;
53 final boolean isTargetItalic = (style & Typeface.ITALIC) != 0;
70 protected FontInfo findBestInfo(FontInfo[] fonts, int style) { argument
71 return findBestFont(fonts, style, new StyleExtractor<FontInfo>() {
106 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) {
111 FontInfo font = findBestInfo(fonts, style);
123 private FontFileResourceEntry findBestEntry(FontFamilyFilesResourceEntry entry, int style) { argument
124 return findBestFont(entry.getEntries(), style, new StyleExtractor<FontFileResourceEntry>() {
139 FontFamilyFilesResourceEntry entry, Resources resources, int style) {
105 createFromFontInfo(Context context, @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) argument
138 createFromFontFamilyFilesResourceEntry(Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
152 createFromResourcesFontFile( Context context, Resources resources, int id, String path, int style) argument
[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/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAppCompatDialogFragment.java46 public void setupDialog(Dialog dialog, int style) { argument
50 switch (style) {
62 super.setupDialog(dialog, style);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DItemLayoutTest.java51 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 DWallpaperSettingsActivity.java42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true);
44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);

Completed in 299 milliseconds

1234567891011>>