/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContextView.java | 383 final boolean isLayoutRtl = isLayoutRtl(); 384 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 390 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); 391 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); 392 x = next(x, startMargin, isLayoutRtl); 393 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); 394 x = next(x, endMargin, isLayoutRtl); 399 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); 403 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); [all...] |
H A D | ActionBarView.java | 1102 final boolean isLayoutRtl = isLayoutRtl(); 1103 final int direction = isLayoutRtl ? 1 : -1; 1104 int menuStart = isLayoutRtl ? getPaddingLeft() : r - l - getPaddingRight(); 1107 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); 1125 x = next(x, startOffset, isLayoutRtl); 1134 x = next(x, mItemPadding, isLayoutRtl); 1136 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl); [all...] |
H A D | NotificationActionListLayout.java | 202 final boolean isLayoutRtl = isLayoutRtl(); 232 if (isLayoutRtl) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarContextView.java | 322 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 323 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 329 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); 330 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); 331 x = next(x, startMargin, isLayoutRtl); 332 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); 333 x = next(x, endMargin, isLayoutRtl); 337 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); 341 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); [all...] |
H A D | ViewUtils.java | 56 public static boolean isLayoutRtl(View view) { method in class:ViewUtils
|
H A D | ActionMenuView.java | 451 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 467 if (isLayoutRtl) { 506 if (isLayoutRtl) {
|
H A D | LinearLayoutCompat.java | 321 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 329 if (isLayoutRtl) { 343 if (isLayoutRtl) { 350 if (isLayoutRtl) { 1518 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 1562 if (isLayoutRtl) {
|
H A D | SwitchCompat.java | 948 if (ViewUtils.isLayoutRtl(this)) { 1003 newState = ViewUtils.isLayoutRtl(this) ? (xvel < 0) : (xvel > 0); 1092 if (ViewUtils.isLayoutRtl(this)) { 1259 if (!ViewUtils.isLayoutRtl(this)) { 1271 if (ViewUtils.isLayoutRtl(this)) { 1289 if (ViewUtils.isLayoutRtl(this)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | TunablePadding.java | 56 int left = mView.isLayoutRtl() ? FLAG_END : FLAG_START; 57 int right = mView.isLayoutRtl() ? FLAG_START : FLAG_END;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ReverseLinearLayout.java | 85 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; 86 boolean isLayoutReverse = isLayoutRtl ^ mIsAlternativeOrder;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 352 final boolean isLayoutRtl = isLayoutRtlSupport(); 353 final int startBound = isLayoutRtl ? (getWidth() - getPaddingRight()) : getPaddingLeft(); 354 final int endBound = isLayoutRtl ? getPaddingLeft() : (getWidth() - getPaddingRight()); 381 (isLayoutRtl ? endBound : startBound), child.getLeft()); 384 (isLayoutRtl ? startBound : endBound), child.getRight()); 657 final boolean isLayoutRtl = isLayoutRtlSupport(); 658 if (isLayoutRtl) { 664 final int paddingStart = isLayoutRtl ? getPaddingRight() : getPaddingLeft(); 665 final int paddingEnd = isLayoutRtl ? getPaddingLeft() : getPaddingRight(); 693 final int lpMargin = isLayoutRtl [all...] |
H A D | FocusStrategy.java | 38 @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, 46 final SequentialComparator<T> comparator = new SequentialComparator<>(isLayoutRtl, adapter); 101 SequentialComparator(boolean isLayoutRtl, BoundsAdapter<T> adapter) { argument 102 mIsLayoutRtl = isLayoutRtl; 36 findNextFocusInRelativeDirection(@onNull L focusables, @NonNull CollectionAdapter<L, T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, boolean wrap) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PagedTileLayout.java | 46 mPageListener.onPageChanged(isLayoutRtl() ? position == mPages.size() - 1 59 (isLayoutRtl() ? position == mPages.size() - 1 : position == 0)); 79 if (isLayoutRtl()) { 133 if (isLayoutRtl()) { 304 if (isLayoutRtl()) {
|
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListView.java | 304 final boolean isLayoutRtl = isLayoutRtl(); 305 if (isLayoutRtl) { 330 final boolean isLayoutRtl = isLayoutRtl(); 331 if (isLayoutRtl) { 410 final boolean isLayoutRtl = isLayoutRtl(); 426 if (isLayoutRtl) {
|
H A D | CalendarViewLegacyDelegate.java | 1344 final boolean isLayoutRtl = isLayoutRtl(); 1349 if (isLayoutRtl) { 1365 if (isLayoutRtl) { 1386 if (isLayoutRtl()) { 1425 final boolean isLayoutRtl = isLayoutRtl(); 1427 if (isLayoutRtl) { 1436 if (isLayoutRtl) { 1462 if (isLayoutRtl()) { [all...] |
H A D | CompoundButton.java | 389 if (!isLayoutRtl()) { 401 if (isLayoutRtl()) { 439 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; 440 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
|
H A D | SimpleMonthView.java | 394 focusChanged = moveOneDay(isLayoutRtl()); 399 focusChanged = moveOneDay(!isLayoutRtl()); 552 return isLayoutRtl() ? DAYS_IN_WEEK - columnFromLeft - 1: columnFromLeft; 645 if (isLayoutRtl()) { 672 if (isLayoutRtl()) { 956 if (isLayoutRtl()) { 990 if (isLayoutRtl()) {
|
H A D | ActionMenuView.java | 448 final boolean isLayoutRtl = isLayoutRtl(); 465 if (isLayoutRtl) { 504 if (isLayoutRtl) {
|
H A D | GridView.java | 327 final boolean isLayoutRtl = isLayoutRtl(); 332 if (isLayoutRtl) { 348 nextLeft += (isLayoutRtl ? -1 : +1) * deltaLeft; 359 final int nextChildDir = isLayoutRtl ? -1 : +1; 1853 final boolean isLayoutRtl = isLayoutRtl(); 1854 if (selectedPosition > startOfRowPos && ((direction == FOCUS_LEFT && !isLayoutRtl) || 1855 (direction == FOCUS_RIGHT && isLayoutRtl))) { 1859 } else if (selectedPosition < endOfRowPos && ((direction == FOCUS_LEFT && isLayoutRtl) || [all...] |
H A D | RelativeLayout.java | 447 if (isLayoutRtl() && myWidth == -1) { 485 if (isLayoutRtl()) { 626 if (isLayoutRtl()) { 849 if (isLayoutRtl()) { 1523 final boolean isLayoutRtl = (layoutDirection == View.LAYOUT_DIRECTION_RTL); 1593 mRules[isLayoutRtl ? ALIGN_RIGHT : ALIGN_LEFT] = mRules[ALIGN_START]; 1598 mRules[isLayoutRtl ? ALIGN_LEFT : ALIGN_RIGHT] = mRules[ALIGN_END]; 1610 mRules[isLayoutRtl ? RIGHT_OF : LEFT_OF] = mRules[START_OF]; 1615 mRules[isLayoutRtl ? LEFT_OF : RIGHT_OF] = mRules[END_OF]; 1627 mRules[isLayoutRtl [all...] |
H A D | Switch.java | 969 if (isLayoutRtl()) { 1024 newState = isLayoutRtl() ? (xvel < 0) : (xvel > 0); 1111 if (isLayoutRtl()) { 1277 if (!isLayoutRtl()) { 1289 if (isLayoutRtl()) { 1307 if (isLayoutRtl()) {
|
H A D | AbsSeekBar.java | 649 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos; 845 if (isLayoutRtl() && mMirrorForRtl) { 915 increment = isLayoutRtl() ? -increment : increment;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 253 boolean rtl = isLayoutRtl(StreamingTextView.this); 284 public static boolean isLayoutRtl(View view) { method in class:StreamingTextView
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
H A D | TunablePaddingTest.java | 91 when(mView.isLayoutRtl()).thenReturn(true);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 1035 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; 1036 final int paddingRtlL = isLayoutRtl ? layerState.mPaddingEnd : layerState.mPaddingStart; 1037 final int paddingRtlR = isLayoutRtl ? layerState.mPaddingStart : layerState.mPaddingEnd; 1549 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; 1565 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; 1566 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE; 1650 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; 1664 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; 1665 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE;
|