Home | History | Annotate | Download | only in account

Lines Matching refs:DataKind

33 import com.android.contacts.common.model.dataitem.DataKind;
51 /** {@link Comparator} to sort by {@link DataKind#weight}. */
52 private static Comparator<DataKind> sWeightComparator =
53 new Comparator<DataKind>() {
55 public int compare(DataKind object1, DataKind object2) {
86 /** Set of {@link DataKind} supported by this source. */
87 private ArrayList<DataKind> mKinds = new ArrayList<>();
88 /** Lookup map of {@link #mKinds} on {@link DataKind#mimeType}. */
89 private Map<String, DataKind> mMimeKinds = new ArrayMap<>();
268 /** Return list of {@link DataKind} supported, sorted by {@link DataKind#weight}. */
269 public ArrayList<DataKind> getSortedDataKinds() {
275 /** Find the {@link DataKind} for a specific MIME-type, if it's handled by this data source. */
276 public DataKind getKindForMimetype(String mimeType) {
280 /** Add given {@link DataKind} to list of those provided by this source. */
281 public DataKind addKind(DataKind kind) throws DefinitionException {
317 * Description of a specific "type" or "label" of a {@link DataKind} row, such as {@link
329 * @see DataKind#typeOverallMax
410 * Description of a user-editable field on a {@link DataKind} row, such as {@link Phone#NUMBER}.