Searched refs:minWidthDps (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 186 float minWidthDps = Utilities.dpiFromPx(Math.min(smallestSize.x, smallestSize.y), dm); in initGrid() local 190 Float.compare(dist(minWidthDps, minHeightDps, a.minWidthDps, a.minHeightDps), in initGrid() 191 dist(minWidthDps, minHeightDps, b.minWidthDps, b.minHeightDps))); in initGrid() 193 invDistWeightedInterpolate(minWidthDps, minHeightDps, allOptions); in initGrid() 420 if (dist(width, height, p.minWidthDps, p.minHeightDps) == 0) { in invDistWeightedInterpolate() 427 float w = weight(width, height, p.minWidthDps, p.minHeightDps, WEIGHT_POWER); in invDistWeightedInterpolate() 528 private final float minWidthDps; field in InvariantDeviceProfile.DisplayOption 543 minWidthDps = a.getFloat(R.styleable.ProfileDisplayOption_minWidthDps, 0); in DisplayOption() 558 minWidthDps = 0; in DisplayOption()
|