animateAlpha = true; return this;
animateDark = true; return this;
animateDimmed = true; return this;
animateHeight = true; return this;
animateHideSensitive = true; return this;
animateScale = true; return this;
animateTopInset = true; return this;
animateY = true; return this;
animateZ = true; return this;
Combines multiple filters into {@code this} filter, using or as the operand .paramevents The animation events from the filters to combine. reset(); int size = events.size(); for (int i = 0; i < size; i++) { NotificationStackScrollLayout.AnimationEvent ev = events.get(i); combineFilter(events.get(i).filter); if (ev.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_GO_TO_FULL_SHADE) { hasGoToFullShadeEvent = true; } if (ev.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_DARK) { hasDarkEvent = true; darkAnimationOriginIndex = ev.darkAnimationOriginIndex; } }
reset(); int size = events.size(); for (int i = 0; i < size; i++) { NotificationStackScrollLayout.AnimationEvent ev = events.get(i); combineFilter(events.get(i).filter); if (ev.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_GO_TO_FULL_SHADE) { hasGoToFullShadeEvent = true; } if (ev.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_DARK) { hasDarkEvent = true; darkAnimationOriginIndex = ev.darkAnimationOriginIndex; } }
animateAlpha |= filter.animateAlpha; animateY |= filter.animateY; animateZ |= filter.animateZ; animateScale |= filter.animateScale; animateHeight |= filter.animateHeight; animateTopInset |= filter.animateTopInset; animateDimmed |= filter.animateDimmed; animateDark |= filter.animateDark; animateHideSensitive |= filter.animateHideSensitive; hasDelays |= filter.hasDelays;
hasDelays = true; return this;
animateAlpha = false; animateY = false; animateZ = false; animateScale = false; animateHeight = false; animateTopInset = false; animateDimmed = false; animateDark = false; animateHideSensitive = false; hasDelays = false; hasGoToFullShadeEvent = false; hasDarkEvent = false; darkAnimationOriginIndex = NotificationStackScrollLayout.AnimationEvent.DARK_ANIMATION_ORIGIN_INDEX_ABOVE;