Searched refs:outPos (Results 1 – 7 of 7) sorted by relevance
142 public float getScaleAndPosition(Drawable preview, int[] outPos) { in getScaleAndPosition() argument144 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()151 outPos[0] = Math.round(outPos[0] - in getScaleAndPosition()153 outPos[1] = Math.round(outPos[1] - (1 - scale) * preview.getIntrinsicHeight() / 2 in getScaleAndPosition()159 public float getScaleAndPosition(View view, int[] outPos) { in getScaleAndPosition() argument161 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()168 outPos[0] = Math.round(outPos[0] in getScaleAndPosition()170 outPos[1] = Math.round(outPos[1] - (1 - scale) * view.getHeight() / 2 - previewPadding / 2); in getScaleAndPosition()
65 public float getScaleAndPosition(Drawable preview, int[] outPos) { in getScaleAndPosition() argument68 float scale = context.getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()75 outPos[0] += Math.round( in getScaleAndPosition()78 outPos[1] += Math.round((scale * mView.getHeight() - preview.getIntrinsicHeight()) / 2 in getScaleAndPosition()
423 protected void getTargetObjectLocation(Rect outPos) { in getTargetObjectLocation() argument424 getPopupContainer().getDescendantRectRelativeToSelf(mOriginalIcon, outPos); in getTargetObjectLocation()425 outPos.top += mOriginalIcon.getPaddingTop(); in getTargetObjectLocation()426 outPos.left += mOriginalIcon.getPaddingLeft(); in getTargetObjectLocation()427 outPos.right -= mOriginalIcon.getPaddingRight(); in getTargetObjectLocation()428 outPos.bottom = outPos.top + (mOriginalIcon.getIcon() != null in getTargetObjectLocation()
391 protected abstract void getTargetObjectLocation(Rect outPos); in getTargetObjectLocation() argument
95 override fun getTargetObjectLocation(outPos: Rect) { in <lambda>()96 popupContainer.getDescendantRectRelativeToSelf(dividerView, outPos) in <lambda>()
102 override fun getTargetObjectLocation(outPos: Rect?) { in <lambda>()103 popupContainer.getDescendantRectRelativeToSelf(taskContainer.iconView.asView(), outPos) in <lambda>()
144 protected void getTargetObjectLocation(Rect outPos) { in getTargetObjectLocation() argument145 mTargetRect.roundOut(outPos); in getTargetObjectLocation()