Searched refs:aspectRatio (Results 1 – 2 of 2) sorted by relevance
108 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()
211 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local232 return x * aspectRatio + y; in wallpaperTravelToScreenWidthRatio()