Search in sources :

Example 6 with CrossProcessCursor

use of android.database.CrossProcessCursor in project android_frameworks_base by AOSPA.

the class CrossProcessCursorWrapper method fillWindow.

@Override
public void fillWindow(int position, CursorWindow window) {
    if (mCursor instanceof CrossProcessCursor) {
        final CrossProcessCursor crossProcessCursor = (CrossProcessCursor) mCursor;
        crossProcessCursor.fillWindow(position, window);
        return;
    }
    DatabaseUtils.cursorFillWindow(mCursor, position, window);
}
Also used : CrossProcessCursor(android.database.CrossProcessCursor)

Example 7 with CrossProcessCursor

use of android.database.CrossProcessCursor in project android_frameworks_base by DirtyUnicorns.

the class CrossProcessCursorWrapper method fillWindow.

@Override
public void fillWindow(int position, CursorWindow window) {
    if (mCursor instanceof CrossProcessCursor) {
        final CrossProcessCursor crossProcessCursor = (CrossProcessCursor) mCursor;
        crossProcessCursor.fillWindow(position, window);
        return;
    }
    DatabaseUtils.cursorFillWindow(mCursor, position, window);
}
Also used : CrossProcessCursor(android.database.CrossProcessCursor)

Aggregations

CrossProcessCursor (android.database.CrossProcessCursor)7 CursorWindow (android.database.CursorWindow)1 ArrayList (java.util.ArrayList)1 FastCursor (org.greenrobot.greendao.internal.FastCursor)1