Home
last modified time | relevance | path

Searched refs:newTop (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java81 int newTop = mVictim.getTop(); in testVisibleToInvisible() local
82 assertEquals(oldTop, newTop); in testVisibleToInvisible()
116 int newTop = mVictim.getTop(); in testGoneToVisible() local
117 assertEquals(oldTop, newTop); in testGoneToVisible()
136 int newTop = mVictim.getTop(); in testGoneToInvisible() local
137 assertEquals(oldTop, newTop); in testGoneToInvisible()
150 int newTop = mVictim.getTop(); in testInvisibleToVisible() local
151 assertEquals(oldTop, newTop); in testInvisibleToVisible()
156 newTop = mVictim.getTop(); in testInvisibleToVisible()
157 assertEquals(oldTop, newTop); in testInvisibleToVisible()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DSimpleItemAnimator.java82 int newTop = postLayoutInfo == null ? disappearingItemView.getTop() : postLayoutInfo.top; in animateDisappearance() local
83 if (!viewHolder.isRemoved() && (oldLeft != newLeft || oldTop != newTop)) { in animateDisappearance()
84 disappearingItemView.layout(newLeft, newTop, in animateDisappearance()
86 newTop + disappearingItemView.getHeight()); in animateDisappearance()
90 return animateMove(viewHolder, oldLeft, oldTop, newLeft, newTop); in animateDisappearance()
/frameworks/support/v4/donut/android/support/v4/widget/
DListViewCompatDonut.java35 final int newTop = firstView.getTop() - y; in scrollListBy() local
36 listView.setSelectionFromTop(firstPosition, newTop); in scrollListBy()
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java316 int newTop = currentTop - dy; in onNestedPreScroll() local
318 if (newTop < mMinOffset) { in onNestedPreScroll()
329 if (newTop <= mMaxOffset || mHideable) { in onNestedPreScroll()
542 final float newTop = child.getTop() + yvel * HIDE_FRICTION; in shouldHide() local
543 return Math.abs(newTop - mMaxOffset) / (float) mPeekHeight > HIDE_THRESHOLD; in shouldHide()
/frameworks/base/graphics/java/android/graphics/
DRectF.java251 public void offsetTo(float newLeft, float newTop) { in offsetTo() argument
253 bottom += newTop - top; in offsetTo()
255 top = newTop; in offsetTo()
DRect.java306 public void offsetTo(int newLeft, int newTop) { in offsetTo() argument
308 bottom += newTop - top; in offsetTo()
310 top = newTop; in offsetTo()
/frameworks/base/core/java/android/util/
DJsonReader.java574 private void push(JsonScope newTop) { in push() argument
575 stack.add(newTop); in push()
581 private void replaceTop(JsonScope newTop) { in replaceTop() argument
582 stack.set(stack.size() - 1, newTop); in replaceTop() local
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java709 void setFrontOfTask(ActivityRecord newTop) { in setFrontOfTask() argument
714 boolean foundFront = newTop != null ? true : false; in setFrontOfTask()
732 if (newTop != null) { in setFrontOfTask()
733 newTop.frontOfTask = true; in setFrontOfTask()
740 final void moveActivityToFrontLocked(ActivityRecord newTop) { in moveActivityToFrontLocked() argument
742 "Removing and adding activity " + newTop in moveActivityToFrontLocked()
745 mActivities.remove(newTop); in moveActivityToFrontLocked()
746 mActivities.add(newTop); in moveActivityToFrontLocked()
749 setFrontOfTask(newTop); in moveActivityToFrontLocked()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java1040 final int newTop = mCallback.clampViewPositionVertical(toCapture, targetTop, in shouldInterceptTouchEvent() local
1047 || verticalDragRange > 0 && newTop == oldTop)) { in shouldInterceptTouchEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV7.java431 final int newTop = updateStatusGuard(top); in createSubDecor()
433 if (top != newTop) { in createSubDecor()
436 newTop, in createSubDecor()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java114 int newLeft, int newRight, int newTop, int newBottom,
116 mNewRect.set(newLeft, newRight, newTop, newBottom);
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...