Home
last modified time | relevance | path

Searched refs:horizontalAlignment (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/app/
DWallpaperManager.java402 boolean scaleToFit, float horizontalAlignment, float verticalAlignment) { in getBuiltInDrawable() argument
408 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() argument
537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()