Home
last modified time | relevance | path

Searched refs:currentTop (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Camera2/src/com/android/camera/widget/
H A DCling.java92 int currentTop = mLocation[1] - (int) getTranslationY(); in adjustPosition() local
95 setTranslationY(top - currentTop); in adjustPosition()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterView.java1674 View currentTop = getFocusedChild();
1675 View currentExpandable = getExpandableChild(currentTop);
1677 if (currentTop == currentExpandable && focused != null && !forceFindNextExpandable) {
1680 if (v != null && v != focused && isDescendant(currentTop, v)) {
1693 if (currentTop != currentExpandable && !forceFindNextExpandable) {
1695 View nextFocused = currentTop instanceof ViewGroup ? FocusFinder.getInstance()
1696 .findNextFocus((ViewGroup) currentTop, findFocus(), direction)
1699 if (nextTop == currentTop) {
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityRecordTests.java1196 final ActivityRecord currentTop = createActivityWithTask(); in testCompleteFinishing_keepStateOfNextInvisible() local
1197 final Task task = currentTop.getTask(); in testCompleteFinishing_keepStateOfNextInvisible()
1199 currentTop.mVisibleRequested = currentTop.nowVisible = true; in testCompleteFinishing_keepStateOfNextInvisible()
1207 task.setPausingActivity(currentTop); in testCompleteFinishing_keepStateOfNextInvisible()
1208 currentTop.finishing = true; in testCompleteFinishing_keepStateOfNextInvisible()
1209 currentTop.setState(PAUSED, "test"); in testCompleteFinishing_keepStateOfNextInvisible()
1210 currentTop.completeFinishing("completePauseLocked"); in testCompleteFinishing_keepStateOfNextInvisible()
1213 assertEquals(STOPPING, currentTop.getState()); in testCompleteFinishing_keepStateOfNextInvisible()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityStarter.java1667 final ActivityRecord currentTop = startedActivityRootTask.topRunningActivity(); in handleStartResult() local
1668 if (currentTop != null && currentTop.shouldUpdateConfigForDisplayChanged()) { in handleStartResult()
1670 currentTop, currentTop.getDisplayId(), in handleStartResult()