/frameworks/minikin/include/minikin/ |
D | MinikinPaint.h | 49 struct MinikinPaint { struct 50 MinikinPaint(const std::shared_ptr<FontCollection>& font) in MinikinPaint() argument 76 void copyFrom(const MinikinPaint& paint) { *this = paint; } in copyFrom() argument 78 MinikinPaint(const MinikinPaint&) = default; 79 MinikinPaint& operator=(const MinikinPaint&) = default; argument 81 MinikinPaint(MinikinPaint&&) = default; 82 MinikinPaint& operator=(MinikinPaint&&) = default; argument 84 inline bool operator==(const MinikinPaint& paint) const {
|
D | MinikinFont.h | 30 struct MinikinPaint; 41 virtual float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint& paint, 44 const MinikinPaint& paint, const FontFakery& fakery, in GetHorizontalAdvances() 51 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint, 54 virtual void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
|
D | LayoutPieces.h | 65 std::size_t operator()(const MinikinPaint& paint) const { return paint.hash(); } in operator() 72 std::unordered_map<MinikinPaint, uint32_t, PaintHasher> paintMap; 76 const MinikinPaint& paint) { in insert() 89 const MinikinPaint& paint, bool dir, StartHyphenEdit startEdit, in getOrCreate() 102 uint32_t findPaintId(const MinikinPaint& paint) const { in findPaintId() 112 result += (sizeof(MinikinPaint) + sizeof(uint32_t)) * paintMap.size(); in getMemoryUsage()
|
D | MeasuredText.h | 58 const MinikinPaint& paint, uint32_t outOrigin, 67 virtual const MinikinPaint* getPaint() const { return nullptr; } in getPaint() 86 StyleRun(const Range& range, MinikinPaint&& paint, bool isRtl) in StyleRun() 103 const LayoutPieces& pieces, const MinikinPaint& paint, uint32_t outOrigin, 107 const MinikinPaint* getPaint() const override { return &mPaint; } in getPaint() 114 MinikinPaint mPaint; 147 const MinikinPaint& /* paint */, uint32_t /* outOrigin */, in appendLayout() argument 195 const MinikinPaint& paint, StartHyphenEdit startHyphen, 223 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, bool isRtl) { in addStyleRun()
|
D | Layout.h | 68 Layout(const U16StringPiece& str, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, in Layout() 80 const MinikinPaint& paint, StartHyphenEdit startHyphen, 111 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen); 117 const MinikinPaint& paint, size_t dstStart, 123 bool isRtl, const MinikinPaint& paint, size_t bufStart, 129 const MinikinPaint& paint, StartHyphenEdit startHyphen,
|
D | LayoutCore.h | 34 struct MinikinPaint; 48 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen);
|
D | LayoutCache.h | 39 LayoutCacheKey(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in LayoutCacheKey() 136 void getOrCreate(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in getOrCreate()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 39 void operator()(const LayoutPiece& layout, const MinikinPaint& /* dir */) { mLayout = &layout; } in operator ()() argument 50 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in TEST() 68 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in TEST() 125 MinikinPaint paint1(buildFontCollection("Ascii.ttf")); in TEST() 128 MinikinPaint paint2(buildFontCollection("Emoji.ttf")); in TEST() 136 MinikinPaint paint1(collection); in TEST() 140 MinikinPaint paint2(collection); in TEST() 149 MinikinPaint paint1(collection); in TEST() 153 MinikinPaint paint2(collection); in TEST() 162 MinikinPaint paint1(collection); in TEST() [all …]
|
D | MeasuredTextTest.cpp | 37 MinikinPaint paint1(font); in TEST() 41 MinikinPaint paint2(font); in TEST() 65 MinikinPaint paint(font); in TEST() 84 MinikinPaint paint(font); in TEST() 87 MinikinPaint paint2(font); in TEST() 108 MinikinPaint paint(font); in TEST() 127 MinikinPaint paint(font); in TEST() 130 MinikinPaint paint2(font); in TEST() 152 MinikinPaint paint(font); in TEST() 158 MinikinPaint samePaint(font); in TEST() [all …]
|
D | LayoutTest.cpp | 52 MinikinPaint paint(mCollection); in TEST_F() 135 MinikinPaint paint(mCollection); in TEST_F() 224 MinikinPaint paint(mCollection); in TEST_F() 315 MinikinPaint paint(mCollection); in TEST_F() 338 MinikinPaint paint(mCollection); in TEST_F() 367 MinikinPaint paint(mCollection); in TEST_F() 428 MinikinPaint paint(fc); in TEST_F() 438 MinikinPaint paint(fc); in TEST_F() 449 MinikinPaint paint(fc); in TEST_F()
|
D | LineBreakerTestHelper.h | 75 virtual const MinikinPaint* getPaint() const { return &mPaint; } in getPaint() 91 const LayoutPieces&, const MinikinPaint&, uint32_t, StartHyphenEdit, in appendLayout() argument 95 MinikinPaint mPaint;
|
D | LayoutCoreTest.cpp | 30 static LayoutPiece buildLayout(const std::string& text, const MinikinPaint& paint) { in buildLayout() 42 MinikinPaint paint(fc); in buildLayout() 54 MinikinPaint paint(fc); in buildLayout()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 35 float GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, 39 const minikin::MinikinPaint& paint, 44 const minikin::MinikinPaint& paint, 47 void GetFontExtent(minikin::MinikinExtent* extent, const minikin::MinikinPaint& paint,
|
D | MinikinUtils.cpp | 30 minikin::MinikinPaint MinikinUtils::prepareMinikinPaint(const Paint* paint, in prepareMinikinPaint() 35 minikin::MinikinPaint minikinPaint(resolvedFace->fFontCollection); in prepareMinikinPaint() 56 minikin::MinikinPaint minikinPaint = prepareMinikinPaint(paint, typeface); in doLayout() 75 minikin::MinikinPaint minikinPaint = prepareMinikinPaint(paint, typeface); in measureText()
|
D | MinikinSkia.cpp | 45 const minikin::MinikinPaint& paint, in MinikinFontSkia_SetSkiaFont() 55 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, in GetHorizontalAdvance() 69 const minikin::MinikinPaint& paint, in GetHorizontalAdvances() 78 const minikin::MinikinPaint& paint, in GetBounds() 92 const minikin::MinikinPaint& paint, in GetFontExtent()
|
D | MinikinUtils.h | 42 ANDROID_API static minikin::MinikinPaint prepareMinikinPaint(const Paint* paint,
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.h | 39 float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint& paint, 41 void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint, 43 void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
|
D | FreeTypeMinikinFontForTest.cpp | 90 float FreeTypeMinikinFontForTest::GetHorizontalAdvance(uint32_t glyphId, const MinikinPaint& paint, in GetHorizontalAdvance() 97 const MinikinPaint& paint, in GetBounds() 110 void FreeTypeMinikinFontForTest::GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint, in GetFontExtent()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 49 const MinikinPaint& paint, StartHyphenEdit startHyphen, in doLayout() 61 const MinikinPaint& paint, StartHyphenEdit startHyphen, in measureText() 74 const MinikinPaint& paint, size_t dstStart, in doLayoutRunCached() 107 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() argument 129 bool isRtl, const MinikinPaint& paint, size_t bufStart, in doLayoutWord()
|
D | MeasuredText.cpp | 40 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& paint) { in operator ()() 89 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& paint) { in operator ()() 169 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() argument 180 const MinikinPaint& paint, uint32_t outOrigin, in appendLayout() 216 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() argument 251 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint& /* paint */) { in operator ()() argument 277 const Range& contextRange, const MinikinPaint& paint, in buildLayout()
|
D | LayoutCore.cpp | 51 const MinikinPaint* paint; 343 const MinikinPaint& paint, StartHyphenEdit startHyphen, in LayoutPiece()
|
D | OptimalLineBreaker.cpp | 132 const MinikinPaint* paint = run.getPaint(); in computePenalties()
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 72 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in thread_main()
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 94 MinikinPaint paint(collection); in BM_FontCollection_itemize()
|
/frameworks/base/core/jni/android/graphics/text/ |
D | MeasuredText.cpp | 72 minikin::MinikinPaint minikinPaint = MinikinUtils::prepareMinikinPaint(paint, typeface); in nAddStyleRun()
|