Home
last modified time | relevance | path

Searched refs:numColumns (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
DGridView.java174 int numColumns = a.getInt(R.styleable.GridView_numColumns, 1); in GridView() local
175 setNumColumns(numColumns); in GridView()
268 final int numColumns = mNumColumns; in fillGap() local
282 position += numColumns - 1; in fillGap()
285 correctTooHigh(numColumns, verticalSpacing, getChildCount()); in fillGap()
295 position -= numColumns; in fillGap()
300 correctTooLow(numColumns, verticalSpacing, getChildCount()); in fillGap()
476 final int numColumns = mNumColumns; in fillSelection() local
483 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection()
487 rowEnd = mItemCount - 1 - (invertedSelection - (invertedSelection % numColumns)); in fillSelection()
[all …]
DTableRow.java289 final int numColumns = getVirtualChildCount(); in getColumnsWidths() local
290 if (mColumnWidths == null || numColumns != mColumnWidths.length) { in getColumnsWidths()
291 mColumnWidths = new int[numColumns]; in getColumnsWidths()
296 for (int i = 0; i < numColumns; i++) { in getColumnsWidths()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp75 window->mHeader->numColumns, in create()
130 window->mHeader->numColumns, in createFromParcel()
159 mHeader->numColumns = 0; in clear()
166 status_t CursorWindow::setNumColumns(uint32_t numColumns) { in setNumColumns() argument
171 uint32_t cur = mHeader->numColumns; in setNumColumns()
172 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns()
173 ALOGE("Trying to go from %d columns to %d", cur, numColumns); in setNumColumns()
176 mHeader->numColumns = numColumns; in setNumColumns()
192 size_t fieldDirSize = mHeader->numColumns * sizeof(FieldSlot); in allocRow()
277 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h93 inline uint32_t getNumColumns() { return mHeader->numColumns; } in getNumColumns()
96 status_t setNumColumns(uint32_t numColumns);
152 uint32_t numColumns; member
/frameworks/base/location/java/android/location/
DGnssAntennaInfo.java202 int numColumns = in.readInt(); in SphericalCorrections() local
205 new double[numRows][numColumns]; in SphericalCorrections()
207 new double[numRows][numColumns]; in SphericalCorrections()
218 mNumColumns = numColumns; in SphericalCorrections()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp654 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
665 for (int i = 0; i < numColumns; i++) { in copyRow()
761 int numColumns = sqlite3_column_count(statement); in nativeExecuteForCursorWindow() local
762 status = window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
766 numColumns, status); in nativeExecuteForCursorWindow()
788 CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
794 window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
797 cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
/frameworks/base/core/tests/coretests/src/android/util/
DGridScenario.java176 public Params setNumColumns(int numColumns) { in setNumColumns() argument
177 mNumColumns = numColumns; in setNumColumns()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java442 final int numColumns = cursor.getColumnCount(); in cursorFillWindow() local
445 window.setNumColumns(numColumns); in cursorFillWindow()
451 for (int i = 0; i < numColumns; i++) { in cursorFillWindow()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt881 field public static final int numColumns = 16843032; // 0x1010118
/frameworks/base/api/
Dcurrent.txt996 field public static final int numColumns = 16843032; // 0x1010118