/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 | 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 | MeasuredText.java | 145 boolean isRtl = textDir.isRtl(mChars, 0, len); 146 bidiRequest = isRtl ? Layout.DIR_REQUEST_RTL : Layout.DIR_REQUEST_LTR; 162 boolean isRtl = mDir != Layout.DIR_LEFT_TO_RIGHT; 163 return paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, mWidths, p); 170 boolean isRtl = (level & 0x1) != 0; 172 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, isRtl, mWidths, q);
|
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
|
/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 | 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...] |
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
|
/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) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 51 boolean isRtl = ViewCompat.getLayoutDirection(view) == View.LAYOUT_DIRECTION_RTL; 52 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) { 54 } else if (isRtl && mCardLeft < leftLimit) { 56 } else if (isRtl) {
|
/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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | DrawerArrowDrawable.java | 113 final boolean isRtl = isLayoutRtl(); 123 final float canvasRotate = lerp(isRtl ? 0 : -180, isRtl ? 180 : 0, mProgress); 152 canvas.rotate(canvasRotate * ((mVerticalMirror ^ isRtl) ? -1 : 1)); 153 } else if (isRtl) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DismissViewButton.java | 76 boolean isRtl = (getLayoutDirection() == View.LAYOUT_DIRECTION_RTL); 77 int dx = isRtl ? getWidth() / 2 + drawableHeight / 2 : getWidth() / 2 - drawableHeight / 2; 80 canvas.scale(isRtl ? -1.0f : 1.0f, -1.0f);
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 114 bool isRtl, LayoutContext* ctx, size_t dstStart); 118 bool isRtl, LayoutContext* ctx, size_t bufStart); 122 bool isRtl, LayoutContext* ctx);
|
/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 126 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 127 side = isRtl ? Gravity.RIGHT : Gravity.LEFT; 129 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 130 side = isRtl ? Gravity.LEFT : Gravity.RIGHT;
|
H A D | Slide.java | 82 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 84 if (isRtl) { 110 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 112 if (isRtl) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PseudoGridView.java | 106 boolean isRtl = isLayoutRtl(); 111 int x = isRtl ? getWidth() : 0; 119 if (isRtl) { 124 if (isRtl) {
|
H A D | SignalTileView.java | 87 boolean isRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; 89 if (isRtl) {
|
/frameworks/support/v4/tests/java/android/support/v4/text/ |
H A D | BidiFormatterTest.java | 57 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE)); 58 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE)); 60 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN)); 61 assertEquals(false, BidiFormatter.getInstance(false).isRtl(EN));
|
/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 | Paint.java | 1843 int contextIndex, int contextCount, boolean isRtl, float[] advances, 1863 contextIndex, contextCount, isRtl, advances, advancesIndex); 1869 contextIndex, contextCount, isRtl, advances, advancesIndex); 1888 int contextStart, int contextEnd, boolean isRtl, float[] advances, 1904 contextStart, contextEnd, isRtl, advances, advancesIndex); 1909 contextStart, contextEnd, isRtl, advances, advancesIndex); 1913 contextStart, contextEnd, isRtl, advances, advancesIndex, this); 1924 0, contextLen, isRtl, advances, advancesIndex); 1961 * @param isRtl whether the run is in RTL direction 1971 int contextEnd, boolean isRtl, floa 1842 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 1887 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 1970 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 2270 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 2273 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 [all...] |
/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;
|