Searched defs:style (Results 101 - 125 of 133) sorted by path

123456

/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;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java166 // maps for dynamically generated id representing style objects (StyleResourceValue)
170 private int mDynamicIdGenerator = 0x02030000; // Base id for R.style in custom namespace
378 // check if this is a style resource
380 // get the id that will represent this style.
437 // The base value for R.style is 0x01030000 and the custom style is 0x02030000.
438 // So, if the second byte is 03, it's probably a style.
668 StyleResourceValue style = null;
671 style = getStyleByDynamicId(resId);
673 if (style
1014 createStyleBasedTypedArray( @ullable StyleResourceValue style, int[] attrs) argument
[all...]
/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/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/compile/mclinker/tools/mcld/
H A DMain.cpp553 // --hash-style=style
555 mcld::GeneralOptions::HashStyle style = local
561 if (style != mcld::GeneralOptions::HashStyle::Unknown) {
562 config_.options().setHashStyle(style);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/minikin/include/minikin/
H A DFontFamily.h35 // FontStyle represents all style information needed to select an actual font
80 inline android::hash_t hash_type(const FontStyle &style) { argument
81 return style.hash();
106 Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style);
107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style);
112 FontStyle style; member in struct:minikin::Font
132 FakedFont getClosestMatch(FontStyle style) const;
142 FontStyle getStyle(size_t index) const { return mFonts[index].style; }
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp240 // - Returns 1 if the font doesn't have variant or the variant matches with the text style.
241 // - No score if the font has a variant but it doesn't match with the text style.
358 void FontCollection::itemize(const uint16_t *string, size_t string_size, FontStyle style, argument
360 const uint32_t langListId = style.getLanguageListId();
361 int variant = style.getVariant();
419 result->push_back({family->getClosestMatch(style), static_cast<int>(start), 0});
429 FakedFont FontCollection::baseFontFaked(FontStyle style) { argument
430 return mFamilies[0]->getClosestMatch(style);
H A DFontFamily.cpp68 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) argument
69 : typeface(typeface), style(style) {
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) argument
73 : typeface(typeface), style(style) {
90 style = o.style;
96 style = o.style;
[all...]
H A DLayout.cpp54 FontStyle style; member in struct:minikin::LayoutContext
71 FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars,
74 mStart(start), mCount(count), mId(collection->getId()), mStyle(style),
118 // TODO: language matching (possibly integrate into style)
557 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
562 ctx.style = style;
576 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
581 ctx.style = style;
70 LayoutCacheKey(const std::shared_ptr<FontCollection>& collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
556 doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection) argument
575 measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection, float* advances) argument
[all...]
H A DLineBreaker.cpp116 FontStyle style, size_t start, size_t end, bool isRtl) {
123 style, *paint, typeface, mCharWidths.data() + start);
194 lastBreak, j - lastBreak, mTextBuf.size(), bidiFlags, style,
200 afterWord - j, mTextBuf.size(), bidiFlags, style, *paint,
115 addStyleRun(MinikinPaint* paint, const std::shared_ptr<FontCollection>& typeface, FontStyle style, size_t start, size_t end, bool isRtl) argument
/frameworks/minikin/tests/unittest/
H A DFontCollectionItemizeTest.cpp55 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, FontStyle style, argument
64 collection->itemize(buf, len, style, result);
636 // the differences between desired and actual font style.
835 const FontStyle style = FontStyle( local
838 itemize(collection, "U+9AA8", style, &runs);
1151 const FontStyle style = local
1153 itemize(collection, testCase.testString.c_str(), style, &runs);
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompat.java595 * Interface for appcompat to extend v4 builder with media style.
891 Style style) {
892 if (style != null) {
893 if (style instanceof BigTextStyle) {
894 BigTextStyle bigTextStyle = (BigTextStyle) style;
900 } else if (style instanceof InboxStyle) {
901 InboxStyle inboxStyle = (InboxStyle) style;
907 } else if (style instanceof BigPictureStyle) {
908 BigPictureStyle bigPictureStyle = (BigPictureStyle) style;
922 Style style) {
890 addStyleToBuilderJellybean(NotificationBuilderWithBuilderAccessor builder, Style style) argument
921 addStyleToBuilderApi24(NotificationBuilderWithBuilderAccessor builder, Style style) argument
1689 setStyle(Style style) argument
[all...]
/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
H A DTypefaceCompatBaseImpl.java96 FontFamilyFilesResourceEntry entry, Resources resources, int style) {
98 entry, ((style & Typeface.BOLD) == 0) ? 400 : 700, (style & Typeface.ITALIC) != 0);
103 context, resources, best.getResourceId(), style);
95 createFromFontFamilyFilesResourceEntry(Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
/frameworks/support/compat/java/android/support/v4/provider/
H A DFontsContractCompat.java116 * be 0 for regular style and 1 for italic.
202 final TextView targetView, @FetchStrategy int strategy, int timeout, final int style) {
238 targetView.setTypeface(typeface, style);
285 * @param italic A boolean that indicates the font is italic style or not.
201 getFontSync(final Context context, final FontRequest request, final TextView targetView, @FetchStrategy int strategy, int timeout, final int style) argument
/frameworks/support/compat/java/android/support/v4/view/
H A DPointerIconCompat.java118 * Gets a system pointer icon for the given style.
119 * If style is not recognized, returns the default pointer icon.
122 * @param style The pointer icon style.
127 public static PointerIconCompat getSystemIcon(Context context, int style) { argument
129 return new PointerIconCompat(PointerIcon.getSystemIcon(context, style));
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java190 public void setTextStyle(float size, int fgColor, int bgColor, int style) { argument
/frameworks/support/fragment/java/android/support/v4/app/
H A DDialogFragment.java83 private static final String SAVED_STYLE = "android:style";
111 * @param style Selects a standard style: may be {@link #STYLE_NORMAL},
115 * on the style) will be selected for you.
117 public void setStyle(@DialogStyle int style, @StyleRes int theme) { argument
118 mStyle = style;
120 mTheme = android.R.style.Theme_Panel;
324 public void setupDialog(Dialog dialog, int style) { argument
325 switch (style) {
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java93 * android.support.v17.leanback.R.style#Theme_Leanback_GuidedStep}, or a theme whose parent is
153 * Fragment argument name for UI style. The argument value is persisted in fragment state and
179 * GuidedStepFragment when moving forward to next step. Default behavior of this style is:
197 * other content. The default behavior of this style:
200 * Background will be faded in. Note: Changing exit transition by UI style is not working
201 * because fragment transition asks for exit transition before UI style is restored in Fragment
212 * GuidedStepFragment in a separate activity. The default behavior of this style:
215 * same as {@link #UI_STYLE_ENTRANCE}. Note: Changing exit transition by UI style is not working
216 * because fragment transition asks for exit transition before UI style is restored in
273 * Creates the presenter used to style th
957 setUiStyle(int style) argument
[all...]

Completed in 5876 milliseconds

123456