Lines Matching refs:Cursor
20 import android.database.Cursor;
36 private LoaderCompatShim<Cursor> mDrawableFactory;
43 public void setDrawableFactory(LoaderCompatShim<Cursor> factory) {
48 public void bindView(View view, Context context, Cursor cursor) {
51 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle);
58 public View newView(Context context, Cursor cursor, ViewGroup parent) {
65 Cursor cursor = getItem(position);
66 float width = cursor.getInt(PhotoSetLoader.INDEX_WIDTH);
67 float height = cursor.getInt(PhotoSetLoader.INDEX_HEIGHT);
72 public Cursor getItem(int position) {
73 return (Cursor) super.getItem(position);