Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java80 int newTop = mVictim.getTop(); in testVisibleToInvisible() local
81 assertEquals(oldTop, newTop); in testVisibleToInvisible()
114 int newTop = mVictim.getTop(); in testGoneToVisible() local
115 assertEquals(oldTop, newTop); in testGoneToVisible()
134 int newTop = mVictim.getTop(); in testGoneToInvisible() local
135 assertEquals(oldTop, newTop); in testGoneToInvisible()
148 int newTop = mVictim.getTop(); in testInvisibleToVisible() local
149 assertEquals(oldTop, newTop); in testInvisibleToVisible()
154 newTop = mVictim.getTop(); in testInvisibleToVisible()
155 assertEquals(oldTop, newTop); in testInvisibleToVisible()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSimpleItemAnimator.java96 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()
DFloatingToolbar.java114 int newLeft, int newRight, int newTop, int newBottom,
116 mNewRect.set(newLeft, newRight, newTop, newBottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSection.java261 int newTop; in updateBounds() local
265 newTop = finalTranslationY; in updateBounds()
267 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds()
269 top = Math.max(newTop, top); in updateBounds()
/frameworks/base/core/java/android/util/
DJsonReader.java576 private void push(JsonScope newTop) { in push() argument
577 stack.add(newTop); in push()
583 private void replaceTop(JsonScope newTop) { in replaceTop() argument
584 stack.set(stack.size() - 1, newTop); in replaceTop() local
/frameworks/base/graphics/java/android/graphics/
DRectF.java257 public void offsetTo(float newLeft, float newTop) { in offsetTo() argument
259 bottom += newTop - top; in offsetTo()
261 top = newTop; in offsetTo()
DRect.java399 public void offsetTo(int newLeft, int newTop) { in offsetTo() argument
401 bottom += newTop - top; in offsetTo()
403 top = newTop; in offsetTo()
/frameworks/base/core/java/android/view/
DWindowInsets.java1062 int newTop = Math.max(0, insets.top - top); in insetInsets() local
1065 if (newLeft == left && newTop == top && newRight == right && newBottom == bottom) { in insetInsets()
1068 return Insets.of(newLeft, newTop, newRight, newBottom); in insetInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java1669 final void moveActivityToFrontLocked(ActivityRecord newTop) { in moveActivityToFrontLocked() argument
1671 + "callers=%s", newTop, Debug.getCallers(4)); in moveActivityToFrontLocked()
1673 positionChildAtTop(newTop); in moveActivityToFrontLocked()
6749 final ActivityRecord newTop = task.getTopNonFinishingActivity();
6750 if (newTop != null) {
6751 taskTop = newTop;