Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt104 whenever(info.getDensityDpi()).thenReturn(420) in newDP()
194 whenever(info.getDensityDpi()).thenReturn(320) in initializeVarsForTablet()
287 whenever(info.getDensityDpi()).thenReturn(420) in initializeVarsForTwoPanel()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java474 dpiFromPx(Math.min(displayWidth, displayHeight), displayInfo.getDensityDpi()) in initGrid()
820 float width = dpiFromPx(minWidthPx, displayInfo.getDensityDpi()); in invDistWeightedInterpolate()
821 float height = dpiFromPx(minHeightPx, displayInfo.getDensityDpi()); in invDistWeightedInterpolate()
DDeviceProfile.java2448 config.densityDpi = info.getDensityDpi();
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java648 public int getDensityDpi() { in getDensityDpi() method in DisplayController.Info