package android.view;
public abstract class Window
{
public static interface Callback
{
public abstract boolean dispatchKeyEvent(android.view.KeyEvent event);
public abstract boolean dispatchKeyShortcutEvent(android.view.KeyEvent event);
public abstract boolean dispatchTouchEvent(android.view.MotionEvent event);
public abstract boolean dispatchTrackballEvent(android.view.MotionEvent event);
public abstract boolean dispatchGenericMotionEvent(android.view.MotionEvent event);
public abstract boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent event);
public abstract android.view.View onCreatePanelView(int featureId);
public abstract boolean onCreatePanelMenu(int featureId, android.view.Menu menu);
public abstract boolean onPreparePanel(int featureId, android.view.View view, android.view.Menu menu);
public abstract boolean onMenuOpened(int featureId, android.view.Menu menu);
public abstract boolean onMenuItemSelected(int featureId, android.view.MenuItem item);
public abstract void onWindowAttributesChanged(android.view.WindowManager.LayoutParams attrs);
public abstract void onContentChanged();
public abstract void onWindowFocusChanged(boolean hasFocus);
public abstract void onAttachedToWindow();
public abstract void onDetachedFromWindow();
public abstract void onPanelClosed(int featureId, android.view.Menu menu);
public abstract boolean onSearchRequested();
public abstract android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback callback);
public abstract void onActionModeStarted(android.view.ActionMode mode);
public abstract void onActionModeFinished(android.view.ActionMode mode);
}
public Window(android.content.Context context) { throw new RuntimeException("Stub!"); }
public final android.content.Context getContext() { throw new RuntimeException("Stub!"); }
public final android.content.res.TypedArray getWindowStyle() { throw new RuntimeException("Stub!"); }
public void setContainer(android.view.Window container) { throw new RuntimeException("Stub!"); }
public final android.view.Window getContainer() { throw new RuntimeException("Stub!"); }
public final boolean hasChildren() { throw new RuntimeException("Stub!"); }
public void setWindowManager(android.view.WindowManager wm, android.os.IBinder appToken, java.lang.String appName) { throw new RuntimeException("Stub!"); }
public void setWindowManager(android.view.WindowManager wm, android.os.IBinder appToken, java.lang.String appName, boolean hardwareAccelerated) { throw new RuntimeException("Stub!"); }
public android.view.WindowManager getWindowManager() { throw new RuntimeException("Stub!"); }
public void setCallback(android.view.Window.Callback callback) { throw new RuntimeException("Stub!"); }
public final android.view.Window.Callback getCallback() { throw new RuntimeException("Stub!"); }
public abstract void takeSurface(android.view.SurfaceHolder.Callback2 callback);
public abstract void takeInputQueue(android.view.InputQueue.Callback callback);
public abstract boolean isFloating();
public void setLayout(int width, int height) { throw new RuntimeException("Stub!"); }
public void setGravity(int gravity) { throw new RuntimeException("Stub!"); }
public void setType(int type) { throw new RuntimeException("Stub!"); }
public void setFormat(int format) { throw new RuntimeException("Stub!"); }
public void setWindowAnimations(int resId) { throw new RuntimeException("Stub!"); }
public void setSoftInputMode(int mode) { throw new RuntimeException("Stub!"); }
public void addFlags(int flags) { throw new RuntimeException("Stub!"); }
public void clearFlags(int flags) { throw new RuntimeException("Stub!"); }
public void setFlags(int flags, int mask) { throw new RuntimeException("Stub!"); }
public void setDimAmount(float amount) { throw new RuntimeException("Stub!"); }
public void setAttributes(android.view.WindowManager.LayoutParams a) { throw new RuntimeException("Stub!"); }
public final android.view.WindowManager.LayoutParams getAttributes() { throw new RuntimeException("Stub!"); }
protected final int getForcedWindowFlags() { throw new RuntimeException("Stub!"); }
protected final boolean hasSoftInputMode() { throw new RuntimeException("Stub!"); }
public boolean requestFeature(int featureId) { throw new RuntimeException("Stub!"); }
public final void makeActive() { throw new RuntimeException("Stub!"); }
public final boolean isActive() { throw new RuntimeException("Stub!"); }
public android.view.View findViewById(int id) { throw new RuntimeException("Stub!"); }
public abstract void setContentView(int layoutResID);
public abstract void setContentView(android.view.View view);
public abstract void setContentView(android.view.View view, android.view.ViewGroup.LayoutParams params);
public abstract void addContentView(android.view.View view, android.view.ViewGroup.LayoutParams params);
public abstract android.view.View getCurrentFocus();
public abstract android.view.LayoutInflater getLayoutInflater();
public abstract void setTitle(java.lang.CharSequence title);
@java.lang.Deprecated()
public abstract void setTitleColor(int textColor);
public abstract void openPanel(int featureId, android.view.KeyEvent event);
public abstract void closePanel(int featureId);
public abstract void togglePanel(int featureId, android.view.KeyEvent event);
public abstract void invalidatePanelMenu(int featureId);
public abstract boolean performPanelShortcut(int featureId, int keyCode, android.view.KeyEvent event, int flags);
public abstract boolean performPanelIdentifierAction(int featureId, int id, int flags);
public abstract void closeAllPanels();
public abstract boolean performContextMenuIdentifierAction(int id, int flags);
public abstract void onConfigurationChanged(android.content.res.Configuration newConfig);
public void setElevation(float elevation) { throw new RuntimeException("Stub!"); }
public void setClipToOutline(boolean clipToOutline) { throw new RuntimeException("Stub!"); }
public void setBackgroundDrawableResource(int resId) { throw new RuntimeException("Stub!"); }
public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable drawable);
public abstract void setFeatureDrawableResource(int featureId, int resId);
public abstract void setFeatureDrawableUri(int featureId, android.net.Uri uri);
public abstract void setFeatureDrawable(int featureId, android.graphics.drawable.Drawable drawable);
public abstract void setFeatureDrawableAlpha(int featureId, int alpha);
public abstract void setFeatureInt(int featureId, int value);
public abstract void takeKeyEvents(boolean get);
public abstract boolean superDispatchKeyEvent(android.view.KeyEvent event);
public abstract boolean superDispatchKeyShortcutEvent(android.view.KeyEvent event);
public abstract boolean superDispatchTouchEvent(android.view.MotionEvent event);
public abstract boolean superDispatchTrackballEvent(android.view.MotionEvent event);
public abstract boolean superDispatchGenericMotionEvent(android.view.MotionEvent event);
public abstract android.view.View getDecorView();
public abstract android.view.View peekDecorView();
public abstract android.os.Bundle saveHierarchyState();
public abstract void restoreHierarchyState(android.os.Bundle savedInstanceState);
protected abstract void onActive();
protected final int getFeatures() { throw new RuntimeException("Stub!"); }
public static int getDefaultFeatures(android.content.Context context) { throw new RuntimeException("Stub!"); }
public boolean hasFeature(int feature) { throw new RuntimeException("Stub!"); }
protected final int getLocalFeatures() { throw new RuntimeException("Stub!"); }
protected void setDefaultWindowFormat(int format) { throw new RuntimeException("Stub!"); }
public abstract void setChildDrawable(int featureId, android.graphics.drawable.Drawable drawable);
public abstract void setChildInt(int featureId, int value);
public abstract boolean isShortcutKey(int keyCode, android.view.KeyEvent event);
public abstract void setVolumeControlStream(int streamType);
public abstract int getVolumeControlStream();
public void setMediaController(android.media.session.MediaController controller) { throw new RuntimeException("Stub!"); }
public android.media.session.MediaController getMediaController() { throw new RuntimeException("Stub!"); }
public void setUiOptions(int uiOptions) { throw new RuntimeException("Stub!"); }
public void setUiOptions(int uiOptions, int mask) { throw new RuntimeException("Stub!"); }
public void setIcon(int resId) { throw new RuntimeException("Stub!"); }
public void setLogo(int resId) { throw new RuntimeException("Stub!"); }
public void setLocalFocus(boolean hasFocus, boolean inTouchMode) { throw new RuntimeException("Stub!"); }
public void injectInputEvent(android.view.InputEvent event) { throw new RuntimeException("Stub!"); }
public android.transition.TransitionManager getTransitionManager() { throw new RuntimeException("Stub!"); }
public void setTransitionManager(android.transition.TransitionManager tm) { throw new RuntimeException("Stub!"); }
public android.transition.Scene getContentScene() { throw new RuntimeException("Stub!"); }
public void setEnterTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public void setReturnTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public void setExitTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public void setReenterTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public android.transition.Transition getEnterTransition() { throw new RuntimeException("Stub!"); }
public android.transition.Transition getReturnTransition() { throw new RuntimeException("Stub!"); }
public android.transition.Transition getExitTransition() { throw new RuntimeException("Stub!"); }
public android.transition.Transition getReenterTransition() { throw new RuntimeException("Stub!"); }
public void setSharedElementEnterTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public void setSharedElementReturnTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public android.transition.Transition getSharedElementEnterTransition() { throw new RuntimeException("Stub!"); }
public android.transition.Transition getSharedElementReturnTransition() { throw new RuntimeException("Stub!"); }
public void setSharedElementExitTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public void setSharedElementReenterTransition(android.transition.Transition transition) { throw new RuntimeException("Stub!"); }
public android.transition.Transition getSharedElementExitTransition() { throw new RuntimeException("Stub!"); }
public android.transition.Transition getSharedElementReenterTransition() { throw new RuntimeException("Stub!"); }
public void setAllowEnterTransitionOverlap(boolean allow) { throw new RuntimeException("Stub!"); }
public boolean getAllowEnterTransitionOverlap() { throw new RuntimeException("Stub!"); }
public void setAllowReturnTransitionOverlap(boolean allow) { throw new RuntimeException("Stub!"); }
public boolean getAllowReturnTransitionOverlap() { throw new RuntimeException("Stub!"); }
public long getTransitionBackgroundFadeDuration() { throw new RuntimeException("Stub!"); }
public void setTransitionBackgroundFadeDuration(long fadeDurationMillis) { throw new RuntimeException("Stub!"); }
public boolean getSharedElementsUseOverlay() { throw new RuntimeException("Stub!"); }
public void setSharedElementsUseOverlay(boolean sharedElementsUseOverlay) { throw new RuntimeException("Stub!"); }
public abstract int getStatusBarColor();
public abstract void setStatusBarColor(int color);
public abstract int getNavigationBarColor();
public abstract void setNavigationBarColor(int color);
@java.lang.Deprecated()
@java.lang.SuppressWarnings(value={"PointlessBitwiseExpression"})
protected static final int DEFAULT_FEATURES = 65;
public static final int FEATURE_ACTION_BAR = 8;
public static final int FEATURE_ACTION_BAR_OVERLAY = 9;
public static final int FEATURE_ACTION_MODE_OVERLAY = 10;
public static final int FEATURE_ACTIVITY_TRANSITIONS = 13;
public static final int FEATURE_CONTENT_TRANSITIONS = 12;
public static final int FEATURE_CONTEXT_MENU = 6;
public static final int FEATURE_CUSTOM_TITLE = 7;
public static final int FEATURE_INDETERMINATE_PROGRESS = 5;
public static final int FEATURE_LEFT_ICON = 3;
public static final int FEATURE_NO_TITLE = 1;
public static final int FEATURE_OPTIONS_PANEL = 0;
public static final int FEATURE_PROGRESS = 2;
public static final int FEATURE_RIGHT_ICON = 4;
public static final int FEATURE_SWIPE_TO_DISMISS = 11;
public static final int ID_ANDROID_CONTENT = 16908290;
public static final java.lang.String NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME = "android:navigation:background";
public static final int PROGRESS_END = 10000;
public static final int PROGRESS_INDETERMINATE_OFF = -4;
public static final int PROGRESS_INDETERMINATE_ON = -3;
public static final int PROGRESS_SECONDARY_END = 30000;
public static final int PROGRESS_SECONDARY_START = 20000;
public static final int PROGRESS_START = 0;
public static final int PROGRESS_VISIBILITY_OFF = -2;
public static final int PROGRESS_VISIBILITY_ON = -1;
public static final java.lang.String STATUS_BAR_BACKGROUND_TRANSITION_NAME = "android:status:background";
}
|