Searched refs:outPos (Results 1 – 5 of 5) sorted by relevance
170 public float getScaleAndPosition(Bitmap preview, int[] outPos) { in getScaleAndPosition() argument172 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()179 outPos[0] = Math.round(outPos[0] - in getScaleAndPosition()181 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()
327 protected void getTargetObjectLocation(Rect outPos) { in getTargetObjectLocation() argument328 getPopupContainer().getDescendantRectRelativeToSelf(mOriginalIcon, outPos); in getTargetObjectLocation()329 outPos.top += mOriginalIcon.getPaddingTop(); in getTargetObjectLocation()330 outPos.left += mOriginalIcon.getPaddingLeft(); in getTargetObjectLocation()331 outPos.right -= mOriginalIcon.getPaddingRight(); in getTargetObjectLocation()332 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()