Searched defs:style (Results 51 - 75 of 133) sorted by relevance

123456

/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java17 package android.text.style;
H A DDynamicDrawableSpan.java17 package android.text.style;
H A DEasyEditSpan.java17 package android.text.style;
44 "android.text.style.EXTRA_TEXT_CHANGED_TYPE";
H A DIconMarginSpan.java17 package android.text.style;
H A DLocaleSpan.java17 package android.text.style;
H A DBulletSpan.java17 package android.text.style;
95 Paint.Style style = p.getStyle();
124 p.setStyle(style);
H A DLeadingMarginSpan.java17 package android.text.style;
27 * A paragraph style affecting the leading margin. There can be multiple leading
H A DQuoteSpan.java17 package android.text.style;
82 Paint.Style style = p.getStyle();
90 p.setStyle(style);
/frameworks/base/core/jni/
H A Dandroid_view_PointerIcon.cpp48 jobject android_view_PointerIcon_getSystemIcon(JNIEnv* env, jobject contextObj, int32_t style) { argument
50 gPointerIconClassInfo.getSystemIcon, contextObj, style);
52 ALOGW("An exception occurred while getting a pointer icon with style %d.", style);
84 outPointerIcon->style = env->GetIntField(pointerIconObj, gPointerIconClassInfo.mType);
111 int32_t style, PointerIcon* outPointerIcon) {
112 jobject pointerIconObj = android_view_PointerIcon_getSystemIcon(env, contextObj, style);
110 android_view_PointerIcon_loadSystemIcon(JNIEnv* env, jobject contextObj, int32_t style, PointerIcon* outPointerIcon) argument
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/tools/aapt2/
H A DValueVisitor.h71 void VisitSubValues(Style* style) { argument
72 if (style->parent) {
73 Visit(&style->parent.value());
76 for (Style::Entry& entry : style->entries) {
H A DResourceParser_test.cpp381 "<style name=\"foo\" parent=\"@style/fu\">\n"
385 "</style>";
388 Style* style = test::GetValue<Style>(&table_, "style/foo"); local
389 ASSERT_NE(nullptr, style);
390 AAPT_ASSERT_TRUE(style->parent);
391 AAPT_ASSERT_TRUE(style->parent.value().name);
392 EXPECT_EQ(test::ParseNameOrDie("style/fu"),
393 style
413 Style* style = test::GetValue<Style>(&table_, "style/foo"); local
427 Style* style = test::GetValue<Style>(&table_, "style/foo"); local
443 Style* style = test::GetValue<Style>(&table_, "style/foo"); local
454 Style* style = test::GetValue<Style>(&table_, "style/foo.bar"); local
468 Style* style = test::GetValue<Style>(&table_, "style/foo.bar"); local
479 Style* style = test::GetValue<Style>(&table_, "style/foo"); local
[all...]
/frameworks/base/tools/layoutlib/rename_font/
H A Dbuild_font.py45 style = None variable in class:FontInfo
155 font.style = namerecord.text.strip()
187 style. If the style is 'Regular', it is appended only if the original font
189 if font.family is None or font.style is None:
190 raise InvalidFontException('Font doesn\'t have proper family name or style')
195 if font.style is 'Regular' and not font.ends_in_regular:
198 font.fullname = new_family + ' ' + font.style
206 keep the style info, to minimize the diff. """
H A Dbuild_font_single.py43 style = None variable in class:FontInfo
139 font.style = namerecord.text.strip()
171 style. If the style is 'Regular', it is appended only if the original font
173 if font.family is None or font.style is None:
174 raise InvalidFontException('Font doesn\'t have proper family name or style')
179 if font.style is 'Regular' and not font.ends_in_regular:
182 font.fullname = new_family + ' ' + font.style
190 keep the style info, to minimize the diff. """
/frameworks/support/compat/java/android/support/v4/content/res/
H A DResourcesCompat.java67 * @param theme The theme used to style the drawable attributes, may be
100 * @param theme The theme used to style the drawable attributes, may be
130 * @param theme The theme used to style the color attributes, may be
159 * @param theme The theme used to style the color attributes, may be
208 int style, @Nullable TextView targetView) throws NotFoundException {
212 return loadFont(context, id, value, style, targetView);
216 int style, @Nullable TextView targetView) {
219 Typeface typeface = loadFont(context, resources, value, id, style, targetView);
228 @NonNull Context context, Resources wrapper, TypedValue value, int id, int style,
241 Typeface cached = TypefaceCompat.findFromCache(wrapper, id, style);
207 getFont(@onNull Context context, @FontRes int id, TypedValue value, int style, @Nullable TextView targetView) argument
215 loadFont(@onNull Context context, int id, TypedValue value, int style, @Nullable TextView targetView) argument
227 loadFont( @onNull Context context, Resources wrapper, TypedValue value, int id, int style, @Nullable TextView targetView) argument
[all...]
/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...]
H A DTypefaceCompatApi24Impl.java103 int weight, boolean style) {
106 family, buffer, ttcIndex, null /* variation axis */, weight, style);
139 FontFamilyFilesResourceEntry entry, Resources resources, int style) {
102 addFontWeightStyle(Object family, ByteBuffer buffer, int ttcIndex, int weight, boolean style) argument
138 createFromFontFamilyFilesResourceEntry(Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java46 * Creates a themed context based on the explicit style resource or the parent context's default
50 * by the primary color defined in the given {@code style}, or in the parent {@code context}.
53 * @param style the resource ID of the style against which to inflate this context, or
57 public static Context createThemedContext(Context context, int style) { argument
62 if (getControllerColor(context, style) == COLOR_DARK_ON_LIGHT_BACKGROUND) {
63 theme = R.style.Theme_MediaRouter_Light;
65 theme = R.style.Theme_MediaRouter_Light_DarkControlPanel;
68 if (getControllerColor(context, style) == COLOR_DARK_ON_LIGHT_BACKGROUND) {
69 theme = R.style
93 getControllerColor(Context context, int style) argument
166 getThemeColor(Context context, int style, int attr) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java97 * @param style
99 public void setOrientationStyle(int style) { argument
100 mOrientationStyle = style;
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp51 jlong shapeHandle, jfloat advance, jfloat phase, jint style) {
55 (SkPath1DPathEffect::Style)style).release();
50 OneD_constructor(JNIEnv* env, jobject, jlong shapeHandle, jfloat advance, jfloat phase, jint style) argument
H A DTypeface.cpp31 static jlong Typeface_createFromTypeface(JNIEnv* env, jobject, jlong familyHandle, jint style) { argument
33 Typeface* face = Typeface::createRelative(family, (SkTypeface::Style)style);
37 face = Typeface::createRelative(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
/frameworks/base/libs/hwui/hwui/
H A DTypeface.cpp58 // Resolve the relative weight from the baseWeight and target style.
75 Typeface* Typeface::createRelative(Typeface* src, SkTypeface::Style style) { argument
81 result->fSkiaStyle = style;
82 result->fStyle = computeRelativeStyle(result->fBaseWeight, style);
147 const SkFontStyle& style = skTypeface->fontStyle(); local
148 weightFromFont = style.weight();
149 italicFromFont = style.slant() != SkFontStyle::kUpright_Slant;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DHybridGroupManager.java65 private HybridNotificationView inflateHybridViewWithStyle(int style) { argument
66 LayoutInflater inflater = new ContextThemeWrapper(mContext, style)
99 R.style.HybridNotification);
105 R.style.HybridNotification_Ambient);
109 HybridNotificationView reusableView, Notification notification, int style) {
111 reusableView = inflateHybridViewWithStyle(style);
108 bindFromNotificationWithStyle( HybridNotificationView reusableView, Notification notification, int style) argument
/frameworks/base/rs/java/android/renderscript/
H A DFont.java133 static String getFontFileName(String familyName, Style style) { argument
136 switch(style) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java78 * Return a list of fonts that match the style and variant. The list is ordered according to
92 // Calculate the required weight based on style and weight of this typeface.
152 /*package*/ static synchronized long nativeCreateFromTypeface(long native_instance, int style) { argument
161 return sManager.addNewDelegate(new Typeface_Delegate(delegate.mFontFamilies, style,
247 private Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style) { argument
248 this(fontFamilies, style, FontFamily_Delegate.DEFAULT_FONT_WEIGHT);
251 public Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style, int weight) { argument
253 mStyle = style;

Completed in 382 milliseconds

123456