Searched defs:delegate (Results 251 - 275 of 1356) sorted by last modified time

<<11121314151617181920>>

/external/chromium_org/ui/compositor/
H A Dlayer.h86 LayerDelegate* delegate() { return delegate_; } function in class:ui::Layer
87 void set_delegate(LayerDelegate* delegate) { delegate_ = delegate; } argument
H A Dlayer_animation_element.cc38 virtual void OnStart(LayerAnimationDelegate* delegate) OVERRIDE {}
40 LayerAnimationDelegate* delegate) OVERRIDE {
44 virtual void OnAbort(LayerAnimationDelegate* delegate) OVERRIDE {}
60 virtual void OnStart(LayerAnimationDelegate* delegate) OVERRIDE {
61 start_ = delegate->GetTransformForAnimation();
64 virtual bool OnProgress(double t, LayerAnimationDelegate* delegate) OVERRIDE {
65 delegate->SetTransformFromAnimation(
74 virtual void OnAbort(LayerAnimationDelegate* delegate) OVERRIDE {}
95 virtual void OnStart(LayerAnimationDelegate* delegate) OVERRIDE {
98 virtual bool OnProgress(double t, LayerAnimationDelegate* delegate) OVERRID
352 OnEnd(delegate); variable
611 TargetValue( const LayerAnimationDelegate* delegate) argument
652 Start(LayerAnimationDelegate* delegate, int animation_group_id) argument
663 Progress(base::TimeTicks now, LayerAnimationDelegate* delegate) argument
711 ProgressToEnd(LayerAnimationDelegate* delegate) argument
731 Abort(LayerAnimationDelegate* delegate) argument
736 RequestEffectiveStart( LayerAnimationDelegate* delegate) argument
[all...]
H A Dlayer_animation_element_unittest.cc23 // Check that the transformation element progresses the delegate as expected and
26 TestLayerAnimationDelegate delegate; local
41 delegate.SetTransformFromAnimation(start_transform);
42 element->Start(&delegate, 1);
43 element->Progress(start_time, &delegate);
45 delegate.GetTransformForAnimation());
48 element->Progress(effective_start_time, &delegate);
50 element->Progress(effective_start_time + delta/2, &delegate);
58 element->Progress(effective_start_time + delta, &delegate);
61 delegate
118 TestLayerAnimationDelegate delegate; local
134 TestLayerAnimationDelegate delegate; local
171 TestLayerAnimationDelegate delegate; local
213 TestLayerAnimationDelegate delegate; local
247 TestLayerAnimationDelegate delegate; local
282 TestLayerAnimationDelegate delegate; local
328 TestLayerAnimationDelegate delegate; local
358 TestLayerAnimationDelegate delegate; local
396 TestLayerAnimationDelegate delegate; local
[all...]
H A Dlayer_animation_sequence.cc45 void LayerAnimationSequence::Start(LayerAnimationDelegate* delegate) { argument
52 elements_[0]->Start(delegate, animation_group_id_);
56 LayerAnimationDelegate* delegate) {
74 if (elements_[current_index]->ProgressToEnd(delegate))
86 elements_[current_index]->Start(delegate, animation_group_id_);
89 if (elements_[current_index]->Progress(now, delegate))
97 // Since the delegate may be deleted due to the notifications below, it is
100 delegate->ScheduleDrawForAnimation();
135 void LayerAnimationSequence::ProgressToEnd(LayerAnimationDelegate* delegate) { argument
143 if (elements_[current_index]->ProgressToEnd(delegate))
55 Progress(base::TimeTicks now, LayerAnimationDelegate* delegate) argument
171 Abort(LayerAnimationDelegate* delegate) argument
[all...]
H A Dlayer_animation_sequence_unittest.cc37 // Check that the sequences progresses the delegate as expected when it contains
41 TestLayerAnimationDelegate delegate; local
53 delegate.SetBrightnessFromAnimation(start);
54 sequence.Start(&delegate);
55 sequence.Progress(start_time, &delegate);
56 EXPECT_FLOAT_EQ(start, delegate.GetBrightnessForAnimation());
58 &delegate);
59 EXPECT_FLOAT_EQ(middle, delegate.GetBrightnessForAnimation());
62 &delegate);
63 EXPECT_FLOAT_EQ(target, delegate
75 TestLayerAnimationDelegate delegate; local
118 TestLayerAnimationDelegate delegate; local
207 TestLayerAnimationDelegate delegate; local
243 TestLayerAnimationDelegate delegate; local
271 TestLayerAnimationDelegate delegate; local
[all...]
H A Dlayer_animator.cc78 // on the layer animation delegate immediately.
82 if (duration == base::TimeDelta() && delegate() && \
85 delegate()->Set##name##FromAnimation(value); \
95 LayerAnimationElement::TargetValue target(delegate()); \
113 void LayerAnimator::SetDelegate(LayerAnimationDelegate* delegate) { argument
119 delegate_ = delegate;
339 (*iter).sequence()->Start(delegate());
362 if (!delegate() || sequence->waiting_for_group_start())
365 sequence->Progress(now, delegate());
369 if (!delegate())
[all...]
H A Dlayer_animator.h62 // Sets the transform on the delegate. May cause an implicit animation.
66 // Sets the bounds on the delegate. May cause an implicit animation.
70 // Sets the opacity on the delegate. May cause an implicit animation.
74 // Sets the visibility of the delegate. May cause an implicit animation.
78 // Sets the brightness on the delegate. May cause an implicit animation.
82 // Sets the grayscale on the delegate. May cause an implicit animation.
86 // Sets the color on the delegate. May cause an implicit animation.
94 // Sets the layer animation delegate the animator is associated with. The
95 // animator does not own the delegate. The layer animator expects a non-NULL
96 // delegate fo
198 LayerAnimationDelegate* delegate() { return delegate_; } function in class:ui::LayerAnimator
199 const LayerAnimationDelegate* delegate() const { return delegate_; } function in class:ui::LayerAnimator
[all...]
H A Dlayer_animator_unittest.cc201 TestLayerAnimationDelegate delegate; local
202 animator->SetDelegate(&delegate);
207 EXPECT_FLOAT_EQ(delegate.GetBrightnessForAnimation(), 0.5);
215 TestLayerAnimationDelegate delegate; local
216 animator->SetDelegate(&delegate);
219 EXPECT_FLOAT_EQ(delegate.GetBrightnessForAnimation(), 0.5);
228 TestLayerAnimationDelegate delegate; local
229 animator->SetDelegate(&delegate);
236 EXPECT_FLOAT_EQ(delegate.GetOpacityForAnimation(), 0.5);
239 CheckApproximatelyEqual(delegate
248 TestLayerAnimationDelegate delegate; local
267 TestLayerAnimationDelegate delegate; local
289 TestLayerAnimationDelegate delegate; local
328 TestLayerAnimationDelegate delegate; local
376 TestLayerAnimationDelegate delegate; local
429 TestLayerAnimationDelegate delegate; local
493 TestLayerAnimationDelegate delegate; local
546 TestLayerAnimationDelegate delegate; local
625 TestLayerAnimationDelegate delegate; local
678 TestLayerAnimationDelegate delegate; local
717 TestLayerAnimationDelegate delegate; local
763 TestLayerAnimationDelegate delegate; local
791 TestLayerAnimationDelegate delegate; local
848 TestLayerAnimationDelegate delegate; local
921 TestLayerAnimationDelegate delegate; local
975 TestLayerAnimationDelegate delegate; local
1031 TestLayerAnimationDelegate delegate; local
1070 TestLayerAnimationDelegate delegate; local
1108 TestLayerAnimationDelegate delegate; local
1179 TestLayerAnimationDelegate delegate; local
1269 TestLayerAnimationDelegate delegate; local
1335 TestLayerAnimationDelegate delegate; local
1406 TestLayerAnimationDelegate delegate; local
1468 TestLayerAnimationDelegate delegate; local
1571 TestLayerAnimationDelegate delegate; local
1612 TestLayerAnimationDelegate delegate; local
1639 TestLayerAnimationDelegate delegate; local
1669 TestLayerAnimationDelegate delegate; local
1691 TestLayerAnimationDelegate delegate; local
1719 TestLayerAnimationDelegate delegate; local
1760 TestLayerAnimationDelegate delegate; local
1790 TestLayerAnimationDelegate delegate; local
1822 TestLayerAnimationDelegate delegate; local
1856 TestLayerAnimationDelegate delegate; local
1897 TestLayerAnimationDelegate delegate; local
2007 TestLayerAnimationDelegate delegate; local
2053 TestLayerAnimationDelegate delegate; local
2081 TestLayerAnimationDelegate delegate; local
2118 TestLayerAnimationDelegate delegate; local
2142 TestLayerAnimationDelegate delegate; local
2163 TestLayerAnimationDelegate delegate; local
2183 TestLayerAnimationDelegate delegate; local
2319 TestLayerAnimationDelegate delegate; local
2352 TestLayerAnimationDelegate delegate; local
2379 TestLayerAnimationDelegate delegate; local
2411 TestLayerAnimationDelegate delegate; local
2448 TestLayerAnimationDelegate delegate; local
2522 CollectionLayerAnimationDelegate delegate; local
[all...]
H A Dlayer_owner.h41 void set_layer_owner_delegate(LayerOwnerDelegate* delegate) { argument
42 layer_owner_delegate_ = delegate;
H A Dlayer_unittest.cc300 // The simplest possible layer delegate. Does nothing.
517 TestLayerDelegate delegate; local
518 l1->set_delegate(&delegate);
519 delegate.AddColor(SK_ColorWHITE);
520 delegate.AddColor(SK_ColorYELLOW);
521 delegate.AddColor(SK_ColorGREEN);
526 EXPECT_EQ(delegate.color_index(), 1);
527 EXPECT_EQ(delegate.paint_size(), l1->bounds().size());
531 EXPECT_EQ(delegate.color_index(), 2);
532 EXPECT_EQ(delegate
726 NullLayerDelegate delegate; local
1399 DrawTreeLayerDelegate delegate; local
1711 FrameDamageCheckingDelegate delegate; local
[all...]
/external/chromium_org/ui/display/chromeos/x11/
H A Dnative_display_delegate_x11.cc81 HelperDelegateX11(NativeDisplayDelegateX11* delegate) : delegate_(delegate) {} argument
H A Dnative_display_event_dispatcher_x11.cc19 NativeDisplayDelegateX11::HelperDelegate* delegate,
21 : delegate_(delegate),
18 NativeDisplayEventDispatcherX11( NativeDisplayDelegateX11::HelperDelegate* delegate, int xrandr_event_base) argument
/external/chromium_org/ui/events/
H A Devent_dispatcher.cc101 EventDispatcher::EventDispatcher(EventDispatcherDelegate* delegate) argument
102 : delegate_(delegate),
H A Devent_dispatcher_unittest.cc132 // Destroys the dispatcher-delegate when it receives any event.
135 EventHandlerDestroyDispatcherDelegate(EventDispatcherDelegate* delegate, argument
138 dispatcher_delegate_(delegate) {
/external/chromium_org/ui/events/linux/
H A Dtext_edit_key_bindings_delegate_auralinux.cc10 // Optional delegate. Unowned pointer.
15 TextEditKeyBindingsDelegateAuraLinux* delegate) {
16 text_edit_keybinding_delegate_ = delegate;
14 SetTextEditKeyBindingsDelegate( TextEditKeyBindingsDelegateAuraLinux* delegate) argument
/external/chromium_org/ui/events/ozone/evdev/libgestures_glue/
H A Devent_reader_libevdev_cros.cc30 scoped_ptr<Delegate> delegate)
31 : EventConverterEvdev(fd, path), delegate_(delegate.Pass()) {
28 EventReaderLibevdevCros(int fd, const base::FilePath& path, scoped_ptr<Delegate> delegate) argument
/external/chromium_org/ui/events/test/
H A Devent_generator.cc94 EventGenerator::EventGenerator(EventGeneratorDelegate* delegate) argument
95 : delegate_(delegate),
109 delegate()->SetContext(NULL, NULL, NULL);
149 delegate()->ConvertPointToTarget(current_target_, &exit_location);
162 delegate()->ConvertPointFromHost(current_target_, &current_location_);
178 delegate()->ConvertPointToTarget(current_target_, &move_point);
188 delegate()->ConvertPointFromTarget(window, &point);
499 delegate()->SetContext(this, root_window, window_context);
501 current_location_ = delegate()->CenterOfWindow(window_context);
502 current_target_ = delegate()
618 const EventGeneratorDelegate* EventGenerator::delegate() const { function in class:ui::test::EventGenerator
626 EventGeneratorDelegate* EventGenerator::delegate() { function in class:ui::test::EventGenerator
[all...]
/external/chromium_org/ui/events/x/
H A Dhotplug_event_handler_x11.cc108 DeviceHotplugEventObserver* delegate)
109 : delegate_(delegate) {
107 HotplugEventHandlerX11( DeviceHotplugEventObserver* delegate) argument
/external/chromium_org/ui/gfx/animation/
H A Danimation.h50 // Sets the delegate.
51 void set_delegate(AnimationDelegate* delegate) { delegate_ = delegate; } argument
71 // delegate has been invoked.
75 // true the delegate is notified the animation was canceled, otherwise the
76 // delegate is notified the animation stopped.
81 AnimationDelegate* delegate() { return delegate_; } function in class:gfx::Animation
95 // Our delegate; may be null.
H A Danimation_container_unittest.cc46 explicit TestAnimation(AnimationDelegate* delegate) argument
47 : LinearAnimation(20, 20, delegate) {
67 TestAnimationDelegate delegate; local
69 scoped_ptr<Animation> animation(new TestAnimation(&delegate));
97 // Run the message loop the delegate quits the message loop when notified.
122 // Run the message loop. The delegate quits the message loop when notified.
H A Danimation_unittest.cc28 RunAnimation(int frame_rate, AnimationDelegate* delegate) argument
29 : LinearAnimation(frame_rate, delegate) {
43 CancelAnimation(int duration, int frame_rate, AnimationDelegate* delegate) argument
44 : LinearAnimation(duration, frame_rate, delegate) {
58 EndAnimation(int duration, int frame_rate, AnimationDelegate* delegate) argument
59 : LinearAnimation(duration, frame_rate, delegate) {
107 // right delegate methods invoked.
118 // Runs an animation with a delegate that deletes the animation in end.
120 DeletingAnimationDelegate delegate; local
121 RunAnimation* animation = new RunAnimation(150, &delegate);
[all...]
H A Dlinear_animation.cc25 AnimationDelegate* delegate)
29 set_delegate(delegate);
34 AnimationDelegate* delegate)
39 set_delegate(delegate);
61 // of the delegate).
83 if (delegate())
84 delegate()->AnimationProgressed(this);
99 // Set state_ to ensure we send ended to delegate and not canceled.
24 LinearAnimation(int frame_rate, AnimationDelegate* delegate) argument
32 LinearAnimation(int duration, int frame_rate, AnimationDelegate* delegate) argument
H A Dslide_animation_unittest.cc88 // Tests that delegate is not notified when animation is running and is deleted.
91 TestAnimationDelegate delegate; local
92 scoped_ptr<SlideAnimation> animation(new SlideAnimation(&delegate));
100 // Make sure the delegate wasn't notified.
101 EXPECT_FALSE(delegate.finished());
102 EXPECT_FALSE(delegate.canceled());
/external/chromium_org/ui/gfx/
H A Dfont_render_params_linux.cc187 // Start with the delegate's settings, but let Fontconfig have the final say.
189 const LinuxFontDelegate* delegate = LinuxFontDelegate::instance(); local
190 if (delegate)
191 params = delegate->GetDefaultFontRenderParams();
H A Dpango_util.cc92 const gfx::LinuxFontDelegate* delegate = gfx::LinuxFontDelegate::instance(); local
93 if (delegate)
94 dpi = delegate->GetFontDPI();

Completed in 911 milliseconds

<<11121314151617181920>>