HomeSort by relevance Sort by last modified time
    Searched refs:EditType (Results 1 - 12 of 12) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/model/account/
AccountType.java 359 public static class EditType {
370 public EditType(int rawValue, int labelRes) {
376 public EditType setSecondary(boolean secondary) {
381 public EditType setSpecificMax(int specificMax) {
386 public EditType setCustomColumn(String customColumn) {
393 if (object instanceof EditType) {
394 final EditType other = (EditType)object;
416 public static class EventEditType extends EditType {
BaseAccountType.java 124 protected static EditType buildPhoneType(int type) {
125 return new EditType(type, Phone.getTypeLabelResource(type));
128 protected static EditType buildEmailType(int type) {
129 return new EditType(type, Email.getTypeLabelResource(type));
132 protected static EditType buildPostalType(int type) {
133 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
136 protected static EditType buildImType(int type) {
137 return new EditType(type, Im.getProtocolLabelResource(type));
140 protected static EditType buildEventType(int type, boolean yearOptional) {
144 protected static EditType buildRelationType(int type)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactsSource.java 186 * {@link Data} rows of this kind, including the possible {@link EditType}
219 public List<EditType> typeList;
244 public static class EditType {
253 public EditType(int rawValue, int labelRes) {
259 public EditType setSecondary(boolean secondary) {
264 public EditType setSpecificMax(int specificMax) {
269 public EditType setCustomColumn(String customColumn) {
276 if (object instanceof EditType) {
277 final EditType other = (EditType)object
    [all...]
FallbackSource.java 85 protected EditType buildPhoneType(int type) {
86 return new EditType(type, Phone.getTypeLabelResource(type));
89 protected EditType buildEmailType(int type) {
90 return new EditType(type, Email.getTypeLabelResource(type));
93 protected EditType buildPostalType(int type) {
94 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
97 protected EditType buildImType(int type) {
98 return new EditType(type, Im.getProtocolLabelResource(type));
101 protected EditType buildOrgType(int type) {
102 return new EditType(type, Organization.getTypeLabelResource(type))
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DataKind.java 24 import com.android.contacts.model.account.AccountType.EditType;
34 * {@link Data} rows of this kind, including the possible {@link EditType}
64 public List<EditType> typeList;
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java 55 import com.android.contacts.model.account.AccountType.EditType;
135 * list possible {@link EditType} options available based on
138 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind) {
144 * list possible {@link EditType} options available based on
147 * @param forceInclude Always include this {@link EditType} in the returned
151 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind,
152 EditType forceInclude) {
158 * list possible {@link EditType} options available based on
161 * @param forceInclude Always include this {@link EditType} in the returned
165 * {@link EditType#secondary}
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 52 import com.android.contacts.model.account.AccountType.EditType;
84 private EditType mType;
94 public static final EditType CUSTOM_SELECTION = new EditType(0, 0);
269 protected EditType getType() {
274 * Build the current label state based on selected {@link EditType} and
399 final List<EditType> allTypes =
402 for (EditType editType : allTypes) {
403 if (editType.customColumn != null)
    [all...]
BaseRawContactEditorView.java 35 import com.android.contacts.model.account.AccountType.EditType;
43 * adding {@link Data} rows or changing {@link EditType}, are performed through
RawContactEditorView.java 45 import com.android.contacts.model.account.AccountType.EditType;
59 * adding {@link Data} rows or changing {@link EditType}, are performed through
  /packages/apps/Contacts/tests/src/com/android/contacts/
RawContactModifierTests.java 48 import com.android.contacts.model.account.AccountType.EditType;
106 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2));
107 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1));
108 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true));
109 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1));
206 * {@link RawContactModifier#getValidTypes(RawContactDelta, DataKind, EditType)}
212 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME);
213 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK);
214 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER);
216 List<EditType> validTypes
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
DataAction.java 33 import com.android.contacts.model.account.AccountType.EditType;
83 for (EditType type : item.getDataKind().typeList) {
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 89 import com.android.contacts.model.account.AccountType.EditType;
    [all...]

Completed in 126 milliseconds