Searched refs:topPosition (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 298 private void addNonDismissingTargets(boolean isHorizontalDivision, int topPosition, in addNonDismissingTargets() argument 300 maybeAddTarget(topPosition, topPosition - mInsets.top); in addNonDismissingTargets() 312 int topPosition = start + size; in addFixedDivisionTargets() local 314 addNonDismissingTargets(isHorizontalDivision, topPosition, bottomPosition, dividerMax); in addFixedDivisionTargets() 328 int topPosition = start + sizeInt; in addRatio16_9Targets() local 330 addNonDismissingTargets(isHorizontalDivision, topPosition, bottomPosition, dividerMax); in addRatio16_9Targets()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityDisplayTests.java | 255 int topPosition = display.getChildCount() - 1; in testAlwaysOnTopStackLocation() local 258 assertEquals(anotherAlwaysOnTopStack, display.getChildAt(topPosition - 1)); in testAlwaysOnTopStackLocation() 263 topPosition = display.getChildCount() - 1; in testAlwaysOnTopStackLocation() 266 assertEquals(nonAlwaysOnTopStack, display.getChildAt(topPosition - 3)); in testAlwaysOnTopStackLocation() 273 assertEquals(anotherAlwaysOnTopStack, display.getChildAt(topPosition - 2)); in testAlwaysOnTopStackLocation() 279 assertEquals(anotherAlwaysOnTopStack, display.getChildAt(topPosition - 2)); in testAlwaysOnTopStackLocation() 282 assertEquals(anotherAlwaysOnTopStack, display.getChildAt(topPosition - 1)); in testAlwaysOnTopStackLocation()
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
D | MainActivity.java | 67 int topPosition = adapterView.getFirstVisiblePosition(); in onItemClick() local 70 int pos = topPosition + i; in onItemClick()
|