Home | History | Annotate | Download | only in widget

Lines Matching refs:yoff

963      * @param yoff A vertical offset from the anchor in pixels
967 public void showAsDropDown(View anchor, int xoff, int yoff) {
968 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
983 * @param yoff A vertical offset from the anchor in pixels
988 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) {
993 registerForScrollChanged(anchor, xoff, yoff, gravity);
1001 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, gravity));
1219 * @param yoff vertical offset used to adjust for background padding
1224 int yoff, int gravity) {
1228 yoff -= anchorHeight;
1233 p.y = mDrawingLocation[1] + anchorHeight + yoff;
1251 final int screenY = mScreenLocation[1] + anchorHeight + yoff;
1262 scrollY + mPopupHeight + anchorHeight + yoff);
1270 p.y = mDrawingLocation[1] + anchorHeight + yoff;
1279 onTop = (displayFrame.bottom - mScreenLocation[1] - anchorHeight - yoff) <
1280 (mScreenLocation[1] - yoff - displayFrame.top);
1283 p.y = root.getHeight() - mDrawingLocation[1] + yoff;
1285 p.y = mDrawingLocation[1] + anchorHeight + yoff;
1302 final int popupTop = mScreenLocation[1] + yoff - mPopupHeight;
1588 * @param yoff y offset from the view's bottom edge
1592 public void update(View anchor, int xoff, int yoff, int width, int height) {
1593 update(anchor, true, xoff, yoff, true, width, height, mAnchoredGravity);
1596 private void update(View anchor, boolean updateLocation, int xoff, int yoff,
1605 && (mAnchorXoff != xoff || mAnchorYoff != yoff);
1607 registerForScrollChanged(anchor, xoff, yoff, gravity);
1611 mAnchorYoff = yoff;
1634 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, gravity));
1666 private void registerForScrollChanged(View anchor, int xoff, int yoff, int gravity) {
1676 mAnchorYoff = yoff;