/frameworks/minikin/include/minikin/ |
D | MinikinFont.h | 35 struct MinikinPaint { struct 36 MinikinPaint(const std::shared_ptr<FontCollection>& font) in MinikinPaint() function 62 void copyFrom(const MinikinPaint& paint) { *this = paint; } in copyFrom() argument 64 MinikinPaint(MinikinPaint&&) = default; 65 MinikinPaint& operator=(MinikinPaint&&) = default; argument 67 inline bool operator==(const MinikinPaint& paint) { 77 MinikinPaint(const MinikinPaint&) = default; 78 MinikinPaint& operator=(const MinikinPaint&) = default; argument 130 virtual float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint& paint, 133 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint, [all …]
|
D | Layout.h | 89 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen); 92 Bidi bidiFlags, const MinikinPaint& paint, 98 const MinikinPaint& paint, 102 const MinikinPaint& paint, StartHyphenEdit startHyphen, 164 const MinikinPaint& paint, size_t dstStart, 172 bool isRtl, const MinikinPaint& paint, size_t bufStart, 179 const MinikinPaint& paint, StartHyphenEdit startHyphen,
|
D | MeasuredText.h | 59 virtual const MinikinPaint* getPaint() const { return nullptr; } in getPaint() 78 StyleRun(const Range& range, MinikinPaint&& paint, bool isRtl) in StyleRun() 98 const MinikinPaint* getPaint() const override { return &mPaint; } in getPaint() 109 MinikinPaint mPaint; 182 void buildLayout(const U16StringPiece& textBuf, const Range& range, const MinikinPaint& paint, 209 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, bool isRtl) { in addStyleRun()
|
D | LayoutPieces.h | 42 void insert(const U16StringPiece& textBuf, const Range& range, const MinikinPaint& paint, in insert() 54 void getOrCreate(const U16StringPiece& textBuf, const Range& range, const MinikinPaint& paint, in getOrCreate()
|
D | LayoutCache.h | 32 LayoutCacheKey(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in LayoutCacheKey() 75 void doLayout(Layout* layout, const MinikinPaint& paint) const { in doLayout() 138 void getOrCreate(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in getOrCreate()
|
D | FontCollection.h | 43 void itemize(const uint16_t* string, size_t string_length, const MinikinPaint& paint,
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 49 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in TEST() 67 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in TEST() 124 MinikinPaint paint1(buildFontCollection("Ascii.ttf")); in TEST() 127 MinikinPaint paint2(buildFontCollection("Emoji.ttf")); in TEST() 135 MinikinPaint paint1(collection); in TEST() 139 MinikinPaint paint2(collection); in TEST() 148 MinikinPaint paint1(collection); in TEST() 152 MinikinPaint paint2(collection); in TEST() 161 MinikinPaint paint1(collection); in TEST() 165 MinikinPaint paint2(collection); in TEST() [all …]
|
D | LayoutTest.cpp | 47 static Layout doLayout(const std::string& text, const MinikinPaint& paint) { in doLayout() 56 static Layout doLayoutWithPrecomputedPieces(const std::string& text, const MinikinPaint& paint, in doLayoutWithPrecomputedPieces() 80 MinikinPaint paint(mCollection); in TEST_F() 174 MinikinPaint paint(mCollection); in TEST_F() 278 MinikinPaint paint(mCollection); in TEST_F() 380 MinikinPaint paint(mCollection); in TEST_F() 405 MinikinPaint paint(mCollection); in TEST_F() 437 MinikinPaint paint(mCollection); in TEST_F() 486 MinikinPaint paint(mCollection); in TEST_F() 517 MinikinPaint paint(fc); in TEST_F() [all …]
|
D | MeasuredTextTest.cpp | 37 MinikinPaint paint1(font); in TEST() 41 MinikinPaint paint2(font); in TEST()
|
D | LineBreakerTestHelper.h | 66 virtual const MinikinPaint* getPaint() const { return &mPaint; } in getPaint() 82 MinikinPaint mPaint;
|
D | FontCollectionItemizeTest.cpp | 66 MinikinPaint paint(collection); in itemize()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.h | 37 float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint& paint, 39 void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint, 41 void GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint,
|
D | FreeTypeMinikinFontForTest.cpp | 87 float FreeTypeMinikinFontForTest::GetHorizontalAdvance(uint32_t glyphId, const MinikinPaint& paint, in GetHorizontalAdvance() 94 const MinikinPaint& paint, in GetBounds() 108 const MinikinPaint& /* paint */, in GetFontExtent() argument
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 34 float GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, 38 const minikin::MinikinPaint& paint, 41 void GetFontExtent(minikin::MinikinExtent* extent, const minikin::MinikinPaint& paint,
|
D | MinikinUtils.cpp | 30 minikin::MinikinPaint MinikinUtils::prepareMinikinPaint(const Paint* paint, in prepareMinikinPaint() 34 minikin::MinikinPaint minikinPaint(resolvedFace->fFontCollection); in prepareMinikinPaint() 53 minikin::MinikinPaint minikinPaint = prepareMinikinPaint(paint, typeface); in doLayout() 73 minikin::MinikinPaint minikinPaint = prepareMinikinPaint(paint, typeface); in measureText()
|
D | MinikinSkia.cpp | 37 const minikin::MinikinPaint& paint, in MinikinFontSkia_SetSkiaPaint() 48 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, in GetHorizontalAdvance() 62 const minikin::MinikinPaint& paint, in GetBounds() 76 const minikin::MinikinPaint& paint, in GetFontExtent()
|
D | MinikinUtils.h | 42 ANDROID_API static minikin::MinikinPaint prepareMinikinPaint(const Paint* paint,
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 52 const MinikinPaint* paint; 229 const MinikinPaint& paint, StartHyphenEdit startHyphen, in doLayout() 244 Bidi bidiFlags, const MinikinPaint& paint, in doLayoutWithPrecomputedPieces() 261 const MinikinPaint& paint, in getBoundsWithPrecomputedPieces() 274 const MinikinPaint& paint, StartHyphenEdit startHyphen, in measureText() 290 const MinikinPaint& paint, size_t dstStart, in doLayoutRunCached() 345 const MinikinPaint& paint, bool dir, StartHyphenEdit startEdit, in LayoutAppendFunctor() 388 const MinikinPaint& mPaint; 403 bool isRtl, const MinikinPaint& paint, size_t bufStart, in doLayoutWord() 579 bool isRtl, const MinikinPaint& paint, StartHyphenEdit startHyphen, in doLayoutRun()
|
D | MeasuredText.cpp | 59 const MinikinPaint& paint, Bidi bidiFlags, in buildLayout()
|
D | FontCollection.cpp | 371 void FontCollection::itemize(const uint16_t* string, size_t string_size, const MinikinPaint& paint, in itemize()
|
D | OptimalLineBreaker.cpp | 132 const MinikinPaint* paint = run.getPaint(); in computePenalties()
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 93 MinikinPaint paint(collection); in BM_FontCollection_itemize()
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 71 MinikinPaint paint(buildFontCollection("Ascii.ttf")); in thread_main()
|
/frameworks/base/core/jni/ |
D | android_text_MeasuredParagraph.cpp | 75 minikin::MinikinPaint minikinPaint = MinikinUtils::prepareMinikinPaint(paint, typeface); in nAddStyleRun()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 1019 minikin::MinikinPaint leftMinikinPaint in equalsForTextMeasurement() 1021 minikin::MinikinPaint rightMinikinPaint in equalsForTextMeasurement()
|