/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/animation/ |
H A D | animation_host.cc | 171 if (element_animations) in RegisterElementId() 179 if (element_animations) in UnregisterElementId() 190 if (!element_animations) { in RegisterAnimationForElement() 193 element_animations; in RegisterAnimationForElement() 548 return element_animations in ScrollOffsetAnimationWasInterrupted() 556 return element_animations in IsAnimatingFilterProperty() 566 return element_animations ? element_animations->IsCurrentlyAnimatingProperty( in IsAnimatingBackdropFilterProperty() 575 return element_animations in IsAnimatingOpacityProperty() 635 if (!element_animations) in HasAnyAnimationTargetingProperty() 664 return element_animations ? element_animations->HasAnyKeyframeModel() : false; in IsElementAnimating() [all …]
|
H A D | animation_unittest.cc | 37 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 50 EXPECT_FALSE(animation_impl_->element_animations()); in TEST_F() 58 EXPECT_TRUE(animation_->element_animations()); in TEST_F() 66 EXPECT_TRUE(animation_impl_->element_animations()); in TEST_F() 72 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 79 EXPECT_FALSE(animation_impl_->element_animations()); in TEST_F() 85 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 96 EXPECT_FALSE(animation_->keyframe_effect()->element_animations()); in TEST_F() 111 EXPECT_TRUE(animation_->keyframe_effect()->element_animations()); in TEST_F() 339 ->element_animations() in TEST_F() [all …]
|
H A D | keyframe_effect.cc | 66 DCHECK(element_animations()); in SetNeedsPushProperties() 67 element_animations()->SetNeedsPushProperties(); in SetNeedsPushProperties() 73 ElementAnimations* element_animations) { in BindElementAnimations() argument 74 DCHECK(element_animations); in BindElementAnimations() 76 element_animations_ = element_animations; in BindElementAnimations() 79 DCHECK(element_id_ == element_animations->element_id()); in BindElementAnimations() 199 if (!element_animations()->has_element_in_any_list()) in UpdateState() 441 ElementAnimations* element_animations = in DispatchAnimationEventToKeyframeModel() local 445 if (element_animations) in DispatchAnimationEventToKeyframeModel() 446 element_animations->UpdateClientAnimationState(); in DispatchAnimationEventToKeyframeModel()
|
H A D | BUILD.gn | 25 "element_animations.cc", 26 "element_animations.h",
|
H A D | scroll_offset_animations_impl.cc | 96 if (!scroll_offset_animation_->element_animations()) { in ScrollAnimationUpdateTarget() 152 if (!scroll_offset_animation_->element_animations()) { in ScrollAnimationApplyAdjustment() 208 if (!scroll_offset_animation_->element_animations()) in IsAnimating()
|
H A D | keyframe_effect.h | 48 scoped_refptr<ElementAnimations> element_animations() const { in element_animations() function 75 void BindElementAnimations(ElementAnimations* element_animations);
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/animation/ |
H A D | animation_host.cc | 162 if (element_animations) in RegisterElementId() 170 if (element_animations) in UnregisterElementId() 181 if (!element_animations) { in RegisterAnimationForElement() 184 element_animations; in RegisterAnimationForElement() 518 return element_animations in ScrollOffsetAnimationWasInterrupted() 526 return element_animations in IsAnimatingFilterProperty() 536 return element_animations ? element_animations->IsCurrentlyAnimatingProperty( in IsAnimatingBackdropFilterProperty() 545 return element_animations in IsAnimatingOpacityProperty() 605 if (!element_animations) in HasAnyAnimationTargetingProperty() 634 return element_animations ? element_animations->HasAnyKeyframeModel() : false; in IsElementAnimating() [all …]
|
H A D | animation_unittest.cc | 37 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 50 EXPECT_FALSE(animation_impl_->element_animations()); in TEST_F() 58 EXPECT_TRUE(animation_->element_animations()); in TEST_F() 66 EXPECT_TRUE(animation_impl_->element_animations()); in TEST_F() 72 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 79 EXPECT_FALSE(animation_impl_->element_animations()); in TEST_F() 85 EXPECT_FALSE(animation_->element_animations()); in TEST_F() 96 EXPECT_FALSE(animation_->keyframe_effect()->element_animations()); in TEST_F() 111 EXPECT_TRUE(animation_->keyframe_effect()->element_animations()); in TEST_F() 339 ->element_animations() in TEST_F() [all …]
|
H A D | keyframe_effect.cc | 66 DCHECK(element_animations()); in SetNeedsPushProperties() 67 element_animations()->SetNeedsPushProperties(); in SetNeedsPushProperties() 73 ElementAnimations* element_animations) { in BindElementAnimations() argument 74 DCHECK(element_animations); in BindElementAnimations() 76 element_animations_ = element_animations; in BindElementAnimations() 79 DCHECK(element_id_ == element_animations->element_id()); in BindElementAnimations() 198 if (!element_animations()->has_element_in_any_list()) in UpdateState() 422 ElementAnimations* element_animations = in DispatchAnimationEventToKeyframeModel() local 426 if (element_animations) in DispatchAnimationEventToKeyframeModel() 427 element_animations->UpdateClientAnimationState(); in DispatchAnimationEventToKeyframeModel()
|
H A D | BUILD.gn | 25 "element_animations.cc", 26 "element_animations.h",
|
H A D | scroll_offset_animations_impl.cc | 96 if (!scroll_offset_animation_->element_animations()) { in ScrollAnimationUpdateTarget() 152 if (!scroll_offset_animation_->element_animations()) { in ScrollAnimationApplyAdjustment() 208 if (!scroll_offset_animation_->element_animations()) in IsAnimating()
|
H A D | keyframe_effect.h | 47 scoped_refptr<ElementAnimations> element_animations() const { in element_animations() function 74 void BindElementAnimations(ElementAnimations* element_animations);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/animation/css/ |
H A D | css_animations.cc | 571 if (!element_animations || element_animations->IsAnimationStyleChange()) in CalculateCompositorAnimationUpdate() 629 element_animations && element_animations->IsAnimationStyleChange(); in CalculateAnimationUpdate() 665 element_animations ? &element_animations->CssAnimations() : nullptr; in CalculateAnimationUpdate() 873 if (element_animations) { in SnapshotCompositorKeyframes() 1133 if (element_animations) { in CalculateTransitionUpdateForProperty() 1331 element_animations ? &element_animations->CssAnimations().transitions_ in CalculateTransitionUpdate() 1336 element_animations && element_animations->IsAnimationStyleChange(); in CalculateTransitionUpdate() 1409 if (element_animations) { in CalculateBeforeChangeStyle() 1530 element_animations ? &element_animations->GetEffectStack() : nullptr; in CalculateAnimationActiveInterpolations() 1570 element_animations ? &element_animations->GetEffectStack() : nullptr; in CalculateTransitionActiveInterpolations() [all …]
|
H A D | css_animations_test.cc | 204 ElementAnimations* element_animations = element_->GetElementAnimations(); in GetAnimation() local 205 EXPECT_EQ(1u, element_animations->Animations().size()); in GetAnimation() 206 return (*element_animations->Animations().begin()).key; in GetAnimation()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/ |
H A D | animation_test_common.cc | 338 DCHECK(animation->keyframe_effect()->element_animations()); in AddKeyframeModelToElementWithAnimation() 346 scoped_refptr<ElementAnimations> element_animations = in AddKeyframeModelToElementWithExistingKeyframeEffect() local 348 DCHECK(element_animations); in AddKeyframeModelToElementWithExistingKeyframeEffect() 350 element_animations->FirstKeyframeEffectForTesting(); in AddKeyframeModelToElementWithExistingKeyframeEffect() 359 scoped_refptr<ElementAnimations> element_animations = in RemoveKeyframeModelFromElementWithExistingKeyframeEffect() local 361 DCHECK(element_animations); in RemoveKeyframeModelFromElementWithExistingKeyframeEffect() 363 element_animations->FirstKeyframeEffectForTesting(); in RemoveKeyframeModelFromElementWithExistingKeyframeEffect() 372 scoped_refptr<ElementAnimations> element_animations = in GetKeyframeModelFromElementWithExistingKeyframeEffect() local 374 DCHECK(element_animations); in GetKeyframeModelFromElementWithExistingKeyframeEffect() 376 element_animations->FirstKeyframeEffectForTesting(); in GetKeyframeModelFromElementWithExistingKeyframeEffect() [all …]
|
H A D | animation_timelines_test_common.cc | 466 element_animations_ = animation_->element_animations(); in AttachTimelineAnimationLayer() 480 element_animations_impl_ = animation_impl_->element_animations(); in GetImplTimelineAndAnimationByID() 510 const scoped_refptr<ElementAnimations> element_animations = in GetKeyframeEffectForElementId() local 512 return element_animations in GetKeyframeEffectForElementId() 513 ? element_animations->FirstKeyframeEffectForTesting() in GetKeyframeEffectForElementId() 519 const scoped_refptr<ElementAnimations> element_animations = in GetImplKeyframeEffectForLayerId() local 521 return element_animations in GetImplKeyframeEffectForLayerId() 522 ? element_animations->FirstKeyframeEffectForTesting() in GetImplKeyframeEffectForLayerId()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/animation/css/ |
H A D | css_animations.cc | 286 ElementAnimations* element_animations = in CalculateCompositorAnimationUpdate() local 293 if (!element_animations || element_animations->IsAnimationStyleChange()) in CalculateCompositorAnimationUpdate() 351 element_animations && element_animations->IsAnimationStyleChange(); in CalculateAnimationUpdate() 365 element_animations ? &element_animations->CssAnimations() : nullptr; in CalculateAnimationUpdate() 530 if (element_animations) { in SnapshotCompositorKeyframes() 976 element_animations ? &element_animations->CssAnimations().transitions_ in CalculateTransitionUpdate() 981 element_animations && element_animations->IsAnimationStyleChange(); in CalculateTransitionUpdate() 1098 element_animations ? &element_animations->GetEffectStack() : nullptr; in CalculateAnimationActiveInterpolations() 1138 element_animations ? &element_animations->GetEffectStack() : nullptr; in CalculateTransitionActiveInterpolations() 1153 DCHECK(element_animations); in CalculateTransitionActiveInterpolations() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/css/resolver/ |
H A D | style_resolver_test.cc | 305 EXPECT_FALSE(element_animations); in TEST_F() 310 element_animations = element->GetElementAnimations(); in TEST_F() 311 EXPECT_TRUE(element_animations); in TEST_F() 326 element_animations = element->GetElementAnimations(); in TEST_F() 327 EXPECT_TRUE(element_animations); in TEST_F() 329 (*element_animations->Animations().begin()).key; in TEST_F() 356 EXPECT_TRUE(element_animations); in TEST_F() 364 EXPECT_TRUE(element_animations->BaseComputedStyle()); in TEST_F() 366 element_animations->ClearBaseComputedStyle(); in TEST_F() 372 EXPECT_FALSE(element_animations->BaseComputedStyle()); in TEST_F() [all …]
|
H A D | style_resolver.cc | 114 element_animations.CssAnimations().SetPendingUpdate( in SetAnimationUpdateIfNeeded() 815 if (!element_animations) in CachedAnimationBaseComputedStyle() 818 return element_animations->BaseComputedStyle(); in CachedAnimationBaseComputedStyle() 833 ElementAnimations* element_animations = in UpdateAnimationBaseComputedStyle() local 835 if (!element_animations) in UpdateAnimationBaseComputedStyle() 838 if (element_animations->IsAnimationStyleChange() && in UpdateAnimationBaseComputedStyle() 839 element_animations->BaseComputedStyle()) { in UpdateAnimationBaseComputedStyle() 1605 if (!element_animations || !element_animations->BaseComputedStyle()) in CanReuseBaseComputedStyle() 1608 if (!element_animations->IsAnimationStyleChange()) in CanReuseBaseComputedStyle() 1626 if (element_animations->BaseComputedStyle() && in CanReuseBaseComputedStyle() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/compositing/ |
H A D | paint_layer_compositor.cc | 362 ElementAnimations* element_animations = nullptr; in RestartAnimationOnCompositor() local 364 element_animations = element->GetElementAnimations(); in RestartAnimationOnCompositor() 365 if (element_animations) in RestartAnimationOnCompositor() 366 element_animations->RestartAnimationOnCompositor(); in RestartAnimationOnCompositor()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/animation/ |
H A D | compositor_animations.cc | 121 ElementAnimations* element_animations = target_element.GetElementAnimations(); in HasIncompatibleAnimations() local 122 DCHECK(element_animations); in HasIncompatibleAnimations() 132 for (const auto& entry : element_animations->Animations()) { in HasIncompatibleAnimations() 420 ElementAnimations* element_animations = target_element.GetElementAnimations(); in CancelIncompatibleAnimationsOnCompositor() local 421 DCHECK(element_animations); in CancelIncompatibleAnimationsOnCompositor() 423 for (const auto& entry : element_animations->Animations()) { in CancelIncompatibleAnimationsOnCompositor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/animation/ |
H A D | compositor_animations.cc | 122 ElementAnimations* element_animations = target_element.GetElementAnimations(); in HasIncompatibleAnimations() local 123 DCHECK(element_animations); in HasIncompatibleAnimations() 133 for (const auto& entry : element_animations->Animations()) { in HasIncompatibleAnimations() 451 ElementAnimations* element_animations = target_element.GetElementAnimations(); in CancelIncompatibleAnimationsOnCompositor() local 452 DCHECK(element_animations); in CancelIncompatibleAnimationsOnCompositor() 454 for (const auto& entry : element_animations->Animations()) { in CancelIncompatibleAnimationsOnCompositor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/trees/ |
H A D | layer_tree_host_unittest_animation.cc | 906 scoped_refptr<ElementAnimations> element_animations = in ScrollOffsetKeyframeEffect() local 909 DCHECK(element_animations); in ScrollOffsetKeyframeEffect() 911 &*element_animations->FirstKeyframeEffectForTesting(); in ScrollOffsetKeyframeEffect() 1368 if (!animation_impl->element_animations()) in UpdateAnimationState() 1491 DCHECK(animation_->element_animations()); in SetupTree() 1503 animation_->element_animations()->has_element_in_active_list()); in DidCommit() 1505 animation_->element_animations()->has_element_in_pending_list()); in DidCommit() 1511 animation_->element_animations()->has_element_in_active_list()); in DidCommit() 1513 animation_->element_animations()->has_element_in_pending_list()); in DidCommit() 1521 animation_->element_animations()->has_element_in_active_list()); in DidCommit() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/trees/ |
H A D | layer_tree_host_unittest_animation.cc | 906 scoped_refptr<ElementAnimations> element_animations = in ScrollOffsetKeyframeEffect() local 909 DCHECK(element_animations); in ScrollOffsetKeyframeEffect() 911 &*element_animations->FirstKeyframeEffectForTesting(); in ScrollOffsetKeyframeEffect() 1368 if (!animation_impl->element_animations()) in UpdateAnimationState() 1491 DCHECK(animation_->element_animations()); in SetupTree() 1503 animation_->element_animations()->has_element_in_active_list()); in DidCommit() 1505 animation_->element_animations()->has_element_in_pending_list()); in DidCommit() 1511 animation_->element_animations()->has_element_in_active_list()); in DidCommit() 1513 animation_->element_animations()->has_element_in_pending_list()); in DidCommit() 1521 animation_->element_animations()->has_element_in_active_list()); in DidCommit() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/compositing/ |
H A D | paint_layer_compositor.cc | 479 ElementAnimations* element_animations = nullptr; in RestartAnimationOnCompositor() local 481 element_animations = element->GetElementAnimations(); in RestartAnimationOnCompositor() 482 if (element_animations) in RestartAnimationOnCompositor() 483 element_animations->RestartAnimationOnCompositor(); in RestartAnimationOnCompositor()
|