Searched refs:horizontalAlignment (Results 1 – 1 of 1) sorted by relevance
402 boolean scaleToFit, float horizontalAlignment, float verticalAlignment) { in getBuiltInDrawable() argument408 horizontalAlignment = Math.max(0, Math.min(1, horizontalAlignment)); in getBuiltInDrawable()444 horizontalAlignment, verticalAlignment); in getBuiltInDrawable()446 float left = (inWidth - outWidth) * horizontalAlignment; in getBuiltInDrawable()530 float horizontalAlignment, float verticalAlignment) { in getMaxCropRect() argument537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()