Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DPartner.java120 int numRows = -1; in applyInvariantDeviceProfileOverrides() local
128 numRows = getResources().getInteger(resId); in applyInvariantDeviceProfileOverrides()
148 if (numRows > 0 && numColumns > 0) { in applyInvariantDeviceProfileOverrides()
149 inv.numRows = numRows; in applyInvariantDeviceProfileOverrides()
DInvariantDeviceProfile.java93 public int numRows; field in InvariantDeviceProfile
139 numRows = p.numRows; in InvariantDeviceProfile()
285 numRows = closestProfile.numRows; in initGridOption()
357 if (numRows != oldProfile.numRows || in onConfigChanged()
547 public final int numRows; field in InvariantDeviceProfile.GridOption
564 numRows = a.getInt(R.styleable.GridDisplayOption_numRows, 0); in GridOption()
574 R.styleable.GridDisplayOption_numFolderRows, numRows); in GridOption()
DDeviceProfile.java324 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions()
451 return getCellSize(inv.numColumns, inv.numRows); in getCellSize()
454 private Point getCellSize(int numColumns, int numRows) { in getCellSize() argument
462 - cellLayoutBottomPaddingPx, numRows); in getCellSize()
500 - (2 * inv.numRows * cellHeightPx) - hotseatBarTopPaddingPx in updateWorkspacePadding()
DAutoInstallsLayout.java90 grid.numColumns, grid.numRows, grid.numHotseatIcons); in get()
98 grid.numColumns, grid.numRows); in get()
197 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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java101 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim()
121 addStaggeredAnimationForView(child, grid.inv.numRows + 1, totalRows); in StaggeredWorkspaceAnim()
125 addStaggeredAnimationForView(qsb, grid.inv.numRows + 2, totalRows); in StaggeredWorkspaceAnim()
/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.java205 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
216 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()
DBaseLoaderResults.java222 final int screenCellCount = profile.numColumns * profile.numRows; in sortWorkspaceItemsSpatially()
DAddWorkspaceItemsTask.java323 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
DGridSizeMigrationTask.java891 String gridSizeString = getPointString(idp.numColumns, idp.numRows);
928 Point targetSize = new Point(idp.numColumns, idp.numRows);
DLoaderCursor.java429 final int countY = mIDP.numRows; in checkItemPlacement()
/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.java1002 int numRows = (int) Math.ceil((float) getItemCount() / spanCount);
1004 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