| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_TEST_ANIMATION_TEST_COMMON_H_ | 5 #ifndef CC_TEST_ANIMATION_TEST_COMMON_H_ |
| 6 #define CC_TEST_ANIMATION_TEST_COMMON_H_ | 6 #define CC_TEST_ANIMATION_TEST_COMMON_H_ |
| 7 | 7 |
| 8 #include "cc/animation/animation.h" | 8 #include "cc/animation/animation.h" |
| 9 #include "cc/animation/animation_curve.h" | 9 #include "cc/animation/animation_curve.h" |
| 10 #include "cc/animation/animation_timeline.h" | 10 #include "cc/animation/animation_timeline.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 int AddAnimatedTransformToController(LayerAnimationController* controller, | 137 int AddAnimatedTransformToController(LayerAnimationController* controller, |
| 138 double duration, | 138 double duration, |
| 139 int delta_x, | 139 int delta_x, |
| 140 int delta_y); | 140 int delta_y); |
| 141 | 141 |
| 142 int AddAnimatedFilterToController(LayerAnimationController* controller, | 142 int AddAnimatedFilterToController(LayerAnimationController* controller, |
| 143 double duration, | 143 double duration, |
| 144 float start_brightness, | 144 float start_brightness, |
| 145 float end_brightness); | 145 float end_brightness); |
| 146 | 146 |
| 147 int AddOpacityTransitionToLayer(Layer* layer, | |
| 148 double duration, | |
| 149 float start_opacity, | |
| 150 float end_opacity, | |
| 151 bool use_timing_function); | |
| 152 | |
| 153 int AddOpacityTransitionToLayer(LayerImpl* layer, | |
| 154 double duration, | |
| 155 float start_opacity, | |
| 156 float end_opacity, | |
| 157 bool use_timing_function); | |
| 158 | |
| 159 int AddAnimatedTransformToLayer(Layer* layer, | |
| 160 double duration, | |
| 161 int delta_x, | |
| 162 int delta_y); | |
| 163 | |
| 164 int AddAnimatedTransformToLayer(LayerImpl* layer, | |
| 165 double duration, | |
| 166 int delta_x, | |
| 167 int delta_y); | |
| 168 | |
| 169 int AddAnimatedTransformToLayer(Layer* layer, | |
| 170 double duration, | |
| 171 TransformOperations start_operations, | |
| 172 TransformOperations operations); | |
| 173 | |
| 174 int AddAnimatedTransformToLayer(LayerImpl* layer, | |
| 175 double duration, | |
| 176 TransformOperations start_operations, | |
| 177 TransformOperations operations); | |
| 178 | |
| 179 int AddAnimatedFilterToLayer(Layer* layer, | |
| 180 double duration, | |
| 181 float start_brightness, | |
| 182 float end_brightness); | |
| 183 | |
| 184 int AddAnimatedFilterToLayer(LayerImpl* layer, | |
| 185 double duration, | |
| 186 float start_brightness, | |
| 187 float end_brightness); | |
| 188 | |
| 189 int AddAnimatedTransformToPlayer(AnimationPlayer* player, | 147 int AddAnimatedTransformToPlayer(AnimationPlayer* player, |
| 190 double duration, | 148 double duration, |
| 191 int delta_x, | 149 int delta_x, |
| 192 int delta_y); | 150 int delta_y); |
| 193 | 151 |
| 194 int AddAnimatedTransformToPlayer(AnimationPlayer* player, | 152 int AddAnimatedTransformToPlayer(AnimationPlayer* player, |
| 195 double duration, | 153 double duration, |
| 196 TransformOperations start_operations, | 154 TransformOperations start_operations, |
| 197 TransformOperations operations); | 155 TransformOperations operations); |
| 198 | 156 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 float end_opacity, | 218 float end_opacity, |
| 261 bool use_timing_function); | 219 bool use_timing_function); |
| 262 | 220 |
| 263 void AbortAnimationsOnLayerWithPlayer(int layer_id, | 221 void AbortAnimationsOnLayerWithPlayer(int layer_id, |
| 264 scoped_refptr<AnimationTimeline> timeline, | 222 scoped_refptr<AnimationTimeline> timeline, |
| 265 TargetProperty::Type target_property); | 223 TargetProperty::Type target_property); |
| 266 | 224 |
| 267 } // namespace cc | 225 } // namespace cc |
| 268 | 226 |
| 269 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ | 227 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ |
| OLD | NEW |