Class of android.view · Window.java · Android's reference
public class Window
An activity's window: a decor view with the content in it, and the window's attributes. Android's PhoneWindow: no title or action bar, no system bars. The window manager shows the decor as one host window.
public static final int FEATURE_OPTIONS_PANEL = 0 sourcepublic static final int FEATURE_NO_TITLE = 1 sourcepublic static final int FEATURE_PROGRESS = 2 sourcepublic static final int FEATURE_LEFT_ICON = 3 sourcepublic static final int FEATURE_RIGHT_ICON = 4 sourcepublic static final int FEATURE_INDETERMINATE_PROGRESS = 5 sourcepublic static final int FEATURE_CONTEXT_MENU = 6 sourcepublic static final int FEATURE_CUSTOM_TITLE = 7 sourcepublic static final int FEATURE_ACTION_BAR = 8 sourcepublic static final int FEATURE_ACTION_BAR_OVERLAY = 9 sourcepublic static final int FEATURE_ACTION_MODE_OVERLAY = 10 sourcepublic static final int FEATURE_SWIPE_TO_DISMISS = 11 sourcepublic static final int FEATURE_CONTENT_TRANSITIONS = 12 sourcepublic static final int FEATURE_ACTIVITY_TRANSITIONS = 13 sourcepublic static final int ID_ANDROID_CONTENT = 0x01020002 sourcepublic static final int DECOR_CAPTION_SHADE_AUTO = 0 sourcepublic Window(Context context) sourcepublic boolean isWideColorGamut() sourcepublic final Context getContext() sourcepublic void setCallback(Callback callback) sourcepublic final Callback getCallback() sourcepublic View getDecorView() sourcepublic View peekDecorView() sourcepublic <T extends View> T findViewById(int id) sourcepublic final <T extends View> T requireViewById(int id) sourcepublic void setContentView(int layoutResID) sourcepublic void setContentView(View view) sourcepublic void setContentView(View view, ViewGroup.LayoutParams params) sourcepublic void addContentView(View view, ViewGroup.LayoutParams params) sourcepublic View getCurrentFocus() sourcepublic LayoutInflater getLayoutInflater() sourcepublic boolean superDispatchTouchEvent(MotionEvent event) sourcepublic boolean superDispatchKeyEvent(KeyEvent event) sourcepublic boolean superDispatchKeyShortcutEvent(KeyEvent event) sourcepublic boolean superDispatchGenericMotionEvent(MotionEvent event) sourcepublic boolean superDispatchTrackballEvent(MotionEvent event) sourcepublic void injectInputEvent(InputEvent event) empty body sourcepublic void setWindowManager(WindowManager wm, android.os.IBinder appToken, String appName) sourcepublic void setWindowManager(WindowManager wm, android.os.IBinder appToken, String appName, boolean hardwareAccelerated) sourcepublic WindowManager getWindowManager() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.