Home
last modified time | relevance | path

Searched refs:fieldType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java126 int fieldType = cursor.getType(i); in objectArrayFromCursor() local
127 if (fieldType == Cursor.FIELD_TYPE_BLOB) { in objectArrayFromCursor()
129 } else if (fieldType == Cursor.FIELD_TYPE_FLOAT) { in objectArrayFromCursor()
131 } else if (fieldType == Cursor.FIELD_TYPE_INTEGER) { in objectArrayFromCursor()
133 } else if (fieldType == Cursor.FIELD_TYPE_STRING) { in objectArrayFromCursor()
135 } else if (fieldType == Cursor.FIELD_TYPE_NULL) { in objectArrayFromCursor()
138 throw new IllegalStateException("Unknown fieldType (" + fieldType + ") for column: " + i); in objectArrayFromCursor()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java483 Class<?> fieldType = field.getType(); in parseColumnInfo() local
484 if (fieldType == String.class) { in parseColumnInfo()
486 } else if (fieldType == boolean.class) { in parseColumnInfo()
488 } else if (fieldType == short.class) { in parseColumnInfo()
490 } else if (fieldType == int.class) { in parseColumnInfo()
492 } else if (fieldType == long.class) { in parseColumnInfo()
494 } else if (fieldType == float.class) { in parseColumnInfo()
496 } else if (fieldType == double.class) { in parseColumnInfo()
498 } else if (fieldType == byte[].class) { in parseColumnInfo()
502 "Unsupported field type for column: " + fieldType.getName()); in parseColumnInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java494 private static void setContactFields(String fieldType, String contactId, String data) { in setContactFields() argument
502 switch (fieldType) { in setContactFields()