Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DGridView.java162 int numColumns = a.getInt(R.styleable.GridView_numColumns, 1); in GridView() local
163 setNumColumns(numColumns); in GridView()
256 final int numColumns = mNumColumns; in fillGap() local
270 position += numColumns - 1; in fillGap()
273 correctTooHigh(numColumns, verticalSpacing, getChildCount()); in fillGap()
283 position -= numColumns; in fillGap()
288 correctTooLow(numColumns, verticalSpacing, getChildCount()); in fillGap()
462 final int numColumns = mNumColumns; in fillSelection() local
469 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection()
473 rowEnd = mItemCount - 1 - (invertedSelection - (invertedSelection % numColumns)); in fillSelection()
[all …]
DTableRow.java288 final int numColumns = getVirtualChildCount(); in getColumnsWidths() local
289 if (mColumnWidths == null || numColumns != mColumnWidths.length) { in getColumnsWidths()
290 mColumnWidths = new int[numColumns]; in getColumnsWidths()
295 for (int i = 0; i < numColumns; i++) { in getColumnsWidths()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp69 window->mHeader->numColumns, in create()
116 window->mHeader->numColumns, in createFromParcel()
145 mHeader->numColumns = 0; in clear()
152 status_t CursorWindow::setNumColumns(uint32_t numColumns) { in setNumColumns() argument
157 uint32_t cur = mHeader->numColumns; in setNumColumns()
158 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns()
159 ALOGE("Trying to go from %d columns to %d", cur, numColumns); in setNumColumns()
162 mHeader->numColumns = numColumns; in setNumColumns()
178 size_t fieldDirSize = mHeader->numColumns * sizeof(FieldSlot); in allocRow()
263 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot()
[all …]
/frameworks/support/content/src/main/java/androidx/contentpager/content/
DInMemoryCursor.java97 int numColumns = cursor.getColumnCount(); in InMemoryCursor()
101 mColumnType = new int[numColumns]; in InMemoryCursor()
102 mTypedColumnIndex = new int[NUM_TYPES][numColumns]; in InMemoryCursor()
109 for (int col = 0; col < numColumns; col++) { in InMemoryCursor()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DVerticalGridView.java76 public void setNumColumns(int numColumns) { in setNumColumns() argument
77 mLayoutManager.setNumRows(numColumns); in setNumColumns()
DVerticalGridPresenter.java148 public void setNumberOfColumns(int numColumns) { in setNumberOfColumns() argument
149 if (numColumns < 0) { in setNumberOfColumns()
152 if (mNumColumns != numColumns) { in setNumberOfColumns()
153 mNumColumns = numColumns; in setNumberOfColumns()
/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/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DGridModelTest.java222 private void initData(final int numChildren, int numColumns) { in initData() argument
223 mHost = new TestHost(numChildren, numColumns); in initData()
236 mViewWidth = VIEW_PADDING_PX + numColumns * (VIEW_PADDING_PX + CHILD_VIEW_EDGE_PX); in initData()
317 TestHost(int numChildren, int numColumns) { in TestHost() argument
319 mNumColumns = numColumns; in TestHost()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp584 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
595 for (int i = 0; i < numColumns; i++) { in copyRow()
691 int numColumns = sqlite3_column_count(statement); in nativeExecuteForCursorWindow() local
692 status = window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
696 numColumns, status); in nativeExecuteForCursorWindow()
718 CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows); in nativeExecuteForCursorWindow()
724 window->setNumColumns(numColumns); in nativeExecuteForCursorWindow()
727 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.java268 final int numColumns = cursor.getColumnCount(); in cursorFillWindow() local
271 window.setNumColumns(numColumns); in cursorFillWindow()
277 for (int i = 0; i < numColumns; i++) { in cursorFillWindow()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java2570 final int numColumns = 3; in testNonFocusableHorizontal() local
2571 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableHorizontal()
2579 mNumRows = numColumns; in testNonFocusableHorizontal()
2735 final int numColumns = 3; in removeFocusableItemAndFocusableRecyclerViewGetsFocus() local
2744 mNumRows = numColumns; in removeFocusableItemAndFocusableRecyclerViewGetsFocus()
2774 final int numColumns = 3; in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus() local
2783 mNumRows = numColumns; in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus()
2817 final int numColumns = 3; in testNonFocusableVertical() local
2818 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableVertical()
2826 mNumRows = numColumns; in testNonFocusableVertical()
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt881 field public static final int numColumns = 16843032; // 0x1010118
/frameworks/base/config/
Dhiddenapi-public-dex.txt36354 Landroid/R$attr;->numColumns:I
/frameworks/base/api/
Dcurrent.txt955 field public static final int numColumns = 16843032; // 0x1010118