Lines Matching refs:xoff
1063 * @param xoff A horizontal offset from the anchor in pixels
1068 public void showAsDropDown(View anchor, int xoff, int yoff) {
1069 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
1086 * @param xoff A horizontal offset from the anchor in pixels
1092 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) {
1099 registerForScrollChanged(anchor, xoff, yoff, gravity);
1107 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff, gravity);
1389 * @param xoff horizontal offset used to adjust for background padding
1394 private boolean findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff,
1403 p.x = mDrawingLocation[0] + xoff;
1432 final Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff,
1440 p.x = mDrawingLocation[0] + xoff;
1841 * @param xoff x offset from the view's left edge
1846 public void update(View anchor, int xoff, int yoff, int width, int height) {
1847 update(anchor, true, xoff, yoff, true, width, height);
1850 private void update(View anchor, boolean updateLocation, int xoff, int yoff,
1858 final boolean needsUpdate = updateLocation && (mAnchorXoff != xoff || mAnchorYoff != yoff);
1860 registerForScrollChanged(anchor, xoff, yoff, mAnchoredGravity);
1863 mAnchorXoff = xoff;
1885 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, mAnchoredGravity));
1915 private void registerForScrollChanged(View anchor, int xoff, int yoff, int gravity) {
1925 mAnchorXoff = xoff;