/packages/apps/Dialer/java/com/android/incallui/ |
D | CallCardPresenter.java | 542 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/ |
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/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/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/Contacts/src/com/android/contacts/model/ |
D | ValuesDelta.java | 166 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()
|
D | RawContactDelta.java | 160 if (entry.isPrimary()) { in getPrimaryEntry() 191 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
|
D | RawContactDeltaList.java | 372 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 129 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/ |
D | DataItem.java | 120 public boolean isPrimary() { in isPrimary() method in DataItem 215 if (isPrimary() || that.isPrimary()) { in collapseWith()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 160 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/ |
D | CellBroadcastAlertServiceTest.java | 71 assertEquals(info1.isPrimary(), info2.isPrimary()); in compareEtwsWarningInfo()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 105 mIsPrimary = item.isPrimary(); in DataAction() 279 public boolean isPrimary() { in isPrimary() method in DataAction
|
D | Action.java | 48 public boolean isPrimary(); in isPrimary() method
|
D | QuickContactActivity.java | 646 } else if (lhs.isPrimary() && !rhs.isPrimary()) { 648 } else if (!lhs.isPrimary() && rhs.isPrimary()) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 261 isEtwsPrimary = etwsInfo.isPrimary(); in handleCellBroadcastIntent() 557 if (!message.getEtwsWarningInfo().isPrimary()) { in openEmergencyAlertNotification()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 314 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/ |
D | SaveChosenLockWorkerBase.java | 76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
D | ConfirmDeviceCredentialBaseFragment.java | 342 if (userToBeWiped == null || userToBeWiped.isPrimary()) { in getUserTypeForWipe()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | SecondaryUserController.java | 71 if (info.isPrimary()) { in getSecondaryUserControllers()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 399 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/ |
D | MtpService.java | 254 if (volume.isPrimary() || !mPtpMode) { in volumeMountedLocked()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 106 assertEquals(true, dataList.get(0).isPrimary()); in testDataItemCollapsing_genericDataItemFields()
|