Home | History | Annotate | Download | only in model

Lines Matching defs:DataKind

67      * Set of {@link DataKind} supported by this source.
69 private ArrayList<DataKind> mKinds = Lists.newArrayList();
72 * Lookup map of {@link #mKinds} on {@link DataKind#mimeType}.
74 private HashMap<String, DataKind> mMimeKinds = Maps.newHashMap();
146 * {@link Comparator} to sort by {@link DataKind#weight}.
148 private static Comparator<DataKind> sWeightComparator = new Comparator<DataKind>() {
149 public int compare(DataKind object1, DataKind object2) {
155 * Return list of {@link DataKind} supported, sorted by
156 * {@link DataKind#weight}.
158 public ArrayList<DataKind> getSortedDataKinds() {
165 * Find the {@link DataKind} for a specific MIME-type, if it's handled by
166 * this data source. If you may need a fallback {@link DataKind}, use
169 public DataKind getKindForMimetype(String mimeType) {
174 * Add given {@link DataKind} to list of those provided by this source.
176 public DataKind addKind(DataKind kind) {
189 public static class DataKind {
215 * If {@link DataKind#isList} is false, this value is ignored.
224 public DataKind() {
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) {
239 * Description of a specific "type" or "label" of a {@link DataKind} row,
290 * Description of a user-editable field on a {@link DataKind} row, such as