Searched refs:rtl (Results 1 – 13 of 13) sorted by relevance
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | EntityDeleteComparator.kt | 29 val rtl = rhs.shouldBeDeletedAfter(lhs) in compare() constant 31 ltr == rtl -> 0 in compare() 33 rtl -> 1 in compare()
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
D | TextViewCompat.java | 137 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelative() 138 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom); in setCompoundDrawablesRelative() 164 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelativeWithIntrinsicBounds() 165 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, in setCompoundDrawablesRelativeWithIntrinsicBounds() 166 rtl ? start : end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() 196 boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in setCompoundDrawablesRelativeWithIntrinsicBounds() 197 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, in setCompoundDrawablesRelativeWithIntrinsicBounds() 198 rtl ? start : end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() 282 final boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in getCompoundDrawablesRelative() 284 if (rtl) { in getCompoundDrawablesRelative()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | LinearLayoutManagerWrapContentTest.java | 170 boolean rtl = layoutManager.getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL; in getHorizontalGravity() 172 if (rtl) { in getHorizontalGravity() 178 if (rtl ^ end) { in getHorizontalGravity()
|
D | GridLayoutManagerNoOpUpdateTest.java | 60 public GridLayoutManagerNoOpUpdateTest(Config config, boolean rtl) { in GridLayoutManagerNoOpUpdateTest() argument 62 mRtl = rtl; in GridLayoutManagerNoOpUpdateTest()
|
D | RecyclerViewLayoutTest.java | 4699 public void focusTooBigViewTest(final int gravity, final boolean rtl) throws Throwable { 4701 if (rtl) { 4712 return rtl ? ViewCompat.LAYOUT_DIRECTION_RTL : ViewCompat.LAYOUT_DIRECTION_LTR; 4796 if (rtl) {
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | ContextMenuUtils.java | 138 final boolean rtl = anchor.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in assertContextMenuAlignment() 144 description.appendText(rtl ? "right" : "left"); in assertContextMenuAlignment() 156 if (rtl) { in assertContextMenuAlignment()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | StreamingTextView.java | 254 boolean rtl = isLayoutRtl(StreamingTextView.this); in draw() 264 float dotLeft = rtl ? x + width - left - dotWidth : x + left; in draw()
|
D | GridLayoutManager.java | 3196 boolean rtl = getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL; 3197 final int absDir = (direction == View.FOCUS_FORWARD) ^ rtl
|
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
D | GridLayout.java | 2777 private static Alignment createSwitchingAlignment(final Alignment ltr, final Alignment rtl) { 2783 return (!isLayoutRtl ? ltr : rtl).getGravityOffset(view, cellDelta); 2790 return (!isLayoutRtl ? ltr : rtl).getAlignmentValue(view, viewSize, mode); 2795 return "SWITCHING[L:" + ltr.getDebugString() + ", R:" + rtl.getDebugString() + "]";
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 2868 private static Alignment createSwitchingAlignment(final Alignment ltr, final Alignment rtl) { 2872 return (!view.isLayoutRtl() ? ltr : rtl).getGravityOffset(view, cellDelta); 2877 return (!view.isLayoutRtl() ? ltr : rtl).getAlignmentValue(view, viewSize, mode);
|
D | Editor.java | 4829 final boolean rtl = sameLineSelection in obtainMagnifierShowCoordinates() 4840 if (sameLineSelection && ((trigger == MagnifierHandleTrigger.SELECTION_END) ^ rtl)) { in obtainMagnifierShowCoordinates() 4845 if (sameLineSelection && ((trigger == MagnifierHandleTrigger.SELECTION_START) ^ rtl)) { in obtainMagnifierShowCoordinates()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | RecyclerView.java | 2555 boolean rtl = mLayout.getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL; in focusSearch() 2556 final int absDir = (direction == View.FOCUS_FORWARD) ^ rtl in focusSearch() 2636 final int rtl = mLayout.getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL ? -1 : 1; in isPreferredNextFocus() local 2667 return downness > 0 || (downness == 0 && rightness * rtl >= 0); in isPreferredNextFocus() 2669 return downness < 0 || (downness == 0 && rightness * rtl <= 0); in isPreferredNextFocus()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 2279 boolean rtl = mLayout.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in focusSearch() 2280 final int absDir = (direction == View.FOCUS_FORWARD) ^ rtl in focusSearch() 2336 final boolean rtl = mLayout.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isPreferredNextFocus() 2337 final int absHorizontal = (direction == View.FOCUS_FORWARD) ^ rtl in isPreferredNextFocus()
|