Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DGridView.java175 int numColumns = a.getInt(R.styleable.GridView_numColumns, 1); in GridView() local
176 setNumColumns(numColumns); in GridView()
269 final int numColumns = mNumColumns; in fillGap() local
283 position += numColumns - 1; in fillGap()
286 correctTooHigh(numColumns, verticalSpacing, getChildCount()); in fillGap()
296 position -= numColumns; in fillGap()
301 correctTooLow(numColumns, verticalSpacing, getChildCount()); in fillGap()
477 final int numColumns = mNumColumns; in fillSelection() local
484 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection()
488 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/location/java/android/location/
DGnssAntennaInfo.java245 int numColumns = in.readInt(); in SphericalCorrections() local
248 new double[numRows][numColumns]; in SphericalCorrections()
250 new double[numRows][numColumns]; in SphericalCorrections()
253 for (int col = 0; col < numColumns; col++) { in SphericalCorrections()
260 mNumColumns = numColumns; in SphericalCorrections()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp273 status_t CursorWindow::setNumColumns(uint32_t numColumns) { in setNumColumns() argument
278 if ((cur > 0 || mNumRows > 0) && cur != numColumns) { in setNumColumns()
279 LOG(ERROR) << "Trying to go from " << cur << " columns to " << numColumns; in setNumColumns()
282 mNumColumns = numColumns; in setNumColumns()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp703 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
714 for (int i = 0; i < numColumns; i++) { in copyRow()
810 int numColumns = sqlite3_column_count(statement); in nativeExecuteForCursorWindow() local
811 status = window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
815 numColumns, status); in nativeExecuteForCursorWindow()
837 CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
843 window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
846 cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
/frameworks/base/core/tests/coretests/src/android/widget/
DGridScenario.java176 public Params setNumColumns(int numColumns) { in setNumColumns() argument
177 mNumColumns = numColumns; in setNumColumns()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h97 status_t setNumColumns(uint32_t numColumns);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java165 int numColumns = useSmallLandscapeLockscreenResources() in updateNumColumns() local
169 if (numColumns != mNumColumns) { in updateNumColumns()
170 mNumColumns = numColumns; in updateNumColumns()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java455 final int numColumns = cursor.getColumnCount(); in cursorFillWindow() local
458 window.setNumColumns(numColumns); in cursorFillWindow()
464 for (int i = 0; i < numColumns; i++) { in cursorFillWindow()
/frameworks/base/core/java/android/os/
DBatteryUsageStats.java1115 int numColumns = mBatteryConsumerDataLayout.columnCount; in dump() local
1118 for (int j = 0; j < numColumns; j++) { in dump()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt881 field public static final int numColumns = 16843032; // 0x1010118
/frameworks/base/core/api/
Dcurrent.txt1224 field public static final int numColumns = 16843032; // 0x1010118
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75532 Lcom/android/internal/R$attr;->numColumns:I