HomeSort by relevance Sort by last modified time
    Searched refs:VCardConfig (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/opt/vcard/java/com/android/vcard/
VCardSourceDetector.java 110 mVersion = VCardConfig.VERSION_21;
112 mVersion = VCardConfig.VERSION_30;
114 mVersion = VCardConfig.VERSION_40;
145 return VCardConfig.VCARD_TYPE_DOCOMO;
147 return VCardConfig.VCARD_TYPE_V21_JAPANESE_MOBILE;
151 if (mVersion == VCardConfig.VERSION_21) {
152 return VCardConfig.VCARD_TYPE_V21_GENERIC;
153 } else if (mVersion == VCardConfig.VERSION_30) {
154 return VCardConfig.VCARD_TYPE_V30_GENERIC;
155 } else if (mVersion == VCardConfig.VERSION_40)
    [all...]
VCardConfig.java 30 public class VCardConfig {
449 return (VCardConfig.LOG_LEVEL & VCardConfig.LOG_LEVEL_PERFORMANCE_MEASUREMENT) != 0;
488 private VCardConfig() {
VCardParserImpl_V40.java 43 return VCardConfig.VERSION_40;
VCardBuilder.java 137 if (VCardConfig.isVersion40(vcardType)) {
142 mIsV30OrV40 = VCardConfig.isVersion30(vcardType) || VCardConfig.isVersion40(vcardType);
143 mShouldUseQuotedPrintable = VCardConfig.shouldUseQuotedPrintable(vcardType);
144 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType);
145 mIsJapaneseMobilePhone = VCardConfig.needsToConvertPhoneticString(vcardType);
146 mOnlyOneNoteFieldIsAvailable = VCardConfig.onlyOneNoteFieldIsAvailable(vcardType);
147 mUsesAndroidProperty = VCardConfig.usesAndroidSpecificProperty(vcardType);
148 mUsesDefactProperty = VCardConfig.usesDefactProperty(vcardType);
149 mRefrainsQPToNameProperties = VCardConfig.shouldRefrainQPToNameProperties(vcardType)
    [all...]
VCardEntryCommitter.java 63 if (VCardConfig.showPerformanceLog()) {
VCardEntryConstructor.java 59 this(VCardConfig.VCARD_TYPE_V21_GENERIC, null, null);
VCardComposer.java 164 this(context, VCardConfig.VCARD_TYPE_DEFAULT, null, true);
190 * @param vcardType The type of vCard, typically available via {@link VCardConfig}.
211 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType);
213 charset = (TextUtils.isEmpty(charset) ? VCardConfig.DEFAULT_EXPORT_CHARSET : charset);
215 VCardConfig.isVersion30(vcardType) && UTF_8.equalsIgnoreCase(charset));
581 * When this is set {@link VCardConfig#FLAG_REFRAIN_PHONE_NUMBER_FORMATTING} will be ignored
610 if ((mVCardType & VCardConfig.FLAG_REFRAIN_IMAGE_EXPORT) == 0) {
VCardUtils.java 295 final int nameOrderType = VCardConfig.getNameOrderType(nameOrder);
297 case VCardConfig.NAME_ORDER_JAPANESE: {
310 case VCardConfig.NAME_ORDER_EUROPE: {
327 if (VCardConfig.isJapaneseDevice(vcardType)) {
384 if (VCardConfig.isVersion40(vcardType)) {
386 } else if (VCardConfig.isVersion30(vcardType)) {
389 if (!VCardConfig.isVersion21(vcardType)) {
821 if (VCardConfig.isVersion21(vcardType)) {
823 } else if (VCardConfig.isVersion30(vcardType)) {
825 } else if (VCardConfig.isVersion40(vcardType))
    [all...]
VCardParserImpl_V30.java 54 return VCardConfig.VERSION_30;
263 paramValue, VCardConfig.DEFAULT_INTERMEDIATE_CHARSET, "UTF-8");
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardTestsBase.java 21 import com.android.vcard.VCardConfig;
29 public static final int V21 = VCardConfig.VCARD_TYPE_V21_GENERIC;
30 public static final int V30 = VCardConfig.VCARD_TYPE_V30_GENERIC;
31 public static final int V40 = VCardConfig.VCARD_TYPE_V40_GENERIC;
LineVerifierElem.java 21 import com.android.vcard.VCardConfig;
70 } else if ((VCardConfig.isVersion21(mVCardType) ? "VERSION:2.1" :
71 (VCardConfig.isVersion30(mVCardType) ? "VERSION:3.0" :
VNodeBuilder.java 18 import com.android.vcard.VCardConfig;
64 this(VCardConfig.DEFAULT_IMPORT_CHARSET, false);
68 mSourceCharset = VCardConfig.DEFAULT_INTERMEDIATE_CHARSET;
72 mTargetCharset = VCardConfig.DEFAULT_IMPORT_CHARSET;
VCardVerifier.java 28 import com.android.vcard.VCardConfig;
111 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType);
127 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType);
177 if (VCardConfig.isVersion21(mVCardType)) {
179 } else if (VCardConfig.isVersion30(mVCardType)) {
181 } else if (VCardConfig.isVersion40(mVCardType)) {
196 if (VCardConfig.isVersion40(mVCardType)) {
198 } else if (VCardConfig.isVersion30(mVCardType)) {
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardBuilderTest.java 23 import com.android.vcard.VCardConfig;
42 final VCardBuilder builder = new VCardBuilder(VCardConfig.VCARD_TYPE_DEFAULT);
VCardTestUtilsTests.java 21 import com.android.vcard.VCardConfig;
40 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash);
58 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash);
79 verifier.initForExportTest(VCardConfig.VCARD_TYPE_V30_GENERIC);
VCardJapanizationTests.java 25 import com.android.vcard.VCardConfig;
45 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null);
56 testNameUtf8Common(VCardConfig.VCARD_TYPE_V21_JAPANESE);
60 testNameUtf8Common(VCardConfig.VCARD_TYPE_V30_JAPANESE);
64 mVerifier.initForExportTest(VCardConfig.VCARD_TYPE_V30_JAPANESE, "Shift_JIS");
86 mVerifier.initForExportTest(VCardConfig.VCARD_TYPE_DOCOMO, "Shift_JIS");
121 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndSJis :
123 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null));
132 if (!VCardConfig.isVersion21(vcardType)) {
148 testPhoneticNameCommon(VCardConfig.VCARD_TYPE_V21_JAPANESE, null)
    [all...]
VCardExporterTests.java 19 import com.android.vcard.VCardConfig;
244 if (VCardConfig.isVersion40(vcardType)) {
262 if (VCardConfig.isVersion30(vcardType)) {
343 if (VCardConfig.isVersion40(vcardType)) {
361 if (VCardConfig.isVersion30(vcardType)) {
411 if (VCardConfig.isVersion40(vcardType)) {
433 mVerifier.initForExportTest(V21 | VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING);
497 if (VCardConfig.isVersion40(vcardType)) {
570 if (VCardConfig.isVersion40(vcardType)) {
632 if (VCardConfig.isVersion40(vcardType))
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VCardTest.java 24 import com.android.vcard.VCardConfig;
43 getContext(), mResolver, VCardConfig.VCARD_TYPE_DEFAULT, null, true);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapCallLogComposer.java 32 import com.android.vcard.VCardConfig;
137 final int vcardType = (vcardVer21 ? VCardConfig.VCARD_TYPE_V21_GENERIC :
138 VCardConfig.VCARD_TYPE_V30_GENERIC) |
139 VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING;
175 VCardConfig.VCARD_TYPE_V21_GENERIC :
176 VCardConfig.VCARD_TYPE_V30_GENERIC) |
177 VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING;
BluetoothPbapUtils.java 27 import com.android.vcard.VCardConfig;
43 import com.android.vcard.VCardConfig;
116 vType |= VCardConfig.FLAG_NAME_NUMBER_ONLY_EXPORT;
123 vType |= VCardConfig.FLAG_REFRAIN_IMAGE_EXPORT;
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapVcardList.java 21 import com.android.vcard.VCardConfig;
70 new VCardEntryConstructor(VCardConfig.VCARD_TYPE_V21_GENERIC, mAccount);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
CustomVCardEntryConstructor.java 19 import com.android.vcard.VCardConfig;
70 this(VCardConfig.VCARD_TYPE_V21_GENERIC, null);
VCardRequest.java 28 import com.android.vcard.VCardConfig;
127 result = readOneVCardFile(targetUri, VCardConfig.VCARD_TYPE_UNKNOWN,
156 if (vcardType == VCardConfig.VCARD_TYPE_UNKNOWN) {
157 vcardType = VCardConfig.getVCardTypeFromString(DEFAULT_VCARD_TYPE);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ExportProcessor.java 35 import com.android.vcard.VCardConfig;
141 vcardType = VCardConfig.getVCardTypeFromString(
144 vcardType = VCardConfig.getVCardTypeFromString(exportType);
150 // int vcardType = (VCardConfig.VCARD_TYPE_V21_GENERIC |
151 // VCardConfig.FLAG_USE_QP_TO_PRIMARY_PROPERTIES);
  /packages/apps/Tag/src/com/android/apps/tag/record/
VCardRecord.java 20 import com.android.vcard.VCardConfig;
120 final int type = VCardConfig.VCARD_TYPE_UNKNOWN;

Completed in 374 milliseconds

1 2