Home
last modified time | relevance | path

Searched refs:cols (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DGridOption.java52 public final int cols; field in GridOption
57 public GridOption(String title, String name, boolean isCurrent, int rows, int cols, in GridOption() argument
62 mTileDrawable = new GridTileDrawable(rows, cols, mIconShapePath); in GridOption()
65 this.cols = cols; in GridOption()
80 cols = in.readInt(); in GridOption()
83 mTileDrawable = new GridTileDrawable(rows, cols, mIconShapePath); in GridOption()
110 && this.cols == other.cols in equals()
133 parcel.writeInt(cols); in writeToParcel()
143 title, mIsCurrent, mTileDrawable, name, rows, cols, previewImageUri, in toString()
DLauncherGridOptionsProvider.java95 int cols = c.getInt(c.getColumnIndex(COL_COLS)); in fetch() local
98 String title = mContext.getString(R.string.grid_title_pattern, cols, rows); in fetch()
99 mOptions.add(new GridOption(title, name, isSet, rows, cols, in fetch()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DGridOccupancyTest.java59 int cols = cells.length / rows; in initGrid() local
61 GridOccupancy grid = new GridOccupancy(cols, rows); in initGrid()
63 for (int x = 0; x < cols; x++) { in initGrid()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) in db_PrintDoubleMatrix() argument
172 for(long j=0;j<cols;j++) printf("%lf ",a[i*cols+j]); in db_PrintDoubleMatrix()
Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs()
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) in db_SymmetricExtendUpperToLower() argument
Ddb_utilities.h556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/apps/ThemePicker/src/com/android/customization/widget/
DGridTileDrawable.java31 public GridTileDrawable(int cols, int rows, String path) { in GridTileDrawable() argument
32 mCols = cols; in GridTileDrawable()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/domain/interactor/
DGridInteractor.kt96 cols = option.cols, in <lambda>()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt263 cols: Int = 4, in initializeVarsForTwoPanel()
280 numColumns = cols in initializeVarsForTwoPanel()
281 numSearchContainerColumns = cols in initializeVarsForTwoPanel()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java53 String [] cols = new String [] { "_id", "title", "package", "name" }; in onCreate() local
54 MatrixCursor c = new MatrixCursor(cols); in onCreate()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java941 int cols = numColumns(row); in drawEmptyBlock() local
943 for (int i = 0; i < cols; i++) { in drawEmptyBlock()
1110 int cols = numColumns(mRow); in doDraw() local
1112 if (cols == mColumns) { in doDraw()
1122 + cols * (mSpec.mCellWidth + mSpec.mCellSpacing); in doDraw()
1130 int isEmpty = ((1 << cols) - 1) & ~mCompletedMask; in doDraw()
1136 for (int i = 0; i < cols; i++) { in doDraw()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/data/repository/
DGridRepository.kt108 cols = option.cols, in toModel()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMatrix.java33 public Matrix(int rows, int cols) { in Matrix() argument
35 m = cols; in Matrix()
36 mem = new double[rows * cols]; in Matrix()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java203 int cols = getColCount(); in getNearestIndex() local
210 int col = (int) (x / width * cols); in getNearestIndex()
213 } else if (col >= cols) { in getNearestIndex()
214 col = cols - 1; in getNearestIndex()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/shared/model/
DGridOptionItemModel.kt24 val cols: Int, constant in com.android.customization.picker.grid.shared.model.GridOptionItemModel
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/grid/data/repository/
DFakeGridRepository.kt85 cols = 4, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ui/viewmodel/
DGridScreenViewModel.kt70 columns = option.cols, in <lambda>()
/packages/modules/adb/daemon/
Dshell_service.cpp685 int rows, cols, x_pixels, y_pixels; in PassInput() local
687 &rows, &cols, &x_pixels, &y_pixels) == 4) { in PassInput()
690 ws.ws_col = cols; in PassInput()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java273 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary() local
275 cols, Data._ID + "=?", mSelectionArgs1, null, null, null); in handlePrimaryAndSuperPrimary()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/
DHotseatWidthCalculationTest.kt173 initializeVarsForTwoPanel(isGestureMode = false, isLandscape = false, rows = 5, cols = 5) in increase_span_when_space_between_icons_is_less_than_minimum()
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DHotseatWidthCalculationTest.kt194 initializeVarsForTwoPanel(isGestureMode = false, isLandscape = false, rows = 5, cols = 5) in increase_span_when_space_between_icons_is_less_than_minimum()
/packages/apps/ThemePicker/src/com/android/customization/module/logging/
DThemesUserEventLoggerImpl.kt242 return cols * 100 + rows in GridOption()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1804 final String[] cols = cursor.getColumnNames();
1809 for (int i = 0; i < cols.length; i++) {
1811 if (Downloads.Impl.COLUMN_COOKIE_DATA.equals(cols[i])) {
1814 pw.printPair(cols[i], cursor.getString(i));
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1148 String[] cols = cursor.getColumnNames(); in dumpCursor() local
1154 for (int i = 0; i < cols.length; i++) { in dumpCursor()
1155 Log.i(TAG, " " + cols[i] + '=' + cursor.getString(i)); in dumpCursor()
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12