/frameworks/base/core/java/android/widget/ |
D | GridView.java | 162 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 …]
|
D | TableRow.java | 288 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/ |
D | CursorWindow.cpp | 69 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/ |
D | InMemoryCursor.java | 97 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/ |
D | VerticalGridView.java | 76 public void setNumColumns(int numColumns) { in setNumColumns() argument 77 mLayoutManager.setNumRows(numColumns); in setNumColumns()
|
D | VerticalGridPresenter.java | 148 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/ |
D | CursorWindow.h | 93 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/ |
D | GridModelTest.java | 222 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/ |
D | android_database_SQLiteConnection.cpp | 584 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/ |
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 | 268 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/ |
D | GridWidgetTest.java | 2570 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/ |
D | android-22.txt | 881 field public static final int numColumns = 16843032; // 0x1010118
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 36354 Landroid/R$attr;->numColumns:I
|
/frameworks/base/api/ |
D | current.txt | 955 field public static final int numColumns = 16843032; // 0x1010118
|