Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureUtils.java108 float aspectRatio = gestureWidth / gestureHeight; in spatialSampling()
109 if (aspectRatio > 1) { in spatialSampling()
110 aspectRatio = 1 / aspectRatio; in spatialSampling()
112 if (aspectRatio < SCALING_THRESHOLD) { in spatialSampling()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java211 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
232 return x * aspectRatio + y; in wallpaperTravelToScreenWidthRatio()