Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java91 public int numRows; field in InvariantDeviceProfile
130 numRows = p.numRows; in InvariantDeviceProfile()
196 numRows = closestProfile.numRows; in initGrid()
296 if (numRows != oldProfile.numRows || in onConfigChanged()
487 public final int numRows; field in InvariantDeviceProfile.GridOption
504 numRows = a.getInt(R.styleable.GridDisplayOption_numRows, 0); in GridOption()
514 R.styleable.GridDisplayOption_numFolderRows, numRows); in GridOption()
DPartner.java118 int numRows = -1; in applyInvariantDeviceProfileOverrides() local
126 numRows = getResources().getInteger(resId); in applyInvariantDeviceProfileOverrides()
146 if (numRows > 0 && numColumns > 0) { in applyInvariantDeviceProfileOverrides()
147 inv.numRows = numRows; in applyInvariantDeviceProfileOverrides()
DDeviceProfile.java301 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions()
429 - cellLayoutBottomPaddingPx, inv.numRows); in getCellSize()
467 - (2 * inv.numRows * cellHeightPx) - hotseatBarTopPaddingPx in updateWorkspacePadding()
DAutoInstallsLayout.java86 grid.numColumns, grid.numRows, grid.numHotseatIcons); in get()
94 grid.numColumns, grid.numRows); in get()
189 mRowCount = mIdp.numRows; in AutoInstallsLayout()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java54 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()
148 for (int y = 0; y < idp.numRows; y++) { in setupWorkspaceWithHoles()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java87 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim()
106 addStaggeredAnimationForView(hotseat, grid.inv.numRows + 1, totalRows); in StaggeredWorkspaceAnim()
109 addStaggeredAnimationForView(qsb, grid.inv.numRows + 2, totalRows); 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/graphics/
DGridOptionsProvider.java95 .add(KEY_ROWS, gridOption.numRows) in query()
99 && idp.numRows == gridOption.numRows); in query()
DLauncherPreviewRenderer.java258 info.cellY = mIdp.numRows - 1;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java173 final int numRows = ((childCount - 1) / mColumnCount) + 1; in onMeasureForTiles() local
175 numRows * (imageSize + getChildAt(0).getPaddingBottom()) + in onMeasureForTiles()
176 (numRows - 1) * mTilePadding); in onMeasureForTiles()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java149 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
160 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
186 mIDP.numRows = 4; in checkItemPlacement_hotseat()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java47 new Point(idp.numColumns, idp.numRows + 1), in LossyScreenMigrationTask()
48 new Point(idp.numColumns, idp.numRows)); in LossyScreenMigrationTask()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPattern.java170 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
171 return (float)(numRows - row) / numRows; in onCreateView()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPattern.java170 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
171 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/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1342 int numRows = 0; in deleteMatchingEvents() local
1349 numRows += mResolver.delete(uri, null, null); in deleteMatchingEvents()
1352 return numRows; in deleteMatchingEvents()
1373 int numRows = 0; in updateMatchingEvents() local
1417 numRows += mResolver.update(uri, values, null, null); in updateMatchingEvents()
1420 return numRows; in updateMatchingEvents()
1437 int numRows = 0; in updateMatchingEventsStatusOnly() local
1442 numRows += mResolver.update(uri, values, null, null); in updateMatchingEventsStatusOnly()
1445 return numRows; in updateMatchingEventsStatusOnly()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java42 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
DAddWorkspaceItemsTask.java267 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
DBaseLoaderResults.java222 final int screenCellCount = profile.numColumns * profile.numRows; in sortWorkspaceItemsSpatially()
DGridSizeMigrationTask.java889 String gridSizeString = getPointString(idp.numColumns, idp.numRows);
926 Point targetSize = new Point(idp.numColumns, idp.numRows);
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DWidgetsListAdapterTest.java69 mTestProfile.numRows = 5; in setup()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java983 int numRows = (int) Math.ceil((float) getItemCount() / spanCount);
985 boolean isInLastRow = rowOfNewlySelectedTile == numRows - 1;
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java179 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts()

12