Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java111 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, in renderText() argument
117 renderText(visualRun.getStart(), visualRun.getLimit(), isRtl, advances, in renderText() local
138 public RectF renderText(int start, int limit, boolean isRtl, float[] advances, in renderText() argument
145 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText()
157 float[] advances, int advancesIndex, boolean draw) { in renderScript() argument
167 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
172 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
187 render(start, start+charCount, font, flag, advances, advancesIndex, draw); in renderScript()
199 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript()
217 private void render(int start, int limit, Font font, int flag, float[] advances, in render() argument
[all …]
DPaint_Delegate.java994 boolean isRtl, float[] advances, int advancesIndex) { in native_getTextRunAdvances() argument
996 if (advances != null) in native_getTextRunAdvances()
998 advances[i]=0; in native_getTextRunAdvances()
1010 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, isRtl); in native_getTextRunAdvances()
1017 boolean isRtl, float[] advances, int advancesIndex) { in native_getTextRunAdvances() argument
1024 contextStart, contextEnd - contextStart, isRtl, advances, advancesIndex); in native_getTextRunAdvances()
1199 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, in measureText() argument
1202 .renderText(index, index + count, bidiFlags, advances, advancesIndex, false); in measureText()
1205 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, in measureText() argument
1208 .renderText(index, index + count, isRtl, advances, advancesIndex, false); in measureText()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1843 int contextIndex, int contextCount, boolean isRtl, float[] advances, in getTextRunAdvances() argument
1853 | (advances == null ? 0 : in getTextRunAdvances()
1854 (advances.length - (advancesIndex + count)))) < 0) { in getTextRunAdvances()
1863 contextIndex, contextCount, isRtl, advances, advancesIndex); in getTextRunAdvances()
1869 contextIndex, contextCount, isRtl, advances, advancesIndex); in getTextRunAdvances()
1872 if (advances != null) { in getTextRunAdvances()
1874 advances[i] *= mInvCompatScaling; in getTextRunAdvances()
1888 int contextStart, int contextEnd, boolean isRtl, float[] advances, in getTextRunAdvances() argument
1897 | (advances == null ? 0 : in getTextRunAdvances()
1898 (advances.length - advancesIndex - (end - start)))) < 0) { in getTextRunAdvances()
[all …]
/frameworks/base/core/jni/android/graphics/
DPaint.cpp641 jfloatArray advances, jint advancesIndex) { in doTextRunAdvances() argument
652 if (advances) { in doTextRunAdvances()
653 size_t advancesLength = env->GetArrayLength(advances); in doTextRunAdvances()
669 if (advances != NULL) { in doTextRunAdvances()
670 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray); in doTextRunAdvances()
679 jboolean isRtl, jfloatArray advances, jint advancesIndex) { in getTextRunAdvances___CIIIIZ_FI() argument
684 index - contextIndex, count, contextCount, isRtl, advances, advancesIndex); in getTextRunAdvances___CIIIIZ_FI()
692 jfloatArray advances, jint advancesIndex) { in getTextRunAdvances__StringIIIIZ_FI() argument
698 advances, advancesIndex); in getTextRunAdvances__StringIIIIZ_FI()
827 float* advances = new float[count]; in breakText() local
[all …]
/frameworks/base/core/java/android/text/
DGraphicsOperations.java58 boolean isRtl, float[] advances, int advancesIndex, Paint paint); in getTextRunAdvances() argument
DSpannableStringBuilder.java1206 float[] advances, int advancesPos, Paint p) { in getTextRunAdvances() argument
1215 isRtl, advances, advancesPos); in getTextRunAdvances()
1218 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
1223 0, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
/frameworks/minikin/include/minikin/
DLayout.h99 void getAdvances(float* advances);
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd138 advances the workflow, and simply touching outside the popup dismisses it.</p>
/frameworks/minikin/libs/minikin/
DLayout.cpp866 void Layout::getAdvances(float* advances) { in getAdvances() argument
867 memcpy(advances, &mAdvances[0], mAdvances.size() * sizeof(float)); in getAdvances()
/frameworks/base/core/java/android/widget/
DTextView.java9281 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument
9286 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd897 <li>Without any user interaction, the app widget automatically advances