Home
last modified time | relevance | path

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

123

/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 …]
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()
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()
/packages/apps/TV/src/com/android/tv/guide/
DTimeListAdapter.java70 View itemView = holder.itemView; in onBindViewHolder() local
72 TextView textView = (TextView) itemView.findViewById(R.id.time); in onBindViewHolder()
73 String time = DateFormat.getTimeFormat(itemView.getContext()).format(new Date(startTime)); in onBindViewHolder()
76 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) itemView.getLayoutParams(); in onBindViewHolder()
84 itemView.setLayoutParams(lp); in onBindViewHolder()
89 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false); in onCreateViewHolder() local
90 return new TimeViewHolder(itemView); in onCreateViewHolder()
94 public TimeViewHolder(View itemView) { in TimeViewHolder() argument
95 super(itemView); in TimeViewHolder()
DProgramListAdapter.java101 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false); in onCreateViewHolder() local
102 return new ProgramViewHolder(itemView); in onCreateViewHolder()
107 public ProgramViewHolder(View itemView) { in ProgramViewHolder() argument
108 super(itemView); in ProgramViewHolder()
113 Log.d(TAG, "onBind. View = " + itemView + ", Entry = " + entry); in onBind()
115 ((ProgramItemView) itemView).setValues(entry, programManager.getSelectedGenreId(), in onBind()
120 ((ProgramItemView) itemView).clearValues(); in onUnbind()
DGenreListAdapter.java81 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false); in onCreateViewHolder() local
82 return new GenreRowHolder(itemView, mProgramGuide); in onCreateViewHolder()
91 public GenreRowHolder(View itemView, ProgramGuide programGuide) { in GenreRowHolder() argument
92 super(itemView); in GenreRowHolder()
99 TextView textView = (TextView) itemView; in onBind()
102 itemView.setOnFocusChangeListener(this); in onBind()
DProgramTableAdapter.java184 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false); in onCreateViewHolder() local
185 ProgramRow programRow = (ProgramRow) itemView.findViewById(R.id.row); in onCreateViewHolder()
187 return new ProgramRowHolder(itemView); in onCreateViewHolder()
246 public ProgramRowHolder(View itemView) { in ProgramRowHolder() argument
247 super(itemView); in ProgramRowHolder()
249 mContainer = (ViewGroup) itemView; in ProgramRowHolder()
328 mChannel.loadBitmap(itemView.getContext(), Channel.LOAD_IMAGE_TYPE_CHANNEL_LOGO,
348 program.prefetchPosterArt(itemView.getContext(), mImageWidth, mImageHeight);
409 Context context = itemView.getContext();
518 itemView.getContext(), ImageCache.getInstance(), info);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java61 public ExpandedAlarmViewHolder(View itemView, in ExpandedAlarmViewHolder() argument
65 super(itemView, alarmTimeClickHandler); in ExpandedAlarmViewHolder()
66 final Context context = itemView.getContext(); in ExpandedAlarmViewHolder()
76 itemView.setBackground(background); in ExpandedAlarmViewHolder()
81 delete = (Button) itemView.findViewById(R.id.delete); in ExpandedAlarmViewHolder()
83 repeat = (CheckBox) itemView.findViewById(R.id.repeat_onoff); in ExpandedAlarmViewHolder()
84 vibrate = (CheckBox) itemView.findViewById(R.id.vibrate_onoff); in ExpandedAlarmViewHolder()
85 ringtone = (TextView) itemView.findViewById(R.id.choose_ringtone); in ExpandedAlarmViewHolder()
86 editLabel = (TextView) itemView.findViewById(R.id.edit_label); in ExpandedAlarmViewHolder()
87 repeatDays = (LinearLayout) itemView.findViewById(R.id.repeat_days); in ExpandedAlarmViewHolder()
[all …]
DCollapsedAlarmViewHolder.java42 public CollapsedAlarmViewHolder(View itemView, in CollapsedAlarmViewHolder() argument
45 super(itemView, alarmTimeClickHandler); in CollapsedAlarmViewHolder()
46 alarmLabel = (TextView) itemView.findViewById(R.id.label); in CollapsedAlarmViewHolder()
47 daysOfWeek = (TextView) itemView.findViewById(R.id.days_of_week); in CollapsedAlarmViewHolder()
48 upcomingInstanceLabel = (TextView) itemView.findViewById(R.id.upcoming_instance_label); in CollapsedAlarmViewHolder()
49 hairLine = itemView.findViewById(R.id.hairline); in CollapsedAlarmViewHolder()
52 itemView.setOnClickListener(new View.OnClickListener() { in CollapsedAlarmViewHolder()
91 itemView.setContentDescription(clock.getContentDescription() + " " + in bindAlarm()
DAlarmTimeViewHolder.java52 public AlarmTimeViewHolder(View itemView, AlarmTimeClickHandler alarmTimeClickHandler) { in AlarmTimeViewHolder() argument
53 super(itemView); in AlarmTimeViewHolder()
55 clock = (TextTime) itemView.findViewById(R.id.digital_clock); in AlarmTimeViewHolder()
56 onoff = (CompoundButton) itemView.findViewById(R.id.onoff); in AlarmTimeViewHolder()
57 arrow = itemView.findViewById(R.id.arrow); in AlarmTimeViewHolder()
58 preemptiveDismissContainer = itemView.findViewById(R.id.preemptive_dismiss_container); in AlarmTimeViewHolder()
60 (TextView) itemView.findViewById(R.id.preemptive_dismiss_button); in AlarmTimeViewHolder()
/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()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/
DExtendedViewHolder.java35 public ExtendedViewHolder(View itemView) { in ExtendedViewHolder() argument
36 super(itemView); in ExtendedViewHolder()
37 if (itemView instanceof ExtendedOnCenterProximityListener) { in ExtendedViewHolder()
39 (ExtendedOnCenterProximityListener) itemView; in ExtendedViewHolder()
53 if (!(itemView instanceof ExtendedOnCenterProximityListener)) { in onCenterProximity()
56 ExtendedOnCenterProximityListener item = (ExtendedOnCenterProximityListener) itemView; in onCenterProximity()
/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/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/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()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardAdapter.java226 holder.itemView.setTag(tile);
227 holder.itemView.setOnClickListener(this);
235 holder.itemView.setOnClickListener(new View.OnClickListener() {
243 holder.itemView.findViewById(R.id.overflow).setOnClickListener(
302 holder.itemView.setOnClickListener(new View.OnClickListener() {
339 holder.itemView.setOnClickListener(new View.OnClickListener() {
436 public DashboardItemHolder(View itemView) {
437 super(itemView);
438 icon = (ImageView) itemView.findViewById(android.R.id.icon);
439 title = (TextView) itemView.findViewById(android.R.id.title);
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java148 viewHolder.itemView.setOnClickListener(mGuideOnClickListener); in onBindViewHolder()
150 viewHolder.itemView.setOnClickListener(mSetupOnClickListener); in onBindViewHolder()
152 viewHolder.itemView.setOnClickListener(mAppLinkOnClickListener); in onBindViewHolder()
154 viewHolder.itemView.setOnClickListener(mDvrOnClickListener); in onBindViewHolder()
156 viewHolder.itemView.setOnClickListener(mRecordOnClickListener); in onBindViewHolder()
158 viewHolder.itemView.setTag(getItemList().get(position)); in onBindViewHolder()
159 viewHolder.itemView.setOnClickListener(mChannelOnClickListener); in onBindViewHolder()
/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/services/Car/car-ui-provider/src/android/car/ui/provider/
DDrawerApiAdapter.java161 holder.itemView.setTag(position); in onBindViewHolder()
162 holder.itemView.setOnClickListener(mOnClickListener); in onBindViewHolder()
163 holder.itemView.setOnLongClickListener(mOnLongClickListener); in onBindViewHolder()
287 Context context = holder.itemView.getContext(); in setDayNightModeColors()
288 holder.itemView.setBackgroundResource(R.drawable.car_list_item_background); in setDayNightModeColors()
325 holder.itemView.setEnabled(false); in onBindUnavailableCategoryView()
376 Resources r = holder.itemView.getResources(); in onBindNormalView()
377 ViewGroup.LayoutParams params = holder.itemView.getLayoutParams(); in onBindNormalView()
381 holder.itemView.setLayoutParams(params); in onBindNormalView()
426 holder.itemView.setEnabled(isEnabled); in setHolderStatus()
/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/Settings/src/com/android/settings/dashboard/conditional/
DConditionAdapterUtils.java66 View card = view.itemView.findViewById(R.id.content); in bindViews()
71 ImageView expand = (ImageView) view.itemView.findViewById(R.id.expand_indicator); in bindViews()
78 View detailGroup = view.itemView.findViewById(R.id.detail_group); in bindViews()
81 animateChange(view.itemView, view.itemView.findViewById(R.id.content), in bindViews()
/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/contact/
DContactDropdownLayouter.java94 final View itemView = reuseOrInflateView(convertView, parent, type); in bindView() local
100 Assert.isTrue(itemView instanceof ContactListItemView); in bindView()
101 final ContactListItemView contactListItemView = (ContactListItemView) itemView; in bindView()
106 return itemView; in bindView()
/packages/apps/Settings/src/com/android/settings/wifi/
DLongPressAccessPointPreference.java58 view.itemView.setOnCreateContextMenuListener(mFragment); in onBindViewHolder()
59 view.itemView.setTag(this); in onBindViewHolder()
60 view.itemView.setLongClickable(true); in onBindViewHolder()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java311 public LapItemHolder(View itemView) { in LapItemHolder() argument
312 super(itemView); in LapItemHolder()
314 lapTime = (TextView) itemView.findViewById(R.id.lap_time); in LapItemHolder()
315 lapNumber = (TextView) itemView.findViewById(R.id.lap_number); in LapItemHolder()
316 accumulatedTime = (TextView) itemView.findViewById(R.id.lap_total); in LapItemHolder()

123