Home
last modified time | relevance | path

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

12345

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DMathExpr.java39 return join(getLeft().getUniqueKey(), mOp, getRight().getUniqueKey()); in computeUniqueKey()
47 || getRight().getResolvedType().isString()) { in resolveType()
52 getRight().getResolvedType()); in resolveType()
64 public Expr getRight() { in getRight() method in MathExpr
73 .app(" (", getRight().toCode()) in generateCode()
84 final Expr right = getRight(); in getInvertibleError()
109 final Expr right = getRight(); in generateInverse()
157 return model.math(getLeft().cloneToModel(model), mOp, getRight().cloneToModel(model)); in cloneToModel()
162 return "(" + getLeft() + ") " + mOp + " (" + getRight() + ")"; in toString()
DBitShiftExpr.java34 return join(getLeft().getUniqueKey(), mOp, getRight().getUniqueKey()); in computeUniqueKey()
55 public Expr getRight() { in getRight() method in BitShiftExpr
64 .app("", getRight().toCode()); in generateCode()
69 return model.bitshift(getLeft().cloneToModel(model), mOp, getRight().cloneToModel(model)); in cloneToModel()
79 return getLeft().toString() + ' ' + mOp + ' ' + getRight().toString(); in toString()
DComparisonExpr.java55 public Expr getRight() { in getRight() method in ComparisonExpr
70 .app(" (", getRight().toCode()) in generateCode()
76 return model.comparison(mOp, getLeft().cloneToModel(model), getRight().cloneToModel(model)); in cloneToModel()
86 return getLeft().toString() + ' ' + mOp + ' ' + getRight(); in toString()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DViewBoundsCheckTest.java83 return mParent.getRight();
93 return view.getRight();
128 view.getRight()); in firstFullyVisibleChildFromStart()
143 view.getRight()); in firstFullyVisibleChildFromEnd()
159 view.getRight()); in firstPartiallyOrFullyVisibleChildFromStartWithViewBoundsNotAligned()
175 view.getRight()); in firstPartiallyOrFullyVisibleChildFromStartWithViewBoundsAligned()
191 view.getRight()); in firstPartiallyOrFullyVisibleChildFromEndWithViewBoundsNotAligned()
207 view.getRight()); in firstPartiallyOrFullyVisibleChildFromEndWithViewBoundsAligned()
222 view.getRight()); in lastFullyInvisibleChildFromStart()
237 view.getRight()); in lastFullyInvisibleChildFromEnd()
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java89 right = Math.max(right, rootOffsetX + child.getRight()); in draw()
106 && v.getLeft() <= 0 && v.getRight() >= left) { in draw()
111 && v.getLeft() <= right && v.getRight() >= width) { in draw()
116 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
121 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
174 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth()
175 && view2.getRight() >= width; in viewsCoverEntireWidth()
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()
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
DPercentFrameTest.java94 int childRight = childToTest.getRight(); in testMarginsSingle()
113 int childRight = childToTest.getRight(); in testMarginsMultiple()
151 int childRight = childToTest.getRight(); in testMarginsBottomRight()
191 mPercentFrameLayout.getTop(), mPercentFrameLayout.getRight(), in testMarginStartRtl()
195 int childRight = childToTest.getRight(); in testMarginStartRtl()
211 int childRight = childToTest.getRight(); in testMarginEnd()
233 mPercentFrameLayout.getTop(), mPercentFrameLayout.getRight(), in testMarginEndRtl()
242 int childRight = childToTest.getRight(); in testMarginEndRtl()
DPercentRelativeRtlTest.java125 mPercentRelativeLayout.getTop(), mPercentRelativeLayout.getRight(), in switchToRtl()
139 final int childRight = childToTest.getRight(); in testTopChild()
171 final int childRight = childToTest.getRight(); in testStartChild()
208 final int childRight = childToTest.getRight(); in testBottomChild()
242 final int childRight = childToTest.getRight(); in testEndChild()
275 final int childRight = childToTest.getRight(); in testCenterChild()
282 leftChild.getRight() + 0.1f * mContainerWidth, childLeft); in testCenterChild()
DPercentRelativeTest.java130 final int childRight = childToTest.getRight(); in testBottomChild()
151 final int childRight = childToTest.getRight(); in testRightChild()
166 final int childRight = childToTest.getRight(); in testCenterChild()
171 leftChild.getRight() + 0.1f * mContainerWidth, childLeft); in testCenterChild()
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/
DTestUtilsMatchers.java130 if (view.getRight() == parentGroup.getWidth()) {
135 view.getRight() + ", parent width=" +
167 if (view.getRight() == parentGroup.getWidth()) {
172 view.getRight() + ", parent width=" +
211 final int viewRight = view.getRight();
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DPagerTabStrip.java254 } else if (x > mCurrText.getRight() + mTabPadding) { in onTouchEvent()
270 final int right = mCurrText.getRight() + mTabPadding; in onDraw()
288 int right = mCurrText.getRight() + mTabPadding; in updateTextPositions()
297 right = mCurrText.getRight() + mTabPadding; in updateTextPositions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java49 mTmpRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
75 rect.set(tv.getLeft(), tv.getTop(), tv.getRight(), tv.getBottom()); in fillIn()
130 return ((int) rect.left != v.getLeft()) || ((int) rect.right != v.getRight()) || in hasRectChangedFrom()
176 Rect fromViewRect = new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in applyToTaskView()
/frameworks/support/transition/src/androidTest/java/androidx/transition/
DChangeClipBoundsTest.java49 redSquare.getRight() - 10, redSquare.getBottom() - 10); in testChangeClipBounds()
68 assertTrue(midClip.right < redSquare.getRight() && midClip.right > newClip.right); in testChangeClipBounds()
101 assertTrue(midClip.right < redSquare.getRight() && midClip.right > newClip.right); in testChangeClipBounds()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionBarContainer.java98 mActionBarView.getRight(), mActionBarView.getBottom()); in setPrimaryBackground()
116 mTabContainer.getRight(), mTabContainer.getBottom()); in setStackedBackground()
316 mActionBarView.getRight(), mActionBarView.getBottom()); in onLayout()
320 mContextView.getRight(), mContextView.getBottom()); in onLayout()
329 tabContainer.getRight(), tabContainer.getBottom()); in onLayout()
DRtlSpacingHelper.java42 public int getRight() { in getRight() method in RtlSpacingHelper
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java64 mLeftButton.getRight() in testPreconditions()
68 mCenterButton.getRight() in testPreconditions()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java199 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; in getRightFadingEdgeStrength()
421 || x >= child.getRight() - scrollX); in inChild()
901 && (preferredFocusable.getRight() > leftWithoutFadingEdge)) { in findFocusableViewInMyBounds()
942 int viewRight = view.getRight(); in findFocusableViewInBounds()
960 (!leftFocus && viewRight > focusCandidate.getRight()); in findFocusableViewInBounds()
1012 if (mTempRect.left + width > view.getRight()) { in pageScroll()
1013 mTempRect.left = view.getRight() - width; in pageScroll()
1050 mTempRect.right = view.getRight(); in fullScroll()
1125 int daRight = getChildAt(0).getRight(); in arrowScroll()
1241 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange()
[all …]
DGallery.java503 if (child.getRight() >= galleryLeft) { in detachOffScreenChildren()
588 if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) { in setSelectionToCenterChild()
599 if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) { in setSelectionToCenterChild()
606 Math.abs(child.getRight() - galleryCenter)); in setSelectionToCenterChild()
789 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()
804 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()
822 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightLtr()
834 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightLtr()
DRtlSpacingHelper.java42 public int getRight() { in getRight() method in RtlSpacingHelper
/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/
DColorOverlayDimmer.java157 c.drawRect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom(), mPaint); in drawColorOverlay()
161 v.getRight() - v.getPaddingRight(), in drawColorOverlay()
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
DSeekbarListItemTest.java311 assertThat(getViewHolderAtPosition(i - 1).getSeekBar().getRight(), in testSupplementalIconSpacingWithoutDivider()
312 is(equalTo(getViewHolderAtPosition(i).getSeekBar().getRight()))); in testSupplementalIconSpacingWithoutDivider()
329 assertThat(getViewHolderAtPosition(i - 1).getSeekBar().getRight(), in testSupplementalIconSpacingWithDivider()
330 is(equalTo(getViewHolderAtPosition(i).getSeekBar().getRight()))); in testSupplementalIconSpacingWithDivider()
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DViewPagerActions.java363 title1Right = textViewChild.getRight();
366 title2Right = textViewChild.getRight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java48 updatePaint(getLeft(), getTop(), getRight(), getBottom()); in setDockSide()
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
DSlidingPaneLayout.java356 right = panel.getRight(); in updateObscuredViewsVisibility()
377 (isLayoutRtl ? startBound : endBound), child.getRight()); in updateObscuredViewsVisibility()
996 mTmpRect.left = Math.max(mTmpRect.left, mSlideableView.getRight()); in drawChild()
1058 ViewCompat.postInvalidateOnAnimation(this, v.getLeft(), v.getTop(), v.getRight(), in invalidateChildRegion()
1197 left = shadowView.getRight(); in draw()
1254 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() in canScroll()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java98 final int w = getRight() - getLeft(); in draw()

12345