Home
last modified time | relevance | path

Searched refs:photo (Results 1 – 12 of 12) sorted by relevance

/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
DMessage.kt25 val photo: Int?, constant in com.example.android.bubbles.data.Message
36 var photo: Int? = null variable in com.example.android.bubbles.data.Message.Builder
38 fun build() = Message(id!!, sender!!, text!!, photo, timestamp!!)
DNotificationHelper.kt143 if (lastMessage.photo != null) { in <lambda>()
145 … .bigPicture(BitmapFactory.decodeResource(context.resources, lastMessage.photo)) in <lambda>()
DContact.kt42 photo = R.drawable.sheep_full in <lambda>()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/photo/
DPhotoFragment.kt1 package com.example.android.bubbles.ui.photo
22 fun newInstance(@DrawableRes photo: Int) = PhotoFragment().apply { in <lambda>()
24 putInt(ARG_PHOTO, photo) in <lambda>()
45 view.findViewById<ImageView>(R.id.photo).setImageResource(photoResId) in onViewCreated()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/
DMessageAdapter.kt35 private val onPhotoClicked: (photo: Int) -> Unit
69 val photo: Int? = it.getTag(R.id.tag_photo) as Int? in onCreateViewHolder() constant
70 if (photo != null) { in onCreateViewHolder()
71 onPhotoClicked(photo) in onCreateViewHolder()
91 if (message.photo != null) { in onBindViewHolder()
92 holder.message.setTag(R.id.tag_photo, message.photo) in onBindViewHolder()
93 setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, message.photo) in onBindViewHolder()
DChatFragment.kt116 val messageAdapter = MessageAdapter(view.context) { photo -> in <lambda>() method
117 navigationController.openPhoto(photo) in <lambda>()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/
DBubbleActivity.kt24 import com.example.android.bubbles.ui.photo.PhotoFragment
46 override fun openPhoto(photo: Int) { in openPhoto()
51 replace(R.id.container, PhotoFragment.newInstance(photo)) in openPhoto()
DMainActivity.kt32 import com.example.android.bubbles.ui.photo.PhotoFragment
108 override fun openPhoto(photo: Int) { in openPhoto()
111 replace(R.id.container, PhotoFragment.newInstance(photo)) in openPhoto()
DNavigationController.kt30 fun openPhoto(@DrawableRes photo: Int) in <lambda>()
/developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/
DAssetFragment.java42 mPhoto = (ImageView) view.findViewById(R.id.photo); in onCreateView()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/res/raw/
Ddefault_field_types863 "photo"
876 "typeName": "photo"
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/res/raw/
Ddefault_field_types863 "photo"
876 "typeName": "photo"