Home
last modified time | relevance | path

Searched refs:mTmpAnchorPos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java40 private final int[] mTmpAnchorPos = new int[2]; field in TooltipPopup
140 anchorView.getLocationOnScreen(mTmpAnchorPos); in computePosition()
141 mTmpAnchorPos[0] -= mTmpAppPos[0]; in computePosition()
142 mTmpAnchorPos[1] -= mTmpAppPos[1]; in computePosition()
145 outParams.x = mTmpAnchorPos[0] + offsetX - mTmpDisplayFrame.width() / 2; in computePosition()
151 final int yAbove = mTmpAnchorPos[1] + offsetAbove - tooltipOffset - tooltipHeight; in computePosition()
152 final int yBelow = mTmpAnchorPos[1] + offsetBelow + tooltipOffset; in computePosition()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DTooltipPopup.java53 private final int[] mTmpAnchorPos = new int[2]; field in TooltipPopup
159 anchorView.getLocationOnScreen(mTmpAnchorPos); in computePosition()
160 mTmpAnchorPos[0] -= mTmpAppPos[0]; in computePosition()
161 mTmpAnchorPos[1] -= mTmpAppPos[1]; in computePosition()
164 outParams.x = mTmpAnchorPos[0] + offsetX - mTmpDisplayFrame.width() / 2; in computePosition()
170 final int yAbove = mTmpAnchorPos[1] + offsetAbove - tooltipOffset - tooltipHeight; in computePosition()
171 final int yBelow = mTmpAnchorPos[1] + offsetBelow + tooltipOffset; in computePosition()