HomeSort by relevance Sort by last modified time
    Searched defs:mTmpAnchorPos (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/com/android/internal/view/
TooltipPopup.java 40 private final int[] mTmpAnchorPos = new int[2];
140 anchorView.getLocationOnScreen(mTmpAnchorPos);
141 mTmpAnchorPos[0] -= mTmpAppPos[0];
142 mTmpAnchorPos[1] -= mTmpAppPos[1];
143 // mTmpAnchorPos is now relative to the main app window.
145 outParams.x = mTmpAnchorPos[0] + offsetX - appView.getWidth() / 2;
151 final int yAbove = mTmpAnchorPos[1] + offsetAbove - tooltipOffset - tooltipHeight;
152 final int yBelow = mTmpAnchorPos[1] + offsetBelow + tooltipOffset;
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
TooltipPopup.java 55 private final int[] mTmpAnchorPos = new int[2];
158 anchorView.getLocationOnScreen(mTmpAnchorPos);
159 mTmpAnchorPos[0] -= mTmpAppPos[0];
160 mTmpAnchorPos[1] -= mTmpAppPos[1];
161 // mTmpAnchorPos is now relative to the main app window.
163 outParams.x = mTmpAnchorPos[0] + offsetX - appView.getWidth() / 2;
169 final int yAbove = mTmpAnchorPos[1] + offsetAbove - tooltipOffset - tooltipHeight;
170 final int yBelow = mTmpAnchorPos[1] + offsetBelow + tooltipOffset;

Completed in 89 milliseconds