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

  /packages/apps/Dialer/java/com/android/contacts/common/model/account/
AccountType.java 321 public static class EditType {
335 public EditType(int rawValue, int labelRes) {
341 public EditType setSecondary(boolean secondary) {
346 public EditType setSpecificMax(int specificMax) {
351 public EditType setCustomColumn(String customColumn) {
358 if (object instanceof EditType) {
359 final EditType other = (EditType) object;
386 public static class EventEditType extends EditType {
BaseAccountType.java 122 protected static EditType buildPhoneType(int type) {
123 return new EditType(type, Phone.getTypeLabelResource(type));
126 protected static EditType buildEmailType(int type) {
127 return new EditType(type, Email.getTypeLabelResource(type));
130 protected static EditType buildPostalType(int type) {
131 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
134 protected static EditType buildImType(int type) {
135 return new EditType(type, Im.getProtocolLabelResource(type));
138 protected static EditType buildEventType(int type, boolean yearOptional) {
142 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/account/
AccountType.java 355 public static class EditType {
366 public EditType(int rawValue, int labelRes) {
372 public EditType setSecondary(boolean secondary) {
377 public EditType setSpecificMax(int specificMax) {
382 public EditType setCustomColumn(String customColumn) {
389 if (object instanceof EditType) {
390 final EditType other = (EditType)object;
412 public static class EventEditType extends EditType {
BaseAccountType.java 127 protected static EditType buildPhoneType(int type) {
128 return new EditType(type, Phone.getTypeLabelResource(type));
131 protected static EditType buildEmailType(int type) {
132 return new EditType(type, Email.getTypeLabelResource(type));
135 protected static EditType buildPostalType(int type) {
136 return new EditType(type, StructuredPostal.getTypeLabelResource(type));
139 protected static EditType buildImType(int type) {
140 return new EditType(type, Im.getProtocolLabelResource(type));
143 protected static EditType buildEventType(int type, boolean yearOptional) {
147 protected static EditType buildRelationType(int type)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java 52 import com.android.contacts.model.account.AccountType.EditType;
134 * list possible {@link EditType} options available based on
137 * @param forceInclude Always include this {@link EditType} in the returned
141 * {@link EditType#secondary}.
143 * each {@link EditType}, otherwise built using
147 public static ArrayList<EditType> getValidTypes(RawContactDelta state, DataKind kind,
148 EditType forceInclude, boolean includeSecondary, SparseIntArray typeCount,
150 final ArrayList<EditType> validTypes = new ArrayList<EditType>();
168 for (EditType type : kind.typeList)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DataKind.java 24 import com.android.contacts.model.account.AccountType.EditType;
35 * {@link Data} rows of this kind, including the possible {@link EditType}
62 public List<EditType> typeList;
  /packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DataKind.java 23 import com.android.contacts.common.model.account.AccountType.EditType;
32 * EditType} labels and editable {@link EditField}.
57 public List<EditType> typeList;
DataItem.java 40 import com.android.contacts.common.model.account.AccountType.EditType;
246 * Return the precedence for the the given {@link EditType#rawValue}, where lower numbers are
251 final EditType type = kind.typeList.get(i);
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
RawContactModifierTests.java 38 import com.android.contacts.model.account.AccountType.EditType;
99 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2));
100 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1));
101 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true));
102 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1));
196 * {@link RawContactModifier#getValidTypes(RawContactDelta, DataKind, EditType)}
202 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME);
203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK);
204 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER);
206 List<EditType> validTypes
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 52 import com.android.contacts.model.account.AccountType.EditType;
84 private EditType mType;
95 public static final EditType CUSTOM_SELECTION = new EditType(0, 0);
287 protected EditType getType() {
292 * Build the current label state based on selected {@link EditType} and
459 final List<EditType> allTypes =
462 for (EditType editType : allTypes) {
463 if (editType.customColumn != null)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
DataAction.java 36 import com.android.contacts.model.account.AccountType.EditType;
91 for (EditType type : kind.typeList) {
  /external/googletest/googletest/include/gtest/internal/
gtest-internal.h 180 enum EditType { kMatch, kAdd, kRemove, kReplace };
181 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
185 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-internal.h 180 enum EditType { kMatch, kAdd, kRemove, kReplace };
181 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
185 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
    [all...]
  /external/v8/testing/gtest/include/gtest/internal/
gtest-internal.h 180 enum EditType { kMatch, kAdd, kRemove, kReplace };
181 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
185 GTEST_API_ std::vector<EditType> CalculateOptimalEdits(
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DataItemTests.java 37 import com.android.contacts.model.account.AccountType.EditType;
95 kind.typeList.add(new EditType(1, -1));
96 kind.typeList.add(new EditType(2, -1));
  /external/googletest/googletest/src/
gtest.cc     [all...]
  /external/libvpx/libvpx/third_party/googletest/src/src/
gtest.cc     [all...]
  /external/v8/testing/gtest/src/
gtest.cc     [all...]
  /external/googletest/googletest/test/
gtest_unittest.cc 288 using testing::internal::edit_distance::EditType;
    [all...]
  /external/v8/testing/gtest/test/
gtest_unittest.cc 288 using testing::internal::edit_distance::EditType;
    [all...]

Completed in 1546 milliseconds