Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java85 private InvariantDeviceProfile mIDP; field in LoaderCursorTest
94 mIDP = InvariantDeviceProfile.INSTANCE.get(mContext); in setup()
174 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
175 mIDP.numColumns = 4; in checkItemPlacement_outsideBounds()
176 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_outsideBounds()
185 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
186 mIDP.numColumns = 4; in checkItemPlacement_overlappingItems()
187 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_overlappingItems()
211 mIDP.numRows = 4; in checkItemPlacement_hotseat()
212 mIDP.numColumns = 4; in checkItemPlacement_hotseat()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java79 private final InvariantDeviceProfile mIDP; field in LoaderCursor
128 mIDP = app.getInvariantDeviceProfile(); in LoaderCursor()
514 if (item.screenId >= mIDP.numDatabaseHotseatIcons) { in checkItemPlacement()
517 + ", position out of bounds: (0 to " + (mIDP.numDatabaseHotseatIcons - 1) in checkItemPlacement()
533 final GridOccupancy occupancy = new GridOccupancy(mIDP.numDatabaseHotseatIcons, 1); in checkItemPlacement()
543 final int countX = mIDP.numColumns; in checkItemPlacement()
544 final int countY = mIDP.numRows; in checkItemPlacement()
562 int spanX = mIDP.numSearchContainerColumns; in checkItemPlacement()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java113 private final InvariantDeviceProfile mIDP; field in QuickstepModelDelegate
123 mIDP = InvariantDeviceProfile.INSTANCE.get(context); in QuickstepModelDelegate()
133 loadAndBindItems(ums, pinnedShortcuts, callbacks, mIDP.numDatabaseHotseatIcons, in loadAndBindWorkspaceItems()
142 loadAndBindItems(ums, pinnedShortcuts, callbacks, mIDP.numDatabaseAllAppsColumns, in loadAndBindAllAppsItems()
362 .setPredictedTargetCount(mIDP.numDatabaseAllAppsColumns) in recreatePredictors()
394 .setPredictedTargetCount(mIDP.numDatabaseHotseatIcons) in registerHotseatPredictor()