/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 65 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()
|
D | Partner.java | 118 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()
|
D | DeviceProfile.java | 270 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()
|
D | AutoInstallsLayout.java | 86 (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()
|
D | LauncherAppWidgetProviderInfo.java | 82 idp.numRows); in initSpans()
|
D | InstallShortcutReceiver.java | 477 widgetInfo.spanY = Math.min(info.spanY, idp.numRows); in getItemInfo()
|
D | LauncherModel.java | 1398 final int screenCellCount = profile.numColumns * profile.numRows; in sortWorkspaceItemsSpatially()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 49 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()
|
D | LoaderCursorTest.java | 151 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/ |
D | CaptureDataSerializer.java | 189 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/ |
D | AttachmentTileGrid.java | 173 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/ |
D | BlockedNumberProvider.java | 194 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/ |
D | BandController_GridModelTest.java | 307 int numRows = 0; in setupGrid() local 328 numRows++; in setupGrid() 331 return numRows; in setupGrid()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LossyScreenMigrationTask.java | 51 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/ |
D | ConfirmLockPattern.java | 171 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/ |
D | CalendarProvider2Test.java | 1238 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/ |
D | MoreKeysKeyboard.java | 89 final int numRows = (numKeys + numColumn - 1) / numColumn; in setParameters() local 90 mNumRows = numRows; in setParameters()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 196 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/ |
D | PagedViewCellLayout.java | 260 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/ |
D | WidgetItem.java | 41 spanY = Math.min(info.spanY, idp.numRows); in WidgetItem()
|
D | WidgetsModel.java | 145 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts()
|
D | AddWorkspaceItemsTask.java | 258 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
|
D | GridSizeMigrationTask.java | 900 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 923 Point targetSize = new Point(idp.numColumns, idp.numRows);
|
D | LoaderCursor.java | 436 final int countY = mIDP.numRows; in checkItemPlacement()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ |
D | InvariantDeviceProfileTest.java | 111 assertEquals(4, mInvariantProfile.numRows); in test_hammerhead()
|