Home
last modified time | relevance | path

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

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DLoaderCursorTest.java78 private InvariantDeviceProfile mIDP; field in LoaderCursorTest
86 mIDP = InvariantDeviceProfile.INSTANCE.get(mContext); in setup()
161 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
162 mIDP.numColumns = 4; in checkItemPlacement_outsideBounds()
163 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_outsideBounds()
172 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
173 mIDP.numColumns = 4; in checkItemPlacement_overlappingItems()
174 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_overlappingItems()
198 mIDP.numRows = 4; in checkItemPlacement_hotseat()
199 mIDP.numColumns = 4; in checkItemPlacement_hotseat()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java87 private final InvariantDeviceProfile mIDP; field in QuickstepModelDelegate
95 mIDP = InvariantDeviceProfile.INSTANCE.get(context); in QuickstepModelDelegate()
96 mIDP.addOnChangeListener(this); in QuickstepModelDelegate()
107 mApp, ums, pinnedShortcuts, mIDP.numDatabaseAllAppsColumns); in loadItems()
113 new WorkspaceItemFactory(mApp, ums, pinnedShortcuts, mIDP.numDatabaseHotseatIcons); in loadItems()
182 mIDP.removeOnChangeListener(this); in destroy()
206 .setPredictedTargetCount(mIDP.numDatabaseAllAppsColumns) in recreatePredictors()
213 .setPredictedTargetCount(mIDP.numDatabaseHotseatIcons) in recreatePredictors()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java77 private final InvariantDeviceProfile mIDP; field in LoaderCursor
117 mIDP = app.getInvariantDeviceProfile(); in LoaderCursor()
419 if (item.screenId >= mIDP.numDatabaseHotseatIcons) { in checkItemPlacement()
422 + ", position out of bounds: (0 to " + (mIDP.numDatabaseHotseatIcons - 1) in checkItemPlacement()
438 final GridOccupancy occupancy = new GridOccupancy(mIDP.numDatabaseHotseatIcons, 1); in checkItemPlacement()
448 final int countX = mIDP.numColumns; in checkItemPlacement()
449 final int countY = mIDP.numRows; in checkItemPlacement()