Lines Matching defs:child

98      * How much the child overlaps with the previous child on top. This is used to
99 * show the background properly when the child on top is translating away.
182 public void animateTo(View child, AnimationProperties properties) {
183 super.animateTo(child, properties);
184 if (!(child instanceof ExpandableView)) {
187 ExpandableView expandableView = (ExpandableView) child;
194 abortAnimation(child, TAG_ANIMATOR_HEIGHT);
201 abortAnimation(child, TAG_ANIMATOR_SHADOW_ALPHA);
208 abortAnimation(child, TAG_ANIMATOR_TOP_INSET);
224 if (properties.wasAdded(child) && !hidden) {
234 private void startHeightAnimation(final ExpandableView child, AnimationProperties properties) {
235 Integer previousStartValue = getChildTag(child, TAG_START_HEIGHT);
236 Integer previousEndValue = getChildTag(child, TAG_END_HEIGHT);
241 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT);
252 child.setTag(TAG_START_HEIGHT, newStartValue);
253 child.setTag(TAG_END_HEIGHT, newEndValue);
258 child.setActualHeight(newEndValue, false);
263 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue);
267 child.setActualHeight((int) animation.getAnimatedValue(),
288 child.setTag(TAG_ANIMATOR_HEIGHT, null);
289 child.setTag(TAG_START_HEIGHT, null);
290 child.setTag(TAG_END_HEIGHT, null);
291 child.setActualHeightAnimating(false);
292 if (!mWasCancelled && child instanceof ExpandableNotificationRow) {
293 ((ExpandableNotificationRow) child).setGroupExpansionChanging(
309 child.setTag(TAG_ANIMATOR_HEIGHT, animator);
310 child.setTag(TAG_START_HEIGHT, child.getActualHeight());
311 child.setTag(TAG_END_HEIGHT, newEndValue);
312 child.setActualHeightAnimating(true);
315 private void startShadowAlphaAnimation(final ExpandableView child,
317 Float previousStartValue = getChildTag(child, TAG_START_SHADOW_ALPHA);
318 Float previousEndValue = getChildTag(child, TAG_END_SHADOW_ALPHA);
323 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_SHADOW_ALPHA);
334 child.setTag(TAG_START_SHADOW_ALPHA, newStartValue);
335 child.setTag(TAG_END_SHADOW_ALPHA, newEndValue);
340 child.setShadowAlpha(newEndValue);
345 ValueAnimator animator = ValueAnimator.ofFloat(child.getShadowAlpha(), newEndValue);
349 child.setShadowAlpha((float) animation.getAnimatedValue());
367 child.setTag(TAG_ANIMATOR_SHADOW_ALPHA, null);
368 child.setTag(TAG_START_SHADOW_ALPHA, null);
369 child.setTag(TAG_END_SHADOW_ALPHA, null);
373 child.setTag(TAG_ANIMATOR_SHADOW_ALPHA, animator);
374 child.setTag(TAG_START_SHADOW_ALPHA, child.getShadowAlpha());
375 child.setTag(TAG_END_SHADOW_ALPHA, newEndValue);
378 private void startInsetAnimation(final ExpandableView child, AnimationProperties properties) {
379 Integer previousStartValue = getChildTag(child, TAG_START_TOP_INSET);
380 Integer previousEndValue = getChildTag(child, TAG_END_TOP_INSET);
385 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET);
396 child.setTag(TAG_START_TOP_INSET, newStartValue);
397 child.setTag(TAG_END_TOP_INSET, newEndValue);
402 child.setClipTopAmount(newEndValue);
407 ValueAnimator animator = ValueAnimator.ofInt(child.getClipTopAmount(), newEndValue);
411 child.setClipTopAmount((int) animation.getAnimatedValue());
429 child.setTag(TAG_ANIMATOR_TOP_INSET, null);
430 child.setTag(TAG_START_TOP_INSET, null);
431 child.setTag(TAG_END_TOP_INSET, null);
435 child.setTag(TAG_ANIMATOR_TOP_INSET, animator);
436 child.setTag(TAG_START_TOP_INSET, child.getClipTopAmount());
437 child.setTag(TAG_END_TOP_INSET, newEndValue);