/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContextView.java | 385 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 386 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); in onLayout() 392 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() 393 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() 394 x = next(x, startMargin, isLayoutRtl); in onLayout() 395 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout() 396 x = next(x, endMargin, isLayoutRtl); in onLayout() 401 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout() 405 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout() 408 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 | 236 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 267 if (isLayoutRtl) { in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ConfigurationController.java | 34 boolean isLayoutRtl(); in isLayoutRtl() method 44 default void onLayoutDirectionChanged(boolean isLayoutRtl) {} in onLayoutDirectionChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 73 translationX = if (isLayoutRtl) -translation else translation in onChipAnimationStart() 115 translationX = if (isLayoutRtl) -translation else translation in onChipAnimationUpdate() 137 private fun start() = if (animationWindowView.isLayoutRtl) right() else left() in start()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarViewLegacyDelegate.java | 1342 final boolean isLayoutRtl = isLayoutRtl(); in getDayFromLocation() 1347 if (isLayoutRtl) { in getDayFromLocation() 1363 if (isLayoutRtl) { in getDayFromLocation() 1384 if (isLayoutRtl()) { in getBoundsForDate() 1423 final boolean isLayoutRtl = isLayoutRtl(); in drawBackground() 1425 if (isLayoutRtl) { in drawBackground() 1434 if (isLayoutRtl) { in drawBackground() 1460 if (isLayoutRtl()) { in drawWeekNumbersAndDates() 1506 if (isLayoutRtl()) { in drawWeekSeparators() 1550 final boolean isLayoutRtl = isLayoutRtl(); in updateSelectionPositions() [all …]
|
D | ExpandableListView.java | 313 final boolean isLayoutRtl = isLayoutRtl(); in resolveIndicator() 314 if (isLayoutRtl) { in resolveIndicator() 339 final boolean isLayoutRtl = isLayoutRtl(); in resolveChildIndicator() 340 if (isLayoutRtl) { in resolveChildIndicator() 419 final boolean isLayoutRtl = isLayoutRtl(); in dispatchDraw() 435 if (isLayoutRtl) { in dispatchDraw()
|
D | CompoundButton.java | 499 if (!isLayoutRtl()) { in getCompoundPaddingLeft() 511 if (isLayoutRtl()) { in getCompoundPaddingRight() 549 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; in onDraw() 550 final int right = isLayoutRtl() ? getWidth() : drawableWidth; in onDraw()
|
D | SimpleMonthView.java | 395 focusChanged = moveOneDay(isLayoutRtl()); in onKeyDown() 400 focusChanged = moveOneDay(!isLayoutRtl()); in onKeyDown() 558 return isLayoutRtl() ? DAYS_IN_WEEK - columnFromLeft - 1: columnFromLeft; in findClosestColumn() 651 if (isLayoutRtl()) { in drawDaysOfWeek() 678 if (isLayoutRtl()) { in drawDays() 962 if (isLayoutRtl()) { in getDayAtLocation() 996 if (isLayoutRtl()) { in getBoundsForDay()
|
D | GridView.java | 346 final boolean isLayoutRtl = isLayoutRtl(); in makeRow() 351 if (isLayoutRtl) { in makeRow() 367 nextLeft += (isLayoutRtl ? -1 : +1) * deltaLeft; in makeRow() 378 final int nextChildDir = isLayoutRtl ? -1 : +1; in makeRow() 1874 final boolean isLayoutRtl = isLayoutRtl(); in arrowScroll() 1875 if (selectedPosition > startOfRowPos && ((direction == FOCUS_LEFT && !isLayoutRtl) || in arrowScroll() 1876 (direction == FOCUS_RIGHT && isLayoutRtl))) { in arrowScroll() 1880 } else if (selectedPosition < endOfRowPos && ((direction == FOCUS_LEFT && isLayoutRtl) || in arrowScroll() 1881 (direction == FOCUS_RIGHT && !isLayoutRtl))) { in arrowScroll()
|
D | RelativeLayout.java | 467 if (isLayoutRtl() && myWidth == -1) { in onMeasure() 505 if (isLayoutRtl()) { in onMeasure() 646 if (isLayoutRtl()) { in onMeasure() 869 if (isLayoutRtl()) { in positionAtEdge() 1550 final boolean isLayoutRtl = (layoutDirection == View.LAYOUT_DIRECTION_RTL); in resolveRules() 1620 mRules[isLayoutRtl ? ALIGN_RIGHT : ALIGN_LEFT] = mRules[ALIGN_START]; in resolveRules() 1625 mRules[isLayoutRtl ? ALIGN_LEFT : ALIGN_RIGHT] = mRules[ALIGN_END]; in resolveRules() 1637 mRules[isLayoutRtl ? RIGHT_OF : LEFT_OF] = mRules[START_OF]; in resolveRules() 1642 mRules[isLayoutRtl ? LEFT_OF : RIGHT_OF] = mRules[END_OF]; in resolveRules() 1654 … mRules[isLayoutRtl ? ALIGN_PARENT_RIGHT : ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START]; in resolveRules() [all …]
|
D | ActionMenuView.java | 450 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 467 if (isLayoutRtl) { in onLayout() 506 if (isLayoutRtl) { in onLayout()
|
D | Switch.java | 1131 if (isLayoutRtl()) { in onTouchEvent() 1186 newState = isLayoutRtl() ? (xvel < 0) : (xvel > 0); in stopDrag() 1286 if (isLayoutRtl()) { in onLayout() 1452 if (!isLayoutRtl()) { in getCompoundPaddingLeft() 1464 if (isLayoutRtl()) { in getCompoundPaddingRight() 1482 if (isLayoutRtl()) { in getThumbOffset()
|
D | LinearLayout.java | 477 final boolean isLayoutRtl = isLayoutRtl(); in drawDividersHorizontal() 484 if (isLayoutRtl) { in drawDividersHorizontal() 498 if (isLayoutRtl) { in drawDividersHorizontal() 505 if (isLayoutRtl) { in drawDividersHorizontal() 1706 final boolean isLayoutRtl = isLayoutRtl(); in layoutHorizontal() 1750 if (isLayoutRtl) { in layoutHorizontal()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 130 final boolean isLayoutRtl = isLayoutRtl(); in onLayout() 140 if (isLayoutRtl) { in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 63 int left = mView.isLayoutRtl() ? FLAG_END : FLAG_START; in onTuningChanged() 64 int right = mView.isLayoutRtl() ? FLAG_START : FLAG_END; in onTuningChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ReverseLinearLayout.java | 86 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateOrder() 87 boolean isLayoutReverse = isLayoutRtl ^ mIsAlternativeOrder; in updateOrder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeConfigurationController.java | 38 public boolean isLayoutRtl() { in isLayoutRtl() method in FakeConfigurationController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PagedTileLayout.java | 135 if (isLayoutRtl()) { in setCurrentItem() 496 mScroller.startScroll(getScrollX(), getScrollY(), isLayoutRtl() ? -dx : dx, 0, in startTileReveal() 522 mPageListener.onPageChanged(isLayoutRtl() ? position == mPages.size() - 1 535 (isLayoutRtl() ? position == mPages.size() - 1 : position == 0)); 551 if (isLayoutRtl()) {
|
D | QSPanelController.java | 277 public boolean isLayoutRtl() { in isLayoutRtl() method in QSPanelController 278 return mView.isLayoutRtl(); in isLayoutRtl()
|
D | QSFooterView.java | 148 isLayoutRtl() ? (remaining - defSpace) : -(remaining - defSpace), 0) in updateAnimator() 174 mTunerIcon.setTranslationX(isLayoutRtl() ? -mTunerIconTranslation : mTunerIconTranslation); in updateResources()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverViewPager.java | 87 return !isLayoutRtl() && mSwipingEnabled && super.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaScrollView.kt | 48 private fun transformScrollX(scrollX: Int): Int = if (isLayoutRtl) { in transformScrollX()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 1043 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; in getPadding() 1044 final int paddingRtlL = isLayoutRtl ? layerState.mPaddingEnd : layerState.mPaddingStart; in getPadding() 1045 final int paddingRtlR = isLayoutRtl ? layerState.mPaddingStart : layerState.mPaddingEnd; in getPadding() 1556 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; in updateLayerBoundsInternal() 1572 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; in updateLayerBoundsInternal() 1573 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE; in updateLayerBoundsInternal() 1657 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; 1671 final int insetRtlL = isLayoutRtl ? r.mInsetE : r.mInsetS; 1672 final int insetRtlR = isLayoutRtl ? r.mInsetS : r.mInsetE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 130 override fun isLayoutRtl(): Boolean { in isLayoutRtl() method
|