/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 53 idp.numColumns = 5; in initData() 54 idp.numRows = 5; in initData() 137 GridOccupancy occupancy = new GridOccupancy(idp.numColumns, idp.numRows); in setupWorkspaceWithHoles() 138 occupancy.markCells(0, 0, idp.numColumns, idp.numRows, true); in setupWorkspaceWithHoles() 147 for (int x = 0; x < idp.numColumns; x++) { in setupWorkspaceWithHoles() 148 for (int y = 0; y < idp.numRows; y++) { in setupWorkspaceWithHoles()
|
D | BaseModelUpdateTaskTestCase.java | 61 public InvariantDeviceProfile idp; field in BaseModelUpdateTaskTestCase 92 idp = new InvariantDeviceProfile(); in setUp() 93 iconCache = new MyIconCache(targetContext, idp); in setUp() 98 when(appState.getInvariantDeviceProfile()).thenReturn(idp); in setUp() 191 public MyIconCache(Context context, InvariantDeviceProfile idp) { in MyIconCache() argument 192 super(context, idp); in MyIconCache()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LossyScreenMigrationTask.java | 44 Context context, InvariantDeviceProfile idp, SQLiteDatabase db) { in LossyScreenMigrationTask() argument 47 new Point(idp.numColumns, idp.numRows + 1), in LossyScreenMigrationTask() 48 new Point(idp.numColumns, idp.numRows)); in LossyScreenMigrationTask()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridOptionsProvider.java | 91 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in query() local 98 .add(KEY_IS_DEFAULT, idp.numColumns == gridOption.numColumns in query() 99 && idp.numRows == gridOption.numRows); in query() 176 InvariantDeviceProfile idp; in openFile() local 178 idp = new InvariantDeviceProfile(getContext(), profileName); in openFile() 186 executor.submit(new LauncherPreviewRenderer(getContext(), idp)), BITMAP_WRITER); in openFile()
|
D | LauncherPreviewRenderer.java | 88 public LauncherPreviewRenderer(Context context, InvariantDeviceProfile idp) { in LauncherPreviewRenderer() argument 91 mIdp = idp; in LauncherPreviewRenderer() 92 mDp = idp.portraitProfile.copy(context); in LauncherPreviewRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 887 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); 889 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 892 idp.numHotseatIcons == prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, 893 idp.numHotseatIcons)) { 904 idp.numHotseatIcons); 919 if (srcHotseatCount != idp.numHotseatIcons) { 922 validPackages, srcHotseatCount, idp.numHotseatIcons).migrateHotseat(); 926 Point targetSize = new Point(idp.numColumns, idp.numRows); 957 .putInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, idp.numHotseatIcons)
|
D | WidgetItem.java | 34 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem() argument 41 spanX = Math.min(info.spanX, idp.numColumns); in WidgetItem() 42 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 91 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in update() local 101 launcherWidgetInfo, idp, app.getIconCache())); in update() 165 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in setWidgetsAndShortcuts() local 179 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetProviderInfo.java | 59 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in initSpans() local 61 Point landCellSize = idp.landscapeProfile.getCellSize(); in initSpans() 62 Point portCellSize = idp.portraitProfile.getCellSize(); in initSpans()
|
D | Hotseat.java | 64 InvariantDeviceProfile idp = mActivity.getDeviceProfile().inv; in resetLayout() local 66 setGridSize(1, idp.numHotseatIcons); in resetLayout() 68 setGridSize(idp.numHotseatIcons, 1); in resetLayout()
|
D | LauncherAppState.java | 123 private void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument 130 mIconCache.updateIconParams(idp.fillResIconDpi, idp.iconBitmapSize); in onIdpChanged()
|
D | Launcher.java | 314 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in onCreate() local 315 initDeviceProfile(idp); in onCreate() 316 idp.addOnChangeListener(this); in onCreate() 461 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument 462 onIdpChanged(idp); in onIdpChanged() 465 private void onIdpChanged(InvariantDeviceProfile idp) { in onIdpChanged() argument 469 initDeviceProfile(idp); in onIdpChanged() 494 private void initDeviceProfile(InvariantDeviceProfile idp) { in initDeviceProfile() argument 496 mDeviceProfile = idp.getDeviceProfile(this); in initDeviceProfile()
|
D | LauncherProvider.java | 553 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in getDefaultLayoutParser() local 554 int defaultLayout = idp.defaultLayoutId; in getDefaultLayoutParser() 557 if (um.isDemoUser() && idp.demoModeLayoutId != 0) { in getDefaultLayoutParser() 558 defaultLayout = idp.demoModeLayoutId; in getDefaultLayoutParser()
|
D | InstallShortcutReceiver.java | 509 InvariantDeviceProfile idp = LauncherAppState.getIDP(mContext); in getItemInfo() local 512 widgetInfo.spanX = Math.min(info.spanX, idp.numColumns); in getItemInfo() 513 widgetInfo.spanY = Math.min(info.spanY, idp.numRows); in getItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherIcons.java | 74 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in obtain() local 75 return new LauncherIcons(context, idp.fillResIconDpi, idp.iconBitmapSize, poolId, in obtain()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 103 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in PredictionUiStateManager() local 104 mMaxIconsPerRow = idp.numColumns; in PredictionUiStateManager() 106 idp.addOnChangeListener(this); in PredictionUiStateManager()
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 222 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in createBindOptions() local 226 idp.numColumns, 1, null); in createBindOptions()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | RecentsView.java | 394 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument
|