Searched refs:numColumns (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 137 int numColumns = a.getInt(com.android.internal.R.styleable.GridView_numColumns, 1); in GridView() local 138 setNumColumns(numColumns); in GridView() 231 final int numColumns = mNumColumns; in fillGap() local 245 position += numColumns - 1; in fillGap() 248 correctTooHigh(numColumns, verticalSpacing, getChildCount()); in fillGap() 258 position -= numColumns; in fillGap() 263 correctTooLow(numColumns, verticalSpacing, getChildCount()); in fillGap() 436 final int numColumns = mNumColumns; in fillSelection() local 443 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection() 447 rowEnd = mItemCount - 1 - (invertedSelection - (invertedSelection % numColumns)); in fillSelection() [all …]
|
D | TableRow.java | 289 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/ |
D | CursorWindow.cpp | 69 window->mHeader->numColumns, in create() 111 window->mHeader->numColumns, in createFromParcel() 140 mHeader->numColumns = 0; in clear() 147 status_t CursorWindow::setNumColumns(uint32_t numColumns) { in setNumColumns() argument 152 uint32_t cur = mHeader->numColumns; in setNumColumns() 153 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns() 154 ALOGE("Trying to go from %d columns to %d", cur, numColumns); in setNumColumns() 157 mHeader->numColumns = numColumns; in setNumColumns() 173 size_t fieldDirSize = mHeader->numColumns * sizeof(FieldSlot); in allocRow() 258 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot() [all …]
|
/frameworks/base/include/androidfw/ |
D | CursorWindow.h | 92 inline uint32_t getNumColumns() { return mHeader->numColumns; } in getNumColumns() 95 status_t setNumColumns(uint32_t numColumns); 150 uint32_t numColumns; member
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 575 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument 586 for (int i = 0; i < numColumns; i++) { in copyRow() 682 int numColumns = sqlite3_column_count(statement); in nativeExecuteForCursorWindow() local 683 status = window->setNumColumns(numColumns); in nativeExecuteForCursorWindow() 687 numColumns, status); in nativeExecuteForCursorWindow() 709 CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow() 715 window->setNumColumns(numColumns); in nativeExecuteForCursorWindow() 718 cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | GridScenario.java | 176 public Params setNumColumns(int numColumns) { in setNumColumns() argument 177 mNumColumns = numColumns; in setNumColumns()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 270 final int numColumns = cursor.getColumnCount(); in cursorFillWindow() local 273 window.setNumColumns(numColumns); in cursorFillWindow() 279 for (int i = 0; i < numColumns; i++) { in cursorFillWindow()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 51 android:numColumns="auto_fit"
|
/frameworks/base/docs/html/tools/sdk/ |
D | eclipse-adt.jd | 468 <li>Fixed preview error when using the {@code android:numColumns} attribute in a layout.
|
/frameworks/base/api/ |
D | current.txt | 776 field public static final int numColumns = 16843032; // 0x1010118
|