Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java59 float minWidthDps; field in InvariantDeviceProfile
101 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, in InvariantDeviceProfile()
110 minWidthDps = w; in InvariantDeviceProfile()
138 minWidthDps = Utilities.dpiFromPx(Math.min(smallestSize.x, smallestSize.y), dm); in InvariantDeviceProfile()
142 minWidthDps, minHeightDps, getPredefinedDeviceProfiles(context)); in InvariantDeviceProfile()
144 invDistWeightedInterpolate(minWidthDps, minHeightDps, closestProfiles); in InvariantDeviceProfile()
278 return Float.compare(dist(width, height, a.minWidthDps, a.minHeightDps), in findClosestDeviceProfiles()
279 dist(width, height, b.minWidthDps, b.minHeightDps)); in findClosestDeviceProfiles()
292 if (dist(width, height, p.minWidthDps, p.minHeightDps) == 0) { in invDistWeightedInterpolate()
299 float w = weight(width, height, p.minWidthDps, p.minHeightDps, WEIGHT_POWER); in invDistWeightedInterpolate()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DInvariantDeviceProfileTest.java58 idf.minWidthDps, idf.minHeightDps, predefinedProfilesCopy in testFindClosestDeviceProfile2()
74 new PointF(p1.minWidthDps, p1.minHeightDps), in testInvInterpolation()
75 new PointF(p2.minWidthDps, p2.minHeightDps), in testInvInterpolation()