Home
last modified time | relevance | path

Searched refs:columnCount (Results 1 – 23 of 23) 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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTableLayoutBindingAdapter.java48 int columnCount = columns.size(); in setShrinkColumns() local
49 for (int i = 0; i < columnCount; i++) { in setShrinkColumns()
66 int columnCount = columns.size(); in setStretchColumns() local
67 for (int i = 0; i < columnCount; i++) { in setStretchColumns()
/frameworks/support/compat/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java67 public static Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
69 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical); in obtainCollectionInfo()
72 public static Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical) { in obtainCollectionInfo() argument
73 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical); in obtainCollectionInfo()
/frameworks/support/v7/gridlayout/
DREADME.txt36 …app:columnCount="6" > <===== notice how we're using app:columnCount
/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.java168 int columnCount = columns.length; in getColumnIndex() local
169 HashMap<String, Integer> map = new HashMap<String, Integer>(columnCount, 1); in getColumnIndex()
170 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/compat/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java42 public static Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
44 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical, in obtainCollectionInfo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java125 public void setColumnCount(int columnCount); in setColumnCount() argument
417 final int columnCount = Math.min(mSelectedPageCount, mColumnCount); in updatePreviewAreaPageSizeAndEmptyState() local
418 mPreviewArea.setColumnCount(columnCount); in updatePreviewAreaPageSizeAndEmptyState()
421 final int horizontalMargins = 2 * columnCount * mPreviewPageMargin; in updatePreviewAreaPageSizeAndEmptyState()
424 - horizontalPaddingAndMargins) / columnCount) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
439 final int totalContentWidth = columnCount * mPageContentWidth + horizontalMargins; in updatePreviewAreaPageSizeAndEmptyState()
442 final int rowCount = mSelectedPageCount / columnCount in updatePreviewAreaPageSizeAndEmptyState()
443 + ((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/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java260 final int columnCount = mPagedLayout.getColumnCount(); in isIconInAnimatedRow() local
261 return count < ((mNumQuickTiles + columnCount - 1) / columnCount) * columnCount; in isIconInAnimatedRow()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java596 int columnCount = data[pos + 4] & 0x3f; in parseC1() local
603 rowCount, columnCount, penStyle, windowStyle))); in parseC1()
612 relativePositioning, anchorHorizontal, rowCount, anchorId, columnCount, in parseC1()
994 public final int columnCount; field in Cea708CCParser.CaptionWindow
1001 int rowCount, int columnCount, int penStyle, int windowStyle) { in CaptionWindow() argument
1012 this.columnCount = columnCount; in CaptionWindow()
1914 int columnCount = captionWindow.columnCount + 1; in initWindow() local
1915 columnCount = Math.min(getScreenColumnCount(), columnCount); in initWindow()
1917 for (int i = 0; i < columnCount; ++i) { in initWindow()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java478 public static CollectionInfoCompat obtain(int rowCount, int columnCount, in obtain() argument
480 return new CollectionInfoCompat(IMPL.obtainCollectionInfo(rowCount, columnCount, in obtain()
493 public static CollectionInfoCompat obtain(int rowCount, int columnCount, in obtain() argument
495 return new CollectionInfoCompat(IMPL.obtainCollectionInfo(rowCount, columnCount, in obtain()
802 Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
804 Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical); in obtainCollectionInfo() argument
1262 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, in obtainCollectionInfo() argument
1268 public Object obtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical) { in obtainCollectionInfo() argument
1984 public Object obtainCollectionInfo(int rowCount, int columnCount, in obtainCollectionInfo() argument
1986 return AccessibilityNodeInfoCompatKitKat.obtainCollectionInfo(rowCount, columnCount, in obtainCollectionInfo()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3977 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3979 return obtain(rowCount, columnCount, hierarchical, SELECTION_MODE_NONE); in obtain()
3995 public static CollectionInfo obtain(int rowCount, int columnCount, in obtain() argument
3999 return new CollectionInfo(rowCount, columnCount, hierarchical, selectionMode); in obtain()
4003 info.mColumnCount = columnCount; in obtain()
4017 private CollectionInfo(int rowCount, int columnCount, boolean hierarchical, in CollectionInfo() argument
4020 mColumnCount = columnCount; in CollectionInfo()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java566 final int columnCount = cursor.getColumnCount(); in onExecute() local
567 for (int i = 0; i < columnCount; i++) { in onExecute()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1510 final int columnCount = projection.length; in normalizeProjection() local
1511 for (int i = 0; i < columnCount; i++) { in normalizeProjection()
1525 final int columnCount = cursor.getColumnCount(); in appendSettingToCursor() local
1527 String[] values = new String[columnCount]; in appendSettingToCursor()
1529 for (int i = 0; i < columnCount; i++) { in appendSettingToCursor()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java436 int columnCount = Math.max(2, in calculateColumnCount() local
439 return columnCount; in calculateColumnCount()
/frameworks/base/core/java/android/widget/
DGridLayout.java422 public void setColumnCount(int columnCount) { in setColumnCount() argument
423 mHorizontalAxis.setCount(columnCount); in setColumnCount()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java414 public void setColumnCount(int columnCount) { in setColumnCount() argument
415 mHorizontalAxis.setCount(columnCount); in setColumnCount()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt425 field public static final int columnCount = 16843639; // 0x1010377
/frameworks/base/api/
Dtest-current.txt401 field public static final int columnCount = 16843639; // 0x1010377
Dcurrent.txt401 field public static final int columnCount = 16843639; // 0x1010377
Dsystem-current.txt508 field public static final int columnCount = 16843639; // 0x1010377