Lines Matching defs:ViewGroup

59  * A <code>ViewGroup</code> is a special view that can contain other views
62 * {@link android.view.ViewGroup.LayoutParams} class which serves as the base
76 * <p>Here is a complete implementation of a custom ViewGroup that implements
104 public abstract class ViewGroup extends View implements ViewParent, ViewManager {
105 private static final String TAG = "ViewGroup";
127 // The view contained within this ViewGroup that has or contains focus.
217 // When set, ViewGroup invalidates only the child's rectangle
221 // When set, ViewGroup excludes the padding area from the invalidate rectangle
232 // When set, there is either no layout animation on the ViewGroup or the layout
237 // If set, this ViewGroup has padding; if unset there is no padding and we don't need
241 // When set, this ViewGroup caches its children in a Bitmap before starting a layout animation
245 // When set, this ViewGroup converts calls to invalidate(Rect) to invalidate() during a
254 // When set, this ViewGroup invokes mAnimationListener.onAnimationEnd() and removes
268 * When set, this ViewGroup supports static transformations on children; this causes
285 * When set, this ViewGroup's drawable states also include those
291 * When set, this ViewGroup tries to always draw its children using their drawing cache.
296 * When set, and if FLAG_ALWAYS_DRAWN_WITH_CACHE is not set, this ViewGroup will try to
333 * When set, this ViewGroup should not intercept touch events.
339 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate.
344 * When set, this ViewGroup will not dispatch onAttachedToWindow calls
346 * onAttached calls when a ViewGroup adds children in its own onAttached method.
354 * one of the ViewGroup's ancestors and cached locally.
418 // Child views of this ViewGroup
458 public ViewGroup(Context context) {
463 public ViewGroup(Context context, AttributeSet attrs) {
469 public ViewGroup(Context context, AttributeSet attrs, int defStyle) {
480 // ViewGroup doesn't draw by default
504 R.styleable.ViewGroup);
717 * {@link android.view.View.AccessibilityDelegate#onRequestSendAccessibilityEvent(ViewGroup, View, AccessibilityEvent)}
1258 * DRAG_ENTERED is not dispatched downwards from ViewGroup. The reason for this is
1261 * push a DRAG_ENTERED down to the new target child [which may itself be a ViewGroup].
1264 * drag has left this ViewGroup, we know by definition that every contained subview
2172 * If child is null, assumes the MotionEvent will be sent to this ViewGroup instead.
2258 * any MotionEvent received by this ViewGroup.
2273 * Returns true if MotionEvents dispatched to this ViewGroup can be split to multiple children.
2274 * @return true if MotionEvents dispatched to this ViewGroup can be split to multiple children.
2335 * them dispatched to this ViewGroup through onTouchEvent().
2360 System.out.println(this + " ViewGroup.requestFocus direction="
2385 * Called by {@link ViewGroup#requestFocus(int, android.graphics.Rect)}
2387 * customize how your {@link ViewGroup} requests focus within its children.
2528 event.setClassName(ViewGroup.class.getName());
2679 // When this ViewGroup's animation starts, build the cache for the children
2703 // When this ViewGroup's animation ends, destroy the cache of the children
2740 /** Return true if this ViewGroup is laying out using optical bounds. */
3059 * This method is used to cause children of this ViewGroup to restore or recreate their
3060 * display lists. It is called by getDisplayList() when the parent ViewGroup does not need
3140 * By default, children are clipped to the padding of the ViewGroup. This
3202 * When this property is set to true, this ViewGroup supports static transformations on
3325 * default parameters for this ViewGroup are set on the child.</p>
3341 * default parameters for this ViewGroup are set on the child.
3364 * Adds a child view with this ViewGroup's default layout parameters and the
3421 public void updateViewLayout(View view, ViewGroup.LayoutParams params) {
3434 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
3871 * Sets the LayoutTransition object for this ViewGroup. If the LayoutTransition object is
3873 * the ViewGroup will be animated according to the animations defined in that LayoutTransition
3897 * Gets the LayoutTransition object for this ViewGroup. If the LayoutTransition object is
3899 * the ViewGroup will be animated according to the animations defined in that LayoutTransition
3964 * ViewGroup.
3977 * Called by a ViewGroup subclass to remove child views from itself,
3982 * this method unless you are extending ViewGroup and understand the
4063 * @see #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)
4142 * {@link #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)}
4153 * @see #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)
4163 * {@link #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)}
4174 * @see #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)
4184 * {@link #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)}
4196 * @see #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)
4206 * {@link #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)}
4215 * @see #attachViewToParent(View, int, android.view.ViewGroup.LayoutParams)
4268 (mGroupFlags & ViewGroup.FLAG_SUPPORT_STATIC_TRANSFORMATIONS) != 0) {
4272 if ((mGroupFlags & ViewGroup.FLAG_SUPPORT_STATIC_TRANSFORMATIONS) != 0) {
4342 * This implementation returns null if this ViewGroup does not have a parent,
4343 * if this ViewGroup is already fully invalidated or if the dirty rectangle
4344 * does not intersect with this ViewGroup's bounds.
4424 if (parent instanceof ViewGroup) {
4425 ViewGroup parentVG = (ViewGroup) parent;
4731 * Indicates whether this ViewGroup will always try to draw its children using their
4746 * Indicates whether this ViewGroup will always try to draw its children using their
4751 * When this property is disabled, the ViewGroup will use the drawing cache of its
4752 * children only when asked to. It's usually the task of subclasses to tell ViewGroup
4767 * Indicates whether the ViewGroup is currently drawing its children using
4781 * Tells the ViewGroup to draw its children using their drawing cache. This property
4798 * Indicates whether the ViewGroup is drawing its children in the order defined by
4813 * Tells the ViewGroup whether to draw its children in the order defined by the method
4906 * Returns the basis of alignment during layout operations on this ViewGroup:
4910 * the method returns the layoutMode of the view's parent ViewGroup if such a parent exists,
4919 int inheritedLayoutMode = (mParent instanceof ViewGroup) ?
4920 ((ViewGroup) mParent).getLayoutMode() : LAYOUT_MODE_DEFAULT;
4927 * Sets the basis of alignment during the layout of this ViewGroup.
4949 * @return an instance of {@link android.view.ViewGroup.LayoutParams} or one
4958 * When a ViewGroup is passed a View whose layout params do not pass the test of
4959 * {@link #checkLayoutParams(android.view.ViewGroup.LayoutParams)}, this method
4961 * this ViewGroup, possibly by copying the appropriate attributes from the
4965 * for this ViewGroup.
4967 * @return an instance of {@link android.view.ViewGroup.LayoutParams} or one
4970 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
5288 * This method tells the ViewGroup that the given View object, which should have this
5289 * ViewGroup as its parent,
5290 * should be kept around (re-displayed when the ViewGroup draws its children) even if it
5343 public void startTransition(LayoutTransition transition, ViewGroup container,
5353 public void endTransition(LayoutTransition transition, ViewGroup container,
5366 * Tells this ViewGroup to suppress all layout() calls until layout
5522 * Sets whether this ViewGroup's drawable states also include
5538 * Returns whether this ViewGroup's drawable states also include
5785 * ViewGroup. Generally, this should be done for containers that can scroll, such as a List.
5803 * {@link android.R.styleable#ViewGroup_Layout ViewGroup Layout Attributes}
5817 * ViewGroup. For example, AbsoluteLayout has its own subclass of
5970 * "ViewGroup.LayoutParams={ width=WIDTH, height=HEIGHT }"
5975 return output + "ViewGroup.LayoutParams={ width="
6012 * {@link android.R.styleable#ViewGroup_MarginLayout ViewGroup Margin Layout Attributes}
6015 public static class MarginLayoutParams extends ViewGroup.LayoutParams {
6018 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6026 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6034 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6042 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6050 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6058 * Call {@link ViewGroup#setLayoutParams(LayoutParams)} after reassigning a new value
6567 * Pooled class that orderes the children of a ViewGroup from start
6581 public static ChildListForAccessibility obtain(ViewGroup parent, boolean sort) {
6607 private void init(ViewGroup parent, boolean sort) {
6655 public static ViewLocationHolder obtain(ViewGroup root, View view) {
6720 private void init(ViewGroup root, View view) {