Home
last modified time | relevance | path

Searched refs:pipelineContext (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_context.cpp270 pipelineContext->FlushBuild(); in StartAnimateToForFaMode()
275 pipelineContext->FlushBuild(); in StartAnimateToForFaMode()
296 return pipelineContext->IsFormAnimationFinishCallback() && pipelineContext->IsFormRender() && in CheckIfSetFormAnimationDuration()
438 pipelineContext->FlushBuild(); in StartKeyframeAnimation()
665 CHECK_NULL_VOID(pipelineContext); in AnimateToInner()
666 if (pipelineContext->IsFormAnimationFinishCallback() && pipelineContext->IsFormRender() && in AnimateToInner()
742 pipelineContext->FlushBuild(); in AnimateToInner()
747 pipelineContext->FlushBuild(); in AnimateToInner()
778 CHECK_NULL_VOID(pipelineContext); in JSKeyframeAnimateTo()
952 CHECK_NULL_VOID(pipelineContext); in IsFollowingSystemFontScale()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_view_context_ffi.cpp46 CHECK_NULL_RETURN(pipelineContext, 0); in GetFormAnimationTimeInterval()
52 CHECK_NULL_RETURN(pipelineContext, false); in CheckIfSetFormAnimationDuration()
53 return pipelineContext->IsFormAnimationFinishCallback() && pipelineContext->IsFormRender() && in CheckIfSetFormAnimationDuration()
79 auto previousOption = pipelineContext->GetSyncAnimationOption(); in AnimateToForStageMode()
80 pipelineContext->SetSyncAnimationOption(option); in AnimateToForStageMode()
101 pipelineContext->CloseImplicitAnimation(); in AnimateToForStageMode()
102 pipelineContext->SetSyncAnimationOption(previousOption); in AnimateToForStageMode()
104 pipelineContext->FlushMessages(); in AnimateToForStageMode()
106 pipelineContext->RequestFrame(); in AnimateToForStageMode()
178 auto pipelineContext = container->GetPipelineContext(); in FfiOHOSAceFrameworkViewContextAnimationTo() local
[all …]
H A Dcj_component_id_ffi.cpp110 auto pipelineContext = container->GetPipelineContext(); in FfiOHOSAceFrameworkComponentIdSendTouchEvent() local
111 if (pipelineContext == nullptr) { in FfiOHOSAceFrameworkComponentIdSendTouchEvent()
115 auto result = pipelineContext->GetTaskExecutor()->PostTask( in FfiOHOSAceFrameworkComponentIdSendTouchEvent()
116 …[pipelineContext, touchPoint]() { pipelineContext->OnTouchEvent(touchPoint); }, TaskExecutor::Task… in FfiOHOSAceFrameworkComponentIdSendTouchEvent()
128 auto pipelineContext = container->GetPipelineContext(); in FfiOHOSAceFrameworkComponentIdSendKeyEvent() local
129 if (pipelineContext == nullptr) { in FfiOHOSAceFrameworkComponentIdSendKeyEvent()
133 auto result = pipelineContext->GetTaskExecutor()->PostTask( in FfiOHOSAceFrameworkComponentIdSendKeyEvent()
134 …[pipelineContext, keyEvent]() { pipelineContext->OnKeyEvent(keyEvent); }, TaskExecutor::TaskType::… in FfiOHOSAceFrameworkComponentIdSendKeyEvent()
146 auto pipelineContext = container->GetPipelineContext(); in FfiOHOSAceFrameworkComponentIdSendMouseEvent() local
147 if (pipelineContext == nullptr) { in FfiOHOSAceFrameworkComponentIdSendMouseEvent()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_app_module.cpp60 auto pipelineContext = delegate->GetPipelineContext(); in AppTerminate() local
61 if (!pipelineContext) { in AppTerminate()
69 if (pipelineContext) { in AppTerminate()
70 pipelineContext->Finish(); in AppTerminate()
84 auto pipelineContext = container->GetPipelineContext(); in AppSetImageCacheCount() local
85 if (!pipelineContext) { in AppSetImageCacheCount()
95 auto taskExecutor = pipelineContext->GetTaskExecutor(); in AppSetImageCacheCount()
103 if (pipelineContext) { in AppSetImageCacheCount()
123 auto pipelineContext = container->GetPipelineContext(); in AppSetImageRawDataCacheSize() local
124 if (!pipelineContext) { in AppSetImageRawDataCacheSize()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/plugin/
H A Dplugin_sub_container_test.cpp74 auto pipelineContext = PluginSubContainerTest::GetPipelineContext(fakeFrontend); variable
75 PluginSubContainer pluginSubContainer(pipelineContext);
76 pluginSubContainer.pipelineContext_ = pipelineContext;
103 auto pipelineContext = PluginSubContainerTest::GetPipelineContext(fakeFrontend); variable
104 PluginSubContainer pluginSubContainer(pipelineContext);
125 auto pipelineContext = PluginSubContainerTest::GetPipelineContext(fakeFrontend); variable
126 PluginSubContainer pluginSubContainer(pipelineContext);
127 pluginSubContainer.pipelineContext_ = pipelineContext;
214 PluginSubContainer pluginSubContainer(pipelineContext);
241 PluginSubContainer pluginSubContainer(pipelineContext);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_animate.cpp111 pipelineContext->FlushBuild(); in FlushDirtyNodesWhenExist()
132 CHECK_NULL_VOID(pipelineContext); in AnimateToInner()
172 pipelineContext->FlushOnceVsyncTask(); in AnimateToInner()
192 pipelineContext->CloseImplicitAnimation(); in AnimateToInner()
196 pipelineContext->FlushMessages(); in AnimateToInner()
198 pipelineContext->RequestFrame(); in AnimateToInner()
250 pipelineContext->FlushBuild(); in StartKeyframeAnimation()
251 if (!pipelineContext->IsLayouting()) { in StartKeyframeAnimation()
252 pipelineContext->FlushUITasks(true); in StartKeyframeAnimation()
267 pipelineContext->FlushBuild(); in StartKeyframeAnimation()
[all …]
H A Dnode_checkbox_modifier.cpp156 auto pipelineContext = frameNode->GetContext(); in ResetSelectedColor() local
157 CHECK_NULL_VOID(pipelineContext); in ResetSelectedColor()
158 auto checkBoxTheme = pipelineContext->GetTheme<CheckboxTheme>(); in ResetSelectedColor()
166 auto pipelineContext = frameNode->GetContext(); in ResetUnSelectedColor() local
167 CHECK_NULL_VOID(pipelineContext); in ResetUnSelectedColor()
176 auto pipelineContext = frameNode->GetContext(); in ResetCheckboxWidth() local
177 CHECK_NULL_VOID(pipelineContext); in ResetCheckboxWidth()
190 auto pipelineContext = frameNode->GetContext(); in ResetCheckboxHeight() local
191 CHECK_NULL_VOID(pipelineContext); in ResetCheckboxHeight()
205 auto pipelineContext = frameNode->GetContext(); in ResetMark() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dsub_menu_layout_algorithm.cpp58 auto pipelineContext = parentMenuItem->GetContextWithCheck(); in Layout() local
59 CHECK_NULL_VOID(pipelineContext); in Layout()
60 auto windowManager = pipelineContext->GetWindowManager(); in Layout()
96 CHECK_NULL_RETURN(pipelineContext, NG::OffsetF(0.0f, 0.0f)); in MenuLayoutAvoidAlgorithm()
140 auto pipelineContext = parentMenuItem->GetContextWithCheck(); in GetSubMenuPosition() local
141 CHECK_NULL_RETURN(pipelineContext, OffsetF()); in GetSubMenuPosition()
142 auto windowManager = pipelineContext->GetWindowManager(); in GetSubMenuPosition()
179 CHECK_NULL_RETURN(pipelineContext, 0.0f); in VerticalLayoutSubMenuHalfScreen()
180 auto safeAreaManager = pipelineContext->GetSafeAreaManager(); in VerticalLayoutSubMenuHalfScreen()
249 CHECK_NULL_VOID(pipelineContext); in ModifySubMenuWrapper()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dnavigation_lifecycle_test_ng.cpp208 pipelineContext->FlushBuildFinishCallbacks();
227 pipelineContext->FlushBuildFinishCallbacks();
268 pipelineContext->FlushBuildFinishCallbacks();
283 pipelineContext->FlushBuildFinishCallbacks();
342 pipelineContext->FlushBuildFinishCallbacks();
387 EXPECT_NE(pipelineContext, nullptr);
427 EXPECT_NE(pipelineContext, nullptr);
487 EXPECT_NE(pipelineContext, nullptr);
570 EXPECT_NE(pipelineContext, nullptr);
610 EXPECT_NE(pipelineContext, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dcard_frontend_declarative.cpp72 auto pipelineContext = DynamicCast<NG::PipelineContext>(context); in AttachPipelineContext() local
74 CHECK_NULL_VOID(pipelineContext); in AttachPipelineContext()
135 auto pipelineContext = AceType::DynamicCast<PipelineContext>(frontend->holder_.Get()); in OnPageLoaded() local
136 CHECK_NULL_VOID(pipelineContext); in OnPageLoaded()
138 pipelineContext->SetMinPlatformVersion(minSdk); in OnPageLoaded()
152 pipelineContext->ScheduleUpdate(patchComponent); in OnPageLoaded()
161 pipelineContext->ScheduleUpdate(patchComponent); in OnPageLoaded()
173 if (pipelineContext->GetAccessibilityManager()) { in OnPageLoaded()
174 pipelineContext->GetAccessibilityManager()->HandleComponentPostBinding(); in OnPageLoaded()
176 if (pipelineContext->CanPushPage()) { in OnPageLoaded()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp321 auto pipelineContext = context_.Upgrade(); in NativeXComponentInit() local
322 if (!pipelineContext) { in NativeXComponentInit()
350 auto pipelineContext = context_.Upgrade(); in NativeXComponentChange() local
351 if (!pipelineContext) { in NativeXComponentChange()
382 auto pipelineContext = context_.Upgrade(); in NativeXComponentDestroy() local
383 if (!pipelineContext) { in NativeXComponentDestroy()
407 auto pipelineContext = context_.Upgrade(); in NativeXComponentDispatchTouchEvent() local
408 if (!pipelineContext) { in NativeXComponentDispatchTouchEvent()
433 if (!pipelineContext) { in HandleMouseHoverEvent()
501 if (!pipelineContext) { in NativeXComponentDispatchMouseEvent()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_span/
H A Drender_text_span.cpp24 auto pipelineContext = context_.Upgrade(); in ~RenderTextSpan() local
25 if (!pipelineContext) { in ~RenderTextSpan()
28 auto fontManager = pipelineContext->GetFontManager(); in ~RenderTextSpan()
47 auto pipelineContext = context_.Upgrade(); in Update() local
48 if (!pipelineContext) { in Update()
59 auto fontManager = pipelineContext->GetFontManager(); in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene.cpp318 CHECK_NULL_VOID(pipelineContext); in BufferAvailableCallback()
362 CHECK_NULL_VOID(pipelineContext); in BufferAvailableCallbackForBlank()
363 pipelineContext->PostAsyncEvent( in BufferAvailableCallbackForBlank()
387 CHECK_NULL_VOID(pipelineContext); in BufferAvailableCallbackForSnapshot()
388 pipelineContext->PostAsyncEvent( in BufferAvailableCallbackForSnapshot()
438 CHECK_NULL_VOID(pipelineContext); in OnActivation()
504 CHECK_NULL_VOID(pipelineContext); in OnConnect()
535 CHECK_NULL_VOID(pipelineContext); in OnDisconnect()
565 CHECK_NULL_VOID(pipelineContext); in OnLayoutFinished()
592 CHECK_NULL_VOID(pipelineContext); in OnDrawingCompleted()
[all …]
H A Dsystem_window_scene.cpp175 if (!pipelineContext) { in RegisterEventCallback()
265 CHECK_NULL_VOID(pipelineContext); in RegisterFocusCallback()
266 pipelineContext->SetFocusedWindowSceneNode(frameNode); in RegisterFocusCallback()
267 pipelineContext->PostAsyncEvent([weakThis]() { in RegisterFocusCallback()
281 CHECK_NULL_VOID(pipelineContext); in RegisterFocusCallback()
282 pipelineContext->PostAsyncEvent([weakThis]() { in RegisterFocusCallback()
355 auto pipelineContext = PipelineContext::GetCurrentContext(); in PostCheckContextTransparentTask() local
356 CHECK_NULL_VOID(pipelineContext); in PostCheckContextTransparentTask()
357 auto taskExecutor = pipelineContext->GetTaskExecutor(); in PostCheckContextTransparentTask()
376 CHECK_NULL_VOID(pipelineContext); in PostFaultInjectTask()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/interfaces/profiler/
H A Djs_profiler.cpp43 auto pipelineContext = container ? container->GetPipelineContext() : nullptr; in JsRegisterVsyncCallback() local
44 if (!pipelineContext) { in JsRegisterVsyncCallback()
56 pipelineContext->SetOnVsyncProfiler(onVsyncFunc); in JsRegisterVsyncCallback()
62 auto pipelineContext = container ? container->GetPipelineContext() : nullptr; in JsUnregisterVsyncCallback() local
63 if (!pipelineContext) { in JsUnregisterVsyncCallback()
67 pipelineContext->ResetOnVsyncProfiler(); in JsUnregisterVsyncCallback()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_abstract_model_test_ng.cpp336 ASSERT_NE(pipelineContext, nullptr);
373 ASSERT_NE(pipelineContext, nullptr);
429 ASSERT_NE(pipelineContext, nullptr);
467 ASSERT_NE(pipelineContext, nullptr);
503 ASSERT_NE(pipelineContext, nullptr);
544 ASSERT_NE(pipelineContext, nullptr);
584 ASSERT_NE(pipelineContext, nullptr);
622 ASSERT_NE(pipelineContext, nullptr);
669 ASSERT_NE(pipelineContext, nullptr);
714 ASSERT_NE(pipelineContext, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Dcustom_dialog_controller_model_ng.cpp37 auto pipelineContext = container->GetPipelineContext(); in SetOpenDialog() local
38 CHECK_NULL_VOID(pipelineContext); in SetOpenDialog()
39 auto context = AceType::DynamicCast<NG::PipelineContext>(pipelineContext); in SetOpenDialog()
94 auto pipelineContext = container->GetPipelineContext(); in SetOpenDialogWithNode() local
95 CHECK_NULL_RETURN(pipelineContext, nullptr); in SetOpenDialogWithNode()
96 auto context = AceType::DynamicCast<NG::PipelineContext>(pipelineContext); in SetOpenDialogWithNode()
132 auto pipelineContext = container->GetPipelineContext(); in SetCloseDialog() local
133 CHECK_NULL_VOID(pipelineContext); in SetCloseDialog()
134 auto context = AceType::DynamicCast<NG::PipelineContext>(pipelineContext); in SetCloseDialog()
176 auto pipelineContext = container->GetPipelineContext(); in SetCloseDialogForNDK() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drosen_render_clock.cpp105 auto pipelineContext = GetContext().Upgrade(); in RequestRenderForNextSecond() local
106 if (!pipelineContext) { in RequestRenderForNextSecond()
109 auto isInScreen = pipelineContext->IsWindowInScreen(); in RequestRenderForNextSecond()
124 pipelineContext->GetTaskExecutor()->PostDelayedTask( in RequestRenderForNextSecond()
131 auto pipelineContext = renderClockHand->GetContext().Upgrade(); in RequestRenderForNextSecond() local
132 if (!pipelineContext) { in RequestRenderForNextSecond()
147 pipelineContext->AddNodesToNotifyOnPreDraw(Claim(this)); in RequestRenderForNextSecond()
172 auto pipelineContext = context_.Upgrade(); in PerformLayout() local
173 if (pipelineContext && (pipelineContext->IsJsCard()) && onHourCallback_) { in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcard_transition_controller.cpp36 auto pipelineContext = context_.Upgrade(); in RegisterTransitionListener() local
37 if (!pipelineContext) { in RegisterTransitionListener()
42 pipelineContext->AddPageTransitionListener( in RegisterTransitionListener()
72 auto pipelineContext = context_.Upgrade(); in PrepareTransition() local
73 if (!pipelineContext) { in PrepareTransition()
137 auto pipelineContext = context_.Upgrade(); in CreateCardTranslateAnimation() local
138 if (!pipelineContext) { in CreateCardTranslateAnimation()
157 auto pipelineContext = context_.Upgrade(); in CreateCardScaleAnimation() local
158 if (!pipelineContext) { in CreateCardScaleAnimation()
339 auto pipelineContext = context_.Upgrade(); in GetCardRect() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.cpp297 CHECK_NULL_VOID(pipelineContext); in DestroyUIDirector()
298 auto rsUIDirector = pipelineContext->GetRSUIDirector(); in DestroyUIDirector()
308 CHECK_NULL_VOID(pipelineContext); in DestroyCallback()
309 pipelineContext->SetNextFrameLayoutCallback(nullptr); in DestroyCallback()
416 if (pipelineContext) { in CommonInitialize()
418 pipelineContext->SetDisplayWindowRectInfo( in CommonInitialize()
456 CHECK_NULL_VOID(pipelineContext); in GetBackgroundColor()
475 CHECK_NULL_VOID(pipelineContext); in SetBackgroundColor()
557 CHECK_NULL_VOID(pipelineContext); in SetNextFrameLayoutCallback()
567 CHECK_NULL_VOID(pipelineContext); in NotifyMemoryLevel()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_model_ng.cpp249 CHECK_NULL_RETURN(pipelineContext, pickerNode); in CreateNode()
364 CHECK_NULL_VOID(pipelineContext); in ClearBorderColor()
377 CHECK_NULL_VOID(pipelineContext); in ClearBorderRadius()
390 CHECK_NULL_VOID(pipelineContext); in ClearHeight()
409 CHECK_NULL_VOID(pipelineContext); in ClearBorderWidth()
431 CHECK_NULL_VOID(pipelineContext); in ClearPadding()
525 CHECK_NULL_VOID(pipelineContext); in ClearPadding()
540 CHECK_NULL_VOID(pipelineContext); in ClearHeight()
550 CHECK_NULL_VOID(pipelineContext); in ClearBorderColor()
562 CHECK_NULL_VOID(pipelineContext); in ClearBorderRadius()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.cpp100 auto pipelineContext = context_.Upgrade(); in OnAttachContext() local
101 if (!pipelineContext) { in OnAttachContext()
106 drawSize_ = Size(pipelineContext->GetRootWidth(), pipelineContext->GetRootHeight()); in OnAttachContext()
124 auto pipelineContext = context_.Upgrade(); in RegistVirtualKeyBoardListener() local
125 if (!pipelineContext) { in RegistVirtualKeyBoardListener()
244 auto pipelineContext = context_.Upgrade(); in SetRootView() local
245 if (!pipelineContext) { in SetRootView()
1048 if (!pipelineContext) { in PanOnActionStart()
1106 if (!pipelineContext) { in PanOnActionUpdate()
1171 if (!pipelineContext) { in PanOnActionEnd()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.cpp377 CHECK_NULL_VOID(pipelineContext); in UpdateSafeArea()
783 CHECK_NULL_VOID(pipelineContext); in DestroyUIDirector()
799 CHECK_NULL_VOID(pipelineContext); in DestroyCallback()
988 CHECK_NULL_VOID(pipelineContext); in Initialize()
2151 CHECK_NULL_VOID(pipelineContext); in Foreground()
2310 CHECK_NULL_VOID(pipelineContext); in GetAppPaintSize()
2597 if (pipelineContext) { in UpdateViewportConfigWithAnimation()
2638 if (pipelineContext) { in UpdateViewportConfigWithAnimation()
2839 if (pipelineContext) { in NotifyRotationAnimationEnd()
3993 [pipelineContext] { in PreLayout()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drender_text.cpp209 if (pipelineContext) { in PerformLayout()
993 auto pipelineContext = context_.Upgrade(); in PanOnActionStart() local
994 if (!pipelineContext) { in PanOnActionStart()
1085 auto pipelineContext = context_.Upgrade(); in PanOnActionUpdate() local
1086 if (!pipelineContext) { in PanOnActionUpdate()
1120 auto pipelineContext = context_.Upgrade(); in PanOnActionEnd() local
1121 if (!pipelineContext) { in PanOnActionEnd()
1150 RestoreCilpboardData(pipelineContext); in PanOnActionEnd()
1189 auto pipelineContext = context_.Upgrade(); in PanOnActionCancel() local
1190 if (!pipelineContext) { in PanOnActionCancel()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_func_wrapper.cpp54 auto pipelineContext = container->GetPipelineContext(); in CheckInternalDragging() local
55 if (!pipelineContext || !pipelineContext->IsDragging()) { in CheckInternalDragging()
202 CHECK_NULL_VOID(pipelineContext); in HandleCallback()
203 pipelineContext->ResetDragging(); in HandleCallback()
233 CHECK_NULL_RETURN(pipelineContext, -1); in StartDragAction()
270 pipelineContext->SetIsDragging(true); in StartDragAction()
276 pipelineContext->OnDragEvent( in StartDragAction()
287 CHECK_NULL_VOID(pipelineContext); in SetDraggingPointerAndPressedState()
298 CHECK_NULL_VOID(pipelineContext); in DecideWhetherToStopDragging()
434 CHECK_NULL_RETURN(pipelineContext, std::nullopt); in GetDefaultShadow()
[all …]

12345678910>>...17