/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristic.java | 33 boolean isRtl(char[] array, int start, int count); method in interface:TextDirectionHeuristic 45 boolean isRtl(CharSequence cs, int start, int count); method in interface:TextDirectionHeuristic
|
H A D | GraphicsOperations.java | 41 float x, float y, boolean isRtl, Paint p); 58 boolean isRtl, float[] advances, int advancesIndex, Paint paint); 40 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) argument 57 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint paint) argument
|
H A D | TextDirectionHeuristics.java | 130 public boolean isRtl(char[] array, int start, int count) { method in class:TextDirectionHeuristics.TextDirectionHeuristicImpl 131 return isRtl(CharBuffer.wrap(array), start, count); 135 public boolean isRtl(CharSequence cs, int start, int count) { method in class:TextDirectionHeuristics.TextDirectionHeuristicImpl
|
H A D | BidiFormatter.java | 303 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 305 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 308 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 332 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 334 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) { 337 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) { 350 public boolean isRtl(String str) { method in class:BidiFormatter 351 return mDefaultTextDirectionHeuristic.isRtl(st [all...] |
H A D | SpannableStringBuilder.java | 1135 float x, float y, boolean isRtl, Paint p) { 1141 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); 1144 contextLen, x, y, isRtl, p); 1148 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); 1205 public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, argument 1215 isRtl, advances, advancesPos); 1218 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos); 1223 0, contextLen, isRtl, advances, advancesPos); 1134 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) argument
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicCompat.java | 33 boolean isRtl(char[] array, int start, int count); method in interface:TextDirectionHeuristicCompat 45 boolean isRtl(CharSequence cs, int start, int count); method in interface:TextDirectionHeuristicCompat
|
H A D | TextDirectionHeuristicsCompat.java | 124 public boolean isRtl(char[] array, int start, int count) { method in class:TextDirectionHeuristicsCompat.TextDirectionHeuristicImpl 125 return isRtl(CharBuffer.wrap(array), start, count); 129 public boolean isRtl(CharSequence cs, int start, int count) { method in class:TextDirectionHeuristicsCompat.TextDirectionHeuristicImpl
|
H A D | BidiFormatter.java | 297 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 299 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 302 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 324 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 326 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) { 329 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) { 342 public boolean isRtl(String str) { method in class:BidiFormatter 343 return mDefaultTextDirectionHeuristicCompat.isRtl(st [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | NavigationBar.java | 29 public NavigationBar(Context context, Density density, int orientation, boolean isRtl, argument 42 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) { 49 loadIcon(back, "ic_sysbar_back.png", density, isRtl); 51 loadIcon(2, "ic_sysbar_home.png", density, isRtl); 53 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
|
H A D | CustomBar.java | 97 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { argument 102 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null;
|
/frameworks/base/core/java/android/widget/ |
H A D | RtlSpacingHelper.java | 73 public void setDirection(boolean isRtl) { argument 74 if (isRtl == mIsRtl) { 77 mIsRtl = isRtl; 79 if (isRtl) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | RtlSpacingHelper.java | 75 public void setDirection(boolean isRtl) { argument 76 if (isRtl == mIsRtl) { 79 mIsRtl = isRtl; 81 if (isRtl) {
|
H A D | AbsActionBarView.java | 237 static protected int next(int x, int val, boolean isRtl) { argument 238 return isRtl ? x - val : x + val;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 49 boolean isRtl; field in class:BidiRenderer.ScriptRun 53 public ScriptRun(int start, int limit, boolean isRtl) { argument 56 this.isRtl = isRtl; 116 boolean isRtl = visualRun.getDirection() == Bidi.RTL; 117 renderText(visualRun.getStart(), visualRun.getLimit(), isRtl, advances, 130 * @param isRtl is the text right-to-left 138 public RectF renderText(int start, int limit, boolean isRtl, float[] advances, argument 142 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { 144 flag |= isRtl 266 getScriptRuns(char[] text, int start, int limit, boolean isRtl, List<Font> fonts) argument [all...] |
H A D | Canvas_Delegate.java | 865 float x, float y, boolean isRtl, long paint, long typeface) { 870 drawText(nativeCanvas, buffer, 0, count, x, y, isRtl, paint, typeface); 876 float x, float y, boolean isRtl, long paint, long typeface) { 877 drawText(nativeCanvas, text, start, count, x, y, isRtl, paint, typeface); 957 final int count, final float startX, final float startY, final boolean isRtl, 976 isRtl); 986 .renderText(index, limit, isRtl, null, 0, true); 863 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long paint, long typeface) argument 874 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long typeface) argument 956 drawText(long nativeCanvas, final char[] text, final int index, final int count, final float startX, final float startY, final boolean isRtl, long paint, final long typeface) argument
|
H A D | Paint_Delegate.java | 994 boolean isRtl, float[] advances, int advancesIndex) { 1010 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, isRtl); 1017 boolean isRtl, float[] advances, int advancesIndex) { 1024 contextStart, contextEnd - contextStart, isRtl, advances, advancesIndex); 1206 int advancesIndex, boolean isRtl) { 1208 .renderText(index, index + count, isRtl, advances, advancesIndex, false); 992 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 1015 native_getTextRunAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 1205 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 253 static protected int next(int x, int val, boolean isRtl) { argument 254 return isRtl ? x - val : x + val;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 404 public boolean isRtl(String locale) { method in class:Bridge
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 244 boolean isRtl = Bridge.isLocaleRtl(params.getLocale()); 245 int layoutDirection = isRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; 282 hardwareConfig.getDensity(), isRtl, params.isRtlSupported(), 324 if (isRtl && params.isRtlSupported()) { 389 hardwareConfig.getDensity(), isRtl, params.isRtlSupported(), 1634 * @param isRtl true if the current locale is right-to-left 1639 boolean isRtl, boolean isRtlSupported, int simulatedPlatformVersion) 1642 density, mNavigationBarOrientation, isRtl, 1638 createNavigationBar(BridgeContext context, Density density, boolean isRtl, boolean isRtlSupported, int simulatedPlatformVersion) argument
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 953 float x, float y, boolean isRtl, Paint paint) { 958 nDrawTextRun(mRenderer, text, index, count, contextIndex, contextCount, x, y, isRtl, 963 int contextIndex, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface); 967 float x, float y, boolean isRtl, Paint paint) { 975 contextEnd, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); 978 contextStart, contextEnd, x, y, isRtl, paint); 985 x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); 991 int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface); 952 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) argument 962 nDrawTextRun(long renderer, char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 966 drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) argument 990 nDrawTextRun(long renderer, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 640 jint start, jint count, jint contextCount, jboolean isRtl, 662 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; 679 jboolean isRtl, jfloatArray advances, jint advancesIndex) { 684 index - contextIndex, count, contextCount, isRtl, advances, advancesIndex); 691 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, 697 start - contextStart, end - start, contextEnd - contextStart, isRtl, 639 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 676 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 689 getTextRunAdvances__StringIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 532 jboolean isRtl, jlong paintHandle, jlong typefaceHandle) { 536 const int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; 545 jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, 550 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; 530 drawTextRunChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument 543 drawTextRunString(JNIEnv* env, jobject obj, jlong canvasHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
|
H A D | android_view_GLES20Canvas.cpp | 753 jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, 760 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; 768 jint contextStart, int contextEnd, jfloat x, jfloat y, jboolean isRtl, 777 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; 751 android_view_GLES20Canvas_drawTextRunArray(JNIEnv* env, jobject clazz, jlong rendererPtr, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintPtr, jlong typefacePtr) argument 766 android_view_GLES20Canvas_drawTextRun(JNIEnv* env, jobject clazz, jlong rendererPtr, jstring text, jint start, jint end, jint contextStart, int contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintPtr, jlong typefacePtr) argument
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 527 bool isRtl = (bidiFlags & kDirection_Mask) != 0; local 551 isRtl = (paraDir == kBidi_RTL); 568 isRtl = (runDir == UBIDI_RTL); 569 doLayoutRunCached(buf, startRun, lengthRun, bufSize, isRtl, &ctx, 583 doLayoutRunCached(buf, start, count, bufSize, isRtl, &ctx, start); 589 bool isRtl, LayoutContext* ctx, size_t dstStart) { 590 if (!isRtl) { 598 isRtl, ctx, iter - dstStart); 610 wordend - wordstart, isRtl, ctx, bufStart - dstStart); 617 bool isRtl, LayoutContex 588 doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t dstStart) argument 616 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart) argument 652 doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1739 * @param isRtl whether the run is in RTL direction 1744 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 1757 contextIndex, contextCount, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); 1773 * @param isRtl whether the run is in RTL direction 1778 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { 1793 contextStart, contextEnd, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); 1796 contextStart, contextEnd, x, y, isRtl, paint); 1803 0, contextLen, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); 2091 float x, float y, boolean isRtl, long nativePaint, long nativeTypeface); 2095 float x, float y, boolean isRtl, lon 1743 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument 1777 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument 2089 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 2093 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument [all...] |