Searched refs:columnIndex (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/database/
H A DAbstractWindowedCursor.java43 public byte[] getBlob(int columnIndex) { argument
45 return mWindow.getBlob(mPos, columnIndex);
49 public String getString(int columnIndex) { argument
51 return mWindow.getString(mPos, columnIndex);
55 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { argument
57 mWindow.copyStringToBuffer(mPos, columnIndex, buffer);
61 public short getShort(int columnIndex) { argument
63 return mWindow.getShort(mPos, columnIndex);
67 public int getInt(int columnIndex) { argument
69 return mWindow.getInt(mPos, columnIndex);
73 getLong(int columnIndex) argument
79 getFloat(int columnIndex) argument
85 getDouble(int columnIndex) argument
91 isNull(int columnIndex) argument
100 isBlob(int columnIndex) argument
108 isString(int columnIndex) argument
116 isLong(int columnIndex) argument
124 isFloat(int columnIndex) argument
129 getType(int columnIndex) argument
[all...]
H A DCursor.java198 * @param columnIndex the zero-based index of the target column.
201 String getColumnName(int columnIndex); argument
224 * @param columnIndex the zero-based index of the target column.
227 byte[] getBlob(int columnIndex); argument
236 * @param columnIndex the zero-based index of the target column.
239 String getString(int columnIndex); argument
245 * @param columnIndex the zero-based index of the target column.
249 void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer); argument
259 * @param columnIndex the zero-based index of the target column.
262 short getShort(int columnIndex); argument
275 getInt(int columnIndex) argument
288 getLong(int columnIndex) argument
301 getFloat(int columnIndex) argument
314 getDouble(int columnIndex) argument
335 getType(int columnIndex) argument
343 isNull(int columnIndex) argument
[all...]
H A DCursorWrapper.java91 public String getColumnName(int columnIndex) { argument
92 return mCursor.getColumnName(columnIndex);
101 public double getDouble(int columnIndex) { argument
102 return mCursor.getDouble(columnIndex);
116 public float getFloat(int columnIndex) { argument
117 return mCursor.getFloat(columnIndex);
121 public int getInt(int columnIndex) { argument
122 return mCursor.getInt(columnIndex);
126 public long getLong(int columnIndex) { argument
127 return mCursor.getLong(columnIndex);
131 getShort(int columnIndex) argument
136 getString(int columnIndex) argument
141 copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) argument
146 getBlob(int columnIndex) argument
176 getType(int columnIndex) argument
181 isNull(int columnIndex) argument
[all...]
H A DAbstractCursor.java190 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { argument
192 String result = getString(columnIndex);
347 public String getColumnName(int columnIndex) { argument
348 return getColumnNames()[columnIndex];
446 protected boolean isFieldUpdated(int columnIndex) { argument
454 protected Object getUpdatedField(int columnIndex) { argument
/frameworks/base/test-mock/src/android/test/mock/
H A DMockCursor.java57 public String getColumnName(int columnIndex) { argument
72 public boolean isNull(int columnIndex) { argument
77 public int getInt(int columnIndex) { argument
82 public long getLong(int columnIndex) { argument
87 public short getShort(int columnIndex) { argument
92 public float getFloat(int columnIndex) { argument
97 public double getDouble(int columnIndex) { argument
102 public byte[] getBlob(int columnIndex) { argument
107 public String getString(int columnIndex) { argument
177 public void copyStringToBuffer(int columnIndex, CharArrayBuffe argument
244 getType(int columnIndex) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java192 int columnIndex;
195 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME);
196 if (columnIndex != -1) {
197 info.name = cursor.getString(columnIndex);
201 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER);
202 if (columnIndex != -1) {
203 info.phoneNumber = cursor.getString(columnIndex);
207 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER);
208 if (columnIndex != -1) {
209 info.normalizedNumber = cursor.getString(columnIndex);
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpTableModel.java77 public Object getValueAt(int rowIndex, int columnIndex) { argument
79 switch (columnIndex) {
90 throw new IndexOutOfBoundsException(String.valueOf(columnIndex));
/frameworks/base/core/java/android/widget/
H A DTableLayout.java155 int columnIndex = Integer.parseInt(columnIdentifier);
157 if (columnIndex >= 0) {
160 columns.put(columnIndex, true);
283 * @param columnIndex the index of the column
288 public void setColumnCollapsed(int columnIndex, boolean isCollapsed) { argument
290 mCollapsedColumns.put(columnIndex, isCollapsed);
296 ((TableRow) view).setColumnCollapsed(columnIndex, isCollapsed);
306 * @param columnIndex the index of the column
309 public boolean isColumnCollapsed(int columnIndex) { argument
310 return mCollapsedColumns.get(columnIndex);
325 setColumnStretchable(int columnIndex, boolean isStretchable) argument
336 isColumnStretchable(int columnIndex) argument
352 setColumnShrinkable(int columnIndex, boolean isShrinkable) argument
363 isColumnShrinkable(int columnIndex) argument
[all...]
H A DSimpleCursorAdapter.java393 * @param columnIndex the column at which the data can be found in the cursor
397 boolean setViewValue(View view, Cursor cursor, int columnIndex); argument
H A DSimpleCursorTreeAdapter.java320 * @param columnIndex the column at which the data can be found in the cursor
324 boolean setViewValue(View view, Cursor cursor, int columnIndex); argument
H A DTableRow.java96 * @param columnIndex the index of the column
100 void setColumnCollapsed(int columnIndex, boolean collapsed) { argument
101 final View child = getVirtualChildAt(columnIndex);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java163 public int getInt(int columnIndex) {
164 TestCase.assertEquals(0, columnIndex);
171 public long getLong(int columnIndex) {
172 return getInt(columnIndex);
176 public String getString(int columnIndex) {
177 return String.valueOf(getInt(columnIndex));
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTableLayoutBindingAdapter.java86 int columnIndex = Integer.parseInt(columnIdentifier);
88 if (columnIndex >= 0) {
91 columns.put(columnIndex, true);
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
H A Djdbc_ext.kt51 private fun PreparedStatement.tryGetAffinity(columnIndex: Int): SQLTypeAffinity {
53 SQLTypeAffinity.valueOf(metaData.getColumnTypeName(columnIndex).capitalize())
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
H A DPicker.java290 * @param columnIndex Index of column to update.
293 public void setColumnAt(int columnIndex, PickerColumn column) { argument
294 mColumns.set(columnIndex, column);
295 VerticalGridView columnView = mColumnViews.get(columnIndex);
306 * @param columnIndex Index of column to update.
310 public void setColumnValue(int columnIndex, int value, boolean runAnimation) { argument
311 PickerColumn column = mColumns.get(columnIndex);
314 notifyValueChanged(columnIndex);
315 VerticalGridView columnView = mColumnViews.get(columnIndex);
317 int position = value - mColumns.get(columnIndex)
327 notifyValueChanged(int columnIndex) argument
419 onColumnValueChanged(int columnIndex, int newValue) argument
685 setSelectedColumn(int columnIndex) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java1494 public int getInt(int columnIndex) { argument
1495 return (int) getLong(columnIndex);
1499 public long getLong(int columnIndex) { argument
1500 if (getColumnName(columnIndex).equals(COLUMN_REASON)) {
1502 } else if (getColumnName(columnIndex).equals(COLUMN_STATUS)) {
1505 return super.getLong(columnIndex);
1510 public String getString(int columnIndex) { argument
1511 final String columnName = getColumnName(columnIndex);
1522 return super.getString(columnIndex);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS);
443 int value = cursor.getInt(columnIndex);
454 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS);
455 value = cursor.getInt(columnIndex);
H A DDownloadManagerTestApp.java192 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS);
193 int status = cursor.getInt(columnIndex);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java305 Cursor c, int columnIndex,
307 String s = c.getString(columnIndex);
318 Cursor c, int columnIndex,
320 String s = c.getString(columnIndex);
327 Cursor c, int columnIndex,
329 if (!c.isNull(columnIndex)) {
330 int b = c.getInt(columnIndex);
336 Cursor c, int columnIndex,
338 if (!c.isNull(columnIndex)) {
339 long l = c.getLong(columnIndex);
304 setEncodedStringValueToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
317 setTextStringToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
326 setOctetToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
335 setLongToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
344 getIntegerFromPartColumn(Cursor c, int columnIndex) argument
351 getByteArrayFromPartColumn(Cursor c, int columnIndex) argument
[all...]
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java640 final int columnIndex = cursor.getColumnIndex(columnName);
641 final int type = cursor.getType(columnIndex);
644 columnValue = String.valueOf(cursor.getFloat(columnIndex));
647 columnValue = String.valueOf(cursor.getLong(columnIndex));
650 columnValue = cursor.getString(columnIndex);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/
H A DGuidedDatePickerTest.java95 int columnIndex = -1;
98 columnIndex = mColDayIndex;
101 columnIndex = mColMonthIndex;
104 columnIndex = mColYearIndex;
106 return columnIndex;
111 int columnIndex = getColumnIndexForDateField(field, columnIndices);
137 int horizontalScrollOffset = columnIndex - focusedFieldPos;
165 int columnIndex = getColumnIndexForDateField(field, columnIndices);
183 int currentColumnVal = pickerView.getColumnAt(columnIndex).getCurrentValue();
205 currentColumnVal = pickerView.getColumnAt(columnIndex)
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java803 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS);
804 int value = cursor.getInt(columnIndex);
815 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS);
816 value = cursor.getInt(columnIndex);
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DSimpleCursorAdapter.java383 * @param columnIndex the column at which the data can be found in the cursor
387 boolean setViewValue(View view, Cursor cursor, int columnIndex); argument
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DGridModel.java374 private boolean isPossiblePositionNearestOrigin(int columnIndex, int columnStartIndex, argument
379 return columnIndex == columnStartIndex && rowIndex == rowStartIndex;
381 return columnIndex == columnEndIndex && rowIndex == rowStartIndex;
383 return columnIndex == columnStartIndex && rowIndex == rowEndIndex;
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityNodeInfoCompat.java643 * @param columnIndex The column index at which the item is located.
652 int columnIndex, int columnSpan, boolean heading, boolean selected) {
655 rowIndex, rowSpan, columnIndex, columnSpan, heading, selected));
658 rowIndex, rowSpan, columnIndex, columnSpan, heading));
669 * @param columnIndex The column index at which the item is located.
677 int columnIndex, int columnSpan, boolean heading) {
680 rowIndex, rowSpan, columnIndex, columnSpan, heading));
651 obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected) argument
676 obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading) argument

Completed in 686 milliseconds

12