Searched refs:primaryInfo (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | ContactGridManager.java | 82 private PrimaryInfo primaryInfo = PrimaryInfo.createEmptyPrimaryInfo(); field in ContactGridManager 144 public void setPrimary(PrimaryInfo primaryInfo) { in setPrimary() argument 145 this.primaryInfo = primaryInfo; in setPrimary() 160 BottomRow.Info info = BottomRow.getInfo(context, primaryCallState, primaryInfo); in dispatchPopulateAccessibilityEvent() 195 primaryInfo.photo != null && primaryInfo.photoType == ContactPhotoType.CONTACT; in updateAvatarVisibility() 217 TopRow.Info info = TopRow.getInfo(context, primaryCallState, primaryInfo); in updateTopRow() 246 if (TextUtils.isEmpty(primaryInfo.name)) { in updatePrimaryNameAndPhoto() 250 primaryInfo.nameIsNumber in updatePrimaryNameAndPhoto() 251 ? PhoneNumberUtilsCompat.createTtsSpannable(primaryInfo.name) in updatePrimaryNameAndPhoto() 252 : primaryInfo.name); in updatePrimaryNameAndPhoto() [all …]
|
D | BottomRow.java | 75 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) { in getInfo() argument 85 if (isIncoming(state) && primaryInfo.isSpam) { in getInfo() 108 label = getLabelForPhoneNumber(primaryInfo); in getInfo() 109 shouldPopulateAccessibilityEvent = primaryInfo.nameIsNumber; in getInfo() 123 private static CharSequence getLabelForPhoneNumber(PrimaryInfo primaryInfo) { in getLabelForPhoneNumber() argument 124 if (primaryInfo.location != null) { in getLabelForPhoneNumber() 125 return primaryInfo.location; in getLabelForPhoneNumber() 127 if (!primaryInfo.nameIsNumber && !TextUtils.isEmpty(primaryInfo.number)) { in getLabelForPhoneNumber() 128 CharSequence spannedNumber = spanDisplayNumber(primaryInfo.number); in getLabelForPhoneNumber() 129 if (primaryInfo.label == null) { in getLabelForPhoneNumber() [all …]
|
D | TopRow.java | 62 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) { in getInfo() argument 82 if (shouldShowNumber(primaryInfo)) { in getInfo() 83 label = TextUtils.concat(label, " ", spanDisplayNumber(primaryInfo.number)); in getInfo() 97 } else if (state.state == State.ACTIVE && shouldShowNumber(primaryInfo)) { in getInfo() 98 label = spanDisplayNumber(primaryInfo.number); in getInfo() 113 private static boolean shouldShowNumber(PrimaryInfo primaryInfo) { in shouldShowNumber() argument 114 if (primaryInfo.nameIsNumber) { in shouldShowNumber() 117 if (primaryInfo.location == null) { in shouldShowNumber() 120 if (TextUtils.isEmpty(primaryInfo.number)) { in shouldShowNumber()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | AnswerFragment.java | 147 private PrimaryInfo primaryInfo = PrimaryInfo.createEmptyPrimaryInfo(); field in AnswerFragment 507 public void setPrimary(PrimaryInfo primaryInfo) { in setPrimary() argument 508 LogUtil.i("AnswerFragment.setPrimary", primaryInfo.toString()); in setPrimary() 509 this.primaryInfo = primaryInfo; in setPrimary() 518 contactGridManager.setPrimary(primaryInfo); in updatePrimaryUI() 519 getAnswerMethod().setShowIncomingWillDisconnect(primaryInfo.answeringDisconnectsOngoingCall); in updatePrimaryUI() 522 primaryInfo.photoType == ContactPhotoType.CONTACT ? primaryInfo.photo : null); in updatePrimaryUI() 525 if (primaryInfo.shouldShowLocation) { in updatePrimaryUI() 558 !primaryInfo.isSpam /* showAvatar */, in updateDataFragment() 559 primaryInfo.isSpam); in updateDataFragment() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | InCallFragment.java | 237 public void setPrimary(@NonNull PrimaryInfo primaryInfo) { in setPrimary() argument 238 LogUtil.i("InCallFragment.setPrimary", primaryInfo.toString()); in setPrimary() 239 setAdapterMedia(primaryInfo.multimediaData); in setPrimary() 240 contactGridManager.setPrimary(primaryInfo); in setPrimary() 242 if (primaryInfo.shouldShowLocation) { in setPrimary()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SurfaceViewVideoCallFragment.java | 831 public void setPrimary(@NonNull PrimaryInfo primaryInfo) { in setPrimary() argument 832 LogUtil.i("SurfaceViewVideoCallFragment.setPrimary", primaryInfo.toString()); in setPrimary() 833 contactGridManager.setPrimary(primaryInfo); in setPrimary()
|
D | VideoCallFragment.java | 872 public void setPrimary(@NonNull PrimaryInfo primaryInfo) { in setPrimary() argument 873 LogUtil.i("VideoCallFragment.setPrimary", primaryInfo.toString()); in setPrimary() 874 contactGridManager.setPrimary(primaryInfo); in setPrimary()
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | InCallScreen.java | 26 void setPrimary(@NonNull PrimaryInfo primaryInfo); in setPrimary() argument
|