Searched refs:viewHolder (Results 1 – 9 of 9) sorted by relevance
224 ViewHolder viewHolder; in getView() local228 viewHolder = new ViewHolder(); in getView()229 viewHolder.deviceAddress = (TextView) view.findViewById(R.id.device_address); in getView()230 viewHolder.deviceName = (TextView) view.findViewById(R.id.device_name); in getView()231 view.setTag(viewHolder); in getView()233 viewHolder = (ViewHolder) view.getTag(); in getView()239 viewHolder.deviceName.setText(deviceName); in getView()241 viewHolder.deviceName.setText(R.string.unknown_device); in getView()242 viewHolder.deviceAddress.setText(device.getAddress()); in getView()
81 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() argument82 viewHolder.getFileName().setText(mDirectoryEntries.get(position).fileName); in onBindViewHolder()83 viewHolder.getMimeType().setText(mDirectoryEntries.get(position).mimeType); in onBindViewHolder()86 viewHolder.getImageView().setImageResource(R.drawable.ic_folder_grey600_36dp); in onBindViewHolder()88 viewHolder.getImageView().setImageResource(R.drawable.ic_description_grey600_36dp); in onBindViewHolder()
37 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() argument38 viewHolder.fileName.setText(mDirectoryEntries.get(position).fileName); in onBindViewHolder()39 viewHolder.mimeType.setText(mDirectoryEntries.get(position).mimeType); in onBindViewHolder()43 viewHolder.imageView.setImageResource(R.drawable.ic_directory_grey600_36dp); in onBindViewHolder()45 viewHolder.imageView.setImageResource(R.drawable.ic_description_grey600_36dp); in onBindViewHolder()
79 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() argument80 viewHolder.getPackageName().setText( in onBindViewHolder()83 viewHolder.getLastTimeUsed().setText(mDateFormat.format(new Date(lastTimeUsed))); in onBindViewHolder()84 viewHolder.getAppIcon().setImageDrawable(mCustomUsageStatsList.get(position).appIcon); in onBindViewHolder()
75 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() argument78 viewHolder.mTextView.setOnClickListener(new View.OnClickListener() { in onBindViewHolder()87 viewHolder.mTextView.setText(mDataSet[position]); in onBindViewHolder()
84 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() argument89 viewHolder.getTextView().setText(mDataSet[position]); in onBindViewHolder()
79 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick() argument81 int newSpeedLimit = speeds[viewHolder.getPosition()]; in onClick()
81 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick() argument86 Integer tag = (Integer) viewHolder.itemView.getTag(); in onClick()
127 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick() argument128 ColorItemViewHolder colorItemViewHolder = (ColorItemViewHolder) viewHolder; in onClick()