/frameworks/base/core/tests/coretests/src/android/view/ |
D | VisibilityTest.java | 81 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/base/core/java/com/android/internal/widget/ |
D | SimpleItemAnimator.java | 96 int newTop = postLayoutInfo == null ? disappearingItemView.getTop() : postLayoutInfo.top; in animateDisappearance() local 97 if (!viewHolder.isRemoved() && (oldLeft != newLeft || oldTop != newTop)) { in animateDisappearance() 98 disappearingItemView.layout(newLeft, newTop, in animateDisappearance() 100 newTop + disappearingItemView.getHeight()); in animateDisappearance() 104 return animateMove(viewHolder, oldLeft, oldTop, newLeft, newTop); in animateDisappearance()
|
D | FloatingToolbar.java | 109 int newLeft, int newRight, int newTop, int newBottom, 111 mNewRect.set(newLeft, newRight, newTop, newBottom);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | SimpleItemAnimator.java | 96 int newTop = postLayoutInfo == null ? disappearingItemView.getTop() : postLayoutInfo.top; in animateDisappearance() local 97 if (!viewHolder.isRemoved() && (oldLeft != newLeft || oldTop != newTop)) { in animateDisappearance() 98 disappearingItemView.layout(newLeft, newTop, in animateDisappearance() 100 newTop + disappearingItemView.getHeight()); in animateDisappearance() 104 return animateMove(viewHolder, oldLeft, oldTop, newLeft, newTop); in animateDisappearance()
|
/frameworks/support/compat/java/android/support/v4/widget/ |
D | ListViewCompat.java | 51 final int newTop = firstView.getTop() - y; in scrollListBy() local 52 listView.setSelectionFromTop(firstPosition, newTop); in scrollListBy()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 251 public void offsetTo(float newLeft, float newTop) { in offsetTo() argument 253 bottom += newTop - top; in offsetTo() 255 top = newTop; in offsetTo()
|
D | Rect.java | 311 public void offsetTo(int newLeft, int newTop) { in offsetTo() argument 313 bottom += newTop - top; in offsetTo() 315 top = newTop; in offsetTo()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomSheetBehavior.java | 352 int newTop = currentTop - dy; in onNestedPreScroll() local 354 if (newTop < mMinOffset) { in onNestedPreScroll() 365 if (newTop <= mMaxOffset || mHideable) { in onNestedPreScroll() 596 final float newTop = child.getTop() + yvel * HIDE_FRICTION; in shouldHide() local 597 return Math.abs(newTop - mMaxOffset) / (float) mPeekHeight > HIDE_THRESHOLD; in shouldHide()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 574 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/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | AnimatedRecyclerView.java | 500 int newTop; in onLayoutChildren() local 502 newTop = view.getHeight() * (position - mFirstPosition); in onLayoutChildren() 504 newTop = lastVisibleView.getTop() + view.getHeight() * in onLayoutChildren() 507 view.offsetTopAndBottom(newTop - view.getTop()); in onLayoutChildren()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 1040 final int newTop = mCallback.clampViewPositionVertical(toCapture, targetTop, in shouldInterceptTouchEvent() local 1045 && (vDragRange == 0 || (vDragRange > 0 && newTop == oldTop))) { in shouldInterceptTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 1210 final void moveActivityToFrontLocked(ActivityRecord newTop) { in moveActivityToFrontLocked() argument 1212 "Removing and adding activity " + newTop in moveActivityToFrontLocked() 1215 mActivities.remove(newTop); in moveActivityToFrontLocked() 1216 mActivities.add(newTop); in moveActivityToFrontLocked()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV9.java | 442 final int newTop = updateStatusGuard(top); 444 if (top != newTop) { 447 newTop,
|