Home
last modified time | relevance | path

Searched refs:composer (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVCardTest.java41 final VCardComposer composer = new VCardComposer( in testCompose() local
43 assertTrue(composer.init()); in testCompose()
44 int total = composer.getCount(); in testCompose()
46 String vcard = composer.createOneEntry(); in testCompose()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java108 BluetoothPbapCallLogComposer composer = new BluetoothPbapCallLogComposer(mContext); in getOwnerPhoneNumberVcard() local
111 String vcard = composer.composeVCardForPhoneOwnNumber(Phone.TYPE_MOBILE, name, number, in getOwnerPhoneNumberVcard()
436 VCardComposer composer = null; in composeAndSendVCards() local
448 composer = new VCardComposer(mContext, vcardType, true); in composeAndSendVCards()
451 composer.setPhoneNumberTranslationCallback( in composeAndSendVCards()
465 if (!composer.init(Contacts.CONTENT_URI, selection, null, Contacts._ID) || in composeAndSendVCards()
470 while (!composer.isAfterLast()) { in composeAndSendVCards()
476 String vcard = composer.createOneEntry(); in composeAndSendVCards()
479 + composer.getErrorReason()); in composeAndSendVCards()
488 if (composer != null) { in composeAndSendVCards()
[all …]
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java98 VCardComposer composer = null; in runInternal() local
130 composer = new VCardComposer(mService, vcardType, true); in runInternal()
142 if (!composer.init(Contacts.CONTENT_URI, new String[] {Contacts._ID}, in runInternal()
145 final String errorReason = composer.getErrorReason(); in runInternal()
156 final int total = composer.getCount(); in runInternal()
165 while (!composer.isAfterLast()) { in runInternal()
171 writer.write(composer.createOneEntry()); in runInternal()
173 final String errorReason = composer.getErrorReason(); in runInternal()
204 if (composer != null) { in runInternal()
205 composer.terminate(); in runInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryCollection.java53 public void getWords(final WordComposer composer, final CharSequence prevWordForBigrams, in getWords() argument
56 dict.getWords(composer, prevWordForBigrams, callback, proximityInfo); in getWords()
60 public void getBigrams(final WordComposer composer, final CharSequence previousWord, in getBigrams() argument
63 dict.getBigrams(composer, previousWord, callback); in getBigrams()
DDictionary.java65 abstract public void getWords(final WordComposer composer, in getWords() argument
76 public void getBigrams(final WordComposer composer, final CharSequence previousWord, in getBigrams() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java760 final WordComposer composer = new WordComposer(); in onGetSuggestions() local
768 composer.add(codePoint, WordComposer.NOT_A_COORDINATE, in onGetSuggestions()
771 composer.add(codePoint, xy & 0xFFFF, xy >> 16, null); in onGetSuggestions()
781 dictInfo.mDictionary.getWords(composer, prevWord, suggestionsGatherer, in onGetSuggestions()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java7502 final VCardComposer composer = in outputRawContactsAsVCard() local
7516 if (!composer.init(uri, selection, selectionArgs, null, rawContactsUri)) { in outputRawContactsAsVCard()
7521 while (!composer.isAfterLast()) { in outputRawContactsAsVCard()
7522 writer.write(composer.createOneEntry()); in outputRawContactsAsVCard()
7527 composer.terminate(); in outputRawContactsAsVCard()