Lines Matching refs:adapter
42 ObjectAdapter adapter;
45 * The presenter to be used for the adapter objects.
124 ObjectAdapter adapter = getDisplayedAdapter();
127 if (focusedView != null && adapter.size() > 0 &&
128 mControlBar.indexOfChild(focusedView) >= adapter.size()) {
129 mControlBar.getChildAt(adapter.size() - 1).requestFocus();
131 for (int i = mControlBar.getChildCount() - 1; i >= adapter.size(); i--) {
134 for (int position = 0; position < adapter.size() && position < MAX_CONTROLS;
136 bindControlToAction(position, adapter, presenter);
139 getChildMarginFromCenter(mControlBar.getContext(), adapter.size()));
147 ObjectAdapter adapter, Presenter presenter) {
149 Object item = adapter.get(position);
173 * Returns the adapter currently bound to the displayed controls.
242 if (vh.mAdapter != data.adapter) {
243 vh.mAdapter = data.adapter;