Lines Matching defs:window
22 * The cursor owns the cursor window it uses. When the cursor is closed,
23 * its window is also closed. Likewise, when the window used by the cursor is
24 * changed, its old window is closed. This policy of strict ownership ensures
27 * Subclasses are responsible for filling the cursor window with data during
28 * {@link #onMove(int, int)}, allocating a new cursor window if necessary.
29 * During {@link #requery()}, the existing cursor window should be cleared and
32 * If the contents of the cursor change or become invalid, the old window must be closed
38 * The cursor window owned by this cursor.
150 * Sets a new cursor window for the cursor to use.
152 * The cursor takes ownership of the provided cursor window; the cursor window
154 * cursor window.
156 * If the cursor previously had a cursor window, then it is closed when the
157 * new cursor window is assigned.
160 * @param window The new cursor window, typically a remote cursor window.
162 public void setWindow(CursorWindow window) {
163 if (window != mWindow) {
165 mWindow = window;
170 * Returns true if the cursor has an associated cursor window.
172 * @return True if the cursor has an associated cursor window.
179 * Closes the cursor window and sets {@link #mWindow} to null.
190 * If there is a window, clear it.
191 * Otherwise, creates a new window.
193 * @param name The window name.