Home
last modified time | relevance | path

Searched refs:itemView (Results 1 – 18 of 18) 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/Support7Demos/src/com/example/android/supportv7/widget/util/
DConfigViewHolder.java31 public ConfigViewHolder(View itemView) { in ConfigViewHolder() argument
32 super(itemView); in ConfigViewHolder()
33 mCheckBox = (CheckBox) itemView; in ConfigViewHolder()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java77 Integer tag = (Integer) viewHolder.itemView.getTag(); in onClick()
152 public ItemViewHolder(View itemView) { in ItemViewHolder() argument
153 super(itemView); in ItemViewHolder()
154 iconImageView = (ImageView) itemView.findViewById(R.id.icon); in ItemViewHolder()
155 textView = (TextView) itemView.findViewById(R.id.name); in ItemViewHolder()
178 holder.itemView.setTag(position); in onBindViewHolder()
DDigitalWatchFaceWearableConfigActivity.java189 colorItemViewHolder.itemView.setLayoutParams(layoutParams); in onBindViewHolder()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DItemTouchHelperActivity.java237 public ItemTouchViewHolder(View itemView) {
238 super(itemView);
239 cardView = (CardView) itemView;
240 textView = (TextView) itemView.findViewById(R.id.text_view);
241 actionButton = (Button) itemView.findViewById(R.id.action_button);
242 overlay = itemView.findViewById(R.id.overlay);
DSwipeToDismissActivity.java118 touchVH.overlay.setTranslationX(viewHolder.itemView.getWidth()); in onSelectedChanged()
138 final float overlayOffset = dX - dir * viewHolder.itemView.getWidth(); in onChildDraw()
141 float alpha = (float) (.2 + .8 * Math.abs(dX) / viewHolder.itemView.getWidth()); in onChildDraw()
/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/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/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/SupportLeanbackDemos/src/com/example/android/leanback/
DHorizontalGridTestActivity.java154 ((TextView) holder.itemView).setText("Item "+position); in onBindViewHolder()
155 holder.itemView.setBackgroundColor(Color.LTGRAY); in onBindViewHolder()
156 holder.itemView.setLayoutParams(new ViewGroup.MarginLayoutParams(mItemLengths[position], in onBindViewHolder()
/development/samples/Support7Demos/src/com/example/android/supportv7/util/
DSortedListActivity.java146 public TodoViewHolder(View itemView) {
147 super(itemView);
148 mCheckBox = (CheckBox) itemView;
/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()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DBottomSheetWithFragment.java85 text = (TextView) itemView.findViewById(android.R.id.text1); in ViewHolder()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DGridLayoutManagerActivity.java120 vh.itemView.setOnClickListener(new View.OnClickListener() {
DAsyncListUtilActivity.java77 textView = (TextView) itemView; in TextViewHolder()
DBaseLayoutManagerActivity.java88 vh.itemView.setOnClickListener(new View.OnClickListener() { in createAdapter()
DAnimatedRecyclerView.java276 mMaxX = mViewHolder.itemView.getWidth(); in ItemChangeAnimator()
283 mValueAnimator.setTarget(mViewHolder.itemView); in ItemChangeAnimator()
495 View view = previousViews.get(i).itemView; in onLayoutChildren()
DRecyclerViewActivity.java56 vh.itemView.setOnClickListener(new View.OnClickListener() { in onCreate()