Home
last modified time | relevance | path

Searched refs:mIdp (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java78 private InvariantDeviceProfile mIdp; field in AddItemActivity
102 mIdp = mApp.getInvariantDeviceProfile(); in onCreate()
107 mDeviceProfile = mIdp.getDeviceProfile(getApplicationContext()); in onCreate()
205 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
215 pendingInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget()
216 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
220 applyWidgetItemAsync(() -> new WidgetItem(widgetInfo, mIdp, mApp.getIconCache())); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java82 private final InvariantDeviceProfile mIdp; field in LauncherPreviewRenderer
91 mIdp = idp; in LauncherPreviewRenderer()
101 new BaseIconFactory(context, mIdp.fillResIconDpi, mIdp.iconBitmapSize) { }; in LauncherPreviewRenderer()
245 for (int i = 0; i < mIdp.numHotseatIcons; i++) {
253 for (int i = 0; i < mIdp.numColumns; i++) {
258 info.cellY = mIdp.numRows - 1;
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskTest.java37 private InvariantDeviceProfile mIdp; field in GridSizeMigrationTaskTest
43 mIdp = new InvariantDeviceProfile(); in setUp()
56 mIdp.numHotseatIcons = 3; in testHotseatMigration_apps_dropped()
73 mIdp.numHotseatIcons = 3; in testHotseatMigration_shortcuts_dropped()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java165 private final InvariantDeviceProfile mIdp; field in AutoInstallsLayout
196 mIdp = LauncherAppState.getIDP(context); in AutoInstallsLayout()
197 mRowCount = mIdp.numRows; in AutoInstallsLayout()
198 mColumnCount = mIdp.numColumns; in AutoInstallsLayout()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java184 private final InvariantDeviceProfile mIdp; field in RecentsView
328 mIdp = InvariantDeviceProfile.INSTANCE.get(context); in RecentsView()
414 mIdp.addOnChangeListener(this); in onAttachedToWindow()
426 mIdp.removeOnChangeListener(this); in onDetachedFromWindow()