Home
last modified time | relevance | path

Searched refs:mContactIconView (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java51 private TextView mContactIconView; field in ConversationMessageView
90 mContactIconView = (TextView) findViewById(R.id.conversation_icon); in onFinishInflate()
103 mContactIconView.measure(iconMeasureSpec, iconMeasureSpec); in onMeasure()
105 Math.max(mContactIconView.getMeasuredWidth(), mContactIconView.getMeasuredHeight()), in onMeasure()
107 mContactIconView.measure(iconMeasureSpec, iconMeasureSpec); in onMeasure()
115 final int maxLeftoverSpace = horizontalSpace - mContactIconView.getMeasuredWidth() * 2 in onMeasure()
122 final int maxHeight = Math.max(mContactIconView.getMeasuredHeight(), in onMeasure()
132 final int iconWidth = mContactIconView.getMeasuredWidth(); in onLayout()
133 final int iconHeight = mContactIconView.getMeasuredHeight(); in onLayout()
160 mContactIconView.layout(iconLeft, iconTop, iconLeft + iconWidth, iconTop + iconHeight); in onLayout()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListItemView.java54 private ContactIconView mContactIconView; field in ContactListItemView
71 mContactIconView = (ContactIconView) findViewById(R.id.contact_icon); in onFinishInflate()
129 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
131 mContactIconView.setVisibility(VISIBLE); in updateViewAppearance()
139 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
141 mContactIconView.setVisibility(VISIBLE); in updateViewAppearance()
149 mContactIconView.setImageResourceUri(null); in updateViewAppearance()
150 mContactIconView.setVisibility(INVISIBLE); in updateViewAppearance()
182 mContactIconView.setImageClickHandlerDisabled(isHandlerDisabled); in setImageClickHandlerDisabled()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPersonItemView.java56 private ContactIconView mContactIconView; field in PersonItemView
71 mContactIconView = (ContactIconView) findViewById(R.id.contact_icon); in onFinishInflate()
189 mContactIconView.setOnLongClickListener(onLongClickListener); in setListener()
193 mContactIconView.performClick(); in performClickOnAvatar()
208 mContactIconView.setImageResourceUri(mBinding.getData().getAvatarUri(), in updateViewAppearance()
213 mContactIconView.setImageResourceUri(null); in updateViewAppearance()
DBlockedParticipantListItemView.java36 private ContactIconView mContactIconView; field in BlockedParticipantListItemView
46 mContactIconView = (ContactIconView) findViewById(R.id.contact_icon); in onFinishInflate()
60 mContactIconView.setImageResourceUri(data.getAvatarUri(), data.getContactId(), in bind()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListItemView.java125 private ContactIconView mContactIconView; field in ConversationListItemView
151 mContactIconView = (ContactIconView) findViewById(R.id.conversation_icon); in onFinishInflate()
455 mContactIconView.setImageResourceUri(iconUri, mData.getParticipantContactId(), in bind()
457 mContactIconView.setVisibility(contactIconVisibility); in bind()
458 mContactIconView.setOnLongClickListener(this); in bind()
459 mContactIconView.setClickable(!mHostInterface.isSelectionMode()); in bind()
460 mContactIconView.setLongClickable(!mHostInterface.isSelectionMode()); in bind()
613 Assert.isTrue(v == mSwipeableContainer || v == mContactIconView || v == mImagePreviewView); in processClick()
628 return mContactIconView; in getContactIconView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java104 private ContactIconView mContactIconView; field in ConversationMessageView
125 mContactIconView = (ContactIconView) findViewById(R.id.conversation_icon); in onFinishInflate()
126 mContactIconView.setOnLongClickListener(new OnLongClickListener() { in onFinishInflate()
170 mContactIconView.measure(iconMeasureSpec, iconMeasureSpec); in onMeasure()
178 final int maxLeftoverSpace = horizontalSpace - mContactIconView.getMeasuredWidth() * 2 in onMeasure()
185 final int maxHeight = Math.max(mContactIconView.getMeasuredHeight(), in onMeasure()
195 final int iconWidth = mContactIconView.getMeasuredWidth(); in onLayout()
196 final int iconHeight = mContactIconView.getMeasuredHeight(); in onLayout()
222 mContactIconView.layout(iconLeft, iconTop, iconLeft + iconWidth, iconTop + iconHeight); in onLayout()
472 mContactIconView.setVisibility(View.GONE); in updateViewContent()
[all …]