Searched refs:distanceToTop (Results 1 – 1 of 1) sorted by relevance
885 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset() local889 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset()905 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration() local908 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration()973 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor() local976 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor()990 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration() local993 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration()