Home
last modified time | relevance | path

Searched refs:bidiFlags (Results 1 – 17 of 17) sorted by relevance

/frameworks/minikin/libs/minikin/
DBidiUtils.cpp75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText() argument
76 : mRange(range), mIsRtl(isRtl(bidiFlags)), mRunCount(1 /* by default, single run */) { in BidiText()
77 if (isOverride(bidiFlags)) { in BidiText()
95 const UBiDiLevel bidiReq = bidiToUBidiLevel(bidiFlags); in BidiText()
DLayout.cpp48 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout() argument
54 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) { in doLayout()
60 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText() argument
64 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) { in measureText()
DBidiUtils.h47 BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags);
/frameworks/base/core/jni/android/graphics/
DPaint.cpp116 const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, in breakText() argument
122 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText()
148 jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextC() argument
170 bidiFlags, jmeasuredWidth, forwardTextDirection); in breakTextC()
177 jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextS() argument
185 …count = breakText(env, *paint, typeface, text, count, maxWidth, bidiFlags, jmeasuredWidth, forward… in breakTextS()
191 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument
214 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances()
224 jint bidiFlags, jfloatArray advances, jint advancesIndex) { in getTextAdvances___CIIIII_FI() argument
229 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java640 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
662 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); in nBreakText()
682 float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument
684 maxWidth, bidiFlags, measuredWidth); in nBreakText()
956 int bidiFlags, float[] advances, int advancesIndex) { in nGetTextAdvances() argument
967 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags); in nGetTextAdvances()
973 int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) { in nGetTextAdvances() argument
980 contextStart, contextEnd - contextStart, bidiFlags, advances, advancesIndex); in nGetTextAdvances()
1002 /*package*/ static void nGetTextPath(long native_object, int bidiFlags, char[] text, in nGetTextPath() argument
1010 /*package*/ static void nGetTextPath(long native_object, int bidiFlags, String text, int start, in nGetTextPath() argument
[all …]
DBaseCanvas_Delegate.java573 float vOffset, int bidiFlags, in nDrawTextOnPath() argument
585 int bidiFlags, long paint) { in nDrawTextOnPath() argument
629 final int count, final float startX, final float startY, final int bidiFlags, in drawText() argument
643 paintDelegate.measureText(text, index, count, null, 0, bidiFlags); in drawText()
653 startY).renderText(index, limit, bidiFlags, null, 0, true); in drawText()
DBidiRenderer.java104 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, in renderText() argument
106 mBidi.setPara(Arrays.copyOfRange(mText, start, limit), (byte)getIcuFlags(bidiFlags), null); in renderText()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DMeasuredText_Builder_Delegate.java106 float[] widths, int bidiFlags) { in measureText() argument
109 new BidiRenderer(null, paint, text).renderText(index, index + count, bidiFlags, in measureText()
126 int bidiFlags = mIsRtl ? Paint.BIDI_FORCE_RTL : Paint.BIDI_FORCE_LTR; in addTo() local
128 bidiFlags); in addTo()
/frameworks/minikin/include/minikin/
DLayout.h68 Layout(const U16StringPiece& str, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, in Layout() argument
71 doLayout(str, range, bidiFlags, paint, startHyphen, endHyphen); in Layout()
79 static float measureText(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
110 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp51 minikin::Layout MinikinUtils::doLayout(const Paint* paint, minikin::Bidi bidiFlags, in doLayout() argument
65 return minikin::Layout(textBuf.substr(contextRange), range - contextStart, bidiFlags, in doLayout()
72 float MinikinUtils::measureText(const Paint* paint, minikin::Bidi bidiFlags, in measureText() argument
81 return minikin::Layout::measureText(textBuf, range, bidiFlags, minikinPaint, startHyphen, in measureText()
DMinikinUtils.h45 ANDROID_API static minikin::Layout doLayout(const Paint* paint, minikin::Bidi bidiFlags,
51 ANDROID_API static float measureText(const Paint* paint, minikin::Bidi bidiFlags,
DCanvas.cpp152 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText() argument
157 minikin::Layout layout = MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, textSize, in drawText()
236 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath() argument
241 MinikinUtils::doLayout(&paintCopy, bidiFlags, typeface, text, count, // text buffer in drawTextOnPath()
DCanvas.h287 int contextCount, float x, float y, minikin::Bidi bidiFlags,
290 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp542 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument
553 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextChars()
557 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument
569 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextString()
577 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars() local
587 bidiFlags, *paint, typeface, mt); in drawTextRunChars()
593 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString() local
603 bidiFlags, *paint, typeface, nullptr /* measured text */); in drawTextRunString()
608 jfloat vOffset, jint bidiFlags, jlong paintHandle) { in drawTextOnPathChars() argument
616 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPaint.java3050 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
3052 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
3054 int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument
3056 int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument
3061 private static native void nGetTextPath(long paintPtr, int bidiFlags, char[] text, int index, in nGetTextPath() argument
3063 private static native void nGetTextPath(long paintPtr, int bidiFlags, String text, int start, in nGetTextPath() argument
3066 int bidiFlags, Rect bounds); in nGetStringBounds() argument
3068 int count, int bidiFlags, Rect bounds); in nGetCharArrayBounds() argument
3069 private static native boolean nHasGlyph(long paintPtr, int bidiFlags, String string); in nHasGlyph() argument
DBaseCanvas.java751 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
DBaseRecordingCanvas.java695 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument