Home
last modified time | relevance | path

Searched refs:mIsRtl (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java35 private boolean mIsRtl = false; field in RtlSpacingHelper
47 return mIsRtl ? mRight : mLeft; in getStart()
51 return mIsRtl ? mLeft : mRight; in getEnd()
58 if (mIsRtl) { in setRelative()
74 if (isRtl == mIsRtl) { in setDirection()
77 mIsRtl = isRtl; in setDirection()
DGallery.java183 private boolean mIsRtl = true; field in Gallery
429 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0;
501 int n = mIsRtl ? (numChildren - 1 - i) : i; in detachOffScreenChildren()
511 if (!mIsRtl) { in detachOffScreenChildren()
517 int n = mIsRtl ? numChildren - 1 - i : i; in detachOffScreenChildren()
527 if (mIsRtl) { in detachOffScreenChildren()
534 if (toLeft != mIsRtl) { in detachOffScreenChildren()
635 mIsRtl = isLayoutRtl(); in layout()
700 if (mIsRtl) { in fillToGalleryLeft()
771 if (mIsRtl) { in fillToGalleryRight()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DRtlSpacingHelper.java35 private boolean mIsRtl = false; field in RtlSpacingHelper
47 return mIsRtl ? mRight : mLeft; in getStart()
51 return mIsRtl ? mLeft : mRight; in getEnd()
58 if (mIsRtl) { in setRelative()
74 if (isRtl == mIsRtl) { in setDirection()
77 mIsRtl = isRtl; in setDirection()
/frameworks/minikin/libs/minikin/
DBidiUtils.cpp56 return {mRange, mIsRtl}; in getRunInfoAt()
76 : mRange(range), mIsRtl(isRtl(bidiFlags)), mRunCount(1 /* by default, single run */) { in BidiText()
110 mIsRtl = paraIsRTL; in BidiText()
117 mIsRtl = (runDir == UBIDI_RTL); in BidiText()
DBidiUtils.h82 bool mIsRtl; // The paragraph direction. variable
/frameworks/minikin/include/minikin/
DMeasuredText.h79 : Run(range), mPaint(std::move(paint)), mIsRtl(isRtl) {} in StyleRun()
83 bool isRtl() const override { return mIsRtl; } in isRtl()
87 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getMetrics()
94 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getBounds()
103 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in measureHyphenPiece()
110 const bool mIsRtl; variable
DLayoutCache.h50 mIsRtl(dir), in LayoutCacheKey()
59 mEndHyphen == o.mEndHyphen && mIsRtl == o.mIsRtl && mNchars == o.mNchars &&
78 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, paint, mStartHyphen, in doLayout()
101 bool mIsRtl; variable
123 hash = android::JenkinsHashMix(hash, android::hash_type(mIsRtl)); in computeHash()
/frameworks/layoutlib/bridge/src/android/text/
DMeasuredParagraph_Delegate.java157 private final boolean mIsRtl; field in MeasuredParagraph_Delegate.StyleRun
162 mIsRtl = isRtl; in StyleRun()
167 int bidiFlags = mIsRtl ? Paint.BIDI_FORCE_RTL : Paint.BIDI_FORCE_LTR; in addTo()