public ViewGroup(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mLayoutTransitionListener = new _TransitionListener_4892(this); initViewGroup(); initFromAttributes(context, attrs); }
public ViewGroup(android.content.Context context) : base(context) { mLayoutTransitionListener = new _TransitionListener_4892(this); // The view contained within this ViewGroup that has or contains focus. // View currently under an ongoing drag // Metadata about the ongoing drag // Does this group have a child that can accept the current drag payload? // Used during drag dispatch // Layout animation // First touch target in the linked list of touch targets. // For debugging only. You can see these in hierarchyviewer. // First hover target in the linked list of hover targets. // The hover targets are children which have received ACTION_HOVER_ENTER. // They might not have actually handled the hover event, but we will // continue sending hover events to them as long as the pointer remains over // their bounds and the view group does not intercept hover. // True if the view group itself received a hover event. // It might not have actually handled the hover event. // When set, ViewGroup invalidates only the child's rectangle // Set by default // When set, ViewGroup excludes the padding area from the invalidate rectangle // Set by default // When set, dispatchDraw() will invoke invalidate(); this is set by drawChild() when // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set // When set, dispatchDraw() will run the layout animation and unset the flag // When set, there is either no layout animation on the ViewGroup or the layout // animation is over // Set by default // If set, this ViewGroup has padding; if unset there is no padding and we don't need // to clip it, even if FLAG_CLIP_TO_PADDING is set // When set, this ViewGroup caches its children in a Bitmap before starting a layout animation // Set by default // When set, this ViewGroup converts calls to invalidate(Rect) to invalidate() during a // layout animation; this avoid clobbering the hierarchy // Automatically set when the layout animation starts, depending on the animation's // characteristics // When set, the next call to drawChild() will clear mChildTransformation's matrix // When set, this ViewGroup invokes mAnimationListener.onAnimationEnd() and removes // the children's Bitmap caches if necessary // This flag is set when the layout animation is over (after FLAG_ANIMATION_DONE is set) // When the previous drawChild() invocation used an alpha value that was lower than // 1.0 and set it in mCachePaint // Index of the child's left position in the mLocation array // Index of the child's top position in the mLocation array // Child views of this ViewGroup // Number of valid children in the mChildren array, the rest should be null or not // considered as children // Used to draw cached views // Used to animate add/remove changes in layout // The set of views that are currently being transitioned. This list is used to track views // being removed that should not actually be removed from the parent yet because they are // being animated. // List of children changing visibility. This is used to potentially keep rendering // views during a transition when they otherwise would have become gone/invisible // Indicates whether this container will use its children layers to draw initViewGroup(); }