Lines Matching defs:type

805                 final int type = (typeAsObject != null ? typeAsObject : DEFAULT_PHONE_TYPE);
811 phoneNumber, type, label, isPrimary);
814 appendTelLine(type, label, phoneNumber, isPrimary);
816 } else if (type == Phone.TYPE_PAGER ||
822 appendTelLine(type, label, phoneNumber, isPrimary);
859 // In vCard 4.0, value type must be "a single URI value",
869 appendTelLine(type, label, formatted, isPrimary);
943 final int type = (typeAsObject != null ?
952 appendEmailLine(type, label, emailAddress, isPrimary);
1035 final int type = (typeAsInteger != null ?
1042 appendPostalLine(type, label, contentValues, isPrimary, false);
1311 Log.d(LOG_TAG, "Unknown photo type. Ignored.");
1444 public void appendPostalLine(final int type, final String label,
1471 switch (type) {
1495 Log.e(LOG_TAG, "Unknown StructuredPostal type: " + type);
1522 public void appendEmailLine(final int type, final String label,
1525 switch (type) {
1554 Log.e(LOG_TAG, "Unknown Email type: " + type);
1577 final int type;
1579 type = Phone.TYPE_OTHER;
1581 type = typeAsInteger;
1585 switch (type) {
1671 // Just ignore the custom type.
1702 appendUncommonPhoneType(mBuilder, type);
1713 * Appends phone type string which may not be available in some devices.
1715 private void appendUncommonPhoneType(final StringBuilder builder, final Integer type) {
1721 String phoneType = VCardUtils.getPhoneTypeString(type);
1725 Log.e(LOG_TAG, "Unknown or unsupported (by vCard) Phone type: " + type);
1802 // No type is available yet.
2041 private void appendTypeParameter(final String type) {
2042 appendTypeParameter(mBuilder, type);
2045 private void appendTypeParameter(final StringBuilder builder, final String type) {
2054 builder.append(type);