/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionBarContextView.java | 317 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); in onLayout() 318 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); in onLayout() 324 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 325 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() 326 x = next(x, startMargin, isLayoutRtl); in onLayout() 327 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout() 328 x = next(x, endMargin, isLayoutRtl); in onLayout() 332 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout() 336 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout() 339 x = isLayoutRtl ? getPaddingLeft() : r - l - getPaddingRight(); in onLayout() [all …]
|
D | SwitchCompat.java | 940 if (ViewUtils.isLayoutRtl(this)) { in onTouchEvent() 995 newState = ViewUtils.isLayoutRtl(this) ? (xvel < 0) : (xvel > 0); in stopDrag() 1102 if (ViewUtils.isLayoutRtl(this)) { in onLayout() 1269 if (!ViewUtils.isLayoutRtl(this)) { in getCompoundPaddingLeft() 1281 if (ViewUtils.isLayoutRtl(this)) { in getCompoundPaddingRight() 1299 if (ViewUtils.isLayoutRtl(this)) { in getThumbOffset()
|
D | LinearLayoutCompat.java | 317 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); in drawDividersHorizontal() 325 if (isLayoutRtl) { in drawDividersHorizontal() 339 if (isLayoutRtl) { in drawDividersHorizontal() 346 if (isLayoutRtl) { in drawDividersHorizontal() 1515 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); in layoutHorizontal() 1559 if (isLayoutRtl) { in layoutHorizontal()
|
D | ViewUtils.java | 52 public static boolean isLayoutRtl(View view) { in isLayoutRtl() method in ViewUtils
|
D | ActionMenuView.java | 450 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); in onLayout() 466 if (isLayoutRtl) { in onLayout() 505 if (isLayoutRtl) { in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContextView.java | 383 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 384 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); in onLayout() 390 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 391 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() 392 x = next(x, startMargin, isLayoutRtl); in onLayout() 393 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout() 394 x = next(x, endMargin, isLayoutRtl); in onLayout() 399 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout() 403 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout() 406 x = isLayoutRtl ? getPaddingLeft() : r - l - getPaddingRight(); in onLayout() [all …]
|
D | ActionBarView.java | 1102 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 1103 final int direction = isLayoutRtl ? 1 : -1; in onLayout() 1104 int menuStart = isLayoutRtl ? getPaddingLeft() : r - l - getPaddingRight(); in onLayout() 1107 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); in onLayout() 1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); in onLayout() 1125 x = next(x, startOffset, isLayoutRtl); in onLayout() 1134 x = next(x, mItemPadding, isLayoutRtl); in onLayout() 1136 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl); in onLayout() 1137 x = next(x, mItemPadding, isLayoutRtl); in onLayout() 1142 if (showTitle) x = next(x, mItemPadding, isLayoutRtl); in onLayout() [all …]
|
D | NotificationActionListLayout.java | 189 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 219 if (isLayoutRtl) { in onLayout()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 359 final boolean isLayoutRtl = isLayoutRtlSupport(); in updateObscuredViewsVisibility() 360 final int startBound = isLayoutRtl ? (getWidth() - getPaddingRight()) : in updateObscuredViewsVisibility() 362 final int endBound = isLayoutRtl ? getPaddingLeft() : in updateObscuredViewsVisibility() 387 final int clampedChildLeft = Math.max((isLayoutRtl ? endBound : in updateObscuredViewsVisibility() 390 final int clampedChildRight = Math.min((isLayoutRtl ? startBound : in updateObscuredViewsVisibility() 660 final boolean isLayoutRtl = isLayoutRtlSupport(); in onLayout() 661 if (isLayoutRtl) { in onLayout() 667 final int paddingStart = isLayoutRtl ? getPaddingRight() : getPaddingLeft(); in onLayout() 668 final int paddingEnd = isLayoutRtl ? getPaddingLeft() : getPaddingRight(); in onLayout() 696 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin; in onLayout() [all …]
|
D | FocusStrategy.java | 38 @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, in findNextFocusInRelativeDirection() argument 46 final SequentialComparator<T> comparator = new SequentialComparator<>(isLayoutRtl, adapter); in findNextFocusInRelativeDirection() 101 public SequentialComparator(boolean isLayoutRtl, BoundsAdapter<T> adapter) { in SequentialComparator() argument 102 mIsLayoutRtl = isLayoutRtl; in SequentialComparator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ReverseLinearLayout.java | 77 boolean isLayoutRtl = getResources().getConfiguration() in updateRTLOrder() 79 if (mIsLayoutRtl != isLayoutRtl) { in updateRTLOrder() 90 mIsLayoutRtl = isLayoutRtl; in updateRTLOrder()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarViewLegacyDelegate.java | 1320 final boolean isLayoutRtl = isLayoutRtl(); in getDayFromLocation() 1325 if (isLayoutRtl) { in getDayFromLocation() 1341 if (isLayoutRtl) { in getDayFromLocation() 1373 final boolean isLayoutRtl = isLayoutRtl(); in drawBackground() 1375 if (isLayoutRtl) { in drawBackground() 1384 if (isLayoutRtl) { in drawBackground() 1410 if (isLayoutRtl()) { in drawWeekNumbersAndDates() 1456 if (isLayoutRtl()) { in drawWeekSeparators() 1500 final boolean isLayoutRtl = isLayoutRtl(); in updateSelectionPositions() 1505 if (mShowWeekNumber && !isLayoutRtl) { in updateSelectionPositions() [all …]
|
D | ExpandableListView.java | 304 final boolean isLayoutRtl = isLayoutRtl(); in resolveIndicator() 305 if (isLayoutRtl) { in resolveIndicator() 330 final boolean isLayoutRtl = isLayoutRtl(); in resolveChildIndicator() 331 if (isLayoutRtl) { in resolveChildIndicator() 410 final boolean isLayoutRtl = isLayoutRtl(); in dispatchDraw() 426 if (isLayoutRtl) { in dispatchDraw()
|
D | CompoundButton.java | 371 if (!isLayoutRtl()) { in getCompoundPaddingLeft() 383 if (isLayoutRtl()) { in getCompoundPaddingRight() 421 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; in onDraw() 422 final int right = isLayoutRtl() ? getWidth() : drawableWidth; in onDraw()
|
D | SimpleMonthView.java | 393 focusChanged = moveOneDay(isLayoutRtl()); in onKeyDown() 398 focusChanged = moveOneDay(!isLayoutRtl()); in onKeyDown() 551 return isLayoutRtl() ? DAYS_IN_WEEK - columnFromLeft - 1: columnFromLeft; in findClosestColumn() 644 if (isLayoutRtl()) { in drawDaysOfWeek() 671 if (isLayoutRtl()) { in drawDays() 955 if (isLayoutRtl()) { in getDayAtLocation() 989 if (isLayoutRtl()) { in getBoundsForDay()
|
D | RelativeLayout.java | 447 if (isLayoutRtl() && myWidth == -1) { in onMeasure() 485 if (isLayoutRtl()) { in onMeasure() 626 if (isLayoutRtl()) { in onMeasure() 843 if (isLayoutRtl()) { in positionChildHorizontal() 1506 final boolean isLayoutRtl = (layoutDirection == View.LAYOUT_DIRECTION_RTL); in resolveRules() 1576 mRules[isLayoutRtl ? ALIGN_RIGHT : ALIGN_LEFT] = mRules[ALIGN_START]; in resolveRules() 1581 mRules[isLayoutRtl ? ALIGN_LEFT : ALIGN_RIGHT] = mRules[ALIGN_END]; in resolveRules() 1593 mRules[isLayoutRtl ? RIGHT_OF : LEFT_OF] = mRules[START_OF]; in resolveRules() 1598 mRules[isLayoutRtl ? LEFT_OF : RIGHT_OF] = mRules[END_OF]; in resolveRules() 1610 … mRules[isLayoutRtl ? ALIGN_PARENT_RIGHT : ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START]; in resolveRules() [all …]
|
D | GridView.java | 327 final boolean isLayoutRtl = isLayoutRtl(); in makeRow() 332 if (isLayoutRtl) { in makeRow() 348 nextLeft += (isLayoutRtl ? -1 : +1) * deltaLeft; in makeRow() 359 final int nextChildDir = isLayoutRtl ? -1 : +1; in makeRow() 1849 final boolean isLayoutRtl = isLayoutRtl(); in arrowScroll() 1850 if (selectedPosition > startOfRowPos && ((direction == FOCUS_LEFT && !isLayoutRtl) || in arrowScroll() 1851 (direction == FOCUS_RIGHT && isLayoutRtl))) { in arrowScroll() 1855 } else if (selectedPosition < endOfRowPos && ((direction == FOCUS_LEFT && isLayoutRtl) || in arrowScroll() 1856 (direction == FOCUS_RIGHT && !isLayoutRtl))) { in arrowScroll()
|
D | Switch.java | 965 if (isLayoutRtl()) { in onTouchEvent() 1020 newState = isLayoutRtl() ? (xvel < 0) : (xvel > 0); in stopDrag() 1107 if (isLayoutRtl()) { in onLayout() 1273 if (!isLayoutRtl()) { in getCompoundPaddingLeft() 1285 if (isLayoutRtl()) { in getCompoundPaddingRight() 1303 if (isLayoutRtl()) { in getThumbOffset()
|
D | ActionMenuView.java | 447 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 464 if (isLayoutRtl) { in onLayout() 503 if (isLayoutRtl) { in onLayout()
|
D | LinearLayout.java | 400 final boolean isLayoutRtl = isLayoutRtl(); in drawDividersHorizontal() 407 if (isLayoutRtl) { in drawDividersHorizontal() 421 if (isLayoutRtl) { in drawDividersHorizontal() 428 if (isLayoutRtl) { in drawDividersHorizontal() 1618 final boolean isLayoutRtl = isLayoutRtl(); in layoutHorizontal() 1662 if (isLayoutRtl) { in layoutHorizontal()
|
D | AbsSeekBar.java | 629 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos; 826 if (isLayoutRtl() && mMirrorForRtl) { 896 increment = isLayoutRtl() ? -increment : increment;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PagedTileLayout.java | 46 mPageListener.onPageChanged(isLayoutRtl() ? position == mPages.size() - 1 in PagedTileLayout() 59 (isLayoutRtl() ? position == mPages.size() - 1 : position == 0)); in PagedTileLayout() 79 if (isLayoutRtl()) { in setCurrentItem() 302 if (isLayoutRtl()) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 1024 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; in getPadding() 1025 final int paddingRtlL = isLayoutRtl ? layerState.mPaddingEnd : layerState.mPaddingStart; in getPadding() 1026 final int paddingRtlR = isLayoutRtl ? layerState.mPaddingStart : layerState.mPaddingEnd; in getPadding() 1532 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; in updateLayerBoundsInternal() 1548 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; in updateLayerBoundsInternal() 1549 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE; in updateLayerBoundsInternal() 1633 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; 1647 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; 1648 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StreamingTextView.java | 254 boolean rtl = isLayoutRtl(StreamingTextView.this); in draw() 285 public static boolean isLayoutRtl(View view) { in isLayoutRtl() method in StreamingTextView
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 135 if (root.isLayoutRtl()) { in findNextFocus() 147 if (root.isLayoutRtl()) { in findNextFocus() 178 mSequentialFocusComparator.setIsLayoutRtl(root.isLayoutRtl()); in findNextFocusInRelativeDirection()
|