Home
last modified time | relevance | path

Searched refs:topPosition (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerSnapAlgorithm.java342 private void addNonDismissingTargets(boolean isHorizontalDivision, int topPosition, in addNonDismissingTargets() argument
344 maybeAddTarget(topPosition, topPosition - getStartInset(), SNAP_TO_30_70); in addNonDismissingTargets()
359 int topPosition = start + size; in addFixedDivisionTargets() local
361 addNonDismissingTargets(isHorizontalDivision, topPosition, bottomPosition, dividerMax); in addFixedDivisionTargets()
375 int topPosition = start + sizeInt; in addRatio16_9Targets() local
377 addNonDismissingTargets(isHorizontalDivision, topPosition, bottomPosition, dividerMax); in addRatio16_9Targets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskDisplayAreaTests.java750 int topPosition = taskDisplayArea.getRootTaskCount() - 1; in testAlwaysOnTopRootTaskLocation() local
753 assertEquals(topPosition - 1, getTaskIndexOf(taskDisplayArea, anotherAlwaysOnTopRootTask)); in testAlwaysOnTopRootTaskLocation()
758 topPosition = taskDisplayArea.getRootTaskCount() - 1; in testAlwaysOnTopRootTaskLocation()
761 assertEquals(topPosition - 3, getTaskIndexOf(taskDisplayArea, nonAlwaysOnTopRootTask)); in testAlwaysOnTopRootTaskLocation()
769 assertEquals(topPosition - 2, getTaskIndexOf(taskDisplayArea, anotherAlwaysOnTopRootTask)); in testAlwaysOnTopRootTaskLocation()
775 assertEquals(topPosition - 2, getTaskIndexOf(taskDisplayArea, anotherAlwaysOnTopRootTask)); in testAlwaysOnTopRootTaskLocation()
778 assertEquals(topPosition - 1, getTaskIndexOf(taskDisplayArea, anotherAlwaysOnTopRootTask)); in testAlwaysOnTopRootTaskLocation()
784 topPosition = taskDisplayArea.getRootTaskCount() - 1; in testAlwaysOnTopRootTaskLocation()
787 assertEquals(topPosition - 1, getTaskIndexOf(taskDisplayArea, pinnedRootTask)); in testAlwaysOnTopRootTaskLocation()
793 topPosition = taskDisplayArea.getRootTaskCount() - 1; in testAlwaysOnTopRootTaskLocation()
[all …]
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java63 int topPosition = adapterView.getFirstVisiblePosition(); in onItemClick() local
66 int pos = topPosition + i; in onItemClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DSharedNotificationContainerInteractor.kt54 val topPosition = _topPosition.asStateFlow() in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModel.kt370 interactor.topPosition in <lambda>()