Lines Matching defs:selected
79 boolean selected;
183 mData[p].selected = c.getInt(mVisibleColumn) != 0;
199 boolean selected = mData[position].selected;
218 syncCheckBox.setChecked(selected);
221 if (selected) {
234 if (selected) {
259 if (!selected) {
267 Drawable bg = getBackground(position, selected);
278 visibleCheckBox.setChecked(selected);
287 * @param selected whether it is selected or not
290 protected Drawable getBackground(int position, boolean selected) {
292 bg = selected ? IS_SELECTED : 0;
295 bg |= (position > 0 && mData[position - 1].selected) ? IS_BELOW_SELECTED : 0;
319 mData[position].selected = visible != 0;
324 return mData[position].selected ? 1 : 0;