Lines Matching defs:vh
218 ViewHolder vh = new ViewHolder();
219 vh.line1 = (TextView) v.findViewById(R.id.line1);
220 vh.line2 = (TextView) v.findViewById(R.id.line2);
221 vh.duration = (TextView) v.findViewById(R.id.duration);
222 vh.radio = (RadioButton) v.findViewById(R.id.radio);
223 vh.play_indicator = (ImageView) v.findViewById(R.id.play_indicator);
224 vh.buffer1 = new CharArrayBuffer(100);
225 vh.buffer2 = new char[200];
226 v.setTag(vh);
232 ViewHolder vh = (ViewHolder) view.getTag();
234 cursor.copyStringToBuffer(mTitleIdx, vh.buffer1);
235 vh.line1.setText(vh.buffer1.data, 0, vh.buffer1.sizeCopied);
239 vh.duration.setText("");
241 vh.duration.setText(MusicUtils.makeTimeString(context, secs));
261 if (vh.buffer2.length < len) {
262 vh.buffer2 = new char[len];
264 builder.getChars(0, len, vh.buffer2, 0);
265 vh.line2.setText(vh.buffer2, 0, len);
272 vh.radio.setChecked(id == mSelectedId);
278 ImageView iv = vh.play_indicator;