Home
last modified time | relevance | path

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

/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
DSpeedPickerListAdapter.java51 public ItemViewHolder(View itemView) { in ItemViewHolder() argument
52 super(itemView); in ItemViewHolder()
54 mTextView = (TextView) itemView.findViewById(R.id.name); in ItemViewHolder()
81 holder.itemView.setTag(position); in onBindViewHolder()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java86 Integer tag = (Integer) viewHolder.itemView.getTag(); in onClick()
167 public ItemViewHolder(View itemView) { in ItemViewHolder() argument
168 super(itemView); in ItemViewHolder()
169 iconImageView = (ImageView) itemView.findViewById(R.id.icon); in ItemViewHolder()
170 textView = (TextView) itemView.findViewById(R.id.name); in ItemViewHolder()
193 holder.itemView.setTag(position); in onBindViewHolder()
DDigitalWatchFaceWearableConfigActivity.java189 colorItemViewHolder.itemView.setLayoutParams(layoutParams); in onBindViewHolder()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DMainActivity.java72 updateNotification((Integer) v.itemView.getTag()); in onClick()
96 TextView view = (TextView) holder.itemView.findViewById(R.id.name); in onBindViewHolder()
98 holder.itemView.setTag(position); in onBindViewHolder()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DInlineAdapter.java96 public TaskViewHolder(@NonNull View itemView) { in TaskViewHolder() argument
97 super(itemView); in TaskViewHolder()
98 mTaskIdTextView = itemView.findViewById(R.id.task_id); in TaskViewHolder()
99 mActivitiesLayout = itemView.findViewById(R.id.activity_node_container); in TaskViewHolder()
DIntentBuilderView.java185 CheckBox itemView = itemLayout.findViewById(itemViewId); in fillCheckBoxLayout() local
187 itemView.setTag(TAG_FLAG, flag); in fillCheckBoxLayout()
188 itemView.setText(item); in fillCheckBoxLayout()
189 itemView.setOnCheckedChangeListener(this); in fillCheckBoxLayout()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DMainActivityFragment.java108 View itemView = inflater.inflate(R.layout.file_list_item, parent, false); in onResume()
109 TextView fileNameView = (TextView) itemView.findViewById(R.id.file_name); in onResume()
112 TextView fileSize = (TextView) itemView.findViewById(R.id.file_size); in onResume()
116 return itemView; in onResume()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java116 public AlarmViewHolder(View itemView) { in AlarmViewHolder() argument
117 super(itemView); in AlarmViewHolder()
118 mAlarmTimeTextView = (TextView) itemView.findViewById(R.id.text_alarm_time); in AlarmViewHolder()
119 mAlarmDateTextView = (TextView) itemView.findViewById(R.id.text_alarm_date); in AlarmViewHolder()
120 mDeleteImageView = (ImageView) itemView.findViewById(R.id.image_delete_alarm); in AlarmViewHolder()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppPickerDialog.java67 appGridView.setOnItemClickListener((adapterView, itemView, position, id) -> { in onViewCreated() argument
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java206 TextView view = (TextView) holder.itemView.findViewById(R.id.time_text); in onBindViewHolder()
208 holder.itemView.setTag(position); in onBindViewHolder()