/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | CallCardPresenter.java | 98 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/ |
D | MetadataEntryParser.java | 83 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()
|
D | DataRowHandler.java | 279 final boolean isPrimary = c.getInt(0) != 0; in handlePrimaryAndSuperPrimary() 285 if (clearPrimary && isPrimary) { in handlePrimaryAndSuperPrimary()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDelta.java | 155 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()
|
D | EntitySet.java | 285 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | DatabaseTestUtils.java | 64 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/ |
D | DataItem.java | 127 public boolean isPrimary() { in isPrimary() method in DataItem 223 if (isPrimary() || that.isPrimary()) { in collapseWith()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 390 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/ |
D | BluetoothPbapCard.java | 108 jsonPhone.put("is_primary", phone.isPrimary()); 130 jsonEmail.put("is_primary", email.isPrimary());
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ValuesDelta.java | 164 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()
|
D | RawContactDelta.java | 163 if (entry.isPrimary()) { in getPrimaryEntry() 195 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
|
D | RawContactDeltaList.java | 482 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | Action.java | 48 public boolean isPrimary(); in isPrimary() method
|
D | DataAction.java | 105 mIsPrimary = item.isPrimary(); in DataAction() 279 public boolean isPrimary() { in isPrimary() method in DataAction
|
D | QuickContactActivity.java | 835 } else if (lhs.isPrimary() && !rhs.isPrimary()) { 837 } else if (!lhs.isPrimary() && rhs.isPrimary()) {
|
/packages/apps/Settings/src/com/android/settings/ |
D | SaveChosenLockWorkerBase.java | 76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 189 isEtwsPrimary = etwsInfo.isPrimary(); in handleCellBroadcastIntent() 404 if (!message.getEtwsWarningInfo().isPrimary()) { in openEmergencyAlertNotification()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpService.java | 213 if (volume.isPrimary() || !mPtpMode) { in volumeMountedLocked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 560 boolean isPrimary) { in composeContactsAndSendVCards()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
D | DataItemTests.java | 107 assertEquals(true, dataList.get(0).isPrimary()); in testDataItemCollapsing_genericDataItemFields()
|