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

/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp53 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, argument
60 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint);
63 float MinikinUtils::measureText(const Paint* paint, int bidiFlags, Typeface* typeface, argument
68 return Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint,
H A DMinikinUtils.h40 ANDROID_API static void doLayout(Layout* layout, const Paint* paint, int bidiFlags,
44 ANDROID_API static float measureText(const Paint* paint, int bidiFlags, Typeface* typeface,
H A DCanvas.cpp150 float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) {
155 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount);
209 void Canvas::drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, argument
213 MinikinUtils::doLayout(&layout, &paintCopy, bidiFlags, typeface, text, 0, count, count);
149 drawText(const uint16_t* text, int start, int count, int contextCount, float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) argument
H A DCanvas.h230 float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface);
232 void drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path,
/frameworks/minikin/sample/
H A Dexample.cpp87 int bidiFlags = 0; local
92 layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, paint);
H A Dexample_skia.cpp119 int bidiFlags = 0; local
124 layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, minikinPaint);
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp478 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags,
500 const float advance = MinikinUtils::measureText(paint, bidiFlags, typeface, text,
511 jint bidiFlags, jfloatArray advances, jint advancesIndex) {
516 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex);
523 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags,
529 start - contextStart, end - start, contextEnd - contextStart, bidiFlags,
594 jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) {
596 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count);
613 jlong typefaceHandle, jint bidiFlags,
619 getTextPath(env, paint, typeface, textArray + index, count, bidiFlags,
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
593 getTextPath(JNIEnv* env, Paint* paint, Typeface* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument
612 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument
623 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument
651 breakText(JNIEnv* env, const Paint& paint, Typeface* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, const bool forwardScan) argument
683 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
712 breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring jtext, jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
726 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, Typeface* typeface, jint bidiFlags) argument
743 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
752 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
787 hasGlyph(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring string) argument
865 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; local
891 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; local
[all...]
/frameworks/minikin/include/minikin/
H A DLayout.h94 int bidiFlags, const FontStyle &style, const MinikinPaint &paint);
97 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java625 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) {
647 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags);
668 float maxWidth, int bidiFlags, float[] measuredWidth) {
670 maxWidth, bidiFlags, measuredWidth);
967 int bidiFlags, float[] advances, int advancesIndex) {
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);
1020 int bidiFlags, char[] text, int index, int count, float x, float y, long path) {
1028 int bidiFlags, Strin
624 nBreakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
666 nBreakText(long nativePaint, long nativeTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) argument
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
1019 nGetTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
1027 nGetTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
1035 nGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument
1042 nGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
1113 nHasGlyph(long nativePaint, long nativeTypeface, int bidiFlags, String string) argument
1299 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
[all...]
H A DBidiRenderer.java110 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, argument
112 Bidi bidi = new Bidi(mText, start, null, 0, limit - start, getIcuFlags(bidiFlags));
H A DCanvas_Delegate.java979 float vOffset, int bidiFlags,
991 int bidiFlags, long paint,
975 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
987 native_drawTextOnPath(long nativeCanvas, String text, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DStaticLayout_Delegate.java95 int bidiFlags = isRtl ? Paint.BIDI_FORCE_RTL : Paint.BIDI_FORCE_LTR;
98 bidiFlags);
213 float[] widths, int bidiFlags) {
216 .renderText(index, index + count, bidiFlags, widths, 0, false);
212 measureText(long nativePaint, char []text, int index, int count, float[] widths, int bidiFlags) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp478 jint index, jint count, jfloat x, jfloat y, jint bidiFlags,
484 bidiFlags, *paint, typeface);
489 jint start, jint end, jfloat x, jfloat y, jint bidiFlags,
496 bidiFlags, *paint, typeface);
506 const int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; local
509 contextCount, x, y, bidiFlags, *paint, typeface);
520 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; local
525 contextCount, x, y, bidiFlags, *paint, typeface);
531 jfloat vOffset, jint bidiFlags, jlong paintHandle,
539 get_canvas(canvasHandle)->drawTextOnPath(jchars + index, count, bidiFlags, *pat
477 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
488 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
529 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
545 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp475 BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags);
543 BidiText::BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags) argument
545 mIsRtl((bidiFlags & kDirection_Mask) != 0) {
546 if (bidiFlags == kBidi_Force_LTR || bidiFlags == kBidi_Force_RTL) {
556 UBiDiLevel bidiReq = bidiFlags;
557 if (bidiFlags == kBidi_Default_LTR) {
559 } else if (bidiFlags == kBidi_Default_RTL) {
580 int bidiFlags, const FontStyle &style, const MinikinPaint &paint) {
590 for (const BidiText::Iter::RunInfo& runInfo : BidiText(buf, start, count, bufSize, bidiFlags)) {
579 doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint) argument
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
[all...]
H A DLineBreaker.cpp126 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; local
130 width = Layout::measureText(mTextBuf.data(), start, end - start, mTextBuf.size(), bidiFlags,
193 lastBreak, j - lastBreak, mTextBuf.size(), bidiFlags, style,
199 afterWord - j, mTextBuf.size(), bidiFlags, style, *paint,
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1847 float maxWidth, int bidiFlags, float[] measuredWidth);
1939 float maxWidth, int bidiFlags, float[] measuredWidth);
2682 int bidiFlags, float[] advances, int advancesIndex);
2685 int bidiFlags, float[] advances, int advancesIndex);
2693 int bidiFlags, char[] text, int index, int count, float x, float y, long path);
2695 int bidiFlags, String text, int start, int end, float x, float y, long path);
2697 String text, int start, int end, int bidiFlags, Rect bounds);
2699 char[] text, int index, int count, int bidiFlags, Rect bounds);
2714 int bidiFlags, String string);
1845 nBreakText(long nObject, long nTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
1937 nBreakText(long nObject, long nTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) 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
2692 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
2694 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
2696 nGetStringBounds(long nativePaint, long typefacePtr, String text, int start, int end, int bidiFlags, Rect bounds) argument
2698 nGetCharArrayBounds(long nativePaint, long typefacePtr, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
2713 nHasGlyph(long paintPtr, long typefacePtr, int bidiFlags, String string) argument
H A DCanvas.java2139 float vOffset, int bidiFlags,
2135 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, long nativeTypeface) argument

Completed in 262 milliseconds