/frameworks/base/graphics/java/android/graphics/text/ |
D | PositionedGlyphs.java | 117 public int glyphCount() { in glyphCount() method in PositionedGlyphs 129 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFont() 141 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphId() 152 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphX() 163 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphY() 176 int glyphCount = nGetGlyphCount(layoutPtr); in PositionedGlyphs() local 177 mFonts = new ArrayList<>(glyphCount); in PositionedGlyphs() 183 for (int i = 0; i < glyphCount; ++i) { in PositionedGlyphs() 221 if (glyphCount() != that.glyphCount()) return false; in equals() 223 for (int i = 0; i < glyphCount(); ++i) { in equals() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | TextInterpolator.kt | 266 require(base.glyphCount() == target.glyphCount()) { in <lambda>() 270 val glyphCount = base.glyphCount() in <lambda>() constant 273 val glyphIds = IntArray(glyphCount) { in <lambda>() 281 val baseX = FloatArray(glyphCount) { base.getGlyphX(it) } in <lambda>() 282 val baseY = FloatArray(glyphCount) { base.getGlyphY(it) } in <lambda>() 283 val targetX = FloatArray(glyphCount) { target.getGlyphX(it) } in <lambda>() 284 val targetY = FloatArray(glyphCount) { target.getGlyphY(it) } in <lambda>() 288 if (glyphCount != 0) { in <lambda>() 296 for (i in 1 until glyphCount) { in <lambda>() 319 fontRun.add(FontRun(start, glyphCount, baseFont, targetFont)) in <lambda>() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 75 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 86 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 101 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 127 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 142 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 164 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 176 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 188 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 200 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 214 EXPECT_EQ(2u, layout.glyphCount()); in TEST() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 104 size_t glyphCount = end - start; in operator ()() local 117 canvas->drawGlyphs(glyphFunc, glyphCount, outlinePaint, x, y, totalAdvance); in operator ()() 124 canvas->drawGlyphs(glyphFunc, glyphCount, innerPaint, x, y, totalAdvance); in operator ()() 128 canvas->drawGlyphs(glyphFunc, glyphCount, paint, x, y, totalAdvance); in operator ()() 142 int glyphCount, const Paint& paint) { in drawGlyphs() argument 147 for (uint32_t i = 0; i < glyphCount; ++i) { in drawGlyphs() 150 memcpy(outPositions, positions, sizeof(float) * 2 * glyphCount); in drawGlyphs() 158 drawGlyphs(glyphFunc, glyphCount, copied, 0 /* x */, 0 /* y */, 0 /* total Advance */); in drawGlyphs()
|
D | Canvas.h | 244 int glyphCount, const Paint& paint);
|
/frameworks/minikin/libs/minikin/ |
D | BoundsCache.cpp | 31 for (uint32_t i = 0; i < layoutPiece.glyphCount(); ++i) { in getBounds()
|
D | FontCollection.cpp | 637 uint32_t glyphCount = getGlyphCount(text, run.start, run.end, font); in getBestFont() local 638 if (glyphCount < bestGlyphCount) { in getBestFont() 640 bestGlyphCount = glyphCount; in getBestFont()
|
D | Layout.cpp | 150 for (size_t i = 0; i < src.glyphCount(); i++) { in appendLayout()
|
D | MeasuredText.cpp | 219 for (uint32_t i = 0; i < layoutPiece.glyphCount(); ++i) { in operator ()()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseRecordingCanvas.java | 423 @IntRange(from = 0) int glyphCount, in drawGlyphs() 430 Preconditions.checkArgumentNonnegative(glyphCount); in drawGlyphs() 432 if (glyphIdOffset < 0 || glyphIdOffset + glyphCount > glyphIds.length) { in drawGlyphs() 434 "glyphIds must have at least " + (glyphIdOffset + glyphCount) + " of elements"); in drawGlyphs() 436 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 438 "positions must have at least " + (positionOffset + glyphCount * 2) in drawGlyphs() 442 glyphCount, font.getNativePtr(), paint.getNativeInstance()); in drawGlyphs() 720 int glyphIdStart, int positionStart, int glyphCount, long nativeFont, long nativePaint); in nDrawGlyphs() argument
|
D | BaseCanvas.java | 484 @IntRange(from = 0) int glyphCount, in drawGlyphs() 491 Preconditions.checkArgumentNonnegative(glyphCount); in drawGlyphs() 493 if (glyphIdOffset < 0 || glyphIdOffset + glyphCount > glyphIds.length) { in drawGlyphs() 495 "glyphIds must have at least " + (glyphIdOffset + glyphCount) + " of elements"); in drawGlyphs() 497 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 499 "positions must have at least " + (positionOffset + glyphCount * 2) in drawGlyphs() 503 glyphCount, font.getNativePtr(), paint.getNativeInstance()); in drawGlyphs() 805 int glyphIdStart, int positionStart, int glyphCount, long nativeFont, long nativePaint); in nDrawGlyphs() argument
|
D | Canvas.java | 2082 @IntRange(from = 0) int glyphCount, 2085 super.drawGlyphs(glyphIds, glyphIdOffset, positions, positionOffset, glyphCount, font,
|
/frameworks/minikin/include/minikin/ |
D | LayoutCore.h | 60 uint32_t glyphCount() const { return mGlyphIds.size(); } in glyphCount() function
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 545 jint glyphCount, jlong fontHandle, jlong paintHandle) { in drawGlyphs() argument 554 glyphCount, in drawGlyphs()
|
/frameworks/base/core/api/ |
D | current.txt | 17153 method @IntRange(from=0) public int glyphCount();
|