Searched refs:distanceToTop (Results 1 – 1 of 1) sorted by relevance
955 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset() local959 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset()975 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration() local978 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration()1043 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor() local1046 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor()1060 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration() local1063 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration()