/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 91 final int numColumns = isMoreKeysFixedColumn ? Math.min(numKeys, numColumn) in setParameters() local 93 mNumColumns = numColumns; in setParameters() 94 final int topKeys = numKeys % numColumns; in setParameters() 95 mTopKeys = topKeys == 0 ? numColumns : topKeys; in setParameters() 97 final int numLeftKeys = (numColumns - 1) / 2; in setParameters() 98 final int numRightKeys = numColumns - numLeftKeys; // including default key. in setParameters() 105 rightKeys = numColumns - leftKeys; in setParameters() 108 leftKeys = numColumns - rightKeys; in setParameters() 217 private static int getTopRowEmptySlots(final int numKeys, final int numColumns) { in getTopRowEmptySlots() argument 218 final int remainings = numKeys % numColumns; in getTopRowEmptySlots() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 119 int numColumns = -1; in applyInvariantDeviceProfileOverrides() local 132 numColumns = getResources().getInteger(resId); in applyInvariantDeviceProfileOverrides() 146 if (numRows > 0 && numColumns > 0) { in applyInvariantDeviceProfileOverrides() 148 inv.numColumns = numColumns; in applyInvariantDeviceProfileOverrides()
|
D | InvariantDeviceProfile.java | 56 public int numColumns; field in InvariantDeviceProfile 90 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, in InvariantDeviceProfile() 107 numColumns = c; in InvariantDeviceProfile() 140 numColumns = closestProfile.numColumns; in InvariantDeviceProfile()
|
D | DeviceProfile.java | 316 (inv.numColumns * cellWidthPx)) / (2 * (inv.numColumns + 1))); in getSearchBarBounds() 352 int availablePaddingX = Math.max(0, width - (int) ((inv.numColumns * cellWidthPx) + in getWorkspacePadding() 353 ((inv.numColumns - 1) * gapScale * cellWidthPx))); in getWorkspacePadding() 492 float workspaceCellWidth = (float) getCurrentWidth() / inv.numColumns; in layout()
|
D | AutoInstallsLayout.java | 85 (int) grid.numColumns, (int) grid.numRows, (int) grid.numHotseatIcons); in get() 93 (int) grid.numColumns, (int) grid.numRows); in get() 187 mColumnCount = idp.numColumns; in AutoInstallsLayout()
|
D | LauncherAppWidgetProviderInfo.java | 75 idp.numColumns); in initSpans()
|
D | LauncherModel.java | 407 final int xCount = (int) profile.numColumns; in findNextAvailableIconSpaceInScreen() 1621 final int countX = profile.numColumns; in checkItemPlacement() 1736 int countX = profile.numColumns; in loadWorkspace() 2474 int cellCountX = (int) profile.numColumns; in sortWorkspaceItemsSpatially()
|
D | LauncherProvider.java | 1173 final int width = (int) profile.numColumns; in migrateLauncher2Shortcuts()
|
D | LauncherBackupHelper.java | 442 data.desktopCols = profile.numColumns; in initDeviceProfileData()
|
D | CellLayout.java | 198 mCountX = (int) grid.inv.numColumns; in CellLayout()
|
D | Workspace.java | 2973 int countX = (int) inv.numColumns;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 181 int numColumns = getNumColumns(); in setAdapter() local 182 if (numColumns > 1) { in setAdapter() 183 hadapter.setNumColumns(numColumns); in setAdapter() 251 public void setNumColumns(int numColumns) { in setNumColumns() argument 252 if (numColumns < 1) { in setNumColumns() 255 if (mNumColumns != numColumns) { in setNumColumns() 256 mNumColumns = numColumns; in setNumColumns()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 526 int numColumns = c1.getColumnCount(); in compareCursors() local 527 if (numColumns != c2.getColumnCount()) { in compareCursors() 528 Log.d("CDBT","c1 has " + numColumns + " columns and c2 has " + c2.getColumnCount()); in compareCursors() 540 for(int i = 0; i < numColumns; i++) { in compareCursors()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | CompactPhotoSelectionFragment.java | 315 final float numColumns = outMetrics.widthPixels / in onCreateView() local 317 mGridView.setNumColumns(Math.round(numColumns)); in onCreateView()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 928 private int numColumns(int row) { in numColumns() method in ImageBlockManager 941 int cols = numColumns(row); in drawEmptyBlock() 1015 int columns = numColumns(mRow); in loadImages() 1110 int cols = numColumns(mRow); in doDraw()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 477 int numColumns = cursor.getColumnCount(); in matrixCursorFromCursor() local 478 String data[] = new String[numColumns]; in matrixCursorFromCursor() 481 for (int i = 0; i < numColumns; i++) { in matrixCursorFromCursor() 500 int numColumns = c1.getColumnCount(); in compareCursors() local 501 if (numColumns != c2.getColumnCount()) { in compareCursors() 512 for (int i = 0; i < numColumns; i++) { in compareCursors()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ |
D | InvariantDeviceProfileTest.java | 112 assertEquals(4, mInvariantProfile.numColumns); in test_hammerhead()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 149 int hSpan = Math.min(info.spanX, profile.numColumns); in applyFromAppWidgetProviderInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 420 final int numColumns = (int)(mParams.mOccupiedWidth / keyWidth); in parseGridRows() local 421 for (int index = 0; index < counts; index += numColumns) { in parseGridRows() 424 for (int c = 0; c < numColumns; c++) { in parseGridRows()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 165 if (minSpanX <= (int) idp.numColumns && in setWidgetsAndShortcuts()
|
D | GridSizeMigrationTask.java | 908 String gridSizeString = getPointString(idp.numColumns, idp.numRows); 948 Point targetSize = new Point(idp.numColumns, idp.numRows);
|