Home
last modified time | relevance | path

Searched refs:ticker (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/scheduler/
Dticker_test.dart16 final Ticker ticker = Ticker(handleTick);
18 expect(ticker.isTicking, isFalse);
19 expect(ticker.isActive, isFalse);
21 ticker.start();
23 expect(ticker.isTicking, isTrue);
24 expect(ticker.isActive, isTrue);
27 expect(ticker.start, throwsFlutterError);
33 ticker.muted = true;
37 expect(ticker.isTicking, isFalse);
38 expect(ticker.isActive, isTrue);
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/scheduler/
Dticker.dart26 /// used as a ticker provider in the context of tests. In other contexts, you
35 /// Creates a ticker with the given callback.
37 /// The kind of ticker provided depends on the kind of ticker provider.
43 /// When created, a ticker is initially disabled. Call [start] to
44 /// enable the ticker.
50 /// By convention, the [start] and [stop] methods are used by the ticker's
52 /// that created the ticker.
57 /// Creates a ticker that will call the provided callback once per frame while
71 /// Whether this ticker has been silenced.
73 /// While silenced, a ticker's clock can still run, but the callback will not
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc45 identity->ticker.store(0, std::memory_order_relaxed); in Init()
55 const int ticker = in Tick() local
56 identity->ticker.fetch_add(1, std::memory_order_relaxed) + 1; in Tick()
59 if (wait_start && (ticker - wait_start > Waiter::kIdlePeriods) && !is_idle) { in Tick()
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in ABSL_INTERNAL_C_SYMBOL() local
84 identity->wait_start.store(ticker ? ticker : 1, std::memory_order_relaxed); in ABSL_INTERNAL_C_SYMBOL()
Dwaiter.cc61 const int ticker = identity->ticker.load(std::memory_order_relaxed); in MaybeBecomeIdle() local
63 if (!is_idle && ticker - wait_start > Waiter::kIdlePeriods) { in MaybeBecomeIdle()
Dcreate_thread_identity.cc91 identity->ticker.store(0, std::memory_order_relaxed); in ResetThreadIdentity()
/third_party/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc45 identity->ticker.store(0, std::memory_order_relaxed); in Init()
55 const int ticker = in Tick() local
56 identity->ticker.fetch_add(1, std::memory_order_relaxed) + 1; in Tick()
59 if (wait_start && (ticker - wait_start > Waiter::kIdlePeriods) && !is_idle) { in Tick()
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
84 identity->wait_start.store(ticker ? ticker : 1, std::memory_order_relaxed); in AbslInternalPerThreadSemWait()
Dwaiter.cc60 const int ticker = identity->ticker.load(std::memory_order_relaxed); in MaybeBecomeIdle() local
62 if (!is_idle && ticker - wait_start > Waiter::kIdlePeriods) { in MaybeBecomeIdle()
Dcreate_thread_identity.cc91 identity->ticker.store(0, std::memory_order_relaxed); in ResetThreadIdentity()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dticker_provider.dart16 /// widget-aware ticker providers. For example, using a
29 /// The current ticker mode of this subtree.
73 /// This mixin only supports vending a single ticker. If you might have multiple
112 'Otherwise, the ticker will leak.\n'
113 'The offending ticker was: ${_ticker.toString(debugIncludeStack: true)}'
140 …properties.add(DiagnosticsProperty<Ticker>('ticker', _ticker, description: tickerDescription, show…
166 void _removeTicker(_WidgetTicker ticker) {
168 assert(_tickers.contains(ticker));
169 _tickers.remove(ticker);
176 for (Ticker ticker in _tickers) {
[all …]
/third_party/flutter/flutter/dev/integration_tests/external_ui/lib/
Dmain.dart99 Ticker ticker;
100 ticker = createTicker((Duration time) {
104 ticker.stop();
105 ticker.dispose();
120 ticker.start();
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dtest_vsync.dart7 /// A [TickerProvider] that creates a standalone ticker.
12 /// Creates a ticker provider that creates standalone tickers.
Dwidget_tester.dart620 void _removeTicker(_TestTicker ticker) {
622 assert(_tickers.contains(ticker));
623 _tickers.remove(ticker);
635 for (Ticker ticker in _tickers) {
636 if (ticker.isActive) {
641 'Otherwise, the ticker will leak.\n'
642 'The offending ticker was: ${ticker.toString(debugIncludeStack: true)}'
784 typedef _TickerDisposeCallback = void Function(_TestTicker ticker);
/third_party/flutter/flutter/packages/flutter/test/animation/
Dfutures_test.dart127 await tester.pump(); // start ticker
143 await tester.pump(); // start ticker
144 await tester.pump(const Duration(milliseconds: 200)); // end ticker
156 await tester.pump(); // start ticker
157 controller1.stop(); // cancel ticker
173 await tester.pump(); // start ticker
174 await tester.pump(const Duration(milliseconds: 200)); // end ticker
/third_party/flutter/flutter/packages/flutter/test/widgets/
Danimated_cross_fade_test.dart302 expect(state.ticker.muted, false);
309 expect(state.ticker.muted, false);
317 expect(state.ticker.muted, true);
374 Ticker ticker;
379 ticker = createTicker((_) { })..start();
387 ticker.dispose();
Doverscroll_indicator_test.dart43 await tester.pump(); // allow the ticker to register itself
/third_party/flutter/flutter/packages/flutter/lib/
Dscheduler.dart19 export 'src/scheduler/ticker.dart';
/third_party/abseil-cpp/absl/base/internal/
Dthread_identity.h156 std::atomic<int> ticker; // Tick counter, incremented once per second. member
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dthread_identity.h155 std::atomic<int> ticker; // Tick counter, incremented once per second. member
/third_party/boost/libs/histogram/doc/
Dfill_performance.py117 from matplotlib.ticker import MultipleLocator
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dbutton.dart197 final TickerFuture ticker = _buttonHeldDown
200 ticker.then<void>((void value) {
/third_party/flutter/flutter/packages/flutter/lib/src/animation/
Danimation_controller.dart101 /// The widget test framework [WidgetTester] object can be used as a ticker
230 /// [TickerProvider] for advice on obtaining a ticker provider.
260 /// [TickerProvider] for advice on obtaining a ticker provider.
417 /// controller's ticker might get muted, in which case the animation
775 final String ticker = _ticker == null ? '; DISPOSED' : (_ticker.muted ? '; silenced' : '');
778 return '$more$paused$ticker$label';
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dcompilation_trace.txt4735 package:flutter/src/scheduler/ticker.dart,Ticker,Ticker.
4736 package:flutter/src/scheduler/ticker.dart,Ticker,_onTick
4737 package:flutter/src/scheduler/ticker.dart,Ticker,_tick
4738 package:flutter/src/scheduler/ticker.dart,Ticker,dispose
4739 package:flutter/src/scheduler/ticker.dart,Ticker,get:_animationId
4740 package:flutter/src/scheduler/ticker.dart,Ticker,get:_future
4741 package:flutter/src/scheduler/ticker.dart,Ticker,get:_muted
4742 package:flutter/src/scheduler/ticker.dart,Ticker,get:_onTick
4743 package:flutter/src/scheduler/ticker.dart,Ticker,get:_startTime
4744 package:flutter/src/scheduler/ticker.dart,Ticker,get:_tick
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dtest_test.dart48 return _testFile('ticker', automatedTestsDirectory, flutterTestDirectory);
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dmaterial.dart73 /// The ticker provider used by the controller.
500 // since there's no current support for dynamically changing the ticker
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dproxy_box_test.dart12 import 'package:flutter/src/scheduler/ticker.dart';

12