Searched refs:mIdp (Results 1 – 5 of 5) sorted by relevance
78 private InvariantDeviceProfile mIdp; field in AddItemActivity102 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()
82 private final InvariantDeviceProfile mIdp; field in LauncherPreviewRenderer91 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;
37 private InvariantDeviceProfile mIdp; field in GridSizeMigrationTaskTest43 mIdp = new InvariantDeviceProfile(); in setUp()56 mIdp.numHotseatIcons = 3; in testHotseatMigration_apps_dropped()73 mIdp.numHotseatIcons = 3; in testHotseatMigration_shortcuts_dropped()
165 private final InvariantDeviceProfile mIdp; field in AutoInstallsLayout196 mIdp = LauncherAppState.getIDP(context); in AutoInstallsLayout()197 mRowCount = mIdp.numRows; in AutoInstallsLayout()198 mColumnCount = mIdp.numColumns; in AutoInstallsLayout()
184 private final InvariantDeviceProfile mIdp; field in RecentsView328 mIdp = InvariantDeviceProfile.INSTANCE.get(context); in RecentsView()414 mIdp.addOnChangeListener(this); in onAttachedToWindow()426 mIdp.removeOnChangeListener(this); in onDetachedFromWindow()