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

1 2 3 4 5 6 7 8 910

  /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);
TextDirectionHeuristics.java 148 public boolean isRtl(char[] array, int start, int count) {
149 return isRtl(CharBuffer.wrap(array), start, count);
153 public boolean isRtl(CharSequence cs, int start, int count) {
BidiFormatter.java 308 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
310 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
313 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
337 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
339 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
342 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
355 public boolean isRtl(String str) {
356 return isRtl((CharSequence) str)
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/text/
TextDirectionHeuristicCompat.java 33 boolean isRtl(char[] array, int start, int count);
45 boolean isRtl(CharSequence cs, int start, int count);
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) {
BidiFormatter.java 300 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
302 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
305 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
328 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
330 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
333 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
346 public boolean isRtl(String str) {
347 return isRtl((CharSequence) str)
    [all...]
  /frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
RemoteBridge.java 121 boolean isRtl(String locale) throws RemoteException;
  /frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
RemoteBridgeClient.java 141 public boolean isRtl(String locale) {
143 return mDelegate.isRtl(locale);
  /frameworks/minikin/include/minikin/
Layout.h 59 inline bool isRtl(Bidi bidi) {
163 static float doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl,
172 bool isRtl, const MinikinPaint& paint, size_t bufStart,
178 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl,
MeasuredText.h 39 virtual bool isRtl() const = 0;
78 StyleRun(const Range& range, MinikinPaint&& paint, bool isRtl)
79 : Run(range), mPaint(std::move(paint)), mIsRtl(isRtl) {}
83 bool isRtl() const override { return mIsRtl; }
118 bool isRtl() const { return false; }
209 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, bool isRtl) {
210 mRuns.emplace_back(std::make_unique<StyleRun>(Range(start, end), std::move(paint), isRtl));
  /frameworks/minikin/libs/minikin/
BidiUtils.h 44 bool isRtl;
OptimalLineBreaker.cpp 71 bool isRtl; // The direction of the bidi run containing or ending in this candidate
75 bool isRtl)
83 isRtl(isRtl) {}
101 bool isRtl) {
104 HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, isRtl);
110 bool isRtl) {
112 isRtl);
118 bool isRtl) {
120 HyphenationType::DONT_BREAK, isRtl);
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/list/
ViewPagerTabStrip.java 81 final boolean isRtl = isRtl();
83 isRtl ? mIndexForSelection > 0 : (mIndexForSelection < (getChildCount() - 1));
86 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1));
106 private boolean isRtl() {
  /packages/apps/Messaging/src/com/android/messaging/ui/
ViewPagerTabStrip.java 78 final boolean isRtl = isRtl();
79 final boolean hasNextTab = isRtl ? mIndexForSelection > 0
83 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1));
99 private boolean isRtl() {
  /packages/apps/Dialer/java/com/android/dialer/util/
ViewUtil.java 73 public static boolean isRtl() {
  /frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
RemoteBridgeImpl.java 160 public boolean isRtl(String locale) {
161 return mBridge.isRtl(locale);
  /packages/apps/Launcher2/src/com/android/launcher2/
ButtonDropTarget.java 120 private boolean isRtl() {
137 if (isRtl()) {
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
WallpaperUtils.java 154 public static boolean isRtl(Resources res) {
  /frameworks/layoutlib/bridge/src/android/graphics/
BidiRenderer.java 110 boolean isRtl = visualRun.getDirection() == Bidi.RTL;
111 renderText(visualRun.getStart(), visualRun.getLimit(), isRtl, advances,
124 * @param isRtl is the text right-to-left
132 public RectF renderText(int start, int limit, boolean isRtl, float[] advances,
138 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT;
  /packages/apps/Dialer/java/com/android/dialer/dialpadview/
DialpadView.java 81 private final boolean isRtl; // whether the dialpad is shown in a right-to-left locale
110 isRtl =
294 dialpadKey.setTranslationX((isRtl ? -1 : 1) * translateDistance);
331 if (isRtl) {
419 if (isRtl) {
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
Bridge.java 470 public boolean isRtl(String locale) {
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 388 public static boolean isRtl(Resources res) {
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
RecentsView.java 259 mIsRtl = !Utilities.isRtl(getResources());
278 public boolean isRtl() {
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowState.java     [all...]
  /development/samples/training/NavigationDrawer/libs/
android-support-v4.jar 

Completed in 304 milliseconds

1 2 3 4 5 6 7 8 910