Lines Matching refs:buildEmailType
129 protected static EditType buildEmailType(int type) {
302 kind.typeList.add(buildEmailType(Email.TYPE_HOME));
303 kind.typeList.add(buildEmailType(Email.TYPE_WORK));
304 kind.typeList.add(buildEmailType(Email.TYPE_OTHER));
305 kind.typeList.add(buildEmailType(Email.TYPE_MOBILE));
307 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL));
1114 if ("home".equals(type)) return buildEmailType(Email.TYPE_HOME);
1115 if ("work".equals(type)) return buildEmailType(Email.TYPE_WORK);
1116 if ("other".equals(type)) return buildEmailType(Email.TYPE_OTHER);
1117 if ("mobile".equals(type)) return buildEmailType(Email.TYPE_MOBILE);
1119 return buildEmailType(Email.TYPE_CUSTOM)