/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 52 minikin::Layout MinikinUtils::doLayout(const Paint* paint, minikin::Bidi bidiFlags, in doLayout() argument 66 return minikin::Layout(textBuf.substr(contextRange), range - contextStart, bidiFlags, in doLayout() 73 void MinikinUtils::getBounds(const Paint* paint, minikin::Bidi bidiFlags, const Typeface* typeface, in getBounds() argument 81 minikin::getBounds(textBuf, minikin::Range(0, textBuf.size()), bidiFlags, minikinPaint, in getBounds() 85 float MinikinUtils::measureText(const Paint* paint, minikin::Bidi bidiFlags, in measureText() argument 94 return minikin::Layout::measureText(textBuf, range, bidiFlags, minikinPaint, startHyphen, in measureText()
|
D | MinikinUtils.h | 45 static minikin::Layout doLayout(const Paint* paint, minikin::Bidi bidiFlags, 51 static void getBounds(const Paint* paint, minikin::Bidi bidiFlags, const Typeface* typeface, 54 static float measureText(const Paint* paint, minikin::Bidi bidiFlags,
|
D | Canvas.cpp | 162 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText() argument 172 minikin::Layout layout = MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, textSize, in drawText() 245 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath() argument 257 MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, count, // text buffer in drawTextOnPath()
|
D | Canvas.h | 251 int contextCount, float x, float y, minikin::Bidi bidiFlags, 254 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
|
/frameworks/minikin/libs/minikin/ |
D | BidiUtils.cpp | 75 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()
|
D | Layout.cpp | 48 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()
|
D | BidiUtils.h | 47 BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags);
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 101 const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, in breakText() argument 107 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText() 133 jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextC() argument 155 bidiFlags, jmeasuredWidth, forwardTextDirection); in breakTextC() 162 jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextS() argument 170 …count = breakText(env, *paint, typeface, text, count, maxWidth, bidiFlags, jmeasuredWidth, forward… in breakTextS() 176 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument 199 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances() 209 jint bidiFlags, jfloatArray advances, jint advancesIndex) { in getTextAdvances___CIIIII_FI() argument 214 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI() [all …]
|
D | android_graphics_Canvas.cpp | 559 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument 570 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextChars() 574 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument 586 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextString() 594 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars() local 604 bidiFlags, *paint, typeface, mt); in drawTextRunChars() 610 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString() local 620 bidiFlags, *paint, typeface, nullptr /* measured text */); in drawTextRunString() 625 jfloat vOffset, jint bidiFlags, jlong paintHandle) { in drawTextOnPathChars() argument 633 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars() [all …]
|
/frameworks/base/libs/hwui/jni/text/ |
D | TextShaper.cpp | 50 int contextStart, int contextCount, minikin::Bidi bidiFlags, in shapeTextRun() argument 55 minikin::Layout layout = MinikinUtils::doLayout(&paint, bidiFlags, typeface, in shapeTextRun() 83 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in TextShaper_shapeTextRunChars() local 88 bidiFlags, in TextShaper_shapeTextRunChars() 99 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in TextShaper_shapeTextRunString() local 104 bidiFlags, in TextShaper_shapeTextRunString()
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | MeasuredText_Builder_Delegate.java | 106 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/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 640 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 …]
|
D | BaseCanvas_Delegate.java | 577 float vOffset, int bidiFlags, in nDrawTextOnPath() argument 589 int bidiFlags, long paint) { in nDrawTextOnPath() argument 633 final int count, final float startX, final float startY, final int bidiFlags, in drawText() argument 647 paintDelegate.measureText(text, index, count, null, 0, bidiFlags); in drawText() 657 startY).renderText(index, limit, bidiFlags, null, 0, true); in drawText()
|
D | BidiRenderer.java | 104 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/minikin/include/minikin/ |
D | Layout.h | 68 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, 109 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
|
D | Measurement.h | 33 void getBounds(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 3096 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument 3098 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument 3100 int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument 3102 int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument 3107 private static native void nGetTextPath(long paintPtr, int bidiFlags, char[] text, int index, in nGetTextPath() argument 3109 private static native void nGetTextPath(long paintPtr, int bidiFlags, String text, int start, in nGetTextPath() argument 3112 int bidiFlags, Rect bounds); in nGetStringBounds() argument 3114 int count, int bidiFlags, Rect bounds); in nGetCharArrayBounds() argument 3115 private static native boolean nHasGlyph(long paintPtr, int bidiFlags, String string); in nHasGlyph() argument
|
D | BaseRecordingCanvas.java | 741 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
|
D | BaseCanvas.java | 821 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 39 static void getBounds(const U16StringPiece& text, Bidi bidiFlags, const MinikinPaint& paint, in getBounds() argument 41 getBounds(text, Range(0, text.size()), bidiFlags, paint, StartHyphenEdit::NO_EDIT, in getBounds()
|