Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DGridSizeMigrationUtilTest.kt125 idp.numRows = 4 in <lambda>()
134 Point(idp.numColumns, idp.numRows), in <lambda>()
239 idp.numRows = 4 in <lambda>()
249 Point(idp.numColumns, idp.numRows), in <lambda>()
366 Point(idp.numColumns, idp.numRows), in <lambda>()
454 idp.numRows = 4 in <lambda>()
463 Point(idp.numColumns, idp.numRows), in <lambda>()
512 idp.numRows = 4 in <lambda>()
521 Point(idp.numColumns, idp.numRows), in <lambda>()
579 idp.numRows = 5 in <lambda>()
[all …]
DAbstractWorkspaceModelTest.kt53 mIdp.numRows = 5 in <lambda>()
54 mIdp.numColumns = mIdp.numRows in <lambda>()
105 val occupancy = GridOccupancy(mIdp.numColumns, mIdp.numRows) in <lambda>()
106 occupancy.markCells(0, 0, mIdp.numColumns, mIdp.numRows, true) in <lambda>()
111 for (y in 0 until mIdp.numRows) { in <lambda>()
DLoaderCursorTest.java176 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
187 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
213 mIDP.numRows = 4; in checkItemPlacement_hotseat()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java105 int totalRows = grid.inv.numRows + (staggerHotseat ? 1 : 0) + (staggerQsb ? 1 : 0); in StaggeredWorkspaceAnim()
133 qsbRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
134 hotseatRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
136 qsbRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
137 hotseatRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim()
140 hotseatRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim()
141 qsbRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim()
/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/src/com/android/launcher3/
DInvariantDeviceProfile.java119 public int numRows; field in InvariantDeviceProfile
342 numRows = closestProfile.numRows; in initGrid()
467 numColumns, numRows, numSearchContainerColumns, numDatabaseHotseatIcons, in toModelState()
606 int numRows = p.getIntValue(RES_GRID_NUM_ROWS, -1); in applyPartnerDeviceProfileOverrides() local
610 if (numRows > 0 && numColumns > 0) { in applyPartnerDeviceProfileOverrides()
611 this.numRows = numRows; in applyPartnerDeviceProfileOverrides()
777 public final int numRows; field in InvariantDeviceProfile.GridOption
810 numRows = a.getInt(R.styleable.GridDisplayOption_numRows, 0); in GridOption()
849 R.styleable.GridDisplayOption_numFolderRows, numRows); in GridOption()
DDeviceProfile.java895 return (cellHeightPx * inv.numRows) + (cellLayoutBorderSpacePx.y * (inv.numRows - 1))
948 int numBorders = inv.numRows - 1;
949 int extraHeightRequired = (cellContentHeight - cellHeightPx) * inv.numRows;
955 cellHeightPx = (cellHeightPx * inv.numRows
956 + cellLayoutBorderSpacePx.y * numBorders) / inv.numRows;
1177 inv.numRows);
1587 writer.println(prefix + "\tinv.numRows: " + inv.numRows);
DAutoInstallsLayout.java86 grid.numColumns, grid.numRows, grid.numDatabaseHotseatIcons); in get()
94 grid.numColumns, grid.numRows); in get()
194 mRowCount = mIdp.numRows; in AutoInstallsLayout()
DMultipageCellLayout.java62 mCountY = deviceProfile.inv.numRows; in MultipageCellLayout()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java91 .add(KEY_ROWS, gridOption.numRows) in query()
95 && idp.numRows == gridOption.numRows); in query()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java48 idp.numRows); in createBackup()
73 idp.numRows); in restoreBackup()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt100 numRows = 5 in newDP()
182 numRows = 5 in initializeVarsForTablet()
265 numRows = 4 in initializeVarsForTwoPanel()
/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.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/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/Settings/src/com/android/settings/password/
DConfirmLockPattern.java192 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
193 return (float)(numRows - row) / numRows; in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java39 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
DWorkspaceItemSpaceFinder.java107 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
DDeviceGridState.java56 mGridSizeString = String.format(Locale.ENGLISH, "%d,%d", idp.numColumns, idp.numRows); in DeviceGridState()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java134 new GridBackupTable(context, db, idp.numDatabaseHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace()
143 idp.numColumns, idp.numRows); in restoreWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java291 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
303 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinderTest.java88 mTestProfile.numRows = 5; in setUp()
DWidgetsListHeaderViewHolderBinderTest.java84 mTestProfile.numRows = 5; in setUp()
/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