Lines Matching refs:vh
254 final ViewHolder vh = new ViewHolder();
255 vh.row = (ViewGroup) v;
256 vh.row.setLayoutTransition(new LayoutTransition());
257 vh.row.setLayoutTransition(new LayoutTransition());
258 vh.icon = (ImageView) v.findViewById(android.R.id.icon);
259 vh.title = (TextView) v.findViewById(android.R.id.title);
260 vh.subtitle = (TextView) v.findViewById(android.R.id.text1);
261 vh.rowDivider = v.findViewById(R.id.row_divider);
262 v.setTag(vh);
285 final ViewHolder vh = (ViewHolder) view.getTag();
286 enableLayoutTransitions(vh.row, animate);
287 vh.rowDivider.setVisibility(row.first ? View.GONE : View.VISIBLE);
288 vh.row.setOnClickListener(new OnClickListener() {
299 enableLayoutTransitions(vh.row, animate);
300 vh.icon.setImageDrawable(row.icon);
301 vh.title.setText(row.label);
303 vh.subtitle.setText(sub);
304 vh.subtitle.setVisibility(!sub.isEmpty() ? View.VISIBLE : View.GONE);