Searched defs:itemView (Results 1 - 25 of 54) sorted by relevance

123

/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
H A DLensPickerRow.java33 public LensPickerRow(View itemView) { argument
34 super(itemView);
35 mCardView = itemView.findViewById(R.id.stream_card);
36 mIconView = (ImageView) itemView.findViewById(R.id.icon);
37 mTitleView = (TextView) itemView.findViewById(R.id.text);
H A DResolverListRow.java39 public ResolverListRow(View itemView) { argument
40 super(itemView);
41 mCardView = itemView.findViewById(R.id.stream_card);
42 mIconView = (ImageView) itemView.findViewById(R.id.icon);
43 mTitleView = (TextView) itemView.findViewById(R.id.text);
/packages/apps/Car/Overview/src/com/android/car/overview/
H A DSimpleStreamViewHolder.java40 public SimpleStreamViewHolder(Context context, View itemView) { argument
41 super(context, itemView);
42 mPrimaryTextView = (TextView) itemView.findViewById(R.id.primary_text);
43 mSecondaryTextView = (TextView) itemView.findViewById(R.id.secondary_text);
44 mPrimaryIconView = (ImageView) itemView.findViewById(R.id.primary_icon_button);
45 mSecondaryIconView = (ImageView) itemView.findViewById(R.id.secondary_icon_button);
H A DStreamViewHolder.java31 public StreamViewHolder(Context context, View itemView) { argument
32 super(itemView);
34 mActionContainer = itemView.findViewById(R.id.primary_action_container);
H A DCurrentCallStreamViewHolder.java52 public CurrentCallStreamViewHolder(Context context, View itemView) { argument
53 super(context, itemView);
55 mBackgroundImage = (ImageView) itemView.findViewById(R.id.background_image);
56 mDisplayNameTextView = (TextView) itemView.findViewById(R.id.display_name);
57 mCallStateTextView = (TextView) itemView.findViewById(R.id.call_state);
58 mTimerView = (Chronometer) itemView.findViewById(R.id.timer);
60 mCallActionButton = (OverviewFabButton) itemView.findViewById(R.id.call_button);
61 mMuteActionButton = (ImageButton) itemView.findViewById(R.id.mute_button);
H A DMediaStreamViewHolder.java55 public MediaStreamViewHolder(Context context, View itemView) { argument
56 super(context, itemView);
58 mPlayerBackground = (ImageView) itemView.findViewById(R.id.media_player_background);
59 mTitleTextView = (TextView) itemView.findViewById(R.id.title);
60 mSubtitleTextview = (TextView) itemView.findViewById(R.id.subtitle);
62 mSkipToPreviousButton = (ImageButton) itemView.findViewById(R.id.skip_previous);
63 mSkipToNextButton = (ImageButton) itemView.findViewById(R.id.skip_next);
64 mPlayPauseButton = (OverviewFabButton) itemView.findViewById(R.id.play_pause);
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
H A DAddCustomRingtoneViewHolder.java36 private AddCustomRingtoneViewHolder(View itemView) { argument
37 super(itemView);
38 itemView.setOnClickListener(this);
40 final View selectedView = itemView.findViewById(R.id.sound_image_selected);
43 final TextView nameView = (TextView) itemView.findViewById(R.id.ringtone_name);
44 nameView.setText(itemView.getContext().getString(R.string.add_new_sound));
47 final ImageView imageView = (ImageView) itemView.findViewById(R.id.ringtone_image);
67 final View itemView = mInflater.inflate(R.layout.ringtone_item_sound, parent, false);
68 return new AddCustomRingtoneViewHolder(itemView);
H A DHeaderViewHolder.java33 private HeaderViewHolder(View itemView) { argument
34 super(itemView);
35 mItemHeader = (TextView) itemView.findViewById(R.id.ringtone_item_header);
H A DRingtoneViewHolder.java53 private RingtoneViewHolder(View itemView) { argument
54 super(itemView);
55 itemView.setOnClickListener(this);
57 mSelectedView = itemView.findViewById(R.id.sound_image_selected);
58 mNameView = (TextView) itemView.findViewById(R.id.ringtone_name);
59 mImageView = (ImageView) itemView.findViewById(R.id.ringtone_image);
74 final int colorAccent = ThemeUtils.resolveColor(itemView.getContext(),
92 itemView.setBackgroundColor(ContextCompat.getColor(itemView.getContext(), bgColorId));
95 itemView
[all...]
/packages/apps/Dialer/java/com/android/dialer/app/list/
H A DBlockedListSearchAdapter.java64 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
65 super.bindView(itemView, partition, cursor, position);
67 final ContactListItemView view = (ContactListItemView) itemView;
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
H A DContactViewHolder.java39 public ContactViewHolder(View itemView) { argument
40 super(itemView);
41 itemView.findViewById(R.id.click_target).setOnClickListener(this);
42 header = (TextView) itemView.findViewById(R.id.header);
43 name = (TextView) itemView.findViewById(R.id.contact_name);
44 photo = (QuickContactBadge) itemView.findViewById(R.id.photo);
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListAdapter.java60 final ConversationListItemView itemView =
63 return new ConversationListViewHolder(itemView);
72 public ConversationListViewHolder(final ConversationListItemView itemView) { argument
73 super(itemView);
74 mView = itemView;
H A DShareIntentAdapter.java64 final PersonItemView itemView = (PersonItemView) LayoutInflater.from(context).inflate(
66 return new ShareIntentViewHolder(itemView);
118 public ShareIntentViewHolder(final PersonItemView itemView) { argument
119 super(itemView);
120 itemView.setListener(this);
125 ((PersonItemView) itemView).bind(mItemData);
/packages/apps/Settings/src/com/android/settings/password/
H A DPasswordRequirementAdapter.java71 public PasswordRequirementViewHolder(View itemView) { argument
72 super(itemView);
73 mDescriptionText = (TextView) itemView;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DHeaderEntryContactListAdapter.java60 final ContactListItemView itemView;
63 itemView = newView(getContext(), 0, getCursor(0), 0, parent);
65 itemView = (ContactListItemView) convertView;
67 itemView.setDrawableResource(R.drawable.quantum_ic_person_add_vd_theme_24);
68 itemView.setDisplayName(getContext().getResources().getString(
70 return itemView;
92 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
93 super.bindView(itemView, partition, cursor, position + getHeaderEntryCount());
H A DLegacyContactListAdapter.java81 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
82 super.bindView(itemView, partition, cursor, position);
83 ContactListItemView view = (ContactListItemView)itemView;
H A DDefaultContactListAdapter.java262 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
263 super.bindView(itemView, partition, cursor, position);
264 final ContactListItemView view = (ContactListItemView)itemView;
H A DEmailAddressListAdapter.java132 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
133 super.bindView(itemView, partition, cursor, position);
134 ContactListItemView view = (ContactListItemView)itemView;
H A DJoinContactListAdapter.java181 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
182 super.bindView(itemView, partition, cursor, position);
185 final ContactListItemView view = (ContactListItemView) itemView;
192 final ContactListItemView view = (ContactListItemView) itemView;
H A DLegacyPhoneNumberListAdapter.java86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
87 super.bindView(itemView, partition, cursor, position);
88 ContactListItemView view = (ContactListItemView)itemView;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
H A DAlarmItemViewHolder.java57 public AlarmItemViewHolder(View itemView) { argument
58 super(itemView);
60 clock = (TextTime) itemView.findViewById(R.id.digital_clock);
61 onOff = (CompoundButton) itemView.findViewById(R.id.onoff);
62 arrow = (ImageView) itemView.findViewById(R.id.arrow);
64 (TextView) itemView.findViewById(R.id.preemptive_dismiss_button);
88 final Context context = itemView.getContext();
89 itemView.setContentDescription(clock.getText() + " " + alarm.getLabelOrDefault(context));
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DDefaultContactListAdapter.java175 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
176 super.bindView(itemView, partition, cursor, position);
177 final ContactListItemView view = (ContactListItemView) itemView;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestRecyclerView.java78 Mockito.verify(holders.get(pos).itemView).requestFocus();
82 public TestViewHolder(View itemView) { argument
83 super(itemView);
/packages/apps/TV/src/com/android/tv/guide/
H A DTimeListAdapter.java70 View itemView = holder.itemView;
72 TextView textView = (TextView) itemView.findViewById(R.id.time);
73 String time = DateFormat.getTimeFormat(itemView.getContext()).format(new Date(startTime));
76 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) itemView.getLayoutParams();
84 itemView.setLayoutParams(lp);
89 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false);
90 return new TimeViewHolder(itemView);
94 public TimeViewHolder(View itemView) { argument
95 super(itemView);
[all...]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DIconToggleLineItem.java63 viewHolder.itemView.setOnClickListener(mOnClickListener);
74 public ViewHolder(View itemView) { argument
75 super(itemView);
76 icon = (ImageView) itemView.findViewById(R.id.icon);
77 title = (TextView) itemView.findViewById(R.id.title);
78 summary = (TextView) itemView.findViewById(R.id.desc);
79 toggle = (Switch) itemView.findViewById(R.id.toggle_switch);

Completed in 426 milliseconds

123