Home
last modified time | relevance | path

Searched refs:mKind (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java76 private DataKind mKind; field in LabeledEditorView
280 return mKind; in getKind()
304 getContext().getString(mKind.titleRes))); in rebuildLabel()
306 if (mType != null && mType.labelRes > 0 && mKind.titleRes > 0) { in rebuildLabel()
311 getContext().getString(mKind.titleRes))); in rebuildLabel()
312 } else if (mKind.titleRes > 0) { in rebuildLabel()
315 getContext().getString(mKind.titleRes))); in rebuildLabel()
394 setValues(mKind, mEntry, mState, mReadOnly, mViewIdGenerator); in rebuildValues()
405 mKind = kind; in setValues()
423 if (mKind.titleRes > 0) { in setValues()
[all …]
DGroupMembershipView.java162 private DataKind mKind; field in GroupMembershipView
220 mKind = kind; in setKind()
437 ValuesDelta entry = RawContactModifier.insertChild(mState, mKind); in onItemClick()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DEventDataItem.java44 if (!(t instanceof EventDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith()
53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
55 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM in shouldCollapseWith()
DRelationDataItem.java44 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith()
53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
55 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM in shouldCollapseWith()
DDataItem.java46 protected DataKind mKind; field in DataItem
176 return mKind; in getDataKind()
180 mKind = kind; in setDataKind()
202 mKind = thatKind; in collapseWith()
206 mKind.maxLinesForDisplay = Math.max(thisKind.maxLinesForDisplay, thatKind.maxLinesForDisplay); in collapseWith()
235 if (mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
240 buildDataString(context, mKind), in shouldCollapseWith()
DImDataItem.java84 if (!(t instanceof ImDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DEventDataItem.java45 if (!(t instanceof EventDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith()
54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
56 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM && in shouldCollapseWith()
DRelationDataItem.java45 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith()
54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith()
56 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM && in shouldCollapseWith()
DDataItem.java47 protected DataKind mKind; field in DataItem
183 mKind = kind; in setDataKind()
187 return mKind; in getDataKind()
202 mKind = thatKind; in collapseWith()
206 mKind.maxLinesForDisplay = Math.max(thisKind.maxLinesForDisplay, in collapseWith()
223 if (mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
226 return MoreContactUtils.shouldCollapse(getMimeType(), buildDataString(context, mKind), in shouldCollapseWith()
DImDataItem.java88 if (!(t instanceof ImDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterAlbumSet.java32 private int mKind; field in ClusterAlbumSet
41 mKind = kind; in ClusterAlbumSet()
83 switch (mKind) { in updateClusters()
107 if (mKind == ClusterSource.CLUSTER_ALBUMSET_TAG) { in updateClusters()
109 } else if (mKind == ClusterSource.CLUSTER_ALBUMSET_SIZE) { in updateClusters()
DPathMatcher.java74 private int mKind = NOT_FOUND; field in PathMatcher.Node
95 mKind = kind; in setKind()
99 return mKind; in getKind()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java56 private final DataKind mKind; field in DataAction
77 mKind = kind; in DataAction()
287 final String resourcePackageName = mKind.resourcePackageName; in getAlternateIcon()