Home
last modified time | relevance | path

Searched refs:columnCount (Results 1 – 15 of 15) 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.java39 public static Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
41 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/support/v7/gridlayout/
DREADME.txt36 …app:columnCount="6" > <===== notice how we're using app:columnCount
/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/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.java121 public void setColumnCount(int columnCount); in setColumnCount() argument
393 final int columnCount = Math.min(mSelectedPageCount, mColumnCount); in updatePreviewAreaPageSizeAndEmptyState() local
394 mPreviewArea.setColumnCount(columnCount); in updatePreviewAreaPageSizeAndEmptyState()
397 final int horizontalMargins = 2 * columnCount * mPreviewPageMargin; in updatePreviewAreaPageSizeAndEmptyState()
400 - horizontalPaddingAndMargins) / columnCount) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
415 final int totalContentWidth = columnCount * mPageContentWidth + horizontalMargins; in updatePreviewAreaPageSizeAndEmptyState()
418 final int rowCount = mSelectedPageCount / columnCount in updatePreviewAreaPageSizeAndEmptyState()
419 + ((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()
217 public void setColumnCount(int columnCount) { in setColumnCount() argument
218 mLayoutManger.setSpanCount(columnCount); in setColumnCount()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java80 public static CollectionInfoCompat obtain(int rowCount, int columnCount, in obtain() argument
82 return new CollectionInfoCompat(IMPL.obtainCollectionInfo(rowCount, columnCount, in obtain()
250 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
619 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
1022 public Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
1024 return AccessibilityNodeInfoCompatKitKat.obtainCollectionInfo(rowCount, columnCount, in obtainCollectionInfo()
1098 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
1100 return AccessibilityNodeInfoCompatApi21.obtainCollectionInfo(rowCount, columnCount, in obtainCollectionInfo()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3548 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3550 return obtain(rowCount, columnCount, hierarchical, SELECTION_MODE_NONE); in obtain()
3566 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3570 return new CollectionInfo(rowCount, columnCount, hierarchical, selectionMode); in obtain()
3574 info.mColumnCount = columnCount; in obtain()
3588 private CollectionInfo(int rowCount, int columnCount, boolean hierarchical, in CollectionInfo() argument
3591 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.java412 public void setColumnCount(int columnCount) { in setColumnCount() argument
413 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/
Dcurrent.txt421 field public static final int columnCount = 16843639; // 0x1010377