Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java542 private void maybeStartSearch(DialerCall call, boolean isPrimary) { in maybeStartSearch() argument
545 startContactInfoSearch(call, isPrimary, call.getState() == DialerCall.State.INCOMING); in maybeStartSearch()
551 final DialerCall call, final boolean isPrimary, boolean isIncoming) { in startContactInfoSearch() argument
554 cache.findInfo(call, isIncoming, new ContactLookupCallback(this, isPrimary)); in startContactInfoSearch()
557 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
559 (isPrimary && mPrimary != null && TextUtils.equals(callId, mPrimary.getId())) in onContactInfoComplete()
560 || (!isPrimary && mSecondary != null && TextUtils.equals(callId, mSecondary.getId())); in onContactInfoComplete()
562 updateContactEntry(entry, isPrimary); in onContactInfoComplete()
592 private void updateContactEntry(ContactCacheEntry entry, boolean isPrimary) { in updateContactEntry() argument
593 if (isPrimary) { in updateContactEntry()
[all …]
/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/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/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/Contacts/src/com/android/contacts/model/
DValuesDelta.java166 public boolean isPrimary() { in isPrimary() method in ValuesDelta
167 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary() local
168 return isPrimary == null ? false : isPrimary != 0; in isPrimary()
DRawContactDelta.java160 if (entry.isPrimary()) { in getPrimaryEntry()
191 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
DRawContactDeltaList.java372 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java129 public boolean isPrimary() { in isPrimary() method in DataItem
226 if (isPrimary() || that.isPrimary()) { in collapseWith()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java120 public boolean isPrimary() { in isPrimary() method in DataItem
215 if (isPrimary() || that.isPrimary()) { in collapseWith()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOpenExternalDirectoryActivity.java160 final boolean isPrimary = storageVolume.isPrimary(); in showFragment()
162 if (isRoot && isPrimary) { in showFragment()
260 args.putBoolean(EXTRA_IS_PRIMARY, isPrimary); in showFragment()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java71 assertEquals(info1.isPrimary(), info2.isPrimary()); in compareEtwsWarningInfo()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java105 mIsPrimary = item.isPrimary(); in DataAction()
279 public boolean isPrimary() { in isPrimary() method in DataAction
DAction.java48 public boolean isPrimary(); in isPrimary() method
DQuickContactActivity.java646 } else if (lhs.isPrimary() && !rhs.isPrimary()) {
648 } else if (!lhs.isPrimary() && rhs.isPrimary()) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java261 isEtwsPrimary = etwsInfo.isPrimary(); in handleCellBroadcastIntent()
557 if (!message.getEtwsWarningInfo().isPrimary()) { in openEmergencyAlertNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java314 String rawValue, int type, String label, boolean isPrimary) { in getSelectedPhonebookNameList()
698 boolean isPrimary) { in composeContactsAndSendVCards()
790 String rawValue, int type, String label, boolean isPrimary) { in composeContactsAndSendSelectedVCards()
/packages/apps/Settings/src/com/android/settings/password/
DSaveChosenLockWorkerBase.java76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
DConfirmDeviceCredentialBaseFragment.java342 if (userToBeWiped == null || userToBeWiped.isPrimary()) { in getUserTypeForWipe()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DSecondaryUserController.java71 if (info.isPrimary()) { in getSecondaryUserControllers()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java399 final boolean isPrimary = cursor.getInt(Query.PRIMARY) != 0; in sendToGroup()
411 contact.addItem(itemId, timesUsed, isPrimary); in sendToGroup()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java254 if (volume.isPrimary() || !mPtpMode) { in volumeMountedLocked()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java106 assertEquals(true, dataList.get(0).isPrimary()); in testDataItemCollapsing_genericDataItemFields()