Lines Matching refs:window
30 * then it is assumed to own the window. Otherwise, the adaptor provides a
31 * window to be filled and ensures it gets closed as needed during deactivation
52 * The cursor window that was filled by the cross process cursor in the
54 * This field is only ever non-null when the window has actually be filled.
144 d.window = mCursor.getWindow();
145 if (d.window != null) {
146 // Acquire a reference to the window because its reference count will be
148 d.window.acquireReference();
164 CursorWindow window = mCursor.getWindow();
165 if (window != null) {
168 window = mFilledWindow;
169 if (window == null) {
171 window = mFilledWindow;
172 } else if (position < window.getStartPosition()
173 || position >= window.getStartPosition() + window.getNumRows()) {
174 window.clear();
176 mCursor.fillWindow(position, window);
179 if (window != null) {
180 // Acquire a reference to the window because its reference count will be
182 window.acquireReference();
184 return window;