Searched refs:origRect (Results 1 – 1 of 1) sorted by relevance
313 private Point calculateDest(Rect origRect, Rect avoidRect) { in calculateDest() argument315 int destY = avoidRect.bottom + bufferY + origRect.height()/2; in calculateDest()317 destY = avoidRect.top - bufferY - origRect.height()/2; in calculateDest()319 return new Point(origRect.centerX(), destY); in calculateDest()