/frameworks/minikin/include/minikin/ |
D | Buffer.h | 30 class BufferReader { 32 BufferReader(const void* buffer) : BufferReader(buffer, 0) {} in BufferReader() function 33 BufferReader(const void* buffer, uint32_t pos) in BufferReader() function 49 mPos = BufferReader::align<T>(mPos); in read() 58 mPos = BufferReader::align<T>(mPos); in skip() 67 mPos = BufferReader::align<T>(mPos); in readArray() 77 mPos = BufferReader::align<T>(mPos); in skipArray() 113 mPos = BufferReader::align<T>(mPos); in write() 128 mPos = BufferReader::align<T>(mPos); in writeArray()
|
D | Font.h | 114 using TypefaceLoader = std::shared_ptr<MinikinFont>(BufferReader reader); 117 using TypefaceReader = TypefaceLoader*(BufferReader* reader); 122 static std::shared_ptr<Font> readFrom(BufferReader* reader, uint32_t localeListId) { in readFrom() 124 BufferReader typefaceMetadataReader = *reader; in readFrom() 142 BufferReader typefaceMetadataReader() const { return mTypefaceMetadataReader; } in typefaceMetadataReader() 156 Font(FontStyle style, BufferReader typefaceMetadataReader, TypefaceLoader* typefaceLoader, in Font() 178 BufferReader mTypefaceMetadataReader;
|
D | FontFamily.h | 42 static std::shared_ptr<FontFamily> readFrom(BufferReader* reader) { in readFrom() 99 static uint32_t readLocaleListInternal(BufferReader* reader); 100 static std::shared_ptr<FontFamily> readFromInternal(BufferReader* reader,
|
D | SparseBitSet.h | 46 explicit SparseBitSet(BufferReader* reader) : SparseBitSet() { initFromBuffer(reader); } in SparseBitSet() 72 void initFromBuffer(BufferReader* reader);
|
D | FontStyle.h | 51 explicit FontStyle(BufferReader* reader) { in FontStyle()
|
D | FontCollection.h | 44 static std::vector<std::shared_ptr<FontCollection>> readVector(BufferReader* reader) { in readVector() 203 FontCollection(BufferReader* reader,
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.h | 41 static inline uint32_t readFrom(BufferReader* reader) { in readFrom() 63 uint32_t readFromInternal(BufferReader* reader);
|
D | FontFamily.cpp | 72 std::shared_ptr<FontFamily> FontFamily::readFromInternal(BufferReader* reader, in readFromInternal() 100 uint32_t FontFamily::readLocaleListInternal(BufferReader* reader) { in readLocaleListInternal()
|
D | LocaleListCache.cpp | 156 uint32_t LocaleListCache::readFromInternal(BufferReader* reader) { in readFromInternal()
|
D | SparseBitSet.cpp | 107 void SparseBitSet::initFromBuffer(BufferReader* reader) { in initFromBuffer()
|
D | FontCollection.cpp | 127 FontCollection::FontCollection(BufferReader* reader, in FontCollection()
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 82 class BufferReader : public zip_archive::Reader { class 84 BufferReader(incfs::map_ptr<void> input, size_t inputSize) : Reader(), in BufferReader() function in BufferReader 149 BufferReader reader(in, compressedLen); in inflateToBuffer()
|
/frameworks/minikin/tests/unittest/ |
D | BufferTest.cpp | 50 BufferReader reader(buffer.data()); in TEST() 77 BufferReader reader(buffer.data()); in TEST()
|
D | SparseBitSetTest.cpp | 61 BufferReader reader(buffer.data()); in TEST() 74 BufferReader reader(buffer.data()); in TEST()
|
D | FontTest.cpp | 32 BufferReader reader(buffer.data()); in TEST()
|
D | FontCollectionTest.cpp | 194 BufferReader reader(buffer.data()); in TEST() 211 BufferReader reader(buffer.data()); in TEST() 225 BufferReader reader(buffer.data()); in TEST()
|
D | FontLanguageListCacheTest.cpp | 78 BufferReader reader(buffer.data()); in TEST()
|
D | FontFamilyTest.cpp | 803 BufferReader reader(buffer.data()); in TEST_F() 824 BufferReader reader(buffer.data()); in TEST_F()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.cpp | 119 std::shared_ptr<MinikinFont> loadFreeTypeMinikinFontForTest(BufferReader reader) { in loadFreeTypeMinikinFontForTest() 124 Font::TypefaceLoader* readFreeTypeMinikinFontForTest(BufferReader* reader) { in readFreeTypeMinikinFontForTest()
|
D | FreeTypeMinikinFontForTest.h | 69 Font::TypefaceLoader* readFreeTypeMinikinFontForTest(BufferReader* reader);
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 207 static std::shared_ptr<minikin::MinikinFont> loadMinikinFontSkia(minikin::BufferReader); 209 static minikin::Font::TypefaceLoader* readMinikinFontSkia(minikin::BufferReader* reader) { in readMinikinFontSkia() 222 static std::shared_ptr<minikin::MinikinFont> loadMinikinFontSkia(minikin::BufferReader reader) { in loadMinikinFontSkia() 327 minikin::BufferReader reader(addr); in Typeface_readTypefaces()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 227 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getFontPath() 269 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getIndex() 282 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisCount() 296 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisInfo()
|