Home
last modified time | relevance | path

Searched refs:getRight (Results 1 – 25 of 101) 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/tests/src/android/support/v7/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/support/percent/tests/java/android/support/percent/
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.java129 final int childRight = childToTest.getRight(); in testBottomChild()
150 final int childRight = childToTest.getRight(); in testRightChild()
165 final int childRight = childToTest.getRight(); in testCenterChild()
170 leftChild.getRight() + 0.1f * mContainerWidth, childLeft); in testCenterChild()
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DTestUtilsMatchers.java129 if (view.getRight() == parentGroup.getWidth()) {
134 view.getRight() + ", parent width=" +
166 if (view.getRight() == parentGroup.getWidth()) {
171 view.getRight() + ", parent width=" +
210 final int viewRight = view.getRight();
/frameworks/support/transition/tests/src/android/support/transition/
DChangeClipBoundsTest.java48 redSquare.getRight() - 10, redSquare.getBottom() - 10); in testChangeClipBounds()
67 assertTrue(midClip.right < redSquare.getRight() && midClip.right > newClip.right); in testChangeClipBounds()
100 assertTrue(midClip.right < redSquare.getRight() && midClip.right > newClip.right); in testChangeClipBounds()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTabStrip.java251 } else if (x > mCurrText.getRight() + mTabPadding) { in onTouchEvent()
267 final int right = mCurrText.getRight() + mTabPadding; in onDraw()
285 int right = mCurrText.getRight() + mTabPadding; in updateTextPositions()
294 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/v7/appcompat/src/android/support/v7/widget/
DActionBarContainer.java100 mActionBarView.getRight(), mActionBarView.getBottom()); in setPrimaryBackground()
118 mTabContainer.getRight(), mTabContainer.getBottom()); in setStackedBackground()
318 mActionBarView.getRight(), mActionBarView.getBottom()); in onLayout()
322 mContextView.getRight(), mContextView.getBottom()); in onLayout()
331 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/com/android/internal/widget/
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()
DBackgroundFallback.java83 right = Math.max(right, child.getRight()); in draw()
/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/v17/leanback/src/android/support/v17/leanback/graphics/
DColorOverlayDimmer.java156 c.drawRect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom(), mPaint); in drawColorOverlay()
160 v.getRight() - v.getPaddingRight(), in drawColorOverlay()
/frameworks/support/core-ui/tests/java/android/support/v4/view/
DViewPagerActions.java361 title1Right = textViewChild.getRight();
364 title2Right = textViewChild.getRight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java48 updatePaint(getLeft(), getTop(), getRight(), getBottom()); in setDockSide()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java98 final int w = getRight() - getLeft(); in draw()
/frameworks/support/core-ui/java/android/support/v4/widget/
DSlidingPaneLayout.java363 right = panel.getRight(); in updateObscuredViewsVisibility()
384 (isLayoutRtl ? startBound : endBound), child.getRight()); in updateObscuredViewsVisibility()
1003 mTmpRect.left = Math.max(mTmpRect.left, mSlideableView.getRight()); in drawChild()
1156 left = shadowView.getRight(); in draw()
1213 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() in canScroll()
1480 child.getRight(), child.getBottom()); in invalidateChildRegion()
DViewDragHelper.java932 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() in canScroll()
1461 && x < view.getRight() in isViewUnder()
1478 if (x >= child.getLeft() && x < child.getRight() in findTopChildUnder()
1491 if (x > mParentView.getRight() - mEdgeSize) result |= EDGE_RIGHT; in getEdgesTouched()

12345