Home
last modified time | relevance | path

Searched refs:columnCount (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/database/
DMatrixCursor.java31 private final int columnCount; field in MatrixCursor
42 this.columnCount = columnNames.length; in MatrixCursor()
48 this.data = new Object[columnCount * initialCapacity]; in MatrixCursor()
65 if (column < 0 || column >= columnCount) { in get()
67 + column + ", # of columns: " + columnCount); in get()
75 return data[mPos * columnCount + column]; in get()
87 final int endIndex = rowCount * columnCount; in newRow()
102 if (columnValues.length != columnCount) { in addRow()
104 + columnCount + ", columnValues.length = " in addRow()
108 int start = rowCount++ * columnCount; in addRow()
[all …]
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java37 public static Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
39 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical, in obtainCollectionInfo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java45 public void setColumnCount(int columnCount) { in setColumnCount() argument
46 if (mColumnCount != columnCount) { in setColumnCount()
47 mColumnCount = columnCount; in setColumnCount()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java169 int columnCount = columns.length; in getColumnIndex() local
170 HashMap<String, Integer> map = new HashMap<String, Integer>(columnCount, 1); in getColumnIndex()
171 for (int i = 0; i < columnCount; i++) { in getColumnIndex()
DSQLiteConnection.java506 final int columnCount = nativeGetColumnCount( in prepare() local
508 if (columnCount == 0) { in prepare()
511 outStatementInfo.columnNames = new String[columnCount]; in prepare()
512 for (int i = 0; i < columnCount; i++) { in prepare()
/frameworks/support/v7/gridlayout/
DREADME.txt36 …app:columnCount="6" > <===== notice how we're using app:columnCount
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java55 public static Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
57 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical); in obtainCollectionInfo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java122 public void setColumnCount(int columnCount); in setColumnCount() argument
402 final int columnCount = Math.min(mSelectedPageCount, mColumnCount); in updatePreviewAreaPageSizeAndEmptyState() local
403 mPreviewArea.setColumnCount(columnCount); in updatePreviewAreaPageSizeAndEmptyState()
406 final int horizontalMargins = 2 * columnCount * mPreviewPageMargin; in updatePreviewAreaPageSizeAndEmptyState()
409 - horizontalPaddingAndMargins) / columnCount) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
424 final int totalContentWidth = columnCount * mPageContentWidth + horizontalMargins; in updatePreviewAreaPageSizeAndEmptyState()
427 final int rowCount = mSelectedPageCount / columnCount in updatePreviewAreaPageSizeAndEmptyState()
428 + ((mSelectedPageCount % columnCount) > 0 ? 1 : 0); in updatePreviewAreaPageSizeAndEmptyState()
DPrintPreviewController.java72 final int columnCount = mActivity.getResources().getInteger( in PrintPreviewController() local
75 mLayoutManger = new GridLayoutManager(mActivity, columnCount); in PrintPreviewController()
212 public void setColumnCount(int columnCount) { in setColumnCount() argument
213 mLayoutManger.setSpanCount(columnCount); in setColumnCount()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java90 public static CollectionInfoCompat obtain(int rowCount, int columnCount, in obtain() argument
92 return new CollectionInfoCompat(IMPL.obtainCollectionInfo(rowCount, columnCount, in obtain()
263 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
654 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
1076 public Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
1078 return AccessibilityNodeInfoCompatKitKat.obtainCollectionInfo(rowCount, columnCount, in obtainCollectionInfo()
1157 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
1159 return AccessibilityNodeInfoCompatApi21.obtainCollectionInfo(rowCount, columnCount, in obtainCollectionInfo()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3674 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3676 return obtain(rowCount, columnCount, hierarchical, SELECTION_MODE_NONE); in obtain()
3692 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3696 return new CollectionInfo(rowCount, columnCount, hierarchical, selectionMode); in obtain()
3700 info.mColumnCount = columnCount; in obtain()
3714 private CollectionInfo(int rowCount, int columnCount, boolean hierarchical, in CollectionInfo() argument
3717 mColumnCount = columnCount; in CollectionInfo()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java548 final int columnCount = cursor.getColumnCount(); in onExecute() local
549 for (int i = 0; i < columnCount; i++) { in onExecute()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java411 public void setColumnCount(int columnCount) { in setColumnCount() argument
412 mHorizontalAxis.setCount(columnCount); in setColumnCount()
/frameworks/base/core/java/android/widget/
DGridLayout.java422 public void setColumnCount(int columnCount) { in setColumnCount() argument
423 mHorizontalAxis.setCount(columnCount); in setColumnCount()
/frameworks/base/api/
Dsystem-current.txt495 field public static final int columnCount = 16843639; // 0x1010377
Dcurrent.txt425 field public static final int columnCount = 16843639; // 0x1010377