|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.view.View.AttachInfo
static class View.AttachInfo
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 |
|---|
IBinder mWindowToken
IBinder mPanelParentWindowToken
Surface mSurface
IWindowSession mSession
View.AttachInfo.SoundEffectPlayer mSoundEffectPlayer
int mWindowLeft
int mWindowTop
boolean mHasWindowFocus
int mWindowVisibility
long mDrawingTime
boolean mInTouchMode
boolean mRecomputeGlobalAttributes
boolean mAttributesChanged
boolean mKeepScreenOn
final ViewTreeObserver mTreeObserver
Canvas mCanvas
final Handler mHandler
ViewRoot. This
handler can be used to pump events in the UI events queue.
static final int INVALIDATE_MSG
mHandler.
static final int INVALIDATE_RECT_MSG
mHandler.
| Constructor Detail |
|---|
View.AttachInfo(Handler handler)
View.AttachInfo(Handler handler,
View.AttachInfo.SoundEffectPlayer effectPlayer)
handler - the events handler the view must use
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||