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

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 347 public static class EditType {
358 public EditType(int rawValue, int labelRes) {
364 public EditType setSecondary(boolean secondary) {
369 public EditType setSpecificMax(int specificMax) {
374 public EditType setCustomColumn(String customColumn) {
381 if (object instanceof EditType) {
382 final EditType other = (EditType)object;
404 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/ContactsCommon/src/com/android/contacts/common/model/
RawContactModifier.java 57 import com.android.contacts.common.model.account.AccountType.EditType;
136 * list possible {@link EditType} options available based on
139 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind) {
145 * list possible {@link EditType} options available based on
148 * @param forceInclude Always include this {@link EditType} in the returned
152 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind,
153 EditType forceInclude) {
159 * list possible {@link EditType} options available based on
162 * @param forceInclude Always include this {@link EditType} in the returned
166 * {@link EditType#secondary}
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 51 import com.android.contacts.common.model.account.AccountType.EditType;
83 private EditType mType;
93 public static final EditType CUSTOM_SELECTION = new EditType(0, 0);
275 protected EditType getType() {
280 * Build the current label state based on selected {@link EditType} and
416 final List<EditType> allTypes =
419 for (EditType editType : allTypes) {
420 if (editType.customColumn != null)
    [all...]
BaseRawContactEditorView.java 38 import com.android.contacts.common.model.account.AccountType.EditType;
47 * adding {@link Data} rows or changing {@link EditType}, are performed through
RawContactEditorView.java 39 import com.android.contacts.common.model.account.AccountType.EditType;
57 * adding {@link Data} rows or changing {@link EditType}, are performed through
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
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 37 import com.android.contacts.common.model.account.AccountType.EditType;
91 for (EditType type : kind.typeList) {
  /external/chromium_org/testing/gtest/include/gtest/internal/
gtest-internal.h 182 enum EditType { kMatch, kAdd, kRemove, kReplace };
183 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
187 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DataItemTests.java 36 import com.android.contacts.common.model.account.AccountType.EditType;
96 kind.typeList.add(new EditType(1, -1));
97 kind.typeList.add(new EditType(2, -1));
  /external/chromium_org/testing/gtest/src/
gtest.cc     [all...]
  /external/chromium_org/testing/gtest/test/
gtest_unittest.cc 287 using testing::internal::edit_distance::EditType;
    [all...]

Completed in 1375 milliseconds