/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 | 60 public InvariantDeviceProfile idp; field in BaseModelUpdateTaskTestCase 91 idp = new InvariantDeviceProfile(); in setUp() 92 iconCache = new MyIconCache(targetContext, idp); in setUp() 97 when(appState.getInvariantDeviceProfile()).thenReturn(idp); in setUp() 190 public MyIconCache(Context context, InvariantDeviceProfile idp) { in MyIconCache() argument 191 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() 185 UI_HELPER_EXECUTOR.submit(new LauncherPreviewRenderer(getContext(), idp)), 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 | 889 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); 891 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 894 idp.numHotseatIcons == prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, 895 idp.numHotseatIcons)) { 906 idp.numHotseatIcons); 921 if (srcHotseatCount != idp.numHotseatIcons) { 924 validPackages, srcHotseatCount, idp.numHotseatIcons).migrateHotseat(); 928 Point targetSize = new Point(idp.numColumns, idp.numRows); 959 .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 | 323 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in onCreate() local 324 initDeviceProfile(idp); in onCreate() 325 idp.addOnChangeListener(this); in onCreate() 471 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument 472 onIdpChanged(idp); in onIdpChanged() 475 private void onIdpChanged(InvariantDeviceProfile idp) { in onIdpChanged() argument 479 initDeviceProfile(idp); in onIdpChanged() 504 private void initDeviceProfile(InvariantDeviceProfile idp) { in initDeviceProfile() argument 506 mDeviceProfile = idp.getDeviceProfile(this); in initDeviceProfile()
|
D | LauncherProvider.java | 551 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in getDefaultLayoutParser() local 552 int defaultLayout = idp.defaultLayoutId; in getDefaultLayoutParser() 555 if (um.isDemoUser() && idp.demoModeLayoutId != 0) { in getDefaultLayoutParser() 556 defaultLayout = idp.demoModeLayoutId; in getDefaultLayoutParser()
|
D | InstallShortcutReceiver.java | 503 InvariantDeviceProfile idp = LauncherAppState.getIDP(mContext); in getItemInfo() local 506 widgetInfo.spanX = Math.min(info.spanX, idp.numColumns); in getItemInfo() 507 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 | 110 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in PredictionUiStateManager() local 111 mMaxIconsPerRow = idp.numColumns; in PredictionUiStateManager() 113 idp.addOnChangeListener(this); in PredictionUiStateManager()
|
/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 | 397 public void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() argument
|