/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.cpp | 51 HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) 56 uint16_t* skiaGlyphs = reinterpret_cast<uint16_t*>(glyphs); 60 // |glyphs| array needs to be converted. 62 glyphs[i] = skiaGlyphs[i]; 69 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, argument 79 glyphs16[i] = glyphs[i]; 50 stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) argument
|
H A D | Paint.cpp | 498 jint contextCount, jint flags, jcharArray glyphs) { 502 if ((start | count | contextCount) < 0 || contextCount < count || !glyphs) { 509 size_t glypthsLength = env->GetArrayLength(glyphs); 515 jchar* glyphsArray = env->GetCharArrayElements(glyphs, NULL); 523 env->ReleaseCharArrayElements(glyphs, glyphsArray, JNI_ABORT); 529 jcharArray glyphs) { 532 end - start, contextEnd - contextStart, flags, glyphs); 497 doTextGlyphs(JNIEnv* env, SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint flags, jcharArray glyphs) argument 527 getTextGlyphs__StringIIIII_C(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint flags, jcharArray glyphs) argument
|
H A D | TextLayoutCache.cpp | 310 // Give a hint for advances and glyphs vectors size 495 ALOGD(" -- Total returned glyphs-count = %d", outGlyphs->size()); 501 ALOGD(" -- glyphs count=%d", shaperItem.num_glyphs); 504 shaperItem.glyphs[i], 566 // because some fonts are missing those glyphs) 686 // The advance for the cluster is the sum of the advances of all glyphs within 709 ALOGD("Returned script run glyphs -- count = %d", countGlyphs); 713 (jchar) mShaperItem.glyphs[(!isRTL) ? i : countGlyphs - 1 - i]; 796 // Get the glyphs base count for offsetting the glyphIDs returned by Harfbuzz 881 mShaperItem.glyphs [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 532 const jchar* glyphs = value->getGlyphs(); local 537 renderer->drawText((const char*) glyphs, bytesCount, glyphsCount, x, y, 548 const jchar* glyphs = value->getGlyphs(); local 551 renderer->drawTextOnPath((const char*) glyphs, bytesCount, glyphsCount, path, 563 const jchar* glyphs = value->getGlyphs(); local 568 renderer->drawText((const char*) glyphs, bytesCount, glyphsCount, x, y, 635 const jchar* glyphs = value->getGlyphs(); local 640 renderer->drawPosText((const char*) glyphs, bytesCount, glyphsCount, positions, paint);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1682 * @param glyphs array to receive the glyph Ids of the characters. 1684 * @return the number of glyphs in the returned array 1691 int flags, char[] glyphs) { 1703 if (end - start > glyphs.length) { 1707 flags, glyphs); 1849 * <p>This generates the sum of the advances of glyphs for 1897 * <p>This generates the sum of the advances of glyphs for 2226 int flags, char[] glyphs); 1690 getTextGlyphs(String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument 2224 native_getTextGlyphs(int native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 972 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { 971 native_getTextGlyphs(int native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
|