Searched refs:outPos (Results 1 – 5 of 5) sorted by relevance
174 public float getScaleAndPosition(Bitmap preview, int[] outPos) { in getScaleAndPosition() argument176 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()183 outPos[0] = Math.round(outPos[0] - in getScaleAndPosition()185 outPos[1] = Math.round(outPos[1] - (1 - scale) * preview.getHeight() / 2 in getScaleAndPosition()
61 public float getScaleAndPosition(Bitmap preview, int[] outPos) { in getScaleAndPosition() argument64 float scale = launcher.getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()71 outPos[0] += Math.round(scale * iconLeft + (scale * iconSize - preview.getWidth()) / 2 + in getScaleAndPosition()73 outPos[1] += Math.round((scale * mView.getHeight() - preview.getHeight()) / 2 in getScaleAndPosition()
334 protected void getTargetObjectLocation(Rect outPos) { in getTargetObjectLocation() argument335 getPopupContainer().getDescendantRectRelativeToSelf(mOriginalIcon, outPos); in getTargetObjectLocation()336 outPos.top += mOriginalIcon.getPaddingTop(); in getTargetObjectLocation()337 outPos.left += mOriginalIcon.getPaddingLeft(); in getTargetObjectLocation()338 outPos.right -= mOriginalIcon.getPaddingRight(); in getTargetObjectLocation()339 outPos.bottom = outPos.top + (mOriginalIcon.getIcon() != null in getTargetObjectLocation()
219 protected abstract void getTargetObjectLocation(Rect outPos); in getTargetObjectLocation() argument
120 protected void getTargetObjectLocation(Rect outPos) { in getTargetObjectLocation() argument121 mTargetRect.roundOut(outPos); in getTargetObjectLocation()