Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
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()
DInvariantDeviceProfile.java56 public int numRows; field in InvariantDeviceProfile
91 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, in InvariantDeviceProfile()
107 numRows = r; in InvariantDeviceProfile()
140 numRows = closestProfile.numRows; in InvariantDeviceProfile()
DDeviceProfile.java179 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions()
308 - (int) (2 * inv.numRows * cellHeightPx)); in getWorkspacePadding()
DAutoInstallsLayout.java85 (int) grid.numColumns, (int) grid.numRows, (int) grid.numHotseatIcons); in get()
93 (int) grid.numColumns, (int) grid.numRows); in get()
DLauncherAppWidgetProviderInfo.java79 idp.numRows); in initSpans()
DLauncherModel.java411 final int yCount = (int) profile.numRows; in findNextAvailableIconSpaceInScreen()
1619 final int countY = profile.numRows; in checkItemPlacement()
1734 int countY = profile.numRows; in loadWorkspace()
2465 int cellCountY = (int) profile.numRows; in sortWorkspaceItemsSpatially()
DLauncherBackupHelper.java441 data.desktopRows = profile.numRows; in initDeviceProfileData()
DLauncherProvider.java1130 final int height = (int) profile.numRows; in migrateLauncher2Shortcuts()
DCellLayout.java198 mCountY = (int) grid.inv.numRows; in CellLayout()
DWorkspace.java2854 int countY = (int) inv.numRows;
/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/apps/Settings/src/com/android/settings/
DConfirmLockPattern.java170 public float getRowTranslationScale(int row, int numRows) { in onCreateView()
171 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/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/tests/src/com/android/launcher3/
DInvariantDeviceProfileTest.java109 assertEquals(mInvariantProfile.numRows, 4); in test_hammerhead()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java150 int vSpan = Math.min(info.spanY, profile.numRows); in applyFromAppWidgetProviderInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java126 minSpanY <= (int) idp.numRows) { in setWidgetsAndShortcuts()
DMigrateFromRestoreTask.java88 mTrgY = mIdp.numRows; in MigrateFromRestoreTask()