Build m5-rc15

android.view
Class Window

java.lang.Object
  extended by android.view.Window
Direct Known Subclasses:
PhoneWindow

public abstract class Window
extends Object


Nested Class Summary
static interface Window.Callback
           
 
Field Summary
static int FEATURE_CONTEXT_MENU
           
static int FEATURE_INDETERMINATE_PROGRESS
           
static int FEATURE_LEFT_ICON
           
static int FEATURE_NO_TITLE
           
static int FEATURE_OPTIONS_PANEL
           
static int FEATURE_PROGRESS
           
static int FEATURE_RIGHT_ICON
           
static int ID_ANDROID_CONTENT
           
static int PROGRESS_END
           
static int PROGRESS_INDETERMINATE_OFF
           
static int PROGRESS_INDETERMINATE_ON
           
static int PROGRESS_SECONDARY_END
           
static int PROGRESS_SECONDARY_START
           
static int PROGRESS_START
           
static int PROGRESS_VISIBILITY_OFF
           
static int PROGRESS_VISIBILITY_ON
           
 
Constructor Summary
Window(Context context)
           
 
Method Summary
abstract  void addContentView(View view, ViewGroup.LayoutParams layoutparams)
           
abstract  void closeAllPanels()
           
abstract  void closePanel(int i)
           
abstract  Bitmap dupWindowBitmap()
           
 View findViewById(int id)
           
abstract  void freeze(SparseArray sparsearray)
           
 WindowManager.LayoutParams getAttributes()
           
 Window.Callback getCallback()
           
 Window getContainer()
           
 Context getContext()
           
abstract  View getCurrentFocus()
           
abstract  View getDecorView()
           
protected  int getFeatures()
           
protected  int getLocalFeatures()
           
 int getStyle()
           
abstract  ViewInflate getViewInflate()
           
 WindowManager getWindowManager()
           
 boolean isActive()
           
abstract  boolean isFloating()
           
abstract  boolean isShortcutKey(int i, KeyEvent keyevent)
           
 void makeActive()
           
protected abstract  void onActive()
           
abstract  void openPanel(int i, KeyEvent keyevent)
           
abstract  View peekDecorView()
           
abstract  boolean performPanelIdentifierAction(int i, int j, int k)
           
abstract  boolean performPanelShortcut(int i, int j, KeyEvent keyevent, int k)
           
 boolean requestFeature(int featureId)
           
 void setAttributes(WindowManager.LayoutParams a)
           
abstract  void setBackgroundDrawable(Drawable drawable)
           
 void setBackgroundDrawableResource(int resid)
           
 void setCallback(Window.Callback callback)
           
abstract  void setChildDrawable(int i, Drawable drawable)
           
abstract  void setChildInt(int i, int j)
           
 void setContainer(Window container)
           
abstract  void setContentView(int i)
           
abstract  void setContentView(View view)
           
abstract  void setContentView(View view, ViewGroup.LayoutParams layoutparams)
           
protected  void setDefaultWindowFormat(int format)
           
abstract  void setFeatureDrawable(int i, Drawable drawable)
           
abstract  void setFeatureDrawableAlpha(int i, int j)
           
abstract  void setFeatureDrawableResource(int i, int j)
           
abstract  void setFeatureDrawableUri(int i, Uri uri)
           
abstract  void setFeatureInt(int i, int j)
           
 void setFlags(int flags, int mask)
           
 void setFormat(int format)
           
 void setGravity(int gravity)
           
 void setLayout(int width, int height)
           
 void setStyle(int styleResource)
           
abstract  void setTitle(CharSequence charsequence)
           
abstract  void setTitleColor(int i)
           
 void setType(int type)
           
 void setWindowManager(WindowManager wm, IBinder appToken, String appName)
           
abstract  boolean superDispatchKeyEvent(KeyEvent keyevent)
           
abstract  boolean superDispatchTouchEvent(MotionEvent motionevent)
           
abstract  boolean superDispatchTrackballEvent(MotionEvent motionevent)
           
abstract  void takeKeyEvents(boolean flag)
           
abstract  void thaw(SparseArray sparsearray)
           
