/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 48 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in createBackup() local 50 transaction.getDb(), idp.numHotseatIcons, idp.numColumns, in createBackup() 51 idp.numRows); in createBackup() 73 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in restoreBackup() local 75 transaction.getDb(), idp.numHotseatIcons, idp.numColumns, in restoreBackup() 76 idp.numRows); in restoreBackup()
|
D | HotseatEduController.java | 137 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in placeFoldersInWorkspace() local 168 idp.numRows - 1); in placeFoldersInWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskV2.java | 108 public static boolean needsToMigrate(Context context, InvariantDeviceProfile idp) { in needsToMigrate() argument 110 String gridSizeString = getPointString(idp.numColumns, idp.numRows); in needsToMigrate() 113 || idp.numHotseatIcons != prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, -1); in needsToMigrate() 138 public static boolean migrateGridIfNeeded(Context context, InvariantDeviceProfile idp) { in migrateGridIfNeeded() argument 139 boolean migrateForPreview = idp != null; in migrateGridIfNeeded() 141 idp = LauncherAppState.getIDP(context); in migrateGridIfNeeded() 144 if (!needsToMigrate(context, idp)) { in migrateGridIfNeeded() 149 String gridSizeString = getPointString(idp.numColumns, idp.numRows); in migrateGridIfNeeded() 151 int srcHotseatCount = prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, idp.numHotseatIcons); in migrateGridIfNeeded() 156 LauncherSettings.Settings.METHOD_PREP_FOR_PREVIEW, idp.dbFile).getBoolean( in migrateGridIfNeeded() [all …]
|
D | GridSizeMigrationTask.java | 891 public static boolean needsToMigrate(Context context, InvariantDeviceProfile idp) { 893 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 896 || idp.numHotseatIcons != prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, -1); 913 public static boolean migrateGridIfNeeded(Context context, InvariantDeviceProfile idp) { 914 boolean migrateForPreview = idp != null; 916 idp = LauncherAppState.getIDP(context); 919 if (!needsToMigrate(context, idp)) { 924 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 931 idp.numHotseatIcons); 951 if (srcHotseatCount != idp.numHotseatIcons [all …]
|
D | WidgetItem.java | 27 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem() argument 34 spanX = Math.min(info.spanX, idp.numColumns); in WidgetItem() 35 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
|
D | BaseLoaderResults.java | 184 final InvariantDeviceProfile idp = mApp.getInvariantDeviceProfile(); in bind() local 185 sortWorkspaceItemsSpatially(idp, currentWorkspaceItems); in bind() 186 sortWorkspaceItemsSpatially(idp, otherWorkspaceItems); in bind() 203 IntArray gaps = getMissingHotseatRanks(currentWorkspaceItems, idp.numHotseatIcons); in bind()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LossyScreenMigrationTask.java | 43 Context context, InvariantDeviceProfile idp, SQLiteDatabase db) { in LossyScreenMigrationTask() argument 46 new Point(idp.numColumns, idp.numRows + 1), in LossyScreenMigrationTask() 47 new Point(idp.numColumns, idp.numRows)); in LossyScreenMigrationTask()
|
D | RestoreDbTask.java | 105 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in backupWorkspace() local 106 new GridBackupTable(context, db, idp.numHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace() 113 final InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreWorkspace() local 114 GridBackupTable backupTable = new GridBackupTable(context, db, idp.numHotseatIcons, in restoreWorkspace() 115 idp.numColumns, idp.numRows); in restoreWorkspace()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 98 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in update() local 108 launcherWidgetInfo, idp, app.getIconCache())); in update() 172 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in setWidgetsAndShortcuts() local 186 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherIcons.java | 60 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in obtain() local 61 return new LauncherIcons(context, idp.fillResIconDpi, idp.iconBitmapSize, poolId, in obtain()
|
D | IconCache.java | 84 public IconCache(Context context, InvariantDeviceProfile idp) { in IconCache() argument 85 this(context, idp, LauncherFiles.APP_ICONS_DB); in IconCache() 88 public IconCache(Context context, InvariantDeviceProfile idp, String dbFileName) { in IconCache() argument 90 idp.fillResIconDpi, idp.iconBitmapSize, true /* inMemoryCache */); in IconCache()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetProviderInfo.java | 62 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in initSpans() local 64 Point landCellSize = idp.landscapeProfile.getCellSize(); in initSpans() 65 Point portCellSize = idp.portraitProfile.getCellSize(); in initSpans()
|
D | Hotseat.java | 73 InvariantDeviceProfile idp = mActivity.getDeviceProfile().inv; in resetLayout() local 75 setGridSize(1, idp.numHotseatIcons); in resetLayout() 77 setGridSize(idp.numHotseatIcons, 1); in resetLayout()
|
D | LauncherAppState.java | 142 private void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument 149 mIconCache.updateIconParams(idp.fillResIconDpi, idp.iconBitmapSize); in onIdpChanged()
|
D | Launcher.java | 375 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in onCreate() local 376 initDeviceProfile(idp); in onCreate() 377 idp.addOnChangeListener(this); in onCreate() 531 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument 532 onIdpChanged(idp); in onIdpChanged() 535 private void onIdpChanged(InvariantDeviceProfile idp) { in onIdpChanged() argument 538 initDeviceProfile(idp); in onIdpChanged() 561 private void initDeviceProfile(InvariantDeviceProfile idp) { in initDeviceProfile() argument 563 mDeviceProfile = idp.getDeviceProfile(this); in initDeviceProfile()
|
D | LauncherProvider.java | 622 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in getDefaultLayoutParser() local 623 int defaultLayout = idp.defaultLayoutId; in getDefaultLayoutParser() 626 && idp.demoModeLayoutId != 0) { in getDefaultLayoutParser() 627 defaultLayout = idp.demoModeLayoutId; in getDefaultLayoutParser()
|
D | InstallShortcutReceiver.java | 504 InvariantDeviceProfile idp = LauncherAppState.getIDP(mContext); in getItemInfo() local 507 widgetInfo.spanX = Math.min(info.spanX, idp.numColumns); in getItemInfo() 508 widgetInfo.spanY = Math.min(info.spanY, idp.numRows); in getItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 71 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in query() local 78 .add(KEY_IS_DEFAULT, idp.numColumns == gridOption.numColumns in query() 79 && idp.numRows == gridOption.numRows); in query()
|
D | LauncherPreviewRenderer.java | 139 public PreviewContext(Context base, InvariantDeviceProfile idp) { in PreviewContext() argument 141 mIdp = idp; in PreviewContext() 216 public LauncherPreviewRenderer(Context context, InvariantDeviceProfile idp, boolean migrated) { in LauncherPreviewRenderer() argument 219 mIdp = idp; in LauncherPreviewRenderer() 220 mDp = idp.portraitProfile.copy(context); in LauncherPreviewRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 112 InvariantDeviceProfile idp = grid.inv; in onMeasure() local 121 int maxWidth = grid.allAppsCellWidthPx * idp.numAllAppsColumns + padding; in onMeasure() 124 int maxHeight = grid.allAppsCellHeightPx * idp.numAllAppsColumns + padding; in onMeasure()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | LauncherModelHelper.java | 355 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in setupDefaultLayoutProvider() local 356 idp.numRows = idp.numColumns = idp.numHotseatIcons = DEFAULT_GRID_SIZE; in setupDefaultLayoutProvider() 357 idp.iconBitmapSize = DEFAULT_BITMAP_SIZE; in setupDefaultLayoutProvider()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 113 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in PredictionUiStateManager() local 114 mMaxIconsPerRow = idp.numColumns; in PredictionUiStateManager() 116 idp.addOnChangeListener(this); in PredictionUiStateManager()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 530 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(mContext); in getLauncherDeviceProfile() local 534 ? idp.landscapeProfile in getLauncherDeviceProfile() 535 : idp.portraitProfile; in getLauncherDeviceProfile()
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 294 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in createBindOptions() local 298 idp.numColumns, 1, null); in createBindOptions()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | RecentsView.java | 540 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument
|