Build 1.0_r1(from source)

android.view
Class View.AttachInfo

java.lang.Object
  extended by android.view.View.AttachInfo
Enclosing class:
View

static class View.AttachInfo
extends Object

A set of information given to a view when it is attached to its parent window.


Nested Class Summary
(package private) static interface View.AttachInfo.SoundEffectPlayer
           
 
Field Summary
(package private) static int INVALIDATE_MSG
          Identifier for messages requesting the view to be invalidated.
(package private) static int INVALIDATE_RECT_MSG
          Identifier for messages requesting the view to invalidate a region.
(package private)  boolean mAttributesChanged
          Set to true when attributes (like mKeepScreenOn) need to be recomputed.
(package private)  Canvas mCanvas
          A Canvas used by the view hierarchy to perform bitmap caching.
(package private)  long mDrawingTime
          Indicates the time at which drawing started to occur.
(package private)  Handler mHandler
          A Handler supplied by a view's ViewRoot.
(package private)  boolean mHasWindowFocus
          Indicates whether the view's window currently has the focus.
(package private)  boolean mInTouchMode
          Indicates whether the view's window is currently in touch mode.
(package private)  boolean mKeepScreenOn
          Set during a traveral if any views want to keep the screen on.
(package private)  IBinder mPanelParentWindowToken
           
(package private)  boolean mRecomputeGlobalAttributes
          Indicates that ViewRoot should trigger a global layout change the next time it performs a traversal
(package private)  IWindowSession mSession
           
(package private)  View.AttachInfo.SoundEffectPlayer mSoundEffectPlayer
           
(package private)  Surface mSurface
           
(package private)  ViewTreeObserver mTreeObserver
          The view tree observer used to dispatch global events like layout, pre-draw, touch mode change, etc.
(package private)  int mWindowLeft
          Left position of this view's window
(package private)  IBinder mWindowToken
           
(package private)  int mWindowTop
          Top position of this view's window
(package private)  int mWindowVisibility
          The current visibility of the window.
 
Constructor Summary
View.AttachInfo(Handler handler)
           
View.AttachInfo(Handler handler, View.AttachInfo.SoundEffectPlayer effectPlayer)
          Creates a new set of attachment information with the specified events handler and thread.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mWindowToken

IBinder mWindowToken

mPanelParentWindowToken

IBinder mPanelParentWindowToken

mSurface

Surface mSurface

mSession

IWindowSession mSession

mSoundEffectPlayer

View.AttachInfo.SoundEffectPlayer mSoundEffectPlayer

mWindowLeft

int mWindowLeft
Left position of this view's window


mWindowTop

int mWindowTop
Top position of this view's window


mHasWindowFocus

boolean mHasWindowFocus
Indicates whether the view's window currently has the focus.


mWindowVisibility

int mWindowVisibility
The current visibility of the window.


mDrawingTime

long mDrawingTime
Indicates the time at which drawing started to occur.


mInTouchMode

boolean mInTouchMode
Indicates whether the view's window is currently in touch mode.


mRecomputeGlobalAttributes

boolean mRecomputeGlobalAttributes
Indicates that ViewRoot should trigger a global layout change the next time it performs a traversal


mAttributesChanged

boolean mAttributesChanged
Set to true when attributes (like mKeepScreenOn) need to be recomputed.


mKeepScreenOn

boolean mKeepScreenOn
Set during a traveral if any views want to keep the screen on.


mTreeObserver

final ViewTreeObserver mTreeObserver
The view tree observer used to dispatch global events like layout, pre-draw, touch mode change, etc.


mCanvas

Canvas mCanvas
A Canvas used by the view hierarchy to perform bitmap caching.


mHandler

final Handler mHandler
A Handler supplied by a view's ViewRoot. This handler can be used to pump events in the UI events queue.


INVALIDATE_MSG

static final int INVALIDATE_MSG
Identifier for messages requesting the view to be invalidated. Such messages should be sent to mHandler.

See Also:
Constant Field Values

INVALIDATE_RECT_MSG

static final int INVALIDATE_RECT_MSG
Identifier for messages requesting the view to invalidate a region. Such messages should be sent to mHandler.

See Also:
Constant Field Values
Constructor Detail

View.AttachInfo

View.AttachInfo(Handler handler)

View.AttachInfo

View.AttachInfo(Handler handler,
                View.AttachInfo.SoundEffectPlayer effectPlayer)
Creates a new set of attachment information with the specified events handler and thread.

Parameters:
handler - the events handler the view must use

Build 1.0_r1(from source)

Please submit a feedback, bug or feature