Lines Matching defs:child

71     /** The current index for the last child which was not added in this event set. */
102 public Interpolator getCustomInterpolator(View child, Property property) {
103 if (mHeadsUpAppearChildren.contains(child) && View.TRANSLATION_Y.equals(property)) {
127 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
129 ExpandableViewState viewState = finalState.getViewStateForView(child);
130 if (viewState == null || child.getVisibility() == View.GONE
131 || applyWithoutAnimation(child, viewState, finalState)) {
135 initAnimationProperties(finalState, child, viewState);
136 viewState.animateTo(child, mAnimationProperties);
139 // no child has preformed any animation, lets finish
148 private void initAnimationProperties(StackScrollState finalState, ExpandableView child,
150 boolean wasAdded = mAnimationProperties.wasAdded(child);
152 adaptDurationWhenGoingToFullShade(child, viewState, wasAdded);
155 && (viewState.yTranslation != child.getTranslationY()
156 || viewState.zTranslation != child.getTranslationZ()
157 || viewState.alpha != child.getAlpha()
158 || viewState.height != child.getActualHeight()
159 || viewState.clipTopAmount != child.getClipTopAmount()
160 || viewState.dark != child.isDark()
161 || viewState.shadowAlpha != child.getShadowAlpha())) {
167 private void adaptDurationWhenGoingToFullShade(ExpandableView child,
170 child.setTranslationY(child.getTranslationY() + mGoToFullShadeAppearingTranslation);
183 private boolean applyWithoutAnimation(ExpandableView child, ExpandableViewState viewState,
188 if (ViewState.isAnimatingY(child)) {
192 if (mHeadsUpDisappearChildren.contains(child) || mHeadsUpAppearChildren.contains(child)) {
196 if (NotificationStackScrollLayout.isPinnedHeadsUp(child)) {
200 viewState.applyToView(child);
207 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
209 ExpandableViewState viewState = finalState.getViewStateForView(child);
210 if (viewState == null || child.getVisibility() == View.GONE) {
213 if (!mNewAddChildren.contains(child)) {
354 // The position for this child was never generated, let's continue.
385 // the next row isn't actually a child from a group! Let's
390 // there was a view after this one, Approximate the distance the next child