/third_party/flutter/engine/flutter/shell/platform/android/test/io/flutter/embedding/android/ |
D | FlutterActivityAndFragmentDelegateTest.java | 86 FlutterActivityAndFragmentDelegate delegate = new FlutterActivityAndFragmentDelegate(mockHost); in itSendsLifecycleEventsToFlutter() local 90 delegate.onAttach(RuntimeEnvironment.application); in itSendsLifecycleEventsToFlutter() 91 delegate.onCreateView(null, null, null); in itSendsLifecycleEventsToFlutter() 96 delegate.onStart(); in itSendsLifecycleEventsToFlutter() 102 delegate.onResume(); in itSendsLifecycleEventsToFlutter() 108 delegate.onPause(); in itSendsLifecycleEventsToFlutter() 116 delegate.onStop(); in itSendsLifecycleEventsToFlutter() 126 FlutterActivityAndFragmentDelegate delegate = new FlutterActivityAndFragmentDelegate(mockHost); in itDefersToTheHostToProvideFlutterEngine() local 130 delegate.onAttach(RuntimeEnvironment.application); in itDefersToTheHostToProvideFlutterEngine() 136 …e delegate failed to use the host's FlutterEngine.", mockFlutterEngine, delegate.getFlutterEngine(… in itDefersToTheHostToProvideFlutterEngine() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/ |
D | FlutterPluginAppLifeCycleDelegate.mm | 83 for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in [_delegates allObjects]) { 84 if (!delegate) { 87 if ([delegate respondsToSelector:selector]) { 94 - (void)addDelegate:(NSObject<FlutterApplicationLifeCycleDelegate>*)delegate { 95 [_delegates addPointer:(__bridge void*)delegate]; 103 for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in [_delegates allObjects]) { 104 if (!delegate) { 107 if ([delegate respondsToSelector:_cmd]) { 108 if (![delegate application:application didFinishLaunchingWithOptions:launchOptions]) { 118 for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in [_delegates allObjects]) { [all …]
|
D | FlutterPluginAppLifeCycleDelegateTest.m | 24 FlutterPluginAppLifeCycleDelegate* delegate = [[FlutterPluginAppLifeCycleDelegate alloc] init]; 25 XCTAssertNotNil(delegate); 29 FlutterPluginAppLifeCycleDelegate* delegate = [[FlutterPluginAppLifeCycleDelegate alloc] init]; 31 [delegate addDelegate:plugin]; 39 FlutterPluginAppLifeCycleDelegate* delegate = [[FlutterPluginAppLifeCycleDelegate alloc] init]; 41 [delegate addDelegate:plugin]; 49 FlutterPluginAppLifeCycleDelegate* delegate = [[FlutterPluginAppLifeCycleDelegate alloc] init]; 51 [delegate addDelegate:plugin]; 59 FlutterPluginAppLifeCycleDelegate* delegate = [[FlutterPluginAppLifeCycleDelegate alloc] init]; 61 [delegate addDelegate:plugin]; [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapField.java | 288 private final Map<K, V> delegate; field in MapField.MutatabilityAwareMap 290 MutatabilityAwareMap(MutabilityOracle mutabilityOracle, Map<K, V> delegate) { in MutatabilityAwareMap() argument 292 this.delegate = delegate; in MutatabilityAwareMap() 297 return delegate.size(); in size() 302 return delegate.isEmpty(); in isEmpty() 307 return delegate.containsKey(key); in containsKey() 312 return delegate.containsValue(value); in containsValue() 317 return delegate.get(key); in get() 325 return delegate.put(key, value); in put() 331 return delegate.remove(key); in remove() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | custom_multi_child_layout_test.dart | 47 Widget buildFrame(MultiChildLayoutDelegate delegate) { 54 delegate: delegate, 78 final TestMultiChildLayoutDelegate delegate = TestMultiChildLayoutDelegate(); 79 await tester.pumpWidget(buildFrame(delegate)); 81 expect(delegate.getSizeConstraints.minWidth, 0.0); 82 expect(delegate.getSizeConstraints.maxWidth, 800.0); 83 expect(delegate.getSizeConstraints.minHeight, 0.0); 84 expect(delegate.getSizeConstraints.maxHeight, 600.0); 86 expect(delegate.performLayoutSize.width, 200.0); 87 expect(delegate.performLayoutSize.height, 300.0); [all …]
|
D | custom_single_child_layout_test.dart | 87 Widget buildFrame(SingleChildLayoutDelegate delegate) { 90 delegate: delegate, 98 final TestSingleChildLayoutDelegate delegate = TestSingleChildLayoutDelegate(); 99 await tester.pumpWidget(buildFrame(delegate)); 101 expect(delegate.constraintsFromGetSize.minWidth, 0.0); 102 expect(delegate.constraintsFromGetSize.maxWidth, 800.0); 103 expect(delegate.constraintsFromGetSize.minHeight, 0.0); 104 expect(delegate.constraintsFromGetSize.maxHeight, 600.0); 106 expect(delegate.constraintsFromGetConstraintsForChild.minWidth, 0.0); 107 expect(delegate.constraintsFromGetConstraintsForChild.maxWidth, 800.0); [all …]
|
D | slivers_appbar_floating_test.dart | 34 SliverPersistentHeader(delegate: TestDelegate(), floating: true), 55 final TestDelegate delegate = TestDelegate(); 64 SliverPersistentHeader(key: key2 = GlobalKey(), delegate: delegate, floating: true), 76 …position.animateTo(bigHeight - 600.0 + delegate.maxExtent, curve: Curves.linear, duration: const D… 79 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent), true); 80 …ter, find.byType(Container), 0, Rect.fromLTWH(0.0, 600.0 - delegate.maxExtent, 800.0, delegate.max… 83 assert(delegate.maxExtent * 2.0 < 600.0); // make sure this fits on the test screen... 84 …position.animateTo(bigHeight - 600.0 + delegate.maxExtent * 2.0, curve: Curves.linear, duration: c… 87 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent * 2.0), true); 88 …, find.byType(Container), 0, Rect.fromLTWH(0.0, 600.0 - delegate.maxExtent * 2.0, 800.0, delegate.… [all …]
|
/third_party/flutter/flutter/packages/flutter_localizations/test/material/ |
D | translations_test.dart | 14 expect(GlobalMaterialLocalizations.delegate.isSupported(locale), isTrue); 16 …final MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(locale… 93 …MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(const Locale… 106 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('es')); 119 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('ro')); 132 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('km')); 141 …MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(const Locale… 145 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('en', 'GB')); 149 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('es')); 153 localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('de')); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | search_test.dart | 14 final _TestSearchDelegate delegate = _TestSearchDelegate(); 18 delegate: delegate, 52 final _TestSearchDelegate delegate = _TestSearchDelegate(); 56 delegate: delegate, 95 final _TestSearchDelegate delegate = _TestSearchDelegate(); 98 delegate: delegate, 105 expect(hintColor, delegate.hintTextColor); 109 final _TestSearchDelegate delegate = _TestSearchDelegate(); 112 delegate: delegate, 117 expect(delegate.query, ''); [all …]
|
/third_party/boost/boost/iostreams/detail/streambuf/ |
D | chainbuf.hpp | 55 { sentry t(this); return translate(delegate().underflow()); } in underflow() 57 { sentry t(this); return translate(delegate().pbackfail(c)); } in pbackfail() 59 { sentry t(this); return delegate().xsgetn(s, n); } in xsgetn() 61 { sentry t(this); return translate(delegate().overflow(c)); } in overflow() 63 { sentry t(this); return delegate().xsputn(s, n); } in xsputn() 64 int sync() { sentry t(this); return delegate().sync(); } in sync() 68 { sentry t(this); return delegate().seekoff(off, way, which); } in seekoff() 72 { sentry t(this); return delegate().seekpos(sp, which); } in seekpos() 87 delegate_type& delegate() in delegate() function in boost::iostreams::detail::chainbuf 91 this->setg(delegate().eback(), delegate().gptr(), delegate().egptr()); in get_pointers() [all …]
|
/third_party/node/test/cctest/ |
D | test_inspector_socket.cc | 86 static TestInspectorDelegate* delegate = nullptr; variable 90 GTEST_ASSERT_EQ(delegate, d); in assert_is_delegate() 106 delegate = nullptr; in ~TestInspectorDelegate() 162 SPIN_WHILE(delegate != nullptr); in WaitForDispose() 231 delegate = new TestInspectorDelegate(); in on_new_connection() 232 delegate->SetInspector( in on_new_connection() 234 InspectorSocket::DelegatePointer(delegate))); in on_new_connection() 235 GTEST_ASSERT_NE(nullptr, delegate); in on_new_connection() 374 SPIN_WHILE(delegate != nullptr); in TearDown() 385 ASSERT_FALSE(delegate->inspector_ready); in TEST_F() [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | sliver_persistent_header.dart | 43 /// This value should not change over the lifetime of the delegate. It should 44 /// be based entirely on the constructor arguments passed to the delegate. See 45 /// [shouldRebuild], which must return true if a new delegate would return a 54 /// This value should not change over the lifetime of the delegate. It should 55 /// be based entirely on the constructor arguments passed to the delegate. See 56 /// [shouldRebuild], which must return true if a new delegate would return a 71 /// Whether this delegate is meaningfully different from the old delegate. 74 /// the instance of the delegate changed. 92 /// The [delegate], [pinned], and [floating] arguments must not be null. 95 @required this.delegate, [all …]
|
/third_party/cef/libcef/browser/views/ |
D | menu_button_impl.cc | 14 CefRefPtr<CefMenuButtonDelegate> delegate, in CreateMenuButton() argument 16 return CefMenuButtonImpl::Create(delegate, text); in CreateMenuButton() 21 CefRefPtr<CefMenuButtonDelegate> delegate, in Create() argument 24 DCHECK(delegate); in Create() 25 if (!delegate) in Create() 27 CefRefPtr<CefMenuButtonImpl> menu_button = new CefMenuButtonImpl(delegate); in Create() 60 CefMenuButtonImpl::CefMenuButtonImpl(CefRefPtr<CefMenuButtonDelegate> delegate) in CefMenuButtonImpl() argument 61 : ParentClass(delegate) { in CefMenuButtonImpl() 62 DCHECK(delegate); in CefMenuButtonImpl() 66 return new CefMenuButtonView(delegate()); in CreateRootView()
|
D | basic_panel_impl.cc | 11 CefRefPtr<CefPanelDelegate> delegate) { in CreatePanel() argument 12 return CefBasicPanelImpl::Create(delegate); in CreatePanel() 17 CefRefPtr<CefPanelDelegate> delegate) { in Create() argument 19 CefRefPtr<CefBasicPanelImpl> panel = new CefBasicPanelImpl(delegate); in Create() 24 CefBasicPanelImpl::CefBasicPanelImpl(CefRefPtr<CefPanelDelegate> delegate) in CefBasicPanelImpl() argument 25 : ParentClass(delegate) {} in CefBasicPanelImpl() 28 return new CefBasicPanelView(delegate()); in CreateRootView()
|
D | basic_label_button_impl.cc | 11 CefRefPtr<CefButtonDelegate> delegate, in CreateLabelButton() argument 13 return CefBasicLabelButtonImpl::Create(delegate, text); in CreateLabelButton() 18 CefRefPtr<CefButtonDelegate> delegate, in Create() argument 22 new CefBasicLabelButtonImpl(delegate); in Create() 30 CefRefPtr<CefButtonDelegate> delegate) in CefBasicLabelButtonImpl() argument 31 : ParentClass(delegate) {} in CefBasicLabelButtonImpl() 34 return new CefBasicLabelButtonView(delegate()); in CreateRootView()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimpleFilteredSentenceBreakIterator.java | 31 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator 46 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator() 56 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState() 140 n = delegate.next(); in internalNext() 168 n = delegate.previous(); in internalPrev() 188 return delegate.equals(other.delegate) && text.equals(other.text) in equals() 197 + delegate.hashCode(); in hashCode() 204 if (delegate != null) { in clone() 205 other.delegate = (BreakIterator) delegate.clone(); in clone() 226 return delegate.first(); in first() [all …]
|
/third_party/cef/libcef/browser/chrome/ |
D | chrome_browser_delegate.cc | 148 if (auto delegate = GetDelegateForWebContents(source)) { in OpenURLFromTab() local 149 return delegate->OpenURLFromTab(source, params); in OpenURLFromTab() 156 if (auto delegate = GetDelegateForWebContents(source)) { in LoadingStateChanged() local 157 delegate->LoadingStateChanged(source, should_show_loading_ui); in LoadingStateChanged() 163 if (auto delegate = GetDelegateForWebContents(source)) { in UpdateTargetURL() local 164 delegate->UpdateTargetURL(source, url); in UpdateTargetURL() 174 if (auto delegate = GetDelegateForWebContents(source)) { in DidAddMessageToConsole() local 175 return delegate->DidAddMessageToConsole(source, log_level, message, line_no, in DidAddMessageToConsole() 183 if (auto delegate = GetDelegateForWebContents(web_contents)) { in DidNavigatePrimaryMainFramePostCommit() local 184 delegate->DidNavigatePrimaryMainFramePostCommit(web_contents); in DidNavigatePrimaryMainFramePostCommit() [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | search.dart | 27 /// `delegate`. The initial query string is given by `query`, which defaults 28 /// to the empty string. When `query` is set to null, `delegate.query` will 36 /// call. Call [SearchDelegate.close] before re-using the same delegate instance 53 @required SearchDelegate<T> delegate, 56 assert(delegate != null); 58 delegate.query = query ?? delegate.query; 59 delegate._currentBody = _SearchBody.suggestions; 61 delegate: delegate, 88 /// call. Call [SearchDelegate.close] before re-using the same delegate instance 129 /// The delegate method is called whenever the content of [query] changes. [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | SimpleFilteredSentenceBreakIterator.java | 32 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator 47 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator() 57 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState() 145 n = delegate.next(); in internalNext() 173 n = delegate.previous(); in internalPrev() 191 …return delegate.equals(other.delegate) && text.equals(other.text) && backwardsTrie.equals(other.ba… in equals() 197 …return (forwardsPartialTrie.hashCode() * 39) + (backwardsTrie.hashCode() * 11) + delegate.hashCode… in hashCode() 210 return delegate.first(); in first() 215 return internalPrev(delegate.preceding(offset)); in preceding() 220 return internalPrev(delegate.previous()); in previous() [all …]
|
/third_party/python/Lib/idlelib/ |
D | delegator.py | 3 def __init__(self, delegate=None): argument 4 self.delegate = delegate 10 attr = getattr(self.delegate, name) # May raise AttributeError 26 def setdelegate(self, delegate): argument 29 self.delegate = delegate
|
D | percolator.py | 37 assert filter.delegate is None 44 assert filter.delegate is None 50 f = f.delegate 53 filter.setdelegate(f.delegate) 59 assert filter.delegate is not None 62 self.top = filter.delegate 65 while f.delegate is not filter: 68 f = f.delegate 69 f.setdelegate(filter.delegate) 83 self.delegate.insert(*args) [all …]
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | platform_thread.cc | 24 PlatformThread::Delegate* delegate = in ThreadFunc() local 26 delegate->ThreadMain(); in ThreadFunc() 31 bool PlatformThread::Create(Delegate* delegate, in Create() argument 34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create() 58 PlatformThread::Delegate* delegate = 60 delegate->ThreadMain(); 65 bool PlatformThread::Create(Delegate* delegate, 72 success = !pthread_create(thread_handle, &attributes, ThreadFunc, delegate);
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/ |
D | platform_thread.cc | 24 PlatformThread::Delegate* delegate = in ThreadFunc() local 26 delegate->ThreadMain(); in ThreadFunc() 31 bool PlatformThread::Create(Delegate* delegate, in Create() argument 34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create() 58 PlatformThread::Delegate* delegate = 60 delegate->ThreadMain(); 65 bool PlatformThread::Create(Delegate* delegate, 72 success = !pthread_create(thread_handle, &attributes, ThreadFunc, delegate);
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/ |
D | FlutterFragment.java | 568 private FlutterActivityAndFragmentDelegate delegate; field in FlutterFragment 594 delegate = new FlutterActivityAndFragmentDelegate(this); in onAttach() 595 delegate.onAttach(context); in onAttach() 601 return delegate.onCreateView(inflater, container, savedInstanceState); in onCreateView() 607 delegate.onStart(); in onStart() 613 delegate.onResume(); in onResume() 619 delegate.onPostResume(); in onPostResume() 625 delegate.onPause(); in onPause() 631 delegate.onStop(); in onStop() 637 delegate.onDestroyView(); in onDestroyView() [all …]
|
/third_party/cef/tests/ceftests/views/ |
D | panel_unittest.cc | 27 void CreatePanel(CefRefPtr<CefPanelDelegate> delegate) { in CreatePanel() argument 28 CefRefPtr<CefPanel> panel = CefPanel::CreatePanel(delegate); in CreatePanel() 40 if (delegate) in CreatePanel() 41 EXPECT_EQ(delegate.get(), panel->GetDelegate().get()); in CreatePanel() 67 if (delegate) { in CreatePanel() 69 EXPECT_TRUE(delegate->HasOneRef()); in CreatePanel() 657 CefRefPtr<SizingPanelDelegate> delegate = new SizingPanelDelegate(); in SizeNoDelegateImpl() local 658 CefRefPtr<CefPanel> panel = CefPanel::CreatePanel(delegate); in SizeNoDelegateImpl() 685 EXPECT_TRUE(delegate->IsReset()); in SizeNoDelegateImpl() 689 CefRefPtr<SizingPanelDelegate> delegate = new SizingPanelDelegate(); in SizeWithDelegateImpl() local [all …]
|