HomeSort by relevance Sort by last modified time
    Searched refs:isRtl (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/text/
TextDirectionHeuristic.java 33 boolean isRtl(char[] array, int start, int count);
45 boolean isRtl(CharSequence cs, int start, int count);
GraphicsOperations.java 41 float x, float y, boolean isRtl, Paint p);
58 boolean isRtl, float[] advances, int advancesIndex, Paint paint);
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) {
351 return mDefaultTextDirectionHeuristic.isRtl(str, 0, str.length())
    [all...]
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);
TextDirectionHeuristics.java 130 public boolean isRtl(char[] array, int start, int count) {
131 return isRtl(CharBuffer.wrap(array), start, count);
135 public boolean isRtl(CharSequence cs, int start, int count) {
  /frameworks/support/v4/java/android/support/v4/text/
TextDirectionHeuristicCompat.java 33 boolean isRtl(char[] array, int start, int count);
45 boolean isRtl(CharSequence cs, int start, int count);
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) {
343 return mDefaultTextDirectionHeuristicCompat.isRtl(str, 0, str.length())
    [all...]
TextDirectionHeuristicsCompat.java 124 public boolean isRtl(char[] array, int start, int count) {
125 return isRtl(CharBuffer.wrap(array), start, count);
129 public boolean isRtl(CharSequence cs, int start, int count) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
NavigationBar.java 29 public NavigationBar(Context context, Density density, int orientation, boolean isRtl,
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);
  /frameworks/base/core/java/android/widget/
RtlSpacingHelper.java 73 public void setDirection(boolean isRtl) {
74 if (isRtl == mIsRtl) {
77 mIsRtl = isRtl;
79 if (isRtl) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
RtlSpacingHelper.java 75 public void setDirection(boolean isRtl) {
76 if (isRtl == mIsRtl) {
79 mIsRtl = isRtl;
81 if (isRtl) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ViewPagerTabStrip.java 77 final boolean isRtl = isRtl();
78 final boolean hasNextTab = isRtl ? mIndexForSelection > 0
82 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1));
98 private boolean isRtl() {
  /frameworks/minikin/include/minikin/
Layout.h 114 bool isRtl, LayoutContext* ctx, size_t dstStart);
118 bool isRtl, LayoutContext* ctx, size_t bufStart);
122 bool isRtl, LayoutContext* ctx);
  /external/chromium_org/base/android/java/src/org/chromium/base/
ApiCompatibilityUtils.java 180 boolean isRtl = isLayoutRtl(textView);
181 textView.setCompoundDrawables(isRtl ? end : start, top, isRtl ? start : end, bottom);
197 boolean isRtl = isLayoutRtl(textView);
198 textView.setCompoundDrawablesWithIntrinsicBounds(isRtl ? end : start, top,
199 isRtl ? start : end, bottom);
215 boolean isRtl = isLayoutRtl(textView);
216 textView.setCompoundDrawablesWithIntrinsicBounds(isRtl ? end : start, top,
217 isRtl ? start : end, bottom);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BidiRenderer.java 49 boolean isRtl;
53 public ScriptRun(int start, int limit, boolean isRtl) {
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,
142 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) {
144 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
DrawerArrowDrawable.java 99 final boolean isRtl = isLayoutRtl();
109 final float canvasRotate = lerp(isRtl ? 0 : -180, isRtl ? 180 : 0, mProgress);
135 canvas.rotate(canvasRotate * ((mVerticalMirror ^ isRtl) ? -1 : 1),
137 } else if (isRtl) {
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
FolderSpan.java 80 boolean isRtl();
157 final boolean isRtl = mDims.isRtl();
167 if (isRtl) {
189 if (isRtl) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PseudoGridView.java 106 boolean isRtl = isLayoutRtl();
111 int x = isRtl ? getWidth() : 0;
119 if (isRtl) {
124 if (isRtl) {
SignalTileView.java 87 boolean isRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL;
89 if (isRtl) {
  /frameworks/support/v4/tests/java/android/support/v4/text/
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));
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTileGrid.java 191 final boolean isRtl = ViewUtils.isViewRtl(this);
193 int childLeft = (isRtl) ? width - getChildAt(0).getMeasuredWidth() : 0;
208 childLeft = (isRtl) ? width - childWidth : 0;
217 if (isRtl) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 154 final boolean isRtl = layout.isRtlCharAt(offset);
162 if (isRtl) {
170 if (!isRtl) {
194 if (isRtl) {
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java 411 final boolean isRtl = isLayoutRtl();
414 boolean isXBeforeFirstPage = isRtl ? (x > mMaxScrollX) : (x < 0);
415 boolean isXAfterLastPage = isRtl ? (x < 0) : (x > mMaxScrollX);
419 if (isRtl) {
428 if (isRtl) {
653 final boolean isRtl = isLayoutRtl();
655 final int startIndex = isRtl ? childCount - 1 : 0;
656 final int endIndex = isRtl ? -1 : childCount;
657 final int delta = isRtl ? -1 : 1;
736 final boolean isRtl = isLayoutRtl()
    [all...]
  /frameworks/minikin/libs/minikin/
Layout.cpp 527 bool isRtl = (bidiFlags & kDirection_Mask) != 0;
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, LayoutContext* ctx, size_t bufStart)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]

Completed in 1318 milliseconds

1 2 3 4 5