Lines Matching refs:action
58 public void add(Action action) {
59 super.add(action);
60 action.setAdapter(this);
63 private void deletePreset(Action action) {
64 FilterRepresentation rep = action.getRepresentation();
68 remove(action);
72 private void changePreset(Action action) {
73 FilterRepresentation rep = action.getRepresentation();
74 rep.setName(action.getName());
108 Action action = getItem(position);
109 viewHolder.imageView.setImageBitmap(action.getImage());
110 if (action.getImage() == null) {
111 // queue image rendering for this action
112 action.setImageFrame(new Rect(0, 0, mIconSize, mIconSize), CategoryView.VERTICAL);
114 viewHolder.deleteButton.setTag(action);
115 viewHolder.editText.setTag(action);
116 viewHolder.editText.setHint(action.getName());
144 Action action = (Action) v.getTag();
145 deletePreset(action);
164 Action action = (Action) editText.getTag();
167 action.setName(editText.getText().toString());
168 changePreset(action);