Searched refs:switchInfo (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/ |
H A D | ui_observer.cpp | 696 const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo) in HandleNavDestinationSwitch() 698 HandleAbilityUIContextNavDestinationSwitch(info, switchInfo); in HandleNavDestinationSwitch() 699 HandleUIContextNavDestinationSwitch(switchInfo); in HandleNavDestinationSwitch() 703 const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo) in HandleAbilityUIContextNavDestinationSwitch() 705 napi_value uiContextBackup = switchInfo.context; in HandleAbilityUIContextNavDestinationSwitch() 717 switchInfo.context = abilityContext; in HandleAbilityUIContextNavDestinationSwitch() 719 HandleListenersWithEmptyNavigationId(listenersMap, switchInfo); in HandleAbilityUIContextNavDestinationSwitch() 720 HandleListenersWithSpecifiedNavigationId(listenersMap, switchInfo); in HandleAbilityUIContextNavDestinationSwitch() 723 switchInfo.context = uiContextBackup; in HandleAbilityUIContextNavDestinationSwitch() 726 void UIObserver::HandleUIContextNavDestinationSwitch(const NG::NavDestinationSwitchInfo& switchInfo) in HandleUIContextNavDestinationSwitch() argument 695 HandleNavDestinationSwitch( const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo) HandleNavDestinationSwitch() argument 702 HandleAbilityUIContextNavDestinationSwitch( const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo) HandleAbilityUIContextNavDestinationSwitch() argument 738 HandleListenersWithEmptyNavigationId( const NavIdAndListenersMap& listenersMap, const NG::NavDestinationSwitchInfo& switchInfo) HandleListenersWithEmptyNavigationId() argument 751 HandleListenersWithSpecifiedNavigationId( const NavIdAndListenersMap& listenersMap, const NG::NavDestinationSwitchInfo& switchInfo) HandleListenersWithSpecifiedNavigationId() argument [all...] |
H A D | ui_observer_listener.h | 48 void OnNavDestinationSwitch(const NG::NavDestinationSwitchInfo& switchInfo); 53 napi_value CreateNavDestinationSwitchInfoObj(const NG::NavDestinationSwitchInfo& switchInfo);
|
H A D | ui_observer.h | 81 const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo); 112 const NG::AbilityContextInfo& info, NG::NavDestinationSwitchInfo& switchInfo); 113 static void HandleUIContextNavDestinationSwitch(const NG::NavDestinationSwitchInfo& switchInfo); 117 const NavIdAndListenersMap& listenersMap, const NG::NavDestinationSwitchInfo& switchInfo); 119 const NavIdAndListenersMap& listenersMap, const NG::NavDestinationSwitchInfo& switchInfo);
|
H A D | ui_observer_listener.cpp | 141 void UIObserverListener::OnNavDestinationSwitch(const NG::NavDestinationSwitchInfo& switchInfo) in OnNavDestinationSwitch() argument 155 napi_value argv[] = { CreateNavDestinationSwitchInfoObj(switchInfo) }; in OnNavDestinationSwitch() 160 napi_value UIObserverListener::CreateNavDestinationSwitchInfoObj(const NG::NavDestinationSwitchInfo& switchInfo) in CreateNavDestinationSwitchInfoObj() argument 166 if (switchInfo.from.has_value()) { in CreateNavDestinationSwitchInfoObj() 167 napiFrom = CreateNavDestinationInfoObj(switchInfo.from.value()); in CreateNavDestinationSwitchInfoObj() 172 if (switchInfo.to.has_value()) { in CreateNavDestinationSwitchInfoObj() 173 napiTo = CreateNavDestinationInfoObj(switchInfo.to.value()); in CreateNavDestinationSwitchInfoObj() 177 napi_create_int32(env_, static_cast<int32_t>(switchInfo.operation), &napiOperation); in CreateNavDestinationSwitchInfoObj() 178 napi_set_named_property(env_, objValue, "context", switchInfo.context); in CreateNavDestinationSwitchInfoObj()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/ |
H A D | audio_renderer_unit_test.cpp | 6920 IAudioStream::SwitchInfo switchInfo; in HWTEST() local 6921 switchInfo.renderPositionCb = nullptr; in HWTEST() 6922 switchInfo.renderPeriodPositionCb = nullptr; in HWTEST() 6923 switchInfo.capturePeriodPositionCb = nullptr; in HWTEST() 6924 switchInfo.capturePositionCb = nullptr; in HWTEST() 6925 switchInfo.frameMarkPosition = 0; in HWTEST() 6926 switchInfo.framePeriodNumber = 0; in HWTEST() 6929 audioRendererPrivate->SetSwitchInfo(switchInfo, audioStream); in HWTEST() 6944 IAudioStream::SwitchInfo switchInfo; in HWTEST() local 6945 switchInfo in HWTEST() 6968 IAudioStream::SwitchInfo switchInfo; HWTEST() local 6998 IAudioStream::SwitchInfo switchInfo; HWTEST() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | observer_handler.cpp | 261 NavDestinationSwitchInfo switchInfo(GetUIContextValue(), std::forward<std::optional<NavDestinationInfo>>(from), in NotifyNavDestinationSwitch() 263 navDestinationSwitchHandleFunc_(info, switchInfo); in NotifyNavDestinationSwitch()
|
Completed in 17 milliseconds