Home
last modified time | relevance | path

Searched refs:fromTop (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransparentPolicyTest.java393 void destroyActivity(int fromTop) { in destroyActivity() argument
394 mActivityStack.applyTo(/* fromTop */ fromTop, ActivityRecord::removeImmediately); in destroyActivity()
436 void assertTrueOnActivity(int fromTop, Predicate<ActivityRecord> predicate) { in assertTrueOnActivity() argument
437 mActivityStack.applyTo(fromTop, (activity) -> { in assertTrueOnActivity()
446 void assertFalseOnActivity(int fromTop, Predicate<ActivityRecord> predicate) { in assertFalseOnActivity() argument
447 mActivityStack.applyTo(fromTop, (activity) -> { in assertFalseOnActivity()
473 void checkTopActivityHasInheritedBoundsFrom(int fromTop) { in checkTopActivityHasInheritedBoundsFrom() argument
475 final ActivityRecord otherActivity = mActivityStack.getFromTop(/* fromTop */ fromTop); in checkTopActivityHasInheritedBoundsFrom()
531 void applyTo(int fromTop, Consumer<ActivityRecord> consumer) { in applyTo() argument
532 mActivityStack.applyTo(fromTop, consumer); in applyTo()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipSnapAlgorithm.java145 final int fromTop = Math.abs(stackBounds.top - movementBounds.top); in snapRectToClosestEdge() local
148 final int shortest = Math.min(Math.min(fromLeft, fromRight), Math.min(fromTop, fromBottom)); in snapRectToClosestEdge()
151 } else if (shortest == fromTop) { in snapRectToClosestEdge()
/frameworks/base/core/java/com/android/internal/widget/
DSimpleItemAnimator.java154 final int fromTop = preInfo.top; in animateChange() local
163 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop); in animateChange()
268 ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop); in animateChange() argument