Home | History | Annotate | Download | only in view

Lines Matching refs:Window

34  * Abstract base class for a top-level window look and behavior policy.  An
36 * window manager. It provides standard UI policies such as a background, title
41 * Window. Eventually that class will be refactored and a factory method
42 * added for creating Window instances without knowing about a particular
45 public abstract class Window {
71 * Flag for requesting an Action Bar that overlays window content.
72 * Normally an Action Bar will sit in the space above window content, but if this
74 * the window content itself. This is useful if you would like your app to have more control
92 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
129 private Window mContainer;
130 private Window mActiveChild;
148 // The current window attributes.
153 * API from a Window back to its caller. This allows the client to
160 * {@link android.view.Window#superDispatchKeyEvent} to do the
172 * {@link android.view.Window#superDispatchKeyShortcutEvent} to do the
183 * {@link android.view.Window#superDispatchTouchEvent} to do the
195 * {@link android.view.Window#superDispatchTrackballEvent} to do the
207 * {@link android.view.Window#superDispatchGenericMotionEvent} to do the
258 * panel window is shown, every time it is shown.
297 * This is called whenever the current window attributes change.
305 * {@link Window#setContentView(View, android.view.ViewGroup.LayoutParams)
306 * Window.setContentView} or
307 * {@link Window#addContentView(View, android.view.ViewGroup.LayoutParams)
308 * Window.addContentView}).
313 * This hook is called whenever the window focus changes. See
317 * @param hasFocus Whether the window now has focus.
322 * Called when the window has been attached to the window manager.
329 * Called when the window has been attached to the window manager.
356 * Called when an action mode is being started for this window. Gives the
383 public Window(Context context) {
388 * Return the Context this window policy is running in, for retrieving
398 * Return the {@link android.R.styleable#Window} attributes from this
399 * window's theme.
405 com.android.internal.R.styleable.Window);
412 * Set the container for this window. If not set, the DecorWindow
413 * operates as a top-level window; otherwise, it negotiates with the
416 * @param container The desired containing Window.
418 public void setContainer(Window container) {
429 * Return the container for this Window.
431 * @return Window The containing window, or null if this is a
432 * top-level window.
434 public final Window getContainer() {
453 * Set the window manager for use by this Window to, for example,
455 * Window itself -- that must be done by the client.
464 * Set the window manager for use by this Window to, for example,
466 * Window itself -- that must be done by the client.
552 * Return the window manager allowing this Window to display its own
562 * Set the Callback interface for this window, used to intercept key
563 * events and other dynamic operations in the window.
572 * Return the current Callback interface for this window.
579 * Take ownership of this window's surface. The window's view hierarchy
587 * Take ownership of this window's InputQueue. The window will no
594 * Return whether this window is being displayed with a floating style
598 * @return Returns true if the window is configured to be displayed floating
604 * Set the width and height layout parameters of the window. The default
606 * or an absolute value to make a window that is not full-screen.
608 * @param width The desired layout width of the window.
609 * @param height The desired layout height of the window.
624 * Set the gravity of the window, as per the Gravity constants. This
625 * controls how the window manager is positioned in the overall window; it
643 * Set the type of the window, as per the WindowManager.LayoutParams
646 * @param type The new window type (see WindowManager.LayoutParams).
657 * Set the format of window, as per the PixelFormat types. This overrides
658 * the default format that is selected by the Window based on its
659 * window decorations.
661 * @param format The new window format (see PixelFormat). Use
662 * PixelFormat.UNKNOWN to allow the Window to select
682 * Specify custom animations to use for the window, as per
685 * 0 here will override the animations the window would
697 * Specify an explicit soft input mode to use for the window, as per
700 * "unspecified" here will override the input mode the window would
737 * Set the flags of the window, as per the
741 * <p>Note that some flags must be set before the window decoration is
750 * @param flags The new window flags (see WindowManager.LayoutParams).
751 * @param mask Which of the window flag bits to modify.
766 * Set the amount of dim behind the window when using
768 * the default dim amount of that is selected by the Window based on
783 * Specify custom window attributes. <strong>PLEASE NOTE:</strong> the
789 * @param a The new window attributes, which will completely override any
800 * Retrieve the current window attributes associated with this panel.
802 * @return WindowManager.LayoutParams Either the existing window
810 * Return the window flags that have been explicitly set by the client,
867 * @param featureId The desired features, defined as constants by Window.
943 * of the window that can not, from this point forward, be changed: the
945 * and certain window flags as described in {@link #setFlags(int, int)}.
964 * Return the view in this Window that currently has focus, or null if
966 * Window.
973 * Quick access to the {@link LayoutInflater} instance that this Window
1012 * Change the background of this window to a Drawable resource. Setting the
1013 * background to null will make the window be opaque. To make the window
1026 * Change the background of this window to a custom Drawable. Setting the
1027 * background to null will make the window be opaque. To make the window
1031 * @param drawable The new Drawable to use for this window's background.
1036 * Set the value for a drawable feature of this window, from a resource
1043 * constant by Window.
1049 * Set the value for a drawable feature of this window, from a URI. You
1059 * constants defined by Window.
1065 * Set an explicit Drawable value for feature of this window. You must
1069 * Features are constants defined by Window.
1079 * Features are constants defined by Window.
1091 * Features are constants defined by Window.
1145 * Retrieve the top-level window decor view (containing the standard
1146 * window frame/decorations and the client's content inside of that), which
1147 * can be added as a window to the window manager.
1150 * various window characteristics as described in
1153 * @return Returns the top-level window decor view.
1161 * @return Returns the top-level window decor or null.
1175 * Window itself or its container. That is, it is the set of
1199 * Return the feature bits that are being implemented by this Window.
1201 * being handled by only this Window itself, not by its containers.
1211 * Set the default format of window, as per the PixelFormat types. This
1215 * @param format The new window format (see PixelFormat).
1241 * Is a keypress one of the defined shortcut keys for this window.
1258 * Set extra options that will influence the UI for this window.
1259 * @param uiOptions Flags specifying extra options for this window.
1264 * Set extra options that will influence the UI for this window.
1266 * @param uiOptions Flags specifying extra options for this window.