Home
last modified time | relevance | path

Searched refs:LayerAnimationElement (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/ui/compositor/
Dlayer_animation_element.cc30 class Pause : public LayerAnimationElement {
33 : LayerAnimationElement(properties, duration) { in Pause()
51 class TransformTransition : public LayerAnimationElement {
54 : LayerAnimationElement(TRANSFORM, duration), in TransformTransition()
85 class InterpolatedTransformTransition : public LayerAnimationElement {
89 : LayerAnimationElement(TRANSFORM, duration), in InterpolatedTransformTransition()
118 class BoundsTransition : public LayerAnimationElement {
121 : LayerAnimationElement(BOUNDS, duration), in BoundsTransition()
152 class OpacityTransition : public LayerAnimationElement {
155 : LayerAnimationElement(OPACITY, duration), in OpacityTransition()
[all …]
Dlayer_animation_element.h28 class COMPOSITOR_EXPORT LayerAnimationElement {
64 LayerAnimationElement(AnimatableProperties properties,
67 virtual ~LayerAnimationElement();
71 static LayerAnimationElement* CreateTransformElement(
79 static LayerAnimationElement* CreateInverseTransformElement(
81 const LayerAnimationElement* uninverted_transition);
85 static LayerAnimationElement* CloneInverseTransformElement(
86 const LayerAnimationElement* other);
95 static LayerAnimationElement* CreateInterpolatedTransformElement(
101 static LayerAnimationElement* CreateBoundsElement(
[all …]
Dlayer_animation_element_unittest.cc34 scoped_ptr<LayerAnimationElement> element( in TEST()
35 LayerAnimationElement::CreateTransformElement(target_transform, delta)); in TEST()
64 LayerAnimationElement::TargetValue target_value(&delegate); in TEST()
74 scoped_ptr<LayerAnimationElement> base_element( in TEST()
75 LayerAnimationElement::CreateTransformElement(transform, delta)); in TEST()
77 scoped_ptr<LayerAnimationElement> inverse_element( in TEST()
78 LayerAnimationElement::CreateInverseTransformElement(transform, in TEST()
90 scoped_ptr<LayerAnimationElement> base_element( in TEST()
91 LayerAnimationElement::CreateTransformElement(transform, delta)); in TEST()
93 scoped_ptr<LayerAnimationElement> inverse_element( in TEST()
[all …]
Dlayer_animator_unittest.cc45 LayerAnimationElement* first, in CreateMultiSequence()
46 LayerAnimationElement* second) { in CreateMultiSequence()
71 LayerAnimationElement::AnimatableProperty property) const { in WasAnimationAbortedForProperty()
76 LayerAnimationElement::AnimatableProperty property) const { in WasAnimationCompletedForProperty()
176 TestLayerAnimationSequence(LayerAnimationElement* element, in TestLayerAnimationSequence()
234 animator->StopAnimatingProperty(LayerAnimationElement::OPACITY); in TEST()
237 animator->StopAnimatingProperty(LayerAnimationElement::BOUNDS); in TEST()
302 LayerAnimationElement::CreateBrightnessElement(target_brightness, in TEST()
340 LayerAnimationElement::CreateOpacityElement(target_opacity, delta))); in TEST()
351 test_controller.GetRunningSequence(LayerAnimationElement::OPACITY) in TEST()
[all …]
Dlayer_animation_sequence_unittest.cc31 EXPECT_EQ(static_cast<LayerAnimationElement::AnimatableProperties>( in TEST()
32 LayerAnimationElement::UNKNOWN), in TEST()
34 EXPECT_FALSE(sequence.HasConflictingProperty(LayerAnimationElement::UNKNOWN)); in TEST()
48 LayerAnimationElement::CreateBrightnessElement(target, delta)); in TEST()
66 EXPECT_EQ(static_cast<LayerAnimationElement::AnimatableProperties>( in TEST()
67 LayerAnimationElement::BRIGHTNESS), in TEST()
83 LayerAnimationElement::CreateOpacityElement(target, delta)); in TEST()
109 EXPECT_EQ(static_cast<LayerAnimationElement::AnimatableProperties>( in TEST()
110 LayerAnimationElement::OPACITY), in TEST()
126 LayerAnimationElement::CreateOpacityElement(target_opacity, delta)); in TEST()
[all …]
Dlayer_animation_sequence.h41 explicit LayerAnimationSequence(LayerAnimationElement* element);
78 void GetTargetValue(LayerAnimationElement::TargetValue* target) const;
84 LayerAnimationElement::AnimatableProperties properties() const { in properties()
90 void AddElement(LayerAnimationElement* element);
99 LayerAnimationElement::AnimatableProperties other) const;
130 LayerAnimationElement* FirstElement() const;
135 typedef std::vector<linked_ptr<LayerAnimationElement> > Elements;
150 LayerAnimationElement* CurrentElement() const;
153 LayerAnimationElement::AnimatableProperties properties_;
Dlayer_animation_observer.cc80 LayerAnimationElement::AnimatableProperty property) const { in WasAnimationAbortedForProperty()
85 LayerAnimationElement::AnimatableProperty property) const { in WasAnimationCompletedForProperty()
143 LayerAnimationElement::AnimatableProperties properties = in UpdatePropertyAnimationStatus()
145 for (unsigned i = LayerAnimationElement::FIRST_PROPERTY; in UpdatePropertyAnimationStatus()
146 i != LayerAnimationElement::SENTINEL; in UpdatePropertyAnimationStatus()
149 LayerAnimationElement::AnimatableProperty property = in UpdatePropertyAnimationStatus()
150 static_cast<LayerAnimationElement::AnimatableProperty>(i); in UpdatePropertyAnimationStatus()
158 LayerAnimationElement::AnimatableProperty property) const { in AnimationStatusForProperty()
Dlayer_animation_sequence.cc19 : properties_(LayerAnimationElement::UNKNOWN), in LayerAnimationSequence()
28 LayerAnimationSequence::LayerAnimationSequence(LayerAnimationElement* element) in LayerAnimationSequence()
29 : properties_(LayerAnimationElement::UNKNOWN), in LayerAnimationSequence()
163 LayerAnimationElement::TargetValue* target) const { in GetTargetValue()
182 void LayerAnimationSequence::AddElement(LayerAnimationElement* element) { in AddElement()
188 LayerAnimationElement::AnimatableProperties other) const { in HasConflictingProperty()
189 return (properties_ & other) != LayerAnimationElement::UNKNOWN; in HasConflictingProperty()
217 LayerAnimationElement::AnimatableProperties element_properties = in OnThreadedAnimationStarted()
219 LayerAnimationElement::AnimatableProperty event_property = in OnThreadedAnimationStarted()
220 LayerAnimationElement::ToAnimatableProperty(event.target_property); in OnThreadedAnimationStarted()
[all …]
Dscoped_layer_animation_settings.cc45 scoped_ptr<LayerAnimationElement> inverse = GetInverseElement(sequence, in OnLayerAnimationScheduled()
51 LayerAnimationElement::CloneInverseTransformElement( in OnLayerAnimationScheduled()
56 scoped_ptr<LayerAnimationElement> GetInverseElement( in GetInverseElement()
63 LayerAnimationElement* element = sequence->FirstElement(); in GetInverseElement()
64 DCHECK_EQ(static_cast<LayerAnimationElement::AnimatableProperties>( in GetInverseElement()
65 LayerAnimationElement::TRANSFORM), in GetInverseElement()
69 scoped_ptr<LayerAnimationElement> to_return( in GetInverseElement()
70 LayerAnimationElement::CreateInverseTransformElement(base, element)); in GetInverseElement()
Dlayer_animator.cc84 StopAnimatingProperty(LayerAnimationElement::property); \
88 scoped_ptr<LayerAnimationElement> element( \
89 LayerAnimationElement::Create##name##Element(value, duration)); \
95 LayerAnimationElement::TargetValue target(delegate()); \
189 LayerAnimationElement::AnimatableProperties animated_properties = in StartTogether()
190 LayerAnimationElement::UNKNOWN; in StartTogether()
201 LayerAnimationElement::CreatePauseElement(animated_properties, in StartTogether()
228 LayerAnimationElement::AnimatableProperties animated_properties = in ScheduleTogether()
229 LayerAnimationElement::UNKNOWN; in ScheduleTogether()
239 LayerAnimationElement::CreatePauseElement(animated_properties, in ScheduleTogether()
[all …]
Dlayer_animation_observer.h101 LayerAnimationElement::AnimatableProperty property) const;
107 LayerAnimationElement::AnimatableProperty property) const;
139 LayerAnimationElement::AnimatableProperty property) const;
147 typedef std::map<LayerAnimationElement::AnimatableProperty,
Dlayer_animator.h140 LayerAnimationElement::AnimatableProperties properties_to_pause);
150 LayerAnimationElement::AnimatableProperty property) const;
156 LayerAnimationElement::AnimatableProperty property);
259 LayerAnimationElement::AnimatableProperty property);
296 void GetTargetValue(LayerAnimationElement::TargetValue* target) const;
Dlayer.cc179 child_animator->StopAnimatingProperty(ui::LayerAnimationElement::BOUNDS); in Remove()
238 LayerAnimationElement::TRANSFORM)) { in GetTargetTransform()
255 LayerAnimationElement::BOUNDS)) { in GetTargetBounds()
300 LayerAnimationElement::BRIGHTNESS)) { in GetTargetBrightness()
312 LayerAnimationElement::GRAYSCALE)) { in GetTargetGrayscale()
402 LayerAnimationElement::OPACITY)) in GetTargetOpacity()
413 LayerAnimationElement::VISIBILITY)) in GetTargetVisibility()
477 animator_->StopAnimatingProperty(LayerAnimationElement::TRANSFORM); in SwitchToLayer()
478 animator_->StopAnimatingProperty(LayerAnimationElement::OPACITY); in SwitchToLayer()
687 animator_->StopAnimatingProperty(LayerAnimationElement::TRANSFORM); in OnDeviceScaleFactorChanged()
/external/chromium_org/ui/app_list/views/
Dpulsing_block_view.cc43 ui::LayerAnimationElement::CreateOpacityElement( in SchedulePulsingAnimation()
47 ui::LayerAnimationElement::CreateTransformElement( in SchedulePulsingAnimation()
54 ui::LayerAnimationElement::CreatePauseElement( in SchedulePulsingAnimation()
55 ui::LayerAnimationElement::OPACITY, in SchedulePulsingAnimation()
59 ui::LayerAnimationElement::CreatePauseElement( in SchedulePulsingAnimation()
60 ui::LayerAnimationElement::TRANSFORM, in SchedulePulsingAnimation()
/external/chromium_org/ui/compositor/test/
Dlayer_animator_test_controller.cc22 LayerAnimationElement::AnimatableProperty property) { in GetRunningSequence()
37 LayerAnimationElement::AnimatableProperty animatable_property = in StartThreadedAnimationsIfNeeded()
38 LayerAnimationElement::ToAnimatableProperty(threaded_properties[i]); in StartThreadedAnimationsIfNeeded()
43 LayerAnimationElement* element = sequence->CurrentElement(); in StartThreadedAnimationsIfNeeded()
Dlayer_animator_test_controller.h23 LayerAnimationElement::AnimatableProperty property);
/external/chromium_org/ash/wm/
Dsession_state_animator_impl.cc71 ui::LayerAnimationElement::CreateTransformElement( in StartSlowCloseAnimationForWindow()
88 ui::LayerAnimationElement::CreateTransformElement( in StartUndoSlowCloseAnimationForWindow()
106 ui::LayerAnimationElement::CreateTransformElement( in StartFastCloseAnimationForWindow()
109 ui::LayerAnimationElement::CreateOpacityElement(0.0, duration)); in StartFastCloseAnimationForWindow()
124 ui::LayerAnimationElement::CreateOpacityElement( in StartPartialFadeAnimation()
140 ui::LayerAnimationElement::CreateOpacityElement(opacity, duration)); in StartOpacityAnimationForWindow()
195 ui::LayerAnimationElement::CreateOpacityElement( in HideWindow()
227 ui::LayerAnimationElement::CreateOpacityElement( in TransformWindowToBaseState()
266 scoped_ptr<ui::LayerAnimationElement> brightness_element( in StartGrayscaleBrightnessAnimationForWindow()
267 ui::LayerAnimationElement::CreateBrightnessElement( in StartGrayscaleBrightnessAnimationForWindow()
[all …]
Dworkspace_controller.cc124 ui::LayerAnimationElement::TRANSFORM | in DoInitialAnimation()
125 ui::LayerAnimationElement::OPACITY | in DoInitialAnimation()
126 ui::LayerAnimationElement::BRIGHTNESS | in DoInitialAnimation()
127 ui::LayerAnimationElement::VISIBILITY); in DoInitialAnimation()
Dwindow_animations.cc125 scoped_ptr<ui::LayerAnimationElement> transition( in AddLayerAnimationsForMinimize()
126 ui::LayerAnimationElement::CreateInterpolatedTransformElement( in AddLayerAnimationsForMinimize()
139 (duration * 3) / 4, ui::LayerAnimationElement::OPACITY); in AddLayerAnimationsForMinimize()
146 ui::LayerAnimationElement::CreateOpacityElement( in AddLayerAnimationsForMinimize()
152 ui::LayerAnimationElement::CreateTransformElement( in AddLayerAnimationsForMinimize()
421 scoped_ptr<ui::LayerAnimationElement> brightness_element( in CreateBrightnessGrayscaleAnimationSequence()
422 ui::LayerAnimationElement::CreateBrightnessElement( in CreateBrightnessGrayscaleAnimationSequence()
427 scoped_ptr<ui::LayerAnimationElement> grayscale_element( in CreateBrightnessGrayscaleAnimationSequence()
428 ui::LayerAnimationElement::CreateGrayscaleElement( in CreateBrightnessGrayscaleAnimationSequence()
/external/chromium_org/ui/wm/core/
Dwindow_animations.cc354 ui::LayerAnimationElement* CreateGrowShrinkElement( in CreateGrowShrinkElement()
367 scoped_ptr<ui::LayerAnimationElement> transition( in CreateGrowShrinkElement()
368 ui::LayerAnimationElement::CreateInterpolatedTransformElement( in CreateGrowShrinkElement()
385 sequence->AddElement(ui::LayerAnimationElement::CreatePauseElement( in AnimateBounce()
386 ui::LayerAnimationElement::BOUNDS, in AnimateBounce()
440 ui::LayerAnimationElement::OPACITY); in AddLayerAnimationsForRotate()
442 scoped_ptr<ui::LayerAnimationElement> opacity( in AddLayerAnimationsForRotate()
443 ui::LayerAnimationElement::CreateOpacityElement( in AddLayerAnimationsForRotate()
479 scoped_ptr<ui::LayerAnimationElement> transition( in AddLayerAnimationsForRotate()
480 ui::LayerAnimationElement::CreateInterpolatedTransformElement( in AddLayerAnimationsForRotate()
Dvisibility_controller_unittest.cc46 IsAnimatingProperty(ui::LayerAnimationElement::OPACITY)); in TEST_F()
Dvisibility_controller.cc56 ui::LayerAnimationElement::VISIBILITY) && in UpdateLayerVisibility()
/external/chromium_org/ash/frame/
Dheader_painter_util.cc92 ui::LayerAnimationElement::OPACITY) && in CanAnimateActivation()
94 ui::LayerAnimationElement::VISIBILITY); in CanAnimateActivation()
/external/chromium_org/ash/rotator/
Dscreen_rotation.cc34 : ui::LayerAnimationElement(LayerAnimationElement::TRANSFORM, in ScreenRotation()
Dscreen_rotation.h29 class ASH_EXPORT ScreenRotation : public ui::LayerAnimationElement {

12