abstract  void togglePanel(int i, KeyEvent keyevent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEATURE_OPTIONS_PANEL

public static final int FEATURE_OPTIONS_PANEL
See Also:
Constant Field Values

FEATURE_NO_TITLE

public static final int FEATURE_NO_TITLE
See Also:
Constant Field Values

FEATURE_PROGRESS

public static final int FEATURE_PROGRESS
See Also:
Constant Field Values

FEATURE_LEFT_ICON

public static final int FEATURE_LEFT_ICON
See Also:
Constant Field Values

FEATURE_RIGHT_ICON

public static final int FEATURE_RIGHT_ICON
See Also:
Constant Field Values

FEATURE_INDETERMINATE_PROGRESS

public static final int FEATURE_INDETERMINATE_PROGRESS
See Also:
Constant Field Values

FEATURE_CONTEXT_MENU

public static final int FEATURE_CONTEXT_MENU
See Also:
Constant Field Values

PROGRESS_VISIBILITY_ON

public static final int PROGRESS_VISIBILITY_ON
See Also:
Constant Field Values

PROGRESS_VISIBILITY_OFF

public static final int PROGRESS_VISIBILITY_OFF
See Also:
Constant Field Values

PROGRESS_INDETERMINATE_ON

public static final int PROGRESS_INDETERMINATE_ON
See Also:
Constant Field Values

PROGRESS_INDETERMINATE_OFF

public static final int PROGRESS_INDETERMINATE_OFF
See Also:
Constant Field Values

PROGRESS_START

public static final int PROGRESS_START
See Also:
Constant Field Values

PROGRESS_END

public static final int PROGRESS_END
See Also:
Constant Field Values

PROGRESS_SECONDARY_START

public static final int PROGRESS_SECONDARY_START
See Also:
Constant Field Values

PROGRESS_SECONDARY_END

public static final int PROGRESS_SECONDARY_END
See Also:
Constant Field Values

ID_ANDROID_CONTENT

public static final int ID_ANDROID_CONTENT
See Also:
Constant Field Values
Constructor Detail

Window

public Window(Context context)
Method Detail

getContext

public final Context getContext()

setContainer

public void setContainer(Window container)

getContainer

public final Window getContainer()

setWindowManager

public void setWindowManager(WindowManager wm,
                             IBinder appToken,
                             String appName)

getWindowManager

public WindowManager getWindowManager()

setCallback

public void setCallback(Window.Callback callback)

getCallback

public final Window.Callback getCallback()

setStyle

public void setStyle(int styleResource)

getStyle

public int getStyle()

isFloating

public abstract boolean isFloating()

setLayout

public void setLayout(int width,
                      int height)

setGravity

public void setGravity(int gravity)

setType

public void setType(int type)

setFormat

public void setFormat(int format)

setFlags

public void setFlags(int flags,
                     int mask)

setAttributes

public void setAttributes(WindowManager.LayoutParams a)

getAttributes

public final WindowManager.LayoutParams getAttributes()

requestFeature

public boolean requestFeature(int featureId)

makeActive

public final void makeActive()

isActive

public final boolean isActive()

findViewById

public View findViewById(int id)

setContentView

public abstract void setContentView(int i)

setContentView

public abstract void setContentView(View view)

setContentView

public abstract void setContentView(View view,
                                    ViewGroup.LayoutParams layoutparams)

addContentView

public abstract void addContentView(View view,
                                    ViewGroup.LayoutParams layoutparams)

getCurrentFocus

public abstract View getCurrentFocus()

getViewInflate

public abstract ViewInflate getViewInflate()

setTitle

public abstract void setTitle(CharSequence charsequence)

setTitleColor

public abstract void setTitleColor(int i)

openPanel

public abstract void openPanel(int i,
                               KeyEvent keyevent)

closePanel

public abstract void closePanel(int i)

togglePanel

public abstract void togglePanel(int i,
                                 KeyEvent keyevent)

performPanelShortcut

public abstract boolean performPanelShortcut(int i,
                                             int j,
                                             KeyEvent keyevent,
                                             int k)

performPanelIdentifierAction

public abstract boolean performPanelIdentifierAction(int i,
                                                     int j,
                                                     int k)

closeAllPanels

public abstract void closeAllPanels()

setBackgroundDrawableResource

public void setBackgroundDrawableResource(int resid)

setBackgroundDrawable

public abstract void setBackgroundDrawable(Drawable drawable)

setFeatureDrawableResource

public abstract void setFeatureDrawableResource(int i,
                                                int j)

setFeatureDrawableUri

public abstract void setFeatureDrawableUri(int i,
                                           Uri uri)

setFeatureDrawable

public abstract void setFeatureDrawable(int i,
                                        Drawable drawable)

setFeatureDrawableAlpha

public abstract void setFeatureDrawableAlpha(int i,
                                             int j)

setFeatureInt

public abstract void setFeatureInt(int i,
                                   int j)

takeKeyEvents

public abstract void takeKeyEvents(boolean flag)

superDispatchKeyEvent

public abstract boolean superDispatchKeyEvent(KeyEvent keyevent)

superDispatchTouchEvent

public abstract boolean superDispatchTouchEvent(MotionEvent motionevent)

superDispatchTrackballEvent

public abstract boolean superDispatchTrackballEvent(MotionEvent motionevent)

getDecorView

public abstract View getDecorView()

peekDecorView

public abstract View peekDecorView()

freeze

public abstract void freeze(SparseArray sparsearray)

thaw

public abstract void thaw(SparseArray sparsearray)

onActive

protected abstract void onActive()

getFeatures

protected final int getFeatures()

getLocalFeatures

protected final int getLocalFeatures()

setDefaultWindowFormat

protected void setDefaultWindowFormat(int format)

setChildDrawable

public abstract void setChildDrawable(int i,
                                      Drawable drawable)

setChildInt

public abstract void setChildInt(int i,
                                 int j)

dupWindowBitmap

public abstract Bitmap dupWindowBitmap()

isShortcutKey

public abstract boolean isShortcutKey(int i,
                                      KeyEvent keyevent)

Build m5-rc15

Please submit a feedback, bug or feature