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

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 357 public static class EditType {
368 public EditType(int rawValue, int labelRes) {
374 public EditType setSecondary(boolean secondary) {
379 public EditType setSpecificMax(int specificMax) {
384 public EditType setCustomColumn(String customColumn) {
391 if (object instanceof EditType) {
392 final EditType other = (EditType)object;
414 public static class EventEditType extends EditType {
BaseAccountType.java 125 protected static EditType buildPhoneType(int type) {
126 return new EditType(type, Phone.getTypeLabelResource(type));
129 protected static EditType buildEmailType(int type) {
130 return new EditType(type, Email.getTypeLabelResource(type));
133 protected static EditType buildPostalType(int type) {
134 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
137 protected static EditType buildImType(int type) {
138 return new EditType(type, Im.getProtocolLabelResource(type));
141 protected static EditType buildEventType(int type, boolean yearOptional) {
145 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/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DataKind.java 24 import com.android.contacts.common.model.account.AccountType.EditType;
34 * {@link Data} rows of this kind, including the possible {@link EditType}
62 public List<EditType> typeList;
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java 57 import com.android.contacts.common.model.account.AccountType.EditType;
137 * list possible {@link EditType} options available based on
140 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind) {
146 * list possible {@link EditType} options available based on
149 * @param forceInclude Always include this {@link EditType} in the returned
153 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind,
154 EditType forceInclude) {
160 * list possible {@link EditType} options available based on
163 * @param forceInclude Always include this {@link EditType} in the returned
167 * {@link EditType#secondary}
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 52 import com.android.contacts.common.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.common.model.account.AccountType.EditType;
43 * adding {@link Data} rows or changing {@link EditType}, are performed through
RawContactEditorView.java 44 import com.android.contacts.common.model.account.AccountType.EditType;
61 * 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.common.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));
203 * {@link RawContactModifier#getValidTypes(RawContactDelta, DataKind, EditType)}
209 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME);
210 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK);
211 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER);
213 List<EditType> validTypes
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
DataAction.java 35 import com.android.contacts.common.model.account.AccountType.EditType;
84 for (EditType type : kind.typeList) {
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 89 import com.android.contacts.common.model.account.AccountType.EditType;
    [all...]

Completed in 3550 milliseconds