Home
last modified time | relevance | path

Searched refs:isLayoutRtl (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java385 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 …]
DActionBarView.java1102 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 …]
DNotificationActionListLayout.java236 final boolean isLayoutRtl = isLayoutRtl(); in onLayout()
267 if (isLayoutRtl) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DConfigurationController.java34 boolean isLayoutRtl(); in isLayoutRtl() method
44 default void onLayoutDirectionChanged(boolean isLayoutRtl) {} in onLayoutDirectionChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventChipAnimationController.kt73 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/
DCalendarViewLegacyDelegate.java1342 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 …]
DExpandableListView.java313 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()
DCompoundButton.java499 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()
DSimpleMonthView.java395 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()
DGridView.java346 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()
DRelativeLayout.java467 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 …]
DActionMenuView.java450 final boolean isLayoutRtl = isLayoutRtl(); in onLayout()
467 if (isLayoutRtl) { in onLayout()
506 if (isLayoutRtl) { in onLayout()
DSwitch.java1131 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()
DLinearLayout.java477 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/
DPrintOptionsLayout.java130 final boolean isLayoutRtl = isLayoutRtl(); in onLayout()
140 if (isLayoutRtl) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java63 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/
DReverseLinearLayout.java86 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/
DFakeConfigurationController.java38 public boolean isLayoutRtl() { in isLayoutRtl() method in FakeConfigurationController
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java135 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()) {
DQSPanelController.java277 public boolean isLayoutRtl() { in isLayoutRtl() method in QSPanelController
278 return mView.isLayoutRtl(); in isLayoutRtl()
DQSFooterView.java148 isLayoutRtl() ? (remaining - defSpace) : -(remaining - defSpace), 0) in updateAnimator()
174 mTunerIcon.setTranslationX(isLayoutRtl() ? -mTunerIconTranslation : mTunerIconTranslation); in updateResources()
/frameworks/base/core/java/com/android/internal/app/
DResolverViewPager.java87 return !isLayoutRtl() && mSwipingEnabled && super.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaScrollView.kt48 private fun transformScrollX(scrollX: Int): Int = if (isLayoutRtl) { in transformScrollX()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1043 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/
DConfigurationControllerImpl.kt130 override fun isLayoutRtl(): Boolean { in isLayoutRtl() method

123