/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1647 int contextIndex, int contextCount, int flags, float[] advances, in getTextRunAdvances() argument 1650 advances, advancesIndex, 0 /* use Harfbuzz*/); in getTextRunAdvances() 1661 int contextIndex, int contextCount, int flags, float[] advances, in getTextRunAdvances() argument 1674 | (advances == null ? 0 : in getTextRunAdvances() 1675 (advances.length - (advancesIndex + count)))) < 0) { in getTextRunAdvances() 1684 contextIndex, contextCount, flags, advances, advancesIndex, reserved); in getTextRunAdvances() 1690 contextIndex, contextCount, flags, advances, advancesIndex, reserved); in getTextRunAdvances() 1693 if (advances != null) { in getTextRunAdvances() 1695 advances[i] *= mInvCompatScaling; in getTextRunAdvances() 1709 int contextStart, int contextEnd, int flags, float[] advances, in getTextRunAdvances() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 58 int flags, float[] advances, int advancesIndex, Paint paint); in getTextRunAdvances() argument 65 int flags, float[] advances, int advancesIndex, Paint paint, int reserved); in getTextRunAdvances() argument
|
D | SpannableStringBuilder.java | 1127 float[] advances, int advancesPos, Paint p) { in getTextRunAdvances() argument 1136 flags, advances, advancesPos); in getTextRunAdvances() 1139 contextStart + mGapLength, contextLen, flags, advances, advancesPos); in getTextRunAdvances() 1144 0, contextLen, flags, advances, advancesPos); in getTextRunAdvances() 1156 float[] advances, int advancesPos, Paint p, int reserved) { in getTextRunAdvances() argument 1165 flags, advances, advancesPos, reserved); in getTextRunAdvances() 1168 contextStart + mGapLength, contextLen, flags, advances, advancesPos, reserved); in getTextRunAdvances() 1173 0, contextLen, flags, advances, advancesPos, reserved); in getTextRunAdvances()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestView.java | 159 float[] advances = new float[length]; in testString() local 160 float textWidthHB = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0); in testString() 162 float textWidthICU = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0, in testString() 165 logAdvances(text, textWidthHB, textWidthICU, advances); in testString() 199 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { in logAdvances() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | HarfbuzzSkia.cpp | 79 HB_Fixed* advances, int flags) in glyphsToAdvances() argument 92 SkScalar* scalarAdvances = reinterpret_cast<SkScalar*>(advances); in glyphsToAdvances() 99 advances[i] = SkScalarToHBFixed(scalarAdvances[i]); in glyphsToAdvances() 101 LOGD("glyphsToAdvances -- advances[%d]=%d", i, advances[i]); in glyphsToAdvances()
|
D | Paint.cpp | 509 jfloatArray advances, jint advancesIndex) { in doTextRunAdvances() argument 520 if (advances) { in doTextRunAdvances() 521 size_t advancesLength = env->GetArrayLength(advances); in doTextRunAdvances() 533 if (advances != NULL) { in doTextRunAdvances() 534 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray); in doTextRunAdvances() 541 jfloatArray advances, jint advancesIndex) { in doTextRunAdvancesICU() argument 552 if (advances) { in doTextRunAdvancesICU() 553 size_t advancesLength = env->GetArrayLength(advances); in doTextRunAdvancesICU() 566 if (advances != NULL) { in doTextRunAdvancesICU() 567 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray); in doTextRunAdvancesICU() [all …]
|
D | TextLayoutCache.cpp | 559 if (shaperItem.advances == NULL || shaperItem.num_glyphs == 0) { in computeRunValuesWithHarfbuzz() 569 jfloat currentAdvance = HBFixedToFloat(shaperItem.advances[shaperItem.log_clusters[0]]); in computeRunValuesWithHarfbuzz() 578 currentAdvance = HBFixedToFloat(shaperItem.advances[shaperItem.log_clusters[i]]); in computeRunValuesWithHarfbuzz() 608 delete[] shaperItem.advances; in deleteGlyphArrays() 615 shaperItem.advances = new HB_Fixed[size]; in createGlyphArrays()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 975 int flags, float[] advances, int advancesIndex, int reserved) { in native_getTextRunAdvances() argument 992 if (advances != null) { in native_getTextRunAdvances() 993 advances[i] = adv; in native_getTextRunAdvances() 1003 if (advances != null) { in native_getTextRunAdvances() 1004 advances[i] = 0.f; in native_getTextRunAdvances() 1019 int flags, float[] advances, int advancesIndex, int reserved) { in native_getTextRunAdvances() argument 1026 contextEnd - contextStart, flags, advances, advancesIndex, reserved); in native_getTextRunAdvances()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 3377 int contextEnd, int flags, float[] advances, int advancesIndex, in getTextRunAdvances() argument 3382 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances() 3387 int contextEnd, int flags, float[] advances, int advancesIndex, in getTextRunAdvances() argument 3392 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances()
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | index.jd | 814 <li>Without any user interaction, the app widget automatically advances
|