Searched refs:fieldType (Results 1 – 3 of 3) sorted by relevance
126 int fieldType = cursor.getType(i); in objectArrayFromCursor() local127 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()
483 Class<?> fieldType = field.getType(); in parseColumnInfo() local484 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()
494 private static void setContactFields(String fieldType, String contactId, String data) { in setContactFields() argument502 switch (fieldType) { in setContactFields()