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.
149 d.window = mCursor.getWindow();
150 if (d.window != null) {
151 // Acquire a reference to the window because its reference count will be
153 d.window.acquireReference();
169 CursorWindow window = mCursor.getWindow();
170 if (window != null) {
173 window = mFilledWindow;
174 if (window == null) {
176 window = mFilledWindow;
177 } else if (position < window.getStartPosition()
178 || position >= window.getStartPosition() + window.getNumRows()) {
179 window.clear();
181 mCursor.fillWindow(position, window);
184 if (window != null) {
185 // Acquire a reference to the window because its reference count will be
187 window.acquireReference();
189 return window;