Home
last modified time | relevance | path

Searched refs:newLeft (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSimpleItemAnimator.java93 int newLeft = postLayoutInfo == null ? disappearingItemView.getLeft() : postLayoutInfo.left; in animateDisappearance() local
95 if (!viewHolder.isRemoved() && (oldLeft != newLeft || oldTop != newTop)) { in animateDisappearance()
96 disappearingItemView.layout(newLeft, newTop, in animateDisappearance()
97 newLeft + disappearingItemView.getWidth(), in animateDisappearance()
102 return animateMove(viewHolder, oldLeft, oldTop, newLeft, newTop); in animateDisappearance()
/frameworks/base/core/java/com/android/internal/widget/
DSimpleItemAnimator.java95 int newLeft = postLayoutInfo == null ? disappearingItemView.getLeft() : postLayoutInfo.left; in animateDisappearance() local
97 if (!viewHolder.isRemoved() && (oldLeft != newLeft || oldTop != newTop)) { in animateDisappearance()
98 disappearingItemView.layout(newLeft, newTop, in animateDisappearance()
99 newLeft + disappearingItemView.getWidth(), in animateDisappearance()
104 return animateMove(viewHolder, oldLeft, oldTop, newLeft, newTop); in animateDisappearance()
DFloatingToolbar.java111 int newLeft, int newRight, int newTop, int newBottom,
113 mNewRect.set(newLeft, newRight, newTop, newBottom);
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCurvingLayoutCallback.java96 int newLeft = (int) (mPathPoints[0] - mAnchorOffsetXY[0]); in onLayoutFinished()
97 child.offsetLeftAndRight(newLeft - child.getLeft()); in onLayoutFinished()
/frameworks/base/core/java/android/view/
DWindowInsets.java633 int newLeft = Math.max(0, insets.left - left); in insetInsets() local
637 if (newLeft == left && newTop == top && newRight == right && newBottom == bottom) { in insetInsets()
640 return new Rect(newLeft, newTop, newRight, newBottom); in insetInsets()
/frameworks/base/graphics/java/android/graphics/
DRectF.java251 public void offsetTo(float newLeft, float newTop) { in offsetTo() argument
252 right += newLeft - left; in offsetTo()
254 left = newLeft; in offsetTo()
DRect.java340 public void offsetTo(int newLeft, int newTop) { in offsetTo() argument
341 right += newLeft - left; in offsetTo()
343 left = newLeft; in offsetTo()
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
DSlidingPaneLayout.java933 void onPanelDragged(int newLeft) { in onPanelDragged() argument
943 final int newStart = isLayoutRtl ? getWidth() - newLeft - childWidth : newLeft; in onPanelDragged()
1395 final int newLeft; in clampViewPositionHorizontal() local
1400 newLeft = Math.max(Math.min(left, startBound), endBound); in clampViewPositionHorizontal()
1404 newLeft = Math.min(Math.max(left, startBound), endBound); in clampViewPositionHorizontal()
1406 return newLeft; in clampViewPositionHorizontal()
/frameworks/av/services/audioflinger/
DEffects.cpp2195 uint32_t newLeft = *left; in setVolume_l() local
2221 mLeftVolume = newLeft; in setVolume_l()
2226 mEffects[ctrlIdx]->setVolume(&newLeft, &newRight, true); in setVolume_l()
2227 mNewLeftVolume = newLeft; in setVolume_l()
2233 uint32_t lVol = newLeft; in setVolume_l()
2247 *left = newLeft; in setVolume_l()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java1047 final int newLeft = mCallback.clampViewPositionHorizontal(toCapture, in shouldInterceptTouchEvent() local
1055 if ((hDragRange == 0 || (hDragRange > 0 && newLeft == oldLeft)) in shouldInterceptTouchEvent()