Lines Matching refs:Phone
33 import android.provider.ContactsContract.CommonDataKinds.Phone;
86 return new EditType(type, Phone.getTypeLabelResource(type));
179 DataKind kind = getKindForMimetype(Phone.CONTENT_ITEM_TYPE);
181 kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup,
186 kind.actionBody = new SimpleInflater(Phone.NUMBER);
190 kind.typeColumn = Phone.TYPE;
192 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME));
193 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE));
194 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK));
195 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true));
196 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true));
197 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true));
198 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER));
199 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(
200 Phone.LABEL));
201 kind.typeList.add(buildPhoneType(Phone.TYPE_CALLBACK).setSecondary(true));
202 kind.typeList.add(buildPhoneType(Phone.TYPE_CAR).setSecondary(true));
203 kind.typeList.add(buildPhoneType(Phone.TYPE_COMPANY_MAIN).setSecondary(true));
204 kind.typeList.add(buildPhoneType(Phone.TYPE_ISDN).setSecondary(true));
205 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN).setSecondary(true));
206 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER_FAX).setSecondary(true));
207 kind.typeList.add(buildPhoneType(Phone.TYPE_RADIO).setSecondary(true));
208 kind.typeList.add(buildPhoneType(Phone.TYPE_TELEX).setSecondary(true));
209 kind.typeList.add(buildPhoneType(Phone.TYPE_TTY_TDD).setSecondary(true));
210 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK_MOBILE).setSecondary(true));
211 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK_PAGER).setSecondary(true));
212 kind.typeList.add(buildPhoneType(Phone.TYPE_ASSISTANT).setSecondary(true)
213 .setCustomColumn(Phone.LABEL));
214 kind.typeList.add(buildPhoneType(Phone.TYPE_MMS).setSecondary(true));
217 kind.fieldList.add(new EditField(Phone.NUMBER, R.string.phoneLabelsGroup, FLAGS_PHONE));
505 return Phone.TYPE;
509 return Phone.LABEL;
539 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT;
546 case Phone.TYPE_HOME: return R.string.call_home;
547 case Phone.TYPE_MOBILE: return R.string.call_mobile;
548 case Phone.TYPE_WORK: return R.string.call_work;
549 case Phone.TYPE_FAX_WORK: return R.string.call_fax_work;
550 case Phone.TYPE_FAX_HOME: return R.string.call_fax_home;
551 case Phone.TYPE_PAGER: return R.string.call_pager;
552 case Phone.TYPE_OTHER: return R.string.call_other;
553 case Phone.TYPE_CALLBACK: return R.string.call_callback;
554 case Phone.TYPE_CAR: return R.string.call_car;
555 case Phone.TYPE_COMPANY_MAIN: return R.string.call_company_main;
556 case Phone.TYPE_ISDN: return R.string.call_isdn;
557 case Phone.TYPE_MAIN: return R.string.call_main;
558 case Phone.TYPE_OTHER_FAX: return R.string.call_other_fax;
559 case Phone.TYPE_RADIO: return R.string.call_radio;
560 case Phone.TYPE_TELEX: return R.string.call_telex;
561 case Phone.TYPE_TTY_TDD: return R.string.call_tty_tdd;
562 case Phone.TYPE_WORK_MOBILE: return R.string.call_work_mobile;
563 case Phone.TYPE_WORK_PAGER: return R.string.call_work_pager;
564 case Phone.TYPE_ASSISTANT: return R.string.call_assistant;
565 case Phone.TYPE_MMS: return R.string.call_mms;
574 return (type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT);
581 case Phone.TYPE_HOME: return R.string.sms_home;
582 case Phone.TYPE_MOBILE: return R.string.sms_mobile;
583 case Phone.TYPE_WORK: return R.string.sms_work;
584 case Phone.TYPE_FAX_WORK: return R.string.sms_fax_work;
585 case Phone.TYPE_FAX_HOME: return R.string.sms_fax_home;
586 case Phone.TYPE_PAGER: return R.string.sms_pager;
587 case Phone.TYPE_OTHER: return R.string.sms_other;
588 case Phone.TYPE_CALLBACK: return R.string.sms_callback;
589 case Phone.TYPE_CAR: return R.string.sms_car;
590 case Phone.TYPE_COMPANY_MAIN: return R.string.sms_company_main;
591 case Phone.TYPE_ISDN: return R.string.sms_isdn;
592 case Phone.TYPE_MAIN: return R.string.sms_main;
593 case Phone.TYPE_OTHER_FAX: return R.string.sms_other_fax;
594 case Phone.TYPE_RADIO: return R.string.sms_radio;
595 case Phone.TYPE_TELEX: return R.string.sms_telex;
596 case Phone.TYPE_TTY_TDD: return R.string.sms_tty_tdd;
597 case Phone.TYPE_WORK_MOBILE: return R.string.sms_work_mobile;
598 case Phone.TYPE_WORK_PAGER: return R.string.sms_work_pager;
599 case Phone.TYPE_ASSISTANT: return R.string.sms_assistant;
600 case Phone.TYPE_MMS: return R.string.sms_mms;