Home
last modified time | relevance | path

Searched refs:numRows (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DPartner.java111 int numRows = -1; in applyInvariantDeviceProfileOverrides() local
119 numRows = getResources().getInteger(resId); in applyInvariantDeviceProfileOverrides()
139 if (numRows > 0 && numColumns > 0) { in applyInvariantDeviceProfileOverrides()
140 inv.numRows = numRows; in applyInvariantDeviceProfileOverrides()
DInvariantDeviceProfile.java97 public int numRows; field in InvariantDeviceProfile
144 numRows = p.numRows; in InvariantDeviceProfile()
173 .putString(KEY_MIGRATION_SRC_WORKSPACE_SIZE, getPointString(numColumns, numRows)) in InvariantDeviceProfile()
245 numRows = closestProfile.numRows; in initGrid()
349 if (numRows != oldProfile.numRows || in onConfigChanged()
575 public final int numRows; field in InvariantDeviceProfile.GridOption
595 numRows = a.getInt(R.styleable.GridDisplayOption_numRows, 0); in GridOption()
606 R.styleable.GridDisplayOption_numFolderRows, numRows); in GridOption()
DDeviceProfile.java332 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions()
470 return getCellSize(inv.numColumns, inv.numRows); in getCellSize()
473 private Point getCellSize(int numColumns, int numRows) { in getCellSize() argument
481 - cellLayoutBottomPaddingPx, numRows); in getCellSize()
519 - (2 * inv.numRows * cellHeightPx) - hotseatBarTopPaddingPx in updateWorkspacePadding()
DAutoInstallsLayout.java92 grid.numColumns, grid.numRows, grid.numHotseatIcons); in get()
100 grid.numColumns, grid.numRows); in get()
200 mRowCount = mIdp.numRows; in AutoInstallsLayout()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java82 .atWorkspace(0, mIdp.numRows - 1, 0).putApp(TEST_PACKAGE, TEST_PACKAGE) in setup()
83 .atWorkspace(0, mIdp.numRows - 1, 1).putApp(TEST_PACKAGE, TEST_PACKAGE) in setup()
84 .atWorkspace(0, mIdp.numRows - 1, 2).putApp(TEST_PACKAGE, TEST_PACKAGE); in setup()
141 FolderBuilder fb = mLayoutBuilder.atWorkspace(mIdp.numColumns / 2, mIdp.numRows / 2, 0) in testFolderPageScroll()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java65 mIdp.numColumns = mIdp.numRows = 5; in setup()
162 GridOccupancy occupancy = new GridOccupancy(mIdp.numColumns, mIdp.numRows); in writeWorkspaceWithHoles()
163 occupancy.markCells(0, 0, mIdp.numColumns, mIdp.numRows, true); in writeWorkspaceWithHoles()
172 for (int y = 0; y < mIdp.numRows; y++) { in writeWorkspaceWithHoles()
DLoaderCursorTest.java161 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
172 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
198 mIDP.numRows = 4; in checkItemPlacement_hotseat()
DGridSizeMigrationTaskV2Test.java125 mIdp.numRows = 4; in testMigration()
133 destReader, mIdp.numHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in testMigration()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridOptionsProvider.java75 .add(KEY_ROWS, gridOption.numRows) in query()
79 && idp.numRows == gridOption.numRows); in query()
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java189 int numRows = lensShading.getRowCount(); in toString() local
197 for (int r = 0; r < numRows; r++) { in toString()
207 if (r < numRows - 1) { in toString()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java103 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim()
123 addStaggeredAnimationForView(child, grid.inv.numRows + 1, totalRows); in StaggeredWorkspaceAnim()
129 grid.inv.numRows + 2, totalRows); in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java52 idp.numRows); in createBackup()
78 idp.numRows); in restoreBackup()
DHotseatEduController.java168 idp.numRows - 1); in placeFoldersInWorkspace()
188 toRow = mLauncher.getDeviceProfile().inv.numRows - 1; in migrateHotseatWhole()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java46 new Point(idp.numColumns, idp.numRows + 1), in LossyScreenMigrationTask()
47 new Point(idp.numColumns, idp.numRows)); in LossyScreenMigrationTask()
DRestoreDbTask.java106 new GridBackupTable(context, db, idp.numHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace()
115 idp.numColumns, idp.numRows); in restoreWorkspace()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java199 int numRows; in delete() local
202 numRows = deleteBlockedNumber(selection, selectionArgs); in delete()
205 numRows = deleteBlockedNumberWithId(ContentUris.parseId(uri), selection); in delete()
212 return numRows; in delete()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPattern.java171 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
172 return (float)(numRows - row) / numRows; in onCreateView()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPattern.java176 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
177 return (float)(numRows - row) / numRows; in onCreateView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java89 final int numRows = (numKeys + numColumn - 1) / numColumn; in setParameters() local
90 mNumRows = numRows; in setParameters()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java204 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
215 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java35 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
DGridSizeMigrationTaskV2.java110 String gridSizeString = getPointString(idp.numColumns, idp.numRows); in needsToMigrate()
149 String gridSizeString = getPointString(idp.numColumns, idp.numRows); in migrateGridIfNeeded()
182 Point targetSize = new Point(idp.numColumns, idp.numRows); in migrateGridIfNeeded()
DModelUtils.java86 final int screenCellCount = profile.numColumns * profile.numRows; in sortWorkspaceItemsSpatially()
DGridSizeMigrationTask.java893 String gridSizeString = getPointString(idp.numColumns, idp.numRows);
924 String gridSizeString = getPointString(idp.numColumns, idp.numRows);
959 Point targetSize = new Point(idp.numColumns, idp.numRows);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1361 int numRows = 0; in deleteMatchingEvents() local
1368 numRows += mResolver.delete(uri, null, null); in deleteMatchingEvents()
1371 return numRows; in deleteMatchingEvents()
1392 int numRows = 0; in updateMatchingEvents() local
1436 numRows += mResolver.update(uri, values, null, null); in updateMatchingEvents()
1439 return numRows; in updateMatchingEvents()
1456 int numRows = 0; in updateMatchingEventsStatusOnly() local
1461 numRows += mResolver.update(uri, values, null, null); in updateMatchingEventsStatusOnly()
1464 return numRows; in updateMatchingEventsStatusOnly()

12