/external/sfntly/cpp/src/sample/subtly/ |
font_assembler.h | 34 // Assembles FontInfo into font builders. 38 // font_info is the FontInfo which will be used for the new font 41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist); 42 explicit FontAssembler(FontInfo* font_info); 60 sfntly::Ptr<FontInfo> font_info_;
|
merger.cc | 45 Ptr<FontInfo> merged_info; 57 CALLER_ATTACH FontInfo* Merger::MergeFontInfos() { 58 Ptr<FontInfo> font_info = new FontInfo; 64 Ptr<FontInfo> current_font_info;
|
font_info.h | 61 class FontInfo : public sfntly::RefCounted<FontInfo> { 63 // Empty FontInfo object. 64 FontInfo(); 68 FontInfo(CharacterMap* chars_to_glyph_ids, 71 virtual ~FontInfo(); 97 // FontSourcedInfoBuilder is used to create a FontInfo object from a Font 110 virtual CALLER_ATTACH FontInfo* GetFontInfo();
|
merger.h | 38 virtual CALLER_ATTACH FontInfo* MergeFontInfos();
|
font_info.cc | 55 * FontInfo class 57 FontInfo::FontInfo() 63 FontInfo::FontInfo(CharacterMap* chars_to_glyph_ids, 73 FontInfo::~FontInfo() { 79 FontDataTable* FontInfo::GetTable(FontId font_id, int32_t tag) { 88 const TableMap* FontInfo::GetTableMap(FontId font_id) { 97 void FontInfo::set_chars_to_glyph_ids(CharacterMap* chars_to_glyph_ids) [all...] |
subsetter.cc | 49 Ptr<FontInfo> font_info;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
Font.c | 921 @param FontInfo a new EFI_FONT_INFO which stores the FontName.
924 @retval EFI_SUCCESS FontInfo is allocated and copied with FontName. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
Fonts.c | 65 EFI_FONT_DISPLAY_INFO *FontInfo;
78 &FontInfo,
83 ASSERT (StrCmp (FontInfo->FontInfo.FontName, L"sysdefault") == 0);
84 mSysFGColor = FontInfo->ForegroundColor;
85 FreePool (FontInfo);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
FontFamily_Delegate.java | 76 private static final Map<String, FontInfo> sCache = 77 new LinkedHashMap<String, FontInfo>(CACHE_SIZE) { 79 protected boolean removeEldestEntry(Map.Entry<String, FontInfo> eldest) { 84 public FontInfo put(String key, FontInfo value) { 86 FontInfo removed = remove(key); 95 private static final class FontInfo { 114 private List<FontInfo> mFonts = new ArrayList<FontInfo>(); 179 FontInfo desiredStyle = new FontInfo() [all...] |
BidiRenderer.java | 24 import android.graphics.Paint_Delegate.FontInfo; 168 List<FontInfo> fontInfos = mPaint.getFonts(); 268 private static List<ScriptRun> getScriptRuns(char[] text, int start, int limit, List<FontInfo> fonts) { 286 private static Font getScriptFont(char[] text, int start, int limit, List<FontInfo> fonts) { 287 for (FontInfo fontInfo : fonts) { 288 if (fontInfo.mFont == null) { 292 if (fontInfo.mFont.canDisplayUpTo(text, start, limit) == -1) { 293 return fontInfo.mFont;
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
TypefaceCompatBaseImpl.java | 31 import android.support.v4.provider.FontsContractCompat.FontInfo; 71 protected FontInfo findBestInfo(FontInfo[] fonts, int style) { 72 return findBestFont(fonts, style, new StyleExtractor<FontInfo>() { 74 public int getWeight(FontInfo info) { 79 public boolean isItalic(FontInfo info) { 108 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) { 113 FontInfo font = findBestInfo(fonts, style);
|
TypefaceCompatApi21Impl.java | 29 import android.support.v4.provider.FontsContractCompat.FontInfo; 64 @NonNull FontInfo[] fonts, int style) { 68 final FontInfo bestFont = findBestInfo(fonts, style);
|
TypefaceCompat.java | 33 import android.support.v4.provider.FontsContractCompat.FontInfo; 71 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, 140 * Create a Typeface from a given FontInfo list and a map that matches them to ByteBuffers. 143 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
FontsContractTest.java | 38 import android.provider.FontsContract.FontInfo; 192 FontInfo[] fonts = result.getFonts(); 194 FontInfo font = fonts[0]; 209 FontInfo[] fonts = result.getFonts(); 211 for (FontInfo font: fonts) { 227 FontInfo[] fonts = result.getFonts(); 229 FontInfo font = fonts[0]; 257 FontInfo[] fonts = result.getFonts(); 259 FontInfo font = fonts[0]; 273 FontInfo[] fonts = result.getFonts() [all...] |
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
FontRequestEmojiCompatConfigTest.java | 58 import android.support.v4.provider.FontsContractCompat.FontInfo; 171 verifyLoaderOnFailedCalled(STATUS_OK, new FontInfo[] {}, 187 // getTestFontInfoWithInvalidPath returns FontInfo with invalid path to file. 198 final FontInfo[] fonts = new FontInfo[] { 199 new FontInfo(Uri.fromFile(file), 0 /* ttc index */, 400 /* weight */, 218 final FontInfo[] fonts = new FontInfo[] { 219 new FontInfo(Uri.fromFile(file), 0 /* ttc index */, 400 /* weight */, 241 final FontInfo[] fonts = new FontInfo[] [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/ |
Print.c | 145 EFI_FONT_DISPLAY_INFO *FontInfo;
174 FontInfo = NULL;
225 FontInfo = (EFI_FONT_DISPLAY_INFO *) EfiLibAllocateZeroPool (sizeof (EFI_FONT_DISPLAY_INFO));
226 if (FontInfo == NULL) {
231 EfiCopyMem (&FontInfo->ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
234 &FontInfo->ForegroundColor,
240 EfiCopyMem (&FontInfo->BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
243 &FontInfo->BackgroundColor,
253 FontInfo,
338 EfiLibSafeFreePool (FontInfo);
[all...] |
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
FontsContractCompatTest.java | 47 import android.support.v4.provider.FontsContractCompat.FontInfo; 166 FontInfo[] fonts = FontsContractCompat.getFontFromProvider( 170 FontInfo font = fonts[0]; 182 FontInfo[] fonts = FontsContractCompat.getFontFromProvider( 186 FontInfo font = fonts[0]; 195 FontInfo[] fonts = FontsContractCompat.getFontFromProvider( 199 FontInfo font = fonts[0]; 207 FontInfo[] fonts = FontsContractCompat.getFontFromProvider( 212 FontInfo font = fonts[0]; 220 FontInfo[] fonts = FontsContractCompat.getFontFromProvider [all...] |
/frameworks/base/core/java/android/provider/ |
FontsContract.java | 181 public static class FontInfo { 199 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, 291 private final FontInfo[] mFonts; 294 public FontFamilyResult(@FontResultStatus int statusCode, @Nullable FontInfo[] fonts) { 303 public @NonNull FontInfo[] getFonts() { 535 final FontInfo[] fonts = result.getFonts(); 541 for (final FontInfo font : fonts) { 600 FontInfo[] fonts = getFontFromProvider( 609 * Build a Typeface from an array of {@link FontInfo} 617 * @param fonts An array of {@link FontInfo} to be used to create a Typeface [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
FontsContractTest.java | 36 import android.provider.FontsContract.FontInfo; 76 FontInfo[] fonts = FontsContract.getFontFromProvider( 80 FontInfo font = fonts[0]; 95 FontInfo[] fonts = FontsContract.getFontFromProvider( 99 FontInfo font = fonts[0]; 111 FontInfo[] fonts = FontsContract.getFontFromProvider( 115 FontInfo font = fonts[0]; 124 FontInfo[] fonts = FontsContract.getFontFromProvider( 129 FontInfo font = fonts[0]; 144 FontInfo[] fonts = FontsContract.getFontFromProvider [all...] |
/frameworks/support/compat/java/android/support/v4/provider/ |
FontsContractCompat.java | 281 public static class FontInfo { 298 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, 377 private final FontInfo[] mFonts; 381 public FontFamilyResult(@FontResultStatus int statusCode, @Nullable FontInfo[] fonts) { 390 public FontInfo[] getFonts() { 528 final FontInfo[] fonts = result.getFonts(); 539 for (final FontInfo font : fonts) { 592 * Build a Typeface from an array of {@link FontInfo} 600 * @param fonts An array of {@link FontInfo} to be used to create a Typeface. 604 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts) [all...] |
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
FontRequestEmojiCompatConfig.java | 224 private FontsContractCompat.FontInfo retrieveFontInfo() { 234 final FontsContractCompat.FontInfo[] fonts = result.getFonts(); 290 final FontsContractCompat.FontInfo font = retrieveFontInfo(); 339 @NonNull FontsContractCompat.FontInfo font) throws NameNotFoundException { 341 new FontsContractCompat.FontInfo[] { font });
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/ |
UefiLibPrint.c | 357 EFI_FONT_DISPLAY_INFO FontInfo;
432 ZeroMem (&FontInfo, sizeof (EFI_FONT_DISPLAY_INFO));
435 CopyMem (&FontInfo.ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
438 &FontInfo.ForegroundColor,
444 CopyMem (&FontInfo.BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
447 &FontInfo.BackgroundColor,
462 &FontInfo,
490 &FontInfo,
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/ |
UefiLibPrint.c | 357 EFI_FONT_DISPLAY_INFO FontInfo;
432 ZeroMem (&FontInfo, sizeof (EFI_FONT_DISPLAY_INFO));
435 CopyMem (&FontInfo.ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
438 &FontInfo.ForegroundColor,
444 CopyMem (&FontInfo.BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
447 &FontInfo.BackgroundColor,
462 &FontInfo,
490 &FontInfo,
|
/external/pdfium/xfa/fxfa/parser/ |
xfa_basic_data_element_properties.cpp | 60 {XFA_Element::FontInfo, 1, 0}, 103 {XFA_Element::FontInfo, 1, 0}, 112 {XFA_Element::FontInfo, 1, 0}, 135 {XFA_Element::FontInfo, 1, 0}, 144 {XFA_Element::FontInfo, 1, 0}, 295 {XFA_Element::FontInfo, 1, 0}, 470 {XFA_Element::FontInfo, 1, 0},
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/ |
Print.c | 170 EFI_FONT_DISPLAY_INFO *FontInfo;
199 FontInfo = NULL;
251 FontInfo = (EFI_FONT_DISPLAY_INFO *) EfiLibAllocateZeroPool (sizeof (EFI_FONT_DISPLAY_INFO));
252 if (FontInfo == NULL) {
257 EfiCopyMem (&FontInfo->ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
260 &FontInfo->ForegroundColor,
266 EfiCopyMem (&FontInfo->BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
269 &FontInfo->BackgroundColor,
279 FontInfo,
364 EfiLibSafeFreePool (FontInfo);
[all...] |