Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java58 float minWidthDps; field in InvariantDeviceProfile
101 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, in InvariantDeviceProfile()
110 minWidthDps = w; in InvariantDeviceProfile()
137 minWidthDps = Utilities.dpiFromPx(Math.min(smallestSize.x, smallestSize.y), dm); in InvariantDeviceProfile()
141 minWidthDps, minHeightDps, getPredefinedDeviceProfiles(context)); in InvariantDeviceProfile()
143 invDistWeightedInterpolate(minWidthDps, minHeightDps, closestProfiles); in InvariantDeviceProfile()
277 return Float.compare(dist(width, height, a.minWidthDps, a.minHeightDps), in findClosestDeviceProfiles()
278 dist(width, height, b.minWidthDps, b.minHeightDps)); in findClosestDeviceProfiles()
291 if (dist(width, height, p.minWidthDps, p.minHeightDps) == 0) { in invDistWeightedInterpolate()
298 float w = weight(width, height, p.minWidthDps, p.minHeightDps, WEIGHT_POWER); in invDistWeightedInterpolate()