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/
AccountType.java 285 public static class EditType {
296 public EditType(int rawValue, int labelRes) {
302 public EditType setSecondary(boolean secondary) {
307 public EditType setSpecificMax(int specificMax) {
312 public EditType setCustomColumn(String customColumn) {
319 if (object instanceof EditType) {
320 final EditType other = (EditType)object;
332 public static class EventEditType extends EditType {
DataKind.java 21 import com.android.contacts.model.AccountType.EditType;
33 * {@link Data} rows of this kind, including the possible {@link EditType}
63 public List<EditType> typeList;
EntityModifier.java 24 import com.android.contacts.model.AccountType.EditType;
123 * list possible {@link EditType} options available based on
126 public static ArrayList<EditType> getValidTypes(EntityDelta state, DataKind kind) {
132 * list possible {@link EditType} options available based on
135 * @param forceInclude Always include this {@link EditType} in the returned
139 public static ArrayList<EditType> getValidTypes(EntityDelta state, DataKind kind,
140 EditType forceInclude) {
146 * list possible {@link EditType} options available based on
149 * @param forceInclude Always include this {@link EditType} in the returned
153 * {@link EditType#secondary}
    [all...]
BaseAccountType.java 72 protected EditType buildPhoneType(int type) {
73 return new EditType(type, Phone.getTypeLabelResource(type));
76 protected EditType buildEmailType(int type) {
77 return new EditType(type, Email.getTypeLabelResource(type));
80 protected EditType buildPostalType(int type) {
81 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
84 protected EditType buildImType(int type) {
85 return new EditType(type, Im.getProtocolLabelResource(type));
88 protected EditType buildEventType(int type, boolean yearOptional) {
92 protected 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/editor/
LabeledEditorView.java 21 import com.android.contacts.model.AccountType.EditType;
81 private EditType mType;
91 public static final EditType CUSTOM_SELECTION = new EditType(0, 0);
264 protected EditType getType() {
269 * Build the current label state based on selected {@link EditType} and
382 final List<EditType> allTypes =
385 for (EditType editType : allTypes) {
386 if (editType.customColumn != null)
    [all...]
BaseRawContactEditorView.java 21 import com.android.contacts.model.AccountType.EditType;
44 * adding {@link Data} rows or changing {@link EditType}, are performed through
RawContactEditorView.java 22 import com.android.contacts.model.AccountType.EditType;
61 * adding {@link Data} rows or changing {@link EditType}, are performed through
  /packages/apps/Contacts/tests/src/com/android/contacts/
EntityModifierTests.java 26 import com.android.contacts.model.AccountType.EditType;
105 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2));
106 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1));
107 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true));
108 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1));
212 * {@link EntityModifier#getValidTypes(EntityDelta, DataKind, EditType)}
218 final EditType typeHome = EntityModifier.getType(kindPhone, Phone.TYPE_HOME);
219 final EditType typeWork = EntityModifier.getType(kindPhone, Phone.TYPE_WORK);
220 final EditType typeOther = EntityModifier.getType(kindPhone, Phone.TYPE_OTHER);
222 List<EditType> validTypes
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
DataAction.java 21 import com.android.contacts.model.AccountType.EditType;
83 for (EditType type : kind.typeList) {
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 31 import com.android.contacts.model.AccountType.EditType;
    [all...]

Completed in 181 milliseconds