Searched defs:advances (Results 1 - 10 of 10) sorted by last modified time

/frameworks/minikin/libs/minikin/
H A DLayout.cpp599 const FontCollection* collection, float* advances) {
608 float* advancesForRun = advances ? advances + (runInfo.mRunStart - start) : advances;
619 Layout* layout, float* advances) {
634 advances ? advances + (iter - start) : advances);
649 advances ? advances
597 measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const FontCollection* collection, float* advances) argument
617 doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t dstStart, const FontCollection* collection, Layout* layout, float* advances) argument
656 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart, const FontCollection* collection, Layout* layout, float* advances) argument
959 getAdvances(float* advances) argument
[all...]
H A DMeasurement.cpp31 static float getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, argument
37 float charAdvance = advances[i - layoutStart];
44 if (offset < start + count && advances[offset - layoutStart] == 0.0f) {
50 if (advances[nextCluster - layoutStart] != 0.0f) break;
70 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument
72 return getRunAdvance(advances, buf, start, start, count, offset);
83 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument
92 float width = advances[i - start];
107 float delta = getRunAdvance(advances, buf, start, searchStart, count - searchStart, i)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java110 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, argument
116 renderText(visualRun.getStart(), visualRun.getLimit(), isRtl, advances,
130 * @param advances If not null, then advances for each character to be rendered are returned
132 * @param advancesIndex index into advances from where the advances need to be filled.
137 public RectF renderText(int start, int limit, boolean isRtl, float[] advances, argument
144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw);
156 float[] advances, int advancesIndex, boolean draw) {
166 render(start, limit, preferredFont, flag, advances, advancesInde
155 renderScript(int start, int limit, Font preferredFont, int flag, float[] advances, int advancesIndex, boolean draw) argument
216 render(int start, int limit, Font font, int flag, float[] advances, int advancesIndex, boolean draw) argument
[all...]
H A DPaint_Delegate.java967 int bidiFlags, float[] advances, int advancesIndex) {
969 if (advances != null)
971 advances[i]=0;
983 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags);
990 int bidiFlags, float[] advances, int advancesIndex) {
997 contextStart, contextEnd - contextStart, bidiFlags, advances, advancesIndex);
1145 float[] advances = new float[count];
1148 contextStart, contextEnd - contextStart, bidiFlags, advances, 0);
1152 sum += advances[i];
1162 float[] advances
965 nGetTextAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
988 nGetTextAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) argument
1299 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
1305 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java183 * <p>Enabling this flag causes glyph advances to be computed with subpixel
2086 int contextIndex, int contextCount, boolean isRtl, float[] advances,
2096 | (advances == null ? 0 :
2097 (advances.length - (advancesIndex + count)))) < 0) {
2106 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances,
2113 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances,
2117 if (advances != null) {
2119 advances[i] *= mInvCompatScaling;
2133 int contextStart, int contextEnd, boolean isRtl, float[] advances,
2141 | (advances
2085 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
2132 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2214 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2680 nGetTextAdvances(long paintPtr, long typefacePtr, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
2683 nGetTextAdvances(long paintPtr, long typefacePtr, String text, int start, int end, int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) argument
[all...]
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp64 const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) {
69 font, advances);
63 measureText(const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp479 jfloatArray advances, jint advancesIndex) {
489 if (advances) {
490 size_t advancesLength = env->GetArrayLength(advances);
497 if (advances) {
502 if (advances) {
503 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray.get());
511 jint bidiFlags, jfloatArray advances, jint advancesIndex) {
516 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex);
524 jfloatArray advances, jint advancesIndex) {
530 advances, advancesInde
477 doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
508 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
521 getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
[all...]
/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java58 boolean isRtl, float[] advances, int advancesIndex, Paint paint);
57 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint paint) argument
H A DSpannableStringBuilder.java1453 float[] advances, int advancesPos, Paint p) {
1462 isRtl, advances, advancesPos);
1465 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos);
1470 0, contextLen, isRtl, advances, advancesPos);
1452 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesPos, Paint p) argument
/frameworks/base/core/java/android/widget/
H A DTextView.java6121 * Returns true if pressing ENTER in this field advances focus instead
6148 * Returns true if pressing TAB in this field advances focus instead
10176 int contextEnd, boolean isRtl, float[] advances, int advancesIndex,
10181 contextStart + mStart, contextCount, isRtl, advances,
10175 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint p) argument

Completed in 231 milliseconds