Searched refs:distanceToTop (Results 1 – 1 of 1) sorted by relevance
931 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset() local935 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset()951 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration() local954 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration()1019 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor() local1022 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor()1036 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration() local1039 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration()