/frameworks/base/graphics/java/android/graphics/text/ |
D | PositionedGlyphs.java | 122 public int glyphCount() { in glyphCount() method in PositionedGlyphs 134 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFont() 146 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphId() 157 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphX() 168 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphY() 180 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFakeBold() 192 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFakeItalic() 212 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getWeightOverride() 230 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getItalicOverride() 248 int glyphCount = nGetGlyphCount(layoutPtr); in PositionedGlyphs() local [all …]
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 93 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 106 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 123 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 151 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 168 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 192 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 206 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 220 EXPECT_EQ(1u, layout.glyphCount()); in TEST() 234 EXPECT_EQ(2u, layout.glyphCount()); in TEST() 250 EXPECT_EQ(2u, layout.glyphCount()); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextInterpolator.kt | 273 require(base.glyphCount() == target.glyphCount()) { in <lambda>() 277 val glyphCount = base.glyphCount() in <lambda>() constant 282 IntArray(glyphCount) { in <lambda>() 290 val baseX = FloatArray(glyphCount) { base.getGlyphX(it) } in <lambda>() 291 val baseY = FloatArray(glyphCount) { base.getGlyphY(it) } in <lambda>() 292 val targetX = FloatArray(glyphCount) { target.getGlyphX(it) } in <lambda>() 293 val targetY = FloatArray(glyphCount) { target.getGlyphY(it) } in <lambda>() 297 if (glyphCount != 0) { in <lambda>() 305 for (i in 1 until glyphCount) { in <lambda>() 329 fontRun.add(FontRun(start, glyphCount, baseFont, targetFont)) in <lambda>() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 54 const uint32_t glyphCount = glyphs->size(); in adjustGlyphLetterSpacingEdge() local 58 for (i = 0; i < glyphCount; ++i) { in adjustGlyphLetterSpacingEdge() 66 for (; i < glyphCount; ++i) { in adjustGlyphLetterSpacingEdge() 78 for (i = 0; i < glyphCount; ++i) { in adjustGlyphLetterSpacingEdge() 79 const uint32_t cluster = glyphs->at(glyphCount - 1 - i).cluster; in adjustGlyphLetterSpacingEdge() 83 i = glyphCount; in adjustGlyphLetterSpacingEdge() 89 if (i < glyphCount) { in adjustGlyphLetterSpacingEdge() 90 for (uint32_t j = glyphCount - i; j < glyphCount; ++j) { in adjustGlyphLetterSpacingEdge() 344 for (size_t i = 0; i < src.glyphCount(); i++) { in appendLayout()
|
D | Debug.cpp | 100 for (uint32_t i = 0; i < layout.glyphCount(); ++i) { in toString()
|
D | LayoutCore.cpp | 498 for (uint32_t i = 0; i < layout.glyphCount(); ++i) { in calculateBounds()
|
/frameworks/base/libs/hwui/hwui/ |
D | DrawTextFunctor.h | 100 size_t glyphCount = end - start; in operator() local 120 canvas->drawGlyphs(glyphFunc, glyphCount, outlinePaint, x, y, totalAdvance); in operator() 127 canvas->drawGlyphs(glyphFunc, glyphCount, innerPaint, x, y, totalAdvance); in operator() 131 canvas->drawGlyphs(glyphFunc, glyphCount, paint, x, y, totalAdvance); in operator()
|
D | Canvas.cpp | 70 int glyphCount, const Paint& paint) { in drawGlyphs() argument 75 for (uint32_t i = 0; i < glyphCount; ++i) { in drawGlyphs() 78 memcpy(outPositions, positions, sizeof(float) * 2 * glyphCount); in drawGlyphs() 86 drawGlyphs(glyphFunc, glyphCount, copied, 0 /* x */, 0 /* y */, 0 /* total Advance */); in drawGlyphs()
|
D | Canvas.h | 255 int glyphCount, const Paint& paint);
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 486 @IntRange(from = 0) int glyphCount, in drawGlyphs() 493 Preconditions.checkArgumentNonnegative(glyphCount); in drawGlyphs() 495 if (glyphIdOffset < 0 || glyphIdOffset + glyphCount > glyphIds.length) { in drawGlyphs() 497 "glyphIds must have at least " + (glyphIdOffset + glyphCount) + " of elements"); in drawGlyphs() 499 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 501 "positions must have at least " + (positionOffset + glyphCount * 2) in drawGlyphs() 505 glyphCount, font.getNativePtr(), paint.getNativeInstance()); in drawGlyphs() 836 int glyphIdStart, int positionStart, int glyphCount, long nativeFont, long nativePaint); in nDrawGlyphs() argument
|
D | BaseRecordingCanvas.java | 424 @IntRange(from = 0) int glyphCount, in drawGlyphs() 431 Preconditions.checkArgumentNonnegative(glyphCount); in drawGlyphs() 433 if (glyphIdOffset < 0 || glyphIdOffset + glyphCount > glyphIds.length) { in drawGlyphs() 435 "glyphIds must have at least " + (glyphIdOffset + glyphCount) + " of elements"); in drawGlyphs() 437 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 439 "positions must have at least " + (positionOffset + glyphCount * 2) in drawGlyphs() 443 glyphCount, font.getNativePtr(), paint.getNativeInstance()); in drawGlyphs() 736 int glyphIdStart, int positionStart, int glyphCount, long nativeFont, long nativePaint); in nDrawGlyphs() argument
|
D | Canvas.java | 2160 @IntRange(from = 0) int glyphCount, 2163 super.drawGlyphs(glyphIds, glyphIdOffset, positions, positionOffset, glyphCount, font,
|
/frameworks/minikin/include/minikin/ |
D | LayoutCore.h | 56 uint32_t glyphCount() const { return mGlyphIds.size(); } in glyphCount() function
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 341 int positionOffset, int glyphCount, Font font, Paint paint) { in drawGlyphs() argument
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 625 jint glyphCount, jlong fontHandle, jlong paintHandle) { in drawGlyphs() argument 634 glyphCount, in drawGlyphs()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 733 assertEquals(1, glyphs.glyphCount()); in getFontName()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 18177 method @IntRange(from=0) public int glyphCount();
|