Home
last modified time | relevance | path

Searched refs:itemView (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java260 private void onSwipeGestureStart(final ConversationListItemView itemView) { in onSwipeGestureStart() argument
262 setHardwareAnimatingLayerType(itemView, ANIMATING); in onSwipeGestureStart()
263 itemView.setAnimating(true); in onSwipeGestureStart()
269 private void onSwipeGestureEnd(final ConversationListItemView itemView, in onSwipeGestureEnd() argument
272 itemView.onSwipeComplete(); in onSwipeGestureEnd()
276 itemView.setAnimating(false); in onSwipeGestureEnd()
295 private void onSwipeAnimationStart(final ConversationListItemView itemView) { in onSwipeAnimationStart() argument
297 itemView.setAnimating(true); in onSwipeAnimationStart()
298 ViewCompat.setHasTransientState(itemView, true); in onSwipeAnimationStart()
299 setHardwareAnimatingLayerType(itemView, ANIMATING); in onSwipeAnimationStart()
[all …]
DShareIntentAdapter.java64 final PersonItemView itemView = (PersonItemView) LayoutInflater.from(context).inflate( in createViewHolder() local
66 return new ShareIntentViewHolder(itemView); in createViewHolder()
118 public ShareIntentViewHolder(final PersonItemView itemView) { in ShareIntentViewHolder() argument
119 super(itemView); in ShareIntentViewHolder()
120 itemView.setListener(this); in ShareIntentViewHolder()
125 ((PersonItemView) itemView).bind(mItemData); in bind()
DConversationListAdapter.java60 final ConversationListItemView itemView = in createViewHolder() local
63 return new ConversationListViewHolder(itemView); in createViewHolder()
72 public ConversationListViewHolder(final ConversationListItemView itemView) { in ConversationListViewHolder() argument
73 super(itemView); in ConversationListViewHolder()
74 mView = itemView; in ConversationListViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DDialogActionAdapter.java175 itemView.getContext()).cancelDownload(mPendingBitmapCallback); in init()
178 TextView title = (TextView) itemView.findViewById(R.id.action_title); in init()
179 TextView description = (TextView) itemView.findViewById(R.id.action_description); in init()
184 ImageView checkmarkView = (ImageView) itemView.findViewById(R.id.action_checkmark); in init()
187 ImageView indicatorView = (ImageView) itemView.findViewById(R.id.action_icon); in init()
188 View content = itemView.findViewById(R.id.action_content); in init()
191 contentLp.width = itemView.getContext().getResources() in init()
194 contentLp.width = itemView.getContext().getResources() in init()
199 ImageView chevronView = (ImageView) itemView.findViewById(R.id.action_next_chevron); in init()
202 final Resources res = itemView.getContext().getResources(); in init()
[all …]
DSettingsLayoutAdapter.java217 mTitle = (TextView) itemView.findViewById(R.id.action_title); in init()
219 mDescription = (TextView) itemView.findViewById(R.id.action_description); in init()
221 mCheckmarkView = (ImageView) itemView.findViewById(R.id.action_checkmark); in init()
222 mIndicatorView = (ImageView) itemView.findViewById(R.id.action_icon); in init()
223 mContent = itemView.findViewById(R.id.action_content); in init()
224 mChevronView = (ImageView) itemView.findViewById(R.id.action_next_chevron); in init()
225 mHairlineView = itemView.findViewById(R.id.static_hairline); in init()
226 itemView.setTag(R.id.action_title, this); in init()
227 itemView.setOnKeyListener(mActionOnKeyPressAnimator); in init()
228 itemView.setOnClickListener(mViewOnClickListener); in init()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java228 final PeopleOptionsItemView itemView; in getView() local
230 itemView = (PeopleOptionsItemView) convertView; in getView()
234 itemView = (PeopleOptionsItemView) in getView()
238 itemView.bind(mOptionsCursor, position, mOtherParticipantData, in getView()
240 return itemView; in getView()
261 PersonItemView itemView; in getView() local
264 itemView = (PersonItemView) convertView; in getView()
268 itemView = (PersonItemView) inflater.inflate(R.layout.people_list_item_view, parent, in getView()
273 itemView.bind(itemData); in getView()
276 final PersonItemView itemViewClosure = itemView; in getView()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DHeaderEntryContactListAdapter.java62 final ContactListItemView itemView; in getView() local
65 itemView = newView(getContext(), 0, getCursor(0), 0, parent); in getView()
67 itemView = (ContactListItemView) convertView; in getView()
69 itemView.setDrawableResource(R.drawable.ic_search_add_contact); in getView()
70 itemView.setDisplayName(getContext().getResources().getString( in getView()
72 return itemView; in getView()
94 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
95 super.bindView(itemView, partition, cursor, position + getHeaderEntryCount()); in bindView()
DJoinContactListAdapter.java184 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
185 super.bindView(itemView, partition, cursor, position); in bindView()
188 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
195 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
DMultiSelectEntryContactListAdapter.java109 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
110 super.bindView(itemView, partition, cursor, position); in bindView()
111 final ContactListItemView view = (ContactListItemView)itemView; in bindView()
DLegacyContactListAdapter.java84 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
85 super.bindView(itemView, partition, cursor, position); in bindView()
86 ContactListItemView view = (ContactListItemView)itemView; in bindView()
DLegacyPhoneNumberListAdapter.java89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
90 super.bindView(itemView, partition, cursor, position); in bindView()
91 ContactListItemView view = (ContactListItemView)itemView; in bindView()
DLegacyPostalAddressListAdapter.java89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
90 super.bindView(itemView, partition, cursor, position); in bindView()
91 ContactListItemView view = (ContactListItemView)itemView; in bindView()
DPostalAddressListAdapter.java125 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
126 super.bindView(itemView, partition, cursor, position); in bindView()
127 ContactListItemView view = (ContactListItemView)itemView; in bindView()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DSettingsActivity.java134 View itemView; in getView() local
136 itemView = convertView; in getView()
140 itemView = inflater.inflate( in getView()
144 final TextView titleTextView = (TextView) itemView.findViewById(R.id.title); in getView()
145 final TextView subtitleTextView = (TextView) itemView.findViewById(R.id.subtitle); in getView()
154 itemView.setOnClickListener(new OnClickListener() { in getView()
174 return itemView; in getView()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java122 public FolderHolder(final View itemView, final TextView sendersTextView, in FolderHolder() argument
124 mItemView = itemView; in FolderHolder()
219 final View itemView = mInflater.inflate(R.layout.folder_teaser_item, mNestedFolderContainer, in createFolderHolder() local
222 ((TextView) itemView.findViewById(R.id.folder_textView)).setText(folderName); in createFolderHolder()
223 final TextView sendersTextView = (TextView) itemView.findViewById(R.id.senders_textView); in createFolderHolder()
224 final TextView countTextView = (TextView) itemView.findViewById(R.id.unread_count_textView); in createFolderHolder()
226 (ImageView) itemView.findViewById(R.id.nested_folder_icon); in createFolderHolder()
227 final FolderHolder holder = new FolderHolder(itemView, sendersTextView, countTextView, in createFolderHolder()
230 attachOnClickListener(itemView, holder); in createFolderHolder()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorView.java145 SimSelectorItemView itemView; in getView() local
147 itemView = (SimSelectorItemView) convertView; in getView()
151 itemView = (SimSelectorItemView) inflater.inflate(mItemLayoutId, in getView()
153 itemView.setHostInterface(SimSelectorView.this); in getView()
155 itemView.bind(getItem(position)); in getView()
156 return itemView; in getView()
DConversationMessageAdapter.java107 public ConversationMessageViewHolder(final View itemView, in ConversationMessageViewHolder() argument
110 super(itemView); in ConversationMessageViewHolder()
111 mView = itemView; in ConversationMessageViewHolder()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragmentTest.java149 final AttachmentGridItemView itemView = (AttachmentGridItemView) in testUnselect() local
151 assertEquals(attachmentGridView, itemView.testGetHostInterface()); in testUnselect()
152 final CheckBox checkBox = (CheckBox) itemView.findViewById(R.id.checkbox); in testUnselect()
154 assertEquals(true, attachmentGridView.isItemSelected(itemView.mAttachmentData)); in testUnselect()
157 assertEquals(false, attachmentGridView.isItemSelected(itemView.mAttachmentData)); in testUnselect()
166 itemView.mAttachmentData, itemView2.mAttachmentData }; in testUnselect()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragment.java169 AttachmentGridItemView itemView; in getView() local
172 itemView = (AttachmentGridItemView) convertView; in getView()
176 itemView = (AttachmentGridItemView) inflater.inflate( in getView()
179 itemView.bind(item, mAttachmentGridView); in getView()
180 return itemView; in getView()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactDropdownLayouter.java93 final View itemView = reuseOrInflateView(convertView, parent, type); in bindView() local
99 Assert.isTrue(itemView instanceof ContactListItemView); in bindView()
100 final ContactListItemView contactListItemView = (ContactListItemView) itemView; in bindView()
104 return itemView; in bindView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java251 … vh.itemView instanceof BaseRecyclerViewFastScrollBar.FastScrollFocusableView) { in scrollToPositionAtProgress()
253 (BaseRecyclerViewFastScrollBar.FastScrollFocusableView) vh.itemView; in scrollToPositionAtProgress()
372 … vh.itemView instanceof BaseRecyclerViewFastScrollBar.FastScrollFocusableView &&
373 mLastFastScrollFocusedView != vh.itemView) {
375 (BaseRecyclerViewFastScrollBar.FastScrollFocusableView) vh.itemView;
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java256 View itemView = mAgendaAdapter.getView(row.mPosition, convertView, parent); in getView() local
257 AgendaAdapter.ViewHolder holder = ((AgendaAdapter.ViewHolder) itemView.getTag()); in getView()
273 itemView.setBackgroundResource(R.drawable.agenda_item_bg_secondary); in getView()
277 itemView.setBackgroundResource(R.drawable.agenda_item_bg_primary); in getView()
282 return itemView; in getView()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DDialogAdapter.java95 public ViewHolder(View itemView) { in ViewHolder() argument
96 super(itemView); in ViewHolder()
97 mTitle = (TextView) itemView.findViewById(R.id.setting_title); in ViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java369 public ViewHolder(View itemView) { in ViewHolder() argument
370 super(itemView); in ViewHolder()
371 mTextView = (TextView) itemView.findViewById(R.id.list_item); in ViewHolder()
372 itemView.setOnClickListener(this); in ViewHolder()
/packages/apps/Dialer/src/com/android/dialer/list/
DAllContactsFragment.java132 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in createListAdapter()
133 super.bindView(itemView, partition, cursor, position); in createListAdapter()
134 itemView.setTag(this.getContactUri(partition, cursor)); in createListAdapter()

12