Home
last modified time | relevance | path

Searched refs:advances (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPaint.java1702 int contextIndex, int contextCount, int flags, float[] advances, in getTextRunAdvances() argument
1705 advances, advancesIndex, 0 /* use Harfbuzz*/); in getTextRunAdvances()
1716 int contextIndex, int contextCount, int flags, float[] advances, in getTextRunAdvances() argument
1729 | (advances == null ? 0 : in getTextRunAdvances()
1730 (advances.length - (advancesIndex + count)))) < 0) { in getTextRunAdvances()
1739 contextIndex, contextCount, flags, advances, advancesIndex, reserved); in getTextRunAdvances()
1745 contextIndex, contextCount, flags, advances, advancesIndex, reserved); in getTextRunAdvances()
1748 if (advances != null) { in getTextRunAdvances()
1750 advances[i] *= mInvCompatScaling; in getTextRunAdvances()
1764 int contextStart, int contextEnd, int flags, float[] advances, in getTextRunAdvances() argument
[all …]
/frameworks/base/core/jni/android/graphics/
DHarfbuzzSkia.cpp70 HB_Fixed* advances, int flags) in glyphsToAdvances() argument
80 SkScalar* scalarAdvances = reinterpret_cast<SkScalar*>(advances); in glyphsToAdvances()
87 advances[i] = SkScalarToHBFixed(scalarAdvances[i]); in glyphsToAdvances()
89 ALOGD("glyphsToAdvances -- advances[%d]=%d", i, advances[i]); in glyphsToAdvances()
DPaint.cpp497 jfloatArray advances, jint advancesIndex) { in doTextRunAdvances() argument
508 if (advances) { in doTextRunAdvances()
509 size_t advancesLength = env->GetArrayLength(advances); in doTextRunAdvances()
521 if (advances != NULL) { in doTextRunAdvances()
522 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray); in doTextRunAdvances()
529 jfloatArray advances, jint advancesIndex) { in doTextRunAdvancesICU() argument
540 if (advances) { in doTextRunAdvancesICU()
541 size_t advancesLength = env->GetArrayLength(advances); in doTextRunAdvancesICU()
554 if (advances != NULL) { in doTextRunAdvancesICU()
555 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray); in doTextRunAdvancesICU()
[all …]
DTextLayoutCache.cpp688 if (mShaperItem.advances == NULL || mShaperItem.num_glyphs == 0) { in computeRunValues()
699 i, HBFixedToFloat(mShaperItem.advances[i])); in computeRunValues()
703 jfloat currentAdvance = HBFixedToFloat(mShaperItem.advances[mShaperItem.log_clusters[0]]); in computeRunValues()
710 currentAdvance = HBFixedToFloat(mShaperItem.advances[mShaperItem.log_clusters[i]]); in computeRunValues()
716 currentAdvance = HBFixedToFloat(mShaperItem.advances[i]); in computeRunValues()
943 mShaperItem.advances = new HB_Fixed[size]; in createShaperItemGlyphArrays()
955 delete[] mShaperItem.advances; in deleteShaperItemGlyphArrays()
/frameworks/base/core/java/android/text/
DGraphicsOperations.java58 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
DSpannableStringBuilder.java1204 float[] advances, int advancesPos, Paint p) { in getTextRunAdvances() argument
1213 flags, advances, advancesPos); in getTextRunAdvances()
1216 contextStart + mGapLength, contextLen, flags, advances, advancesPos); in getTextRunAdvances()
1221 0, contextLen, flags, advances, advancesPos); in getTextRunAdvances()
1233 float[] advances, int advancesPos, Paint p, int reserved) { in getTextRunAdvances() argument
1242 flags, advances, advancesPos, reserved); in getTextRunAdvances()
1245 contextStart + mGapLength, contextLen, flags, advances, advancesPos, reserved); in getTextRunAdvances()
1250 0, contextLen, flags, advances, advancesPos, reserved); in getTextRunAdvances()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestView.java165 float[] advances = new float[length]; in testString() local
166 float textWidthHB = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0); in testString()
168 float textWidthICU = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0, in testString()
171 logAdvances(text, textWidthHB, textWidthICU, advances); in testString()
205 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { in logAdvances() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java980 int flags, float[] advances, int advancesIndex, int reserved) { in native_getTextRunAdvances() argument
997 if (advances != null) { in native_getTextRunAdvances()
998 advances[i] = adv; in native_getTextRunAdvances()
1008 if (advances != null) { in native_getTextRunAdvances()
1009 advances[i] = 0.f; in native_getTextRunAdvances()
1024 int flags, float[] advances, int advancesIndex, int reserved) { in native_getTextRunAdvances() argument
1031 contextEnd - contextStart, flags, advances, advancesIndex, reserved); in native_getTextRunAdvances()
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd89 advances the workflow, and simply touching outside the popup dismisses it.</p>
/frameworks/base/core/java/android/widget/
DTextView.java8548 int contextEnd, int flags, float[] advances, int advancesIndex, in getTextRunAdvances() argument
8553 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances()
8558 int contextEnd, int flags, float[] advances, int advancesIndex, in getTextRunAdvances() argument
8563 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd808 <li>Without any user interaction, the app widget automatically advances