/frameworks/base/core/java/android/app/ |
D | Person.java | 33 public final class Person implements Parcelable { class 42 private Person(Parcel in) { in Person() method in Person 53 private Person(Builder builder) { in Person() method in Person 143 if (obj instanceof Person) { in equals() 144 final Person other = (Person) obj; in equals() 212 private Builder(Person person) { in Builder() 227 public Person.Builder setName(@Nullable CharSequence name) { in setName() 240 public Person.Builder setIcon(@Nullable Icon icon) { in setIcon() 262 public Person.Builder setUri(@Nullable String uri) { in setUri() 278 public Person.Builder setKey(@Nullable String key) { in setKey() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingData.java | 20 import android.app.Person; 28 private final Person mUser; 33 private final List<Person> mSenders; 38 MessagingData(Person user, boolean showSpinner, in MessagingData() 41 List<Person> senders) { in MessagingData() 48 MessagingData(Person user, boolean showSpinner, in MessagingData() 53 List<Person> senders, in MessagingData() 65 public Person getUser() { in getUser() 85 public List<Person> getSenders() { in getSenders()
|
D | CallLayout.java | 24 import android.app.Person; 57 private Person mUser; 163 final Person person = getPerson(extras); in setData() 178 final Person person = getPerson(extras); in setDataAsync() 186 private Person getPerson(Bundle extras) { in getPerson() 187 return extras.getParcelable(Notification.EXTRA_CALL_PERSON, Person.class); in getPerson() 190 private void setUser(Person user) { in setUser()
|
D | MessagingLayout.java | 27 import android.app.Person; 84 private Person mUser; 177 Person.class)); in parseMessagingData() 184 final Person user = extras.getParcelable(Notification.EXTRA_MESSAGING_PERSON, Person.class); in parseMessagingData() 194 List<Person> senders = new ArrayList<>(); in parseMessagingData() 254 historyMessage.getText(), 0, (Person) null, true /* remoteHistory */); in addRemoteInputHistoryToMessages() 450 public void setUser(Person user) { in setUser() 461 List<Person> senders, boolean showSpinner) { in createGroupViews() 488 Person sender = senders.get(groupIndex); in createGroupViews() 509 List<Person> senders) { in findGroups() [all …]
|
D | CompactMessagingLayout.java | 21 import android.app.Person; 137 final Person user = extras.getParcelable(Notification.EXTRA_MESSAGING_PERSON, Person.class); in setGroupFacePileAsync() 151 final Person sender = in setGroupFacePileAsync() 200 private Icon getSenderIcon(@Nullable Person sender, in getSenderIcon() 253 private static CharSequence getPersonKey(@Nullable Person person) {
|
D | ConversationLayout.java | 31 import android.app.Person; 103 private Person mUser; 428 final Person user = extras.getParcelable(Notification.EXTRA_MESSAGING_PERSON, Person.class); in parseMessagingData() 446 List<Person> senders = new ArrayList<>(); in parseMessagingData() 529 historyMessage.getText(), 0, (Person) null, true /* remoteHistory */); in addRemoteInputHistoryToMessages() 610 Person messageSender = messagingGroup.getSender(); in computeAndSetConversationAvatarAndName() 730 Person messageSender = messagingGroup.getSender(); in bindFacePile() 1089 private void setUser(Person user) { in setUser() 1100 List<Person> senders, boolean showSpinner) { in createGroupViews() 1128 Person sender = senders.get(groupIndex); in createGroupViews() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConversationActions.java | 24 import android.app.Person; 111 public static final Person PERSON_USER_SELF = 112 new Person.Builder() 126 public static final Person PERSON_USER_OTHERS = 127 new Person.Builder() 132 private final Person mAuthor; 141 @Nullable Person author, in Message() 152 mAuthor = in.readParcelable(null, android.app.Person.class); in Message() 193 public Person getAuthor() { in getAuthor() 225 private Person mAuthor; [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppSearchShortcutInfoTest.java | 21 import android.app.Person; 41 final Person person = new Person.Builder() in testBuildShortcutAndGetValue() 67 final Person target = shortcut.getPersons()[0]; in testBuildShortcutAndGetValue()
|
D | AppSearchShortcutPersonTest.java | 21 import android.app.Person; 35 final Person person = new AppSearchShortcutPerson.Builder(uri) in testBuildPersonAndGetValue()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | LaunchBubbleActivity.java | 24 import android.app.Person; 72 Person[] persons = new Person[4]; in addInboxShortcut() 74 persons[i] = new Person.Builder() in addInboxShortcut()
|
D | BubbleHelper.java | 24 import android.app.Person; 116 Person chatBot = new Person.Builder() in getNotificationBuilder()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppSearchShortcutPerson.java | 21 import android.app.Person; 88 public static AppSearchShortcutPerson instance(@NonNull final Person person) { in instance() 107 public Person toPerson() { in toPerson() 116 return new Person.Builder().setName(getPropertyString(KEY_NAME)) in toPerson()
|
D | AppSearchShortcutInfo.java | 22 import android.app.Person; 407 final Person[] persons = parsePerson(getPropertyDocumentArray(KEY_PERSON)); in toShortcutInfo() 563 public Builder setPerson(@Nullable final Person person) { in setPerson() 567 return setPersons(new Person[]{person}); in setPerson() 574 public Builder setPersons(@Nullable final Person[] persons) { in setPersons() 580 final Person person = persons[i]; in setPersons() 787 private static Person[] parsePerson(@Nullable final GenericDocument[] persons) { in parsePerson() 788 if (persons == null) return new Person[0]; in parsePerson() 789 final Person[] ret = new Person[persons.length]; in parsePerson()
|
D | ShortcutInfo.java | 25 import android.app.Person; 432 private Person[] mPersons; 577 private static Person[] clonePersons(Person[] persons) { in clonePersons() 581 final Person[] ret = new Person[persons.length]; in clonePersons() 1083 private Person[] mPersons; 1403 public Builder setPerson(@NonNull Person person) { in setPerson() 1404 return setPersons(new Person[]{person}); in setPerson() 1414 public Builder setPersons(@NonNull Person[] persons) { in setPersons() 1419 for (Person person : persons) { in setPersons() 1757 public Person[] getPersons() { in getPersons() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | SingleLineConversationViewBinderTest.kt | 19 import android.app.Person 59 Person.Builder() in bindGroupConversationSingleLineView() 70 Person.Builder().setName("user2").build() in bindGroupConversationSingleLineView()
|
D | SingleLineViewInflaterTest.kt | 20 import android.app.Person in <lambda>() 57 private lateinit var firstSender: Person in <lambda>() 58 private lateinit var lastSender: Person in <lambda>() 63 private val currentUser: Person? = null in <lambda>() 87 firstSender = Person.Builder().setName(FIRST_SENDER_NAME).setIcon(firstSenderIcon).build() in <lambda>() 88 lastSender = Person.Builder().setName(LAST_SENDER_NAME).setIcon(lastSenderIcon).build() in <lambda>() 296 val user = Person.Builder().setName("User").build() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | ColorizedFgsCoordinatorTest.java | 29 import android.app.Person; 142 final Person person = new Person.Builder().setName("person").build(); in makeCallStyle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | NotificationHelper.java | 25 import android.app.Person; 167 ArrayList<Person> people = sbn.getNotification().extras.getParcelableArrayList( in getContactUri() 181 Person sender = message.getSenderPerson(); in getContactUri() 231 Person person = message.getSenderPerson(); in getSenderIfGroupConversation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | NotificationHelperTest.java | 33 import android.app.Person; 65 private static final Person PERSON = new Person.Builder() 245 NOTIFICATION_TEXT_3, 10, new Person.Builder().build()); in testGetSenderIfGroupConversation_groupNoName()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 601 new Person.Builder().setName("A Caller").build(), in testCallStyle_getSystemActions_forIncomingCall() 618 new Person.Builder().setName("A Caller").build(), in testCallStyle_getSystemActions_forOngoingCall() 634 new Person.Builder().setName("A Caller").build(), in testCallStyle_getSystemActions_forIncomingCallWithOtherActions() 658 new Person.Builder().setName("A Caller").build(), in testCallStyle_getSystemActions_forOngoingCallWithOtherActions() 680 new Person.Builder().setName("A Caller").build(), in testCallStyle_getSystemActions_dropsOldSystemActions() 724 new Person.Builder().setIcon(hugeIcon).setName("A User").build()); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 726 new Person.Builder().setIcon(hugeMessageAvatar).setName("A Sender").build())); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 728 new Person.Builder().setIcon(hugeHistoricMessageAvatar).setName( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 757 new Person.Builder().setName("A User").build()).setShortcutIcon(hugeIcon); in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon() 982 new Person.Builder().setName("hi").build(), intent1, intent1); in testRestoreFromExtras_Call_invalidExtra_noCrash() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 30 import android.app.Person; 68 private static final Person PERSON = mock(Person.class); 312 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValid() 333 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValidButUserLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryTest.java | 40 import android.app.Person; 344 Person.Builder person = new Person.Builder() in notificationDataEntry_testIsLastMessageFromReply() 376 Person.Builder person = new Person.Builder() in notificationDataEntry_testIsLastMessageFromReply_invalidPerson_noCrash()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryMeterTest.kt | 22 import android.app.Person 175 val person = Person.Builder().setIcon(personIcon).setName("Person").build() in currentNotificationMemoryUse_callingStyle() 201 val person = Person.Builder().setIcon(personIcon).setName("Person").build() in currentNotificationMemoryUse_messagingStyle() 206 Person.Builder().setIcon(historicPersonIcon).setName("Historic person").build() in currentNotificationMemoryUse_messagingStyle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryMeter.kt | 11 import android.app.Person in <lambda>() 95 val peopleList = extras.getParcelableArrayList<Person>(Notification.EXTRA_PEOPLE_LIST) in <lambda>() 207 is Person -> computeIconUse(parcelable.icon, seenBitmaps) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | StatusBarNotificationTest.java | 32 import android.app.Person; 179 .addPerson(new Person.Builder().build()); in testLogMakerWithPerson() 188 .setStyle(new Notification.MessagingStyle(new Person.Builder().build())); in testLogMakerWithStyle()
|