Home | History | Annotate | Download | only in app

Lines Matching refs:Window

75 import android.view.Window;
89 * creating a window for you in which you can place your UI with
167 * the window manager), but can be killed by the system in extreme
171 * however, it is no longer visible to the user so its window is hidden
643 Window.Callback, KeyEvent.Callback,
703 private Window mWindow;
785 /** Retrieve the window manager for showing custom windows. */
791 * Retrieve the current {@link android.view.Window} for the activity.
792 * This can be used to directly access parts of the Window API that
795 * @return Window The current window, or null if the activity is not
798 public Window getWindow() {
831 * Calls {@link android.view.Window#getCurrentFocus} on the
832 * Window of this Activity to return the currently focused view.
837 * @see android.view.Window#getCurrentFocus
1066 * is visible to the user; a system window such as the keyguard may be in
1098 final Window win = getWindow();
1450 // Pass the configuration changed event to the window
1843 Window window = getWindow();
1845 // Initializing the window decor can change window feature flags.
1847 window.getDecorView();
1849 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) {
1920 * Sets whether this activity is finished when touched outside its window's
2057 if (getWindow().performPanelShortcut(Window.FEATURE_OPTIONS_PANEL,
2175 * outside of your window bounds, where there is no view to receive it.
2261 // Update window manager if: we have a view, that view is
2276 * Called when the current {@link Window} of the activity gains or loses
2284 * activity that is stopped will not generally get window focus), you
2288 * <p>As a general rule, however, a resumed activity will have window
2293 * a system alert) which will temporarily take window input focus without
2296 * @param hasFocus Whether the window of this activity has focus.
2306 * Called when the main window associated with the activity has been
2307 * attached to the window manager.
2316 * Called when the main window associated with the activity has been
2317 * detached from the window manager.
2326 * Returns true if this activity's <em>main</em> window currently has window focus.
2329 * @return True if this activity's main window currently has window focus.
2334 Window w = getWindow();
2346 * key events before they are dispatched to the window. Be sure to call
2355 Window win = getWindow();
2368 * dispatched to the window. Be sure to call this implementation for key shortcut
2385 * window. Be sure to call this implementation for touch screen events
2405 * window. Be sure to call this implementation for trackball events
2423 * window. Be sure to call this implementation for generic motion events
2457 * {@link android.view.Window.Callback#onCreatePanelView}
2468 * {@link android.view.Window.Callback#onCreatePanelMenu}
2471 * {@link android.view.Window#FEATURE_OPTIONS_PANEL} panel,
2475 if (featureId == Window.FEATURE_OPTIONS_PANEL) {
2485 * {@link android.view.Window.Callback#onPreparePanel}
2488 * {@link android.view.Window#FEATURE_OPTIONS_PANEL}
2493 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) {
2507 if (featureId == Window.FEATURE_ACTION_BAR) {
2520 * {@link android.view.Window.Callback#onMenuItemSelected}
2523 * {@link android.view.Window#FEATURE_OPTIONS_PANEL}
2529 case Window.FEATURE_OPTIONS_PANEL:
2550 case Window.FEATURE_CONTEXT_MENU:
2564 * {@link android.view.Window.Callback#onPanelClosed(int, Menu)} for
2566 * method for the {@link android.view.Window#FEATURE_OPTIONS_PANEL} panel,
2568 * For context menus ({@link Window#FEATURE_CONTEXT_MENU}), the
2573 case Window.FEATURE_OPTIONS_PANEL:
2578 case Window.FEATURE_CONTEXT_MENU:
2582 case Window.FEATURE_ACTION_BAR:
2595 mWindow.invalidatePanelMenu(Window.FEATURE_OPTIONS_PANEL);
2800 mWindow.openPanel(Window.FEATURE_OPTIONS_PANEL, null);
2808 mWindow.closePanel(Window.FEATURE_OPTIONS_PANEL);
2867 mWindow.closePanel(Window.FEATURE_CONTEXT_MENU);
3207 * @see android.view.Window#takeKeyEvents
3214 * Enable extended window features. This is a convenience for calling
3215 * {@link android.view.Window#requestFeature getWindow().requestFeature()}.
3218 * {@link android.view.Window}.
3222 * @see android.view.Window#requestFeature
3230 * {@link android.view.Window#setFeatureDrawableResource}.
3238 * {@link android.view.Window#setFeatureDrawableUri}.
3246 * {@link android.view.Window#setFeatureDrawable(int, Drawable)}.
3254 * {@link android.view.Window#setFeatureDrawableAlpha}.
3262 * {@link android.view.Window#getLayoutInflater}.
3331 * activity, then your window will not be displayed until a result is
4005 * Control whether this activity's main window is visible. This is intended
4425 * top-level activity, the title for its window will change. If it
4440 * top-level activity, the title for its window will change. If it
4463 final Window win = getWindow();
4485 getWindow().setFeatureInt(Window.FEATURE_PROGRESS, visible ? Window.PROGRESS_VISIBILITY_ON :
4486 Window.PROGRESS_VISIBILITY_OFF);
4498 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS,
4499 visible ? Window.PROGRESS_VISIBILITY_ON : Window.PROGRESS_VISIBILITY_OFF);
4512 getWindow().setFeatureInt(Window.FEATURE_PROGRESS,
4513 indeterminate ? Window.PROGRESS_INDETERMINATE_ON : Window.PROGRESS_INDETERMINATE_OFF);
4527 getWindow().setFeatureInt(Window.FEATURE_PROGRESS, progress + Window.PROGRESS_START);
4544 getWindow().setFeatureInt(Window.FEATURE_PROGRESS,
4545 secondaryProgress + Window.PROGRESS_SECONDARY_START);
4552 * The suggested audio stream will be tied to the window of this Activity.
4604 * @see android.view.Window#getLayoutInflater
4618 * @see android.view.Window#getLayoutInflater