/third_party/flutter/flutter/packages/flutter/test/scheduler/ |
D | ticker_test.dart | 16 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/ |
D | ticker.dart | 26 /// 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/ |
D | per_thread_sem.cc | 45 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()
|
D | waiter.cc | 61 const int ticker = identity->ticker.load(std::memory_order_relaxed); in MaybeBecomeIdle() local 63 if (!is_idle && ticker - wait_start > Waiter::kIdlePeriods) { in MaybeBecomeIdle()
|
D | create_thread_identity.cc | 91 identity->ticker.store(0, std::memory_order_relaxed); in ResetThreadIdentity()
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | per_thread_sem.cc | 45 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()
|
D | waiter.cc | 60 const int ticker = identity->ticker.load(std::memory_order_relaxed); in MaybeBecomeIdle() local 62 if (!is_idle && ticker - wait_start > Waiter::kIdlePeriods) { in MaybeBecomeIdle()
|
D | create_thread_identity.cc | 91 identity->ticker.store(0, std::memory_order_relaxed); in ResetThreadIdentity()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | ticker_provider.dart | 16 /// 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/ |
D | main.dart | 99 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/ |
D | test_vsync.dart | 7 /// A [TickerProvider] that creates a standalone ticker. 12 /// Creates a ticker provider that creates standalone tickers.
|
D | widget_tester.dart | 620 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/ |
D | futures_test.dart | 127 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/ |
D | animated_cross_fade_test.dart | 302 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();
|
D | overscroll_indicator_test.dart | 43 await tester.pump(); // allow the ticker to register itself
|
/third_party/flutter/flutter/packages/flutter/lib/ |
D | scheduler.dart | 19 export 'src/scheduler/ticker.dart';
|
/third_party/abseil-cpp/absl/base/internal/ |
D | thread_identity.h | 156 std::atomic<int> ticker; // Tick counter, incremented once per second. member
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | thread_identity.h | 155 std::atomic<int> ticker; // Tick counter, incremented once per second. member
|
/third_party/boost/libs/histogram/doc/ |
D | fill_performance.py | 117 from matplotlib.ticker import MultipleLocator
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | button.dart | 197 final TickerFuture ticker = _buttonHeldDown 200 ticker.then<void>((void value) {
|
/third_party/flutter/flutter/packages/flutter/lib/src/animation/ |
D | animation_controller.dart | 101 /// 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/ |
D | compilation_trace.txt | 4735 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/ |
D | test_test.dart | 48 return _testFile('ticker', automatedTestsDirectory, flutterTestDirectory);
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | material.dart | 73 /// 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/ |
D | proxy_box_test.dart | 12 import 'package:flutter/src/scheduler/ticker.dart';
|