Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java63 private InvariantDeviceProfile mIDP; field in LoaderCursorTest
71 mIDP = new InvariantDeviceProfile(); in setup()
82 when(mMockApp.getInvariantDeviceProfile()).thenReturn(mIDP); in setup()
149 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
150 mIDP.numColumns = 4; in checkItemPlacement_outsideBounds()
151 mIDP.numHotseatIcons = 3; in checkItemPlacement_outsideBounds()
160 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
161 mIDP.numColumns = 4; in checkItemPlacement_overlappingItems()
162 mIDP.numHotseatIcons = 3; in checkItemPlacement_overlappingItems()
186 mIDP.numRows = 4; in checkItemPlacement_hotseat()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java69 private final InvariantDeviceProfile mIDP; field in LoaderCursor
102 mIDP = app.getInvariantDeviceProfile(); in LoaderCursor()
399 if (item.screenId >= mIDP.numHotseatIcons) { in checkItemPlacement()
402 + ", position out of bounds: (0 to " + (mIDP.numHotseatIcons - 1) in checkItemPlacement()
418 final GridOccupancy occupancy = new GridOccupancy(mIDP.numHotseatIcons, 1); in checkItemPlacement()
428 final int countX = mIDP.numColumns; in checkItemPlacement()
429 final int countY = mIDP.numRows; in checkItemPlacement()