Home
last modified time | relevance | path

Searched refs:getRight (Results 1 – 25 of 137) sorted by relevance

123456

/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java94 right = Math.max(right, rootOffsetX + child.getRight()); in draw()
111 && v.getLeft() <= 0 && v.getRight() >= left) { in draw()
116 && v.getLeft() <= right && v.getRight() >= width) { in draw()
121 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
126 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth()
180 && view2.getRight() >= width; in viewsCoverEntireWidth()
H A DActionBarContainer.java97 mActionBarView.getRight(), mActionBarView.getBottom()); in setPrimaryBackground()
115 mTabContainer.getRight(), mTabContainer.getBottom()); in setStackedBackground()
340 mActionBarView.getRight(), mActionBarView.getBottom()); in onLayout()
344 mActionContextView.getRight(), mActionContextView.getBottom()); in onLayout()
353 tabContainer.getRight(), tabContainer.getBottom()); in onLayout()
/aosp12/packages/apps/TV/src/com/android/tv/guide/
H A DProgramRow.java89 if (getLeft() <= itemView.getRight() && itemView.getLeft() <= getRight()) { in onViewAdded()
340 if (getLeft() < child.getRight() && child.getLeft() < getRight()) { in updateChildVisibleArea()
H A DProgramItemView.java474 layoutVisibleArea(parentView.getLeft() - getLeft(), getRight() - parentView.getRight()); in updateVisibleArea()
476 layoutVisibleArea(getRight() - parentView.getRight(), parentView.getLeft() - getLeft()); in updateVisibleArea()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
H A DListButtonsDiagonalAcrossItemsTest.java64 mLeftButton.getRight() in testPreconditions()
68 mCenterButton.getRight() in testPreconditions()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DViewPagerTabStrip.java77 int selectedRight = selectedTitle.getRight(); in onDraw()
85 int nextRight = nextTitle.getRight(); in onDraw()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DViewPagerTabStrip.java81 int selectedRight = selectedTitle.getRight(); in onDraw()
89 int nextRight = nextTitle.getRight(); in onDraw()
/aosp12/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java234 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; in getRightFadingEdgeStrength()
525 || x >= child.getRight() - scrollX); in inChild()
1023 && (preferredFocusable.getRight() > leftWithoutFadingEdge)) { in findFocusableViewInMyBounds()
1064 int viewRight = view.getRight(); in findFocusableViewInBounds()
1134 if (mTempRect.left + width > view.getRight()) { in pageScroll()
1135 mTempRect.left = view.getRight() - width; in pageScroll()
1172 mTempRect.right = view.getRight(); in fullScroll()
1247 int daRight = getChildAt(0).getRight(); in arrowScroll()
1363 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange()
1543 int right = getChildAt(0).getRight(); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
H A DGallery.java517 if (child.getRight() >= galleryLeft) { in detachOffScreenChildren()
602 if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) { in setSelectionToCenterChild()
613 if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) { in setSelectionToCenterChild()
620 Math.abs(child.getRight() - galleryCenter)); in setSelectionToCenterChild()
805 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()
820 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()
838 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightLtr()
850 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightLtr()
H A DRtlSpacingHelper.java42 public int getRight() { in getRight() method in RtlSpacingHelper
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.kt359 val alarmRight: Int = mAlarmButton.getRight() - mAlarmButton.getPaddingRight()
367 getFraction(alarmLeft.toFloat(), mDismissButton.getRight().toFloat(), x)
369 snoozeFraction = getFraction(alarmLeft.toFloat(), mSnoozeButton.getRight().toFloat(), x)
431 val alarmRight: Int = mAlarmButton.getRight() - mAlarmButton.getPaddingRight()
433 Math.min(mSnoozeButton.getRight() - alarmLeft, 0)).toFloat()
443 val alarmRight: Int = mAlarmButton.getRight() - mAlarmButton.getPaddingRight()
445 Math.min(mDismissButton.getRight() - alarmLeft, 0)).toFloat()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/list/
H A DScheduleRowPresenter.java222 : mInfoContainer.getRight() in updateSelector()
224 - mSelectorView.getRight(); in updateSelector()
230 : mSecondActionContainer.getRight() in updateSelector()
231 - mSelectorView.getRight(); in updateSelector()
239 : mSecondActionContainer.getRight() in updateSelector()
242 - mSelectorView.getRight(); in updateSelector()
250 : mFirstActionContainer.getRight() in updateSelector()
252 - mSelectorView.getRight(); in updateSelector()
H A DSchedulesHeaderRowPresenter.java236 targetTranslationX = focusedView.getRight() - mSelector.getRight(); in updateSelector()
/aosp12/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java482 child.getRight() + offset, child.getBottom()); in offsetChildren()
492 getChildAt(childCount - 1).getRight() <= getWidth() - getPaddingRight(); in contentFits()
508 int end = (getRight() - getLeft()) + overhang; in fillRight()
510 int nextLeft = getChildCount() == 0 ? 0 : getChildAt(getChildCount() - 1).getRight(); in fillRight()
513 nextLeft = getChildAt(getChildCount() - 1).getRight(); in fillRight()
516 return getChildAt(getChildCount() - 1).getRight() - gridRight; in fillRight()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DRenderOverlay.java78 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
84 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DRenderOverlay.java75 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
81 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
/aosp12/packages/apps/TV/src/com/android/tv/menu/
H A DMenuLayoutManager.java194 + view.getRight() in dumpChildren()
208 + title.getRight() in dumpChildren()
222 + contents.getRight() in dumpChildren()
481 mMenuView.getRight(), in setSelectedPositionSmooth()
714 mMenuView.getRight(), in setSelectedPositionSmooth()
769 dest.setRight(src.getRight() + parent.getLeft()); in setTempTitleView()
845 mMenuView.getRight(), in onMenuRowUpdated()
898 mMenuView.getRight(), in onMenuRowUpdated()
/aosp12/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
H A DWalletCardCarousel.java167 int cardCenter = (cardView.getLeft() + cardView.getRight()) / 2; in updatePadding()
168 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding()
230 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView()
242 viewCenter < center ? view.getRight() + mCardMarginPx in updateCardView()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletCardCarousel.java234 int cardCenter = (cardView.getLeft() + cardView.getRight()) / 2; in updatePadding()
235 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding()
246 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView()
258 viewCenter < center ? view.getRight() + mCardMarginPx in updateCardView()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
H A DFocusIndicatorHelper.java56 outRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in viewToRect()
/aosp12/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/plugin/oemapis/
H A DInsetsOEMV1.java45 public int getRight() { in getRight() method in InsetsOEMV1
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/baselayout/
H A DInsets.java53 public int getRight() { in getRight() method in Insets
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DViewOutlineProviderCompatUtilsLXX.java69 view.getLeft(), mLastVisibleTopInsets, view.getRight(), view.getBottom()); in getOutline()
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/preferences/
H A DSplitPreferenceActivity.java69 insets.getRight(), insets.getBottom()); in onCarUiInsetsChanged()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DImageTile.java93 int getRight() { in getRight() method in ImageTile

123456