Lines Matching full:view
41 kVisible_Mask = 1 << kVisible_Shift, //!< set if the view is visible
42 kEnabled_Mask = 1 << kEnabled_Shift, //!< set if the view is enabled
43 kFocusable_Mask = 1 << kFocusable_Shift, //!< set if the view can receive focus
44 kFlexH_Mask = 1 << kFlexH_Shift, //!< set if the view's width is stretchable
45 kFlexV_Mask = 1 << kFlexV_Shift, //!< set if the view's height is stretchable
46 kNoClip_Mask = 1 << kNoClip_Shift, //!< set if the view is not clipped to its bounds
54 /** Return the flags associated with the view
57 /** Set the flags associated with the view
61 /** Helper that returns non-zero if the kVisible_Mask bit is set in the view's flags
67 /** Helper to set/clear the view's kVisible_Mask flag */
73 /** Return the view's width */
75 /** Return the view's height */
77 /** Set the view's width and height. These must both be >= 0. This does not affect the view's loc */
85 /** Loc - the view's offset with respect to its parent in its view hiearchy.
91 /** Return the view's left edge */
93 /** Return the view's top edge */
95 /** Set the view's left and top edge. This does not affect the view's size */
101 /** Local Matrix - matrix used to tranform the view with respect to its
102 parent in its view hiearchy. Use setLocalMatrix to apply matrix
103 transformations to the current view and in turn affect its children.
112 /** Offset (move) the view by the specified dx and dy. This does not affect the view's size */
115 /** Call this to have the view draw into the specified canvas. */
118 /** Call this to invalidate part of all of a view, requesting that the view's
119 draw method be called. The rectangle parameter specifies the part of the view
120 that should be redrawn. If it is null, it specifies the entire view bounds.
177 /** Send the event to the view's parent, and its parent etc. until one of them
178 returns true from its onEvent call. This view is returned. If no parent handles
182 /** Send the query to the view's parent, and its parent etc. until one of them
183 returns true from its onQuery call. This view is returned. If no parent handles
188 // View hierarchy management
190 /** Return the view's parent, or null if it has none. This does not affect the parent's reference count. */
193 /** Attach the child view to this view, and increment the child's reference count. The child view is added
195 The child view parameter is returned.
198 /** If the view has a parent, detach the view from its parent and decrement the view's reference count.
199 If the parent was the only owner of the view, this will cause the view to be deleted.
202 /** Attach the child view to this view, and increment the child's reference count. The child view is added
204 The child view parameter is returned.
206 /** Detach all child views from this view. */
209 /** Convert the specified point from global coordinates into view-local coordinates
218 /** Convert the specified x,y from global coordinates into view-local coordinates, returning
225 Iterator that will return each of this view's children, in
227 call to next() returns the front-most child view. When
240 Iterator that will return each of this view's children, in
242 call to next() returns the back-most child view. When
255 Install a subclass of this in a view (calling setArtist()), and then the
256 default implementation of that view's onDraw() will invoke this object
271 /** Return the artist attached to this view (or null). The artist's reference
275 /** Attach the specified artist (or null) to the view, replacing any existing
283 Install a subclass of this in a view (calling setLayout()), and then the
284 default implementation of that view's onLayoutChildren() will invoke
300 /** Return the layout attached to this view (or null). The layout's reference
304 /** Attach the specified layout (or null) to the view, replacing any existing
309 /** If a layout is attached to this view, call its layoutChildren() method
313 /** Call this to initialize this view based on the specified XML node
316 /** After a view hierarchy is inflated, this may be called with a dictionary
317 containing pairs of <name, view*>, where the name string was the view's
320 This will call the virtual onPostInflate for this view, and the recursively
321 call postInflate on all of the view's children.
328 /** Override this to draw inside the view. Be sure to call the inherited version too */
330 /** Override this to be notified when the view's size changes. Be sure to call the inherited version too */
332 /** Override this if you want to handle an inval request from this view or one of its children.
368 // default action is to inval the view
395 /** Compute the matrix to transform view-local coordinates into global ones */