Home
last modified time | relevance | path

Searched refs:numRows (Results 1 – 25 of 47) 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.java92 public int numRows; field in InvariantDeviceProfile
159 numRows = p.numRows; in InvariantDeviceProfile()
195 .putString(KEY_MIGRATION_SRC_WORKSPACE_SIZE, getPointString(numColumns, numRows)) in InvariantDeviceProfile()
281 numRows = closestProfile.numRows; in initGrid()
595 public final int numRows; field in InvariantDeviceProfile.GridOption
620 numRows = a.getInt(R.styleable.GridDisplayOption_numRows, 0); in GridOption()
640 R.styleable.GridDisplayOption_numFolderRows, numRows); in GridOption()
DDeviceProfile.java392 * inv.numRows) / piece; in DeviceProfile()
559 return (cellHeightPx * inv.numRows) + (cellLayoutBorderSpacingPx * (inv.numRows - 1));
733 - cellLayoutBottomPaddingPx, cellLayoutBorderSpacingPx, inv.numRows); in getCellSize()
774 - (2 * inv.numRows * cellHeightPx) - hotseatVerticalPadding); in updateWorkspacePadding()
930 writer.println(prefix + "\tinv.numRows:" + inv.numRows); in dump()
DAutoInstallsLayout.java92 grid.numColumns, grid.numRows, grid.numDatabaseHotseatIcons); in get()
100 grid.numColumns, grid.numRows); in get()
200 mRowCount = mIdp.numRows; in AutoInstallsLayout()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java99 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim()
126 qsbRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
127 hotseatRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim()
129 hotseatRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
130 qsbRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java78 .atWorkspace(0, mIdp.numRows - 1, 0).putApp(TEST_PACKAGE, TEST_PACKAGE) in setup()
79 .atWorkspace(0, mIdp.numRows - 1, 1).putApp(TEST_PACKAGE, TEST_PACKAGE) in setup()
80 .atWorkspace(0, mIdp.numRows - 1, 2).putApp(TEST_PACKAGE, TEST_PACKAGE); in setup()
137 FolderBuilder fb = mLayoutBuilder.atWorkspace(mIdp.numColumns / 2, mIdp.numRows / 2, 0) in testFolderPageScroll()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2Test.java125 mIdp.numRows = 4; in testMigration()
133 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in testMigration()
205 mIdp.numRows = 4; in migrateToLargerHotseat()
213 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in migrateToLargerHotseat()
253 mIdp.numRows = 4; in migrateFromLargerHotseat()
261 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in migrateFromLargerHotseat()
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()
/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/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfo.java104 int maxSpanY = idp.numRows; in initSpans()
171 && Math.min(spanY, minSpanY) <= idp.numRows; in initSpans()
174 this.spanY = Math.min(spanY, idp.numRows); in initSpans()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java48 idp.numRows); in createBackup()
73 idp.numRows); in restoreBackup()
DHotseatEduController.java160 idp.numRows - 1); in placeFoldersInWorkspace()
180 toRow = mLauncher.getDeviceProfile().inv.numRows - 1; in migrateHotseatWhole()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java100 .add(KEY_ROWS, gridOption.numRows) in query()
104 && idp.numRows == gridOption.numRows); in query()
/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.numDatabaseHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace()
115 idp.numColumns, idp.numRows); in restoreWorkspace()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp71 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillRGBAFromYUYV() local
72 for (unsigned r = 0; r < numRows; ++r) { in fillRGBAFromYUYV()
109 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillBufferCopy() local
111 for (auto r = 0; r < numRows; ++r) { in fillBufferCopy()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java198 int numRows; in delete() local
201 numRows = deleteBlockedNumber(selection, selectionArgs); in delete()
204 numRows = deleteBlockedNumberWithId(ContentUris.parseId(uri), selection); in delete()
211 return numRows; in delete()
/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.java252 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
264 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java39 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()
183 Point targetSize = new Point(idp.numColumns, idp.numRows); in migrateGridIfNeeded()
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