Home
last modified time | relevance | path

Searched defs:font (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/tools/fonts/
Dfontchain_linter.py76 def open_font(font): argument
85 def get_best_cmap(font): argument
102 def get_variation_sequences_cmap(font): argument
113 def get_emoji_map(font): argument
151 def assert_font_supports_any_of_chars(font, chars): argument
159 def assert_font_supports_all_of_chars(font, chars): argument
166 def assert_font_supports_none_of_chars(font, chars, fallbackName): argument
176 def assert_font_supports_all_sequences(font, sequences): argument
202 def __init__(self, name, scripts, variant, weight, style, fallback_for, font): argument
/frameworks/base/native/android/
Dsystem_fonts.cpp201 xmlNode* font = firstElement(family, FONT_TAG); in findFirstFontNode() local
267 const minikin::Font* font = runs[0].fakedFont.font; in AFontMatcher_match() local
316 std::unique_ptr<AFont> font = std::make_unique<AFont>(); in ASystemFontIterator_next() local
331 std::unique_ptr<AFont> font = std::make_unique<AFont>(); in ASystemFontIterator_next() local
342 void AFont_close(AFont* font) { in AFont_close()
346 const char* AFont_getFontFilePath(const AFont* font) { in AFont_getFontFilePath()
351 uint16_t AFont_getWeight(const AFont* font) { in AFont_getWeight()
356 bool AFont_isItalic(const AFont* font) { in AFont_isItalic()
361 const char* AFont_getLocale(const AFont* font) { in AFont_getLocale()
366 size_t AFont_getCollectionIndex(const AFont* font) { in AFont_getCollectionIndex()
[all …]
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp33 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
62 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
80 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
105 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
123 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
148 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
218 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
295 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
365 auto font = buildFontCollection("Ascii.ttf"); in TEST() local
DFontTest.cpp29 Font font = Font::Builder(minikinFont).build(); in TEST() local
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java82 FontInfo font = fonts[0]; in testGetFontFromProvider_resultOK() local
101 FontInfo font = fonts[0]; in testGetFontFromProvider_providerDoesntReturnAllFields() local
117 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontNotFound() local
131 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontUnavailable() local
151 FontInfo font = fonts[0]; in testGetFontFromProvider_resultMalformedQuery() local
178 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontNotFoundSecondRow() local
211 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontNotFoundOtherRow() local
/frameworks/minikin/libs/minikin/
DFontFamily.cpp46 HbFontUniquePtr font = prepareFont(mTypeface); in build() local
71 HbFontUniquePtr font(hb_font_create_sub_font(parent.get())); in prepareFont() local
82 FontStyle Font::analyzeStyle(const HbFontUniquePtr& font) { in analyzeStyle()
150 const Font& font = mFonts[i]; in getClosestMatch() local
161 const Font* font = getClosestMatch(FontStyle()).font; in computeCoverage() local
220 for (const Font& font : mFonts) { in createFamilyWithVariation() local
DLayoutCore.cpp50 const MinikinFont* font; member
134 static bool isColorBitmapFont(const HbFontUniquePtr& font) { in isColorBitmapFont()
206 static inline hb_codepoint_t determineHyphenChar(hb_codepoint_t preferredHyphen, hb_font_t* font) { in determineHyphenChar()
231 static inline void addHyphenToHbBuffer(const HbBufferUniquePtr& buffer, const HbFontUniquePtr& font, in addHyphenToHbBuffer()
397 HbFontUniquePtr font(hb_font_create_sub_font(fakedFont.font->baseFont().get())); in LayoutPiece() local
DMinikinInternal.h63 HbBlob(const HbFontUniquePtr& font, uint32_t tag) in HbBlob()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFamily.java77 public Builder(@NonNull Font font) { in Builder()
97 public @NonNull Builder addFont(@NonNull Font font) { in addFont()
127 private static int makeStyleIdentifier(@NonNull Font font) { in makeStyleIdentifier()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp44 static void MinikinFontSkia_SetSkiaFont(const minikin::MinikinFont* font, SkFont* skFont, in MinikinFontSkia_SetSkiaFont()
150 uint32_t MinikinFontSkia::packFontFlags(const SkFont& font) { in packFontFlags()
161 void MinikinFontSkia::unpackFontFlags(SkFont* font, uint32_t flags) { in unpackFontFlags()
173 void MinikinFontSkia::populateSkFont(SkFont* skFont, const MinikinFont* font, in populateSkFont()
DPaintImpl.cpp140 static uint32_t fontToLegacyFlags(const SkFont& font) { in fontToLegacyFlags()
161 static void applyLegacyFlagsToFont(uint32_t flags, SkFont* font) { in applyLegacyFlagsToFont()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java164 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer()
220 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont()
222 private static native boolean nAddFontWeightStyle(long builderPtr, ByteBuffer font, in nAddFontWeightStyle()
/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java54 private final Font font; field in BidiRenderer.ScriptRun
56 private ScriptRun(int start, int limit, @NonNull Font font) { in ScriptRun()
176 Font font = fontInfos.get(i).mFont; in renderScript() local
234 private void render(int start, int limit, Font font, int flag, float[] advances, in render()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp126 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily() local
134 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily() local
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp46 static void releaseFont(jlong font) { in releaseFont()
118 minikin::Font font = minikin::Font::Builder(minikinFont).setWeight(weight) in Font_Builder_build() local
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp38 auto font = std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in TEST_P() local
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$font.class ... android.layoutlib.test.myapplication.R$font extends java.lang.Object { public static final ...
/frameworks/base/core/java/android/webkit/
DWebSettings.java754 public abstract void setStandardFontFamily(String font); in setStandardFontFamily()
769 public abstract void setFixedFontFamily(String font); in setFixedFontFamily()
784 public abstract void setSansSerifFontFamily(String font); in setSansSerifFontFamily()
799 public abstract void setSerifFontFamily(String font); in setSerifFontFamily()
814 public abstract void setCursiveFontFamily(String font); in setCursiveFontFamily()
829 public abstract void setFantasyFontFamily(String font); in setFantasyFontFamily()
/frameworks/base/libs/hwui/jni/
DFontUtils.h38 minikin::Font font; member
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java86 Font font; in nAddFont() local
DFont_Builder_Delegate.java93 Font_Builder_Delegate font = sBuilderManager.getDelegate(builderPtr); in nBuild() local
/frameworks/layoutlib/rename_font/
Dbuild_font.py183 def update_font_name(font): argument
Dbuild_font_single.py177 def update_font_name(font): argument
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp51 SkFont font; in createRandomCharIcon() local
/frameworks/minikin/include/minikin/
DFont.h58 const Font* font; member

12