Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java65 public int numRows; field in InvariantDeviceProfile
101 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, in InvariantDeviceProfile()
112 numRows = r; in InvariantDeviceProfile()
147 numRows = closestProfile.numRows; in InvariantDeviceProfile()
201 int numRows = a.getInt(R.styleable.InvariantDeviceProfile_numRows, 0); in getPredefinedDeviceProfiles() local
208 numRows, in getPredefinedDeviceProfiles()
210 a.getInt(R.styleable.InvariantDeviceProfile_numFolderRows, numRows), in getPredefinedDeviceProfiles()
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.java270 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions()
393 result.y = calculateCellHeight(availableHeightPx - padding.y, inv.numRows); in getCellSize()
431 - (2 * inv.numRows * cellHeightPx) - hotseatBarTopPaddingPx in getWorkspacePadding()
DAutoInstallsLayout.java86 (int) grid.numColumns, (int) grid.numRows, (int) grid.numHotseatIcons); in get()
94 (int) grid.numColumns, (int) grid.numRows); in get()
186 mRowCount = mIdp.numRows; in AutoInstallsLayout()
DLauncherAppWidgetProviderInfo.java82 idp.numRows); in initSpans()
DInstallShortcutReceiver.java477 widgetInfo.spanY = Math.min(info.spanY, idp.numRows); in getItemInfo()
DLauncherModel.java1398 final int screenCellCount = profile.numColumns * profile.numRows; in sortWorkspaceItemsSpatially()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java49 idp.numRows = 5; in setUp()
137 GridOccupancy occupancy = new GridOccupancy(idp.numColumns, idp.numRows); in setupWorkspaceWithHoles()
138 occupancy.markCells(0, 0, idp.numColumns, idp.numRows, true); in setupWorkspaceWithHoles()
147 for (int y = 0; y < idp.numRows; y++) { in setupWorkspaceWithHoles()
DLoaderCursorTest.java151 mIDP.numRows = 4; in checkItemPlacement_wrongWorkspaceScreen()
172 mIDP.numRows = 4; in checkItemPlacement_outsideBounds()
184 mIDP.numRows = 4; in checkItemPlacement_overlappingItems()
211 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/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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java194 int numRows; in delete() local
197 numRows = deleteBlockedNumber(selection, selectionArgs); in delete()
200 numRows = deleteBlockedNumberWithId(ContentUris.parseId(uri), selection); in delete()
207 return numRows; in delete()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
DBandController_GridModelTest.java307 int numRows = 0; in setupGrid() local
328 numRows++; in setupGrid()
331 return numRows; in setupGrid()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java51 new Point(idp.numColumns, idp.numRows + 1), in LossyScreenMigrationTask()
52 new Point(idp.numColumns, idp.numRows)); in LossyScreenMigrationTask()
/packages/apps/Settings/src/com/android/settings/
DConfirmLockPattern.java171 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
172 return (float)(numRows - row) / numRows; in onCreateView()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1238 int numRows = 0; in deleteMatchingEvents() local
1245 numRows += mResolver.delete(uri, null, null); in deleteMatchingEvents()
1248 return numRows; in deleteMatchingEvents()
1269 int numRows = 0; in updateMatchingEvents() local
1313 numRows += mResolver.update(uri, values, null, null); in updateMatchingEvents()
1316 return numRows; in updateMatchingEvents()
1333 int numRows = 0; in updateMatchingEventsStatusOnly() local
1338 numRows += mResolver.update(uri, values, null, null); in updateMatchingEventsStatusOnly()
1341 return numRows; in updateMatchingEventsStatusOnly()
/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.java196 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
207 mPendingWidgetInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java260 int numRows = (int) Math.ceil((float) getPageChildCount() / getCellCountX()); in onTouchEvent() local
261 if (numRows < getCellCountY()) { in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java41 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
DWidgetsModel.java145 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts()
DAddWorkspaceItemsTask.java258 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
DGridSizeMigrationTask.java900 String gridSizeString = getPointString(idp.numColumns, idp.numRows);
923 Point targetSize = new Point(idp.numColumns, idp.numRows);
DLoaderCursor.java436 final int countY = mIDP.numRows; in checkItemPlacement()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DInvariantDeviceProfileTest.java111 assertEquals(4, mInvariantProfile.numRows); in test_hammerhead()

12