/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
D | ContactViewBinder.java | 32 public static void bind(Contact contact, TextView textView) { in bind() argument 33 textView.setText(contact.getName()); in bind() 34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0); in bind()
|
D | SampleChooserTargetService.java | 43 Contact contact = Contact.byId(i); in onGetChooserTargets() local 48 contact.getName(), in onGetChooserTargets() 50 Icon.createWithResource(this, contact.getIcon()), in onGetChooserTargets()
|
D | SelectContactActivity.java | 77 view = LayoutInflater.from(parent.getContext()).inflate(R.layout.contact, parent, 81 Contact contact = (Contact) getItem(i); 82 ContactViewBinder.bind(contact, textView);
|
D | SendMessageActivity.java | 117 Contact contact = Contact.byId(mContactId); in prepareUi() local 118 ContactViewBinder.bind(contact, mTextContactName); in prepareUi()
|
/developers/samples/android/content/SharingShortcuts/Application/src/main/java/com/example/android/sharingshortcuts/ |
D | ContactViewBinder.java | 32 public static void bind(Contact contact, TextView textView) { in bind() argument 33 textView.setText(contact.getName()); in bind() 34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0); in bind()
|
D | SharingShortcutsManager.java | 78 Contact contact = Contact.byId(id); in pushDirectShareTargets() local 86 .setShortLabel(contact.getName()) in pushDirectShareTargets() 88 .setIcon(IconCompat.createWithResource(context, contact.getIcon())) in pushDirectShareTargets() 96 .setName(contact.getName()) in pushDirectShareTargets()
|
D | SelectContactActivity.java | 73 Contact contact = Contact.CONTACTS[position]; 74 ContactViewBinder.bind(contact, (TextView) holder.itemView);
|
D | SendMessageActivity.java | 126 Contact contact = Contact.byId(mContactId); in prepareUi() local 127 ContactViewBinder.bind(contact, mTextContactName); in prepareUi()
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
D | ContactViewBinder.java | 32 public static void bind(Contact contact, TextView textView) { in bind() argument 33 textView.setText(contact.getName()); in bind() 34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0); in bind()
|
D | SampleChooserTargetService.java | 43 Contact contact = Contact.byId(i); in onGetChooserTargets() local 48 contact.getName(), in onGetChooserTargets() 50 Icon.createWithResource(this, contact.getIcon()), in onGetChooserTargets()
|
D | SelectContactActivity.java | 77 view = LayoutInflater.from(parent.getContext()).inflate(R.layout.contact, parent, 81 Contact contact = (Contact) getItem(i); 82 ContactViewBinder.bind(contact, textView);
|
D | SendMessageActivity.java | 117 Contact contact = Contact.byId(mContactId); in prepareUi() local 118 ContactViewBinder.bind(contact, mTextContactName); in prepareUi()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/ |
D | Chat.kt | 20 class Chat(val contact: Contact) { in <lambda>() constant in com.example.android.bubbles.data.Chat 25 Message(1L, contact.id, "Send me a message", null, System.currentTimeMillis()), in <lambda>() 26 Message(2L, contact.id, "I will reply in 5 seconds", null, System.currentTimeMillis()) in <lambda>()
|
D | ChatRepository.kt | 58 private val chats = Contact.CONTACTS.map { contact -> in contact() method 59 contact.id to Chat(contact) in contact() 112 chat.addMessage(chat.contact.reply(text)) in sendMessage() 114 if (chat.contact.id != currentChat) { in sendMessage()
|
D | NotificationHelper.kt | 70 chat.contact.icon in <lambda>() 74 .setName(chat.contact.name) in <lambda>() 113 .setContentTitle(chat.contact.name) in <lambda>() 133 builder.setContentText(context.getString(R.string.chat_with_contact, chat.contact.name)) in <lambda>() 162 notificationManager.notify(chat.contact.id.toInt(), builder.build()) in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/chat/ |
D | ChatViewModelTest.kt | 47 repository = TestChatRepository(dummyContacts.map { contact -> in <lambda>() method 48 contact.id to Chat(contact) in <lambda>() 59 assertThat(viewModel.contact.observedValue()).isEqualTo(dummyContacts.find { it.id == 1L }) in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/main/ |
D | MainViewModelTest.kt | 46 TestChatRepository(dummyContacts.map { contact -> in <lambda>() method 47 contact.id to Chat(contact) in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/main/ |
D | ContactAdapter.kt | 51 val contact: Contact = getItem(position) in onBindViewHolder() constant 52 …Glide.with(holder.icon).load(contact.icon).apply(RequestOptions.circleCropTransform()).into(holder… in onBindViewHolder() 53 holder.name.text = contact.name in onBindViewHolder()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/ |
D | ChatFragment.kt | 127 viewModel.contact.observe(viewLifecycleOwner, Observer { chat -> in <lambda>() 177 val contact = viewModel.contact.value ?: return in <lambda>() constant 180 .putExtra(VoiceCallActivity.EXTRA_NAME, contact.name) in <lambda>() 181 .putExtra(VoiceCallActivity.EXTRA_ICON, contact.icon) in <lambda>()
|
D | ChatViewModel.kt | 58 val contact: LiveData<Contact?> = Transformations.switchMap(chatId) { id -> in <lambda>() constant
|
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/data/ |
D | TestChatRepository.kt | 34 value = chats.values.map { it.contact } in <lambda>() 70 chat.addMessage(chat.contact.reply(text)) in <lambda>()
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/ |
D | ContactsListAdapter.java | 163 Profile contact = mContacts.get(position - INDEX_OFFSET); in onBindViewHolder() local 165 viewHolderContent.name.setText(contact.getName()); in onBindViewHolder() 168 .load(contact.getProfileImageSource()) in onBindViewHolder()
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/ |
D | ContactsListAdapter.java | 163 Profile contact = mContacts.get(position - INDEX_OFFSET); in onBindViewHolder() local 165 viewHolderContent.name.setText(contact.getName()); in onBindViewHolder() 168 .load(contact.getProfileImageSource()) in onBindViewHolder()
|
/developers/build/prebuilts/gradle/LNotifications/ |
D | README.md | 23 (`VisibilityMetadataFragment`), and how to set the category, priority, and associated contact
|