Searched refs:drawableBounds (Results 1 – 3 of 3) sorted by relevance
210 Rect drawableBounds = drawable.getBounds();219 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left;225 diff = drawableBounds.right - drawablePadding.right - maxRight;
244 public void scaleCanvasToBounds(Canvas canvas, Bitmap bitmap, Rect drawableBounds) { in scaleCanvasToBounds() argument247 float scaleX = drawableBounds.width() / (float) bitmapWidth; in scaleCanvasToBounds()248 float scaleY = drawableBounds.height() / (float) bitmapHeight; in scaleCanvasToBounds()
359 final Rect drawableBounds = getBounds(); in isProjected() local364 && (drawableBounds.equals(hotspotBounds) in isProjected()365 || drawableBounds.contains(hotspotBounds))) { in isProjected()