Home
last modified time | relevance | path

Searched refs:isPrimary (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallCardPresenter.java98 public ContactLookupCallback(CallCardPresenter callCardPresenter, boolean isPrimary) { in ContactLookupCallback() argument
100 mIsPrimary = isPrimary; in ContactLookupCallback()
567 private void maybeStartSearch(Call call, boolean isPrimary) { in maybeStartSearch() argument
570 startContactInfoSearch(call, isPrimary, call.getState() == Call.State.INCOMING); in maybeStartSearch()
584 private void startContactInfoSearch(final Call call, final boolean isPrimary, in startContactInfoSearch() argument
588 cache.findInfo(call, isIncoming, new ContactLookupCallback(this, isPrimary)); in startContactInfoSearch()
591 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
593 (isPrimary && mPrimary != null && TextUtils.equals(callId, mPrimary.getId())) || in onContactInfoComplete()
594 (!isPrimary && mSecondary != null && TextUtils.equals(callId, mSecondary.getId())); in onContactInfoComplete()
596 updateContactEntry(entry, isPrimary); in onContactInfoComplete()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java83 public FieldData(String dataHashId, boolean isPrimary, boolean isSuperPrimary, in FieldData() argument
86 this.mIsPrimary = isPrimary; in FieldData()
207 final boolean isPrimary = fieldDataPrefs.getBoolean(IS_PRIMARY); in parseDataToMetaDataEntry()
228 final FieldData fieldDataParse = new FieldData(dataHashId, isPrimary, in parseDataToMetaDataEntry()
DDataRowHandler.java279 final boolean isPrimary = c.getInt(0) != 0; in handlePrimaryAndSuperPrimary()
285 if (clearPrimary && isPrimary) { in handlePrimaryAndSuperPrimary()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java155 if (entry.isPrimary()) { in getPrimaryEntry()
186 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
591 public boolean isPrimary() { in isPrimary() method in EntityDelta.ValuesDelta
592 final Long isPrimary = getAsLong(Data.IS_PRIMARY); in isPrimary() local
593 return isPrimary == null ? false : isPrimary != 0; in isPrimary()
DEntitySet.java285 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DDatabaseTestUtils.java64 int isSuperPrimary, int inVisibleGroup, int isPrimary, int carrierPresence) { in constructNewContact() argument
77 isPrimary, carrierPresence}); in constructNewContact()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java127 public boolean isPrimary() { in isPrimary() method in DataItem
223 if (isPrimary() || that.isPrimary()) { in collapseWith()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java390 entry.isPrimary = isSuperPrimary; in buildEntries()
404 entry.isPrimary = isSuperPrimary; in buildEntries()
532 public boolean isPrimary = false; field in ContactFragment.ViewEntry
613 isPrimary = entry.isPrimary ? true : isPrimary; in collapseWith()
738 views.primaryIcon.setVisibility(entry.isPrimary ? View.VISIBLE : View.GONE); in bindView()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapCard.java108 jsonPhone.put("is_primary", phone.isPrimary());
130 jsonEmail.put("is_primary", email.isPrimary());
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java164 public boolean isPrimary() { in isPrimary() method in ValuesDelta
165 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary() local
166 return isPrimary == null ? false : isPrimary != 0; in isPrimary()
DRawContactDelta.java163 if (entry.isPrimary()) { in getPrimaryEntry()
195 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
DRawContactDeltaList.java482 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DAction.java48 public boolean isPrimary(); in isPrimary() method
DDataAction.java105 mIsPrimary = item.isPrimary(); in DataAction()
279 public boolean isPrimary() { in isPrimary() method in DataAction
DQuickContactActivity.java835 } else if (lhs.isPrimary() && !rhs.isPrimary()) {
837 } else if (!lhs.isPrimary() && rhs.isPrimary()) {
/packages/apps/Settings/src/com/android/settings/
DSaveChosenLockWorkerBase.java76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java189 isEtwsPrimary = etwsInfo.isPrimary(); in handleCellBroadcastIntent()
404 if (!message.getEtwsWarningInfo().isPrimary()) { in openEmergencyAlertNotification()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java213 if (volume.isPrimary() || !mPtpMode) { in volumeMountedLocked()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java560 boolean isPrimary) { in composeContactsAndSendVCards()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DDataItemTests.java107 assertEquals(true, dataList.get(0).isPrimary()); in testDataItemCollapsing_genericDataItemFields()