Home
last modified time | relevance | path

Searched full:stack (Results 1 – 25 of 1407) sorted by relevance

12345678910>>...57

/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/
Dlink_stack_test.cpp30 * @tc.desc: test the init stack success
36 LinkStack stack; variable
37 stack.InitStack();
39 EXPECT_TRUE(stack.GetTop() != nullptr);
40 EXPECT_EQ(stack.StackSize(), STACK_EMPTY);
42 stack.FreeNode();
47 * @tc.desc: test the stack free node success
53 LinkStack stack; variable
56 stack.Push("stackTest");
58 stack.FreeNode();
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
Dnavigation_lifecycle_test_ng.cpp51 const RefPtr<FrameNode>& destinationNode, const RefPtr<MockNavigationStack>& stack);
92 const RefPtr<FrameNode>& destinationNode, const RefPtr<MockNavigationStack>& stack) in SetEvent() argument
96 std::function<void()>&& callback = [stack = stack, expectValue = expectValue]() { in SetEvent()
97 auto lifecycleIndex = stack->GetLifecycleIndex(); in SetEvent()
100 stack->SetLifecycleIndex(lifecycleIndex); in SetEvent()
142 auto* stack = ViewStackProcessor::GetInstance(); in CreateDestination() local
144 int32_t nodeId = stack->ClaimNodeId(); in CreateDestination()
178 auto stack = AceType::MakeRefPtr<MockNavigationStack>(); variable
179 navigationModel.SetNavigationStack(stack);
194 stack->SetLifecycleIndex(0);
[all …]
Dnavigation_test_ng.cpp99 auto* stack = ViewStackProcessor::GetInstance(); in CreateDestination() local
101 int32_t nodeId = stack->ClaimNodeId(); in CreateDestination()
200 navigationPattern->SetNavigationMode(NavigationMode::STACK);
238 navigationPattern->navigationMode_ = NavigationMode::STACK;
250 navigationPattern->navigationMode_ = NavigationMode::STACK;
812 navigationPattern->navigationMode_ = NavigationMode::STACK;
814 ASSERT_EQ(navigationPattern->navigationMode_, NavigationMode::STACK);
868 * @tc.steps: step1.create navigation, and set the navigation stack
890 auto stack = pattern->GetNavigationStack(); variable
891 stack->Add("A", frameNode);
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/
Dweb_pattern_focus_test_ng.cpp225 auto* stack = ViewStackProcessor::GetInstance(); variable
226 ASSERT_NE(stack, nullptr);
227 auto nodeId = stack->ClaimNodeId();
230 stack->Push(frameNode);
250 auto* stack = ViewStackProcessor::GetInstance(); variable
251 ASSERT_NE(stack, nullptr);
252 auto nodeId = stack->ClaimNodeId();
255 stack->Push(frameNode);
273 auto* stack = ViewStackProcessor::GetInstance(); variable
274 ASSERT_NE(stack, nullptr);
[all …]
Dweb_pattern_test_ng.cpp166 auto* stack = ViewStackProcessor::GetInstance(); variable
167 auto nodeId = stack->ClaimNodeId();
170 stack->Push(frameNode);
218 auto* stack = ViewStackProcessor::GetInstance(); variable
219 auto nodeId = stack->ClaimNodeId();
222 stack->Push(frameNode);
270 auto* stack = ViewStackProcessor::GetInstance(); variable
271 EXPECT_NE(stack, nullptr);
272 auto nodeId = stack->ClaimNodeId();
276 stack->Push(frameNode);
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
Dshape_abstract_model_impl.cpp26 auto stack = ViewStackProcessor::GetInstance(); in SetStroke() local
27 auto component = AceType::DynamicCast<OHOS::Ace::ShapeComponent>(stack->GetMainComponent()); in SetStroke()
29 AnimationOption option = stack->GetImplicitAnimationOption(); in SetStroke()
36 auto stack = ViewStackProcessor::GetInstance(); in SetFill() local
37 auto component = AceType::DynamicCast<OHOS::Ace::ShapeComponent>(stack->GetMainComponent()); in SetFill()
42 AnimationOption option = stack->GetImplicitAnimationOption(); in SetFill()
48 auto stack = ViewStackProcessor::GetInstance(); in SetStrokeDashOffset() local
49 auto component = AceType::DynamicCast<OHOS::Ace::ShapeComponent>(stack->GetMainComponent()); in SetStrokeDashOffset()
51 AnimationOption option = stack->GetImplicitAnimationOption(); in SetStrokeDashOffset()
58 auto stack = ViewStackProcessor::GetInstance(); in SetStrokeLineCap() local
[all …]
Dstack_model_impl.cpp47 …auto stack = AceType::DynamicCast<StackComponent>(ViewStackProcessor::GetInstance()->GetMainCompon… in SetStackFit() local
48 if (stack) { in SetStackFit()
49 stack->SetStackFit(fit); in SetStackFit()
55 …auto stack = AceType::DynamicCast<StackComponent>(ViewStackProcessor::GetInstance()->GetMainCompon… in SetOverflow() local
56 if (stack) { in SetOverflow()
57 stack->SetOverflow(overflow); in SetOverflow()
63 …auto stack = AceType::DynamicCast<StackComponent>(ViewStackProcessor::GetInstance()->GetMainCompon… in SetAlignment() local
64 if (stack) { in SetAlignment()
65 stack->SetAlignment(alignment); in SetAlignment()
71 …auto stack = AceType::DynamicCast<StackComponent>(ViewStackProcessor::GetInstance()->GetMainCompon… in SetHasWidth() local
[all …]
Dshape_model_impl.cpp36 auto* stack = ViewStackProcessor::GetInstance(); in SetBitmapMesh() local
37 …auto component = AceType::DynamicCast<OHOS::Ace::ShapeContainerComponent>(stack->GetMainComponent(… in SetBitmapMesh()
46 auto* stack = ViewStackProcessor::GetInstance(); in SetViewPort() local
47 …auto component = AceType::DynamicCast<OHOS::Ace::ShapeContainerComponent>(stack->GetMainComponent(… in SetViewPort()
52 AnimationOption option = stack->GetImplicitAnimationOption(); in SetViewPort()
70 auto* stack = ViewStackProcessor::GetInstance(); in SetWidth() local
71 …auto component = AceType::DynamicCast<OHOS::Ace::ShapeContainerComponent>(stack->GetMainComponent(… in SetWidth()
86 auto* stack = ViewStackProcessor::GetInstance(); in SetHeight() local
87 …auto component = AceType::DynamicCast<OHOS::Ace::ShapeContainerComponent>(stack->GetMainComponent(… in SetHeight()
107 auto stack = ViewStackProcessor::GetInstance(); in SetStroke() local
[all …]
Dside_bar_container_model_impl.cpp34 auto stack = ViewStackProcessor::GetInstance(); in SetSideBarContainerType() local
35 stack->Push(sideBarContainer); in SetSideBarContainerType()
42 auto stack = ViewStackProcessor::GetInstance(); in SetShowSideBar() local
43 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetShowSideBar()
50 auto stack = ViewStackProcessor::GetInstance(); in SetShowControlButton() local
51 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetShowControlButton()
61 auto stack = ViewStackProcessor::GetInstance(); in ParseAndSetWidth() local
62 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in ParseAndSetWidth()
90 auto stack = ViewStackProcessor::GetInstance(); in SetAutoHide() local
91 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetAutoHide()
[all …]
Dtext_field_model_impl.cpp74 auto* stack = ViewStackProcessor::GetInstance(); in InitTextAreaDefaultStyle() local
75 …auto textAreaComponent = AceType::DynamicCast<OHOS::Ace::TextFieldComponent>(stack->GetMainCompone… in InitTextAreaDefaultStyle()
163 auto* stack = ViewStackProcessor::GetInstance(); in InitTextInputDefaultStyle() local
164 auto textInputComponent = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in InitTextInputDefaultStyle()
226 auto* stack = ViewStackProcessor::GetInstance(); in SetType() local
227 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetType()
235 auto* stack = ViewStackProcessor::GetInstance(); in SetPlaceholderColor() local
236 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetPlaceholderColor()
244 auto* stack = ViewStackProcessor::GetInstance(); in SetPlaceholderFont() local
245 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetPlaceholderFont()
[all …]
Dbutton_model_impl.cpp36 auto stack = ViewStackProcessor::GetInstance(); in SetFontSize() local
37 auto buttonComponent = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in SetFontSize()
88 auto stack = ViewStackProcessor::GetInstance(); in SetType() local
89 auto buttonComponent = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in SetType()
97 auto stack = ViewStackProcessor::GetInstance(); in SetStateEffect() local
98 auto buttonComponent = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in SetStateEffect()
165 auto stack = ViewStackProcessor::GetInstance(); in Padding() local
166 auto component = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in Padding()
221 auto stack = ViewStackProcessor::GetInstance(); in BackgroundColor() local
222 auto buttonComponent = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in BackgroundColor()
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/stack/
Dbtstack_blocklist.txt14 src:*/bluetooth/services/bluetooth/stack/src/btm/btm_acl.c
15 src:*/bluetooth/services/bluetooth/stack/src/btm/btm_sco.c
16 src:*/bluetooth/services/bluetooth/stack/src/btm/btm.c
17 src:*/bluetooth/services/bluetooth/stack/src/l2cap/l2cap_cmn.c
18 src:*/bluetooth/services/bluetooth/stack/src/l2cap/l2cap_core.c
19 src:*/bluetooth/services/bluetooth/stack/src/l2cap/l2cap_if.c
20 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_sec.c
21 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_adv.c
22 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_conn.c
23 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_scan.c
[all …]
/foundation/ability/ability_lite/services/abilitymgr_lite/src/
Dability_stack_manager.cpp25 …auto stack = const_cast<AbilityMissionStack *>(amsContext.GetTargetMissionStack(target.bundleName)… in GeneratePageAbility() local
26 CHECK_NULLPTR_RETURN_PTR(stack, "AbilityStackManager", "missionStack is nullptr"); in GeneratePageAbility()
29 AbilityMissionRecord *targetMission = stack->GetTargetMissionRecord(target.bundleName); in GeneratePageAbility()
30 auto topMissionRecord = stack->GetTopMissionRecord(); in GeneratePageAbility()
38 targetMission = new AbilityMissionRecord(stack, target.bundleName); in GeneratePageAbility()
41 stack->PushTopMissionRecord(*targetMission); in GeneratePageAbility()
44 stack->MoveMissionRecordToTop(*targetMission); in GeneratePageAbility()
49 targetMission = new AbilityMissionRecord(stack, target.bundleName); in GeneratePageAbility()
50 stack->PushTopMissionRecord(*targetMission); in GeneratePageAbility()
61 stack->MoveMissionRecordToTop(*targetMission); in GeneratePageAbility()
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
Drepeat_model_ng.cpp30 auto* stack = ViewStackProcessor::GetInstance(); in StartRender() local
31 auto nodeId = stack->ClaimNodeId(); in StartRender()
33 stack->Push(repeatNode); in StartRender()
41 auto* stack = ViewStackProcessor::GetInstance(); in FinishRender() local
42 auto repeatNode = AceType::DynamicCast<RepeatNode>(stack->GetMainElementNode()); in FinishRender()
45 stack->PopContainer(); in FinishRender()
51 auto* stack = ViewStackProcessor::GetInstance(); in MoveChild() local
52 auto repeatNode = AceType::DynamicCast<RepeatNode>(stack->GetMainElementNode()); in MoveChild()
60 auto* stack = NG::ViewStackProcessor::GetInstance(); in CreateNewChildStart() local
61 stack->PushKey(key); in CreateNewChildStart()
[all …]
Dfor_each_model_ng.cpp28 auto* stack = ViewStackProcessor::GetInstance(); in Pop() local
29 stack->PopContainer(); in Pop()
39 auto* stack = ViewStackProcessor::GetInstance(); in Create() local
40 auto nodeId = stack->ClaimNodeId(); in Create()
42 stack->Push(forEachNode); in Create()
57 auto* stack = ViewStackProcessor::GetInstance(); in SetNewIds() local
58 auto node = AceType::DynamicCast<ForEachNode>(stack->GetMainElementNode()); in SetNewIds()
65 auto* stack = ViewStackProcessor::GetInstance(); in SetRemovedElmtIds() local
66 auto node = AceType::DynamicCast<ForEachNode>(stack->GetMainElementNode()); in SetRemovedElmtIds()
73 auto* stack = NG::ViewStackProcessor::GetInstance(); in CreateNewChildStart() local
[all …]
Dif_else_model_ng.cpp28 auto* stack = ViewStackProcessor::GetInstance(); in Create() local
29 auto nodeId = stack->ClaimNodeId(); in Create()
31 stack->Push(ifElseNode); in Create()
41 auto* stack = ViewStackProcessor::GetInstance(); in SetBranchId() local
42 auto node = AceType::DynamicCast<IfElseNode>(stack->GetMainElementNode()); in SetBranchId()
49 auto* stack = ViewStackProcessor::GetInstance(); in GetBranchId() local
50 auto node = AceType::DynamicCast<IfElseNode>(stack->GetMainElementNode()); in GetBranchId()
57 auto* stack = ViewStackProcessor::GetInstance(); in CanRetake() local
58 auto node = AceType::DynamicCast<IfElseNode>(stack->GetMainElementNode()); in CanRetake()
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/switch/style/
Dstyle.hml16 <stack style="left: 0px; right: 0px; width: 454px; height: 454px">
34 <stack style="width: 170px; height: 227px; margin-left: 30px">
37 </stack>
38 <stack style="width: 220px; height: 200px; background-color: #00ff00; margin-right: 30px">
43 </stack>
47 <stack style="width: 160px; height: 227px; margin: 30px">
50 </stack>
51 <stack style="width: 190px; height: 300px; margin-right: 50px">
58 </stack>
62 <stack style="width: 160px; height: 227px; margin: 30px">
[all …]
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/swiper/SwiperA20/
Dindex.hml16 <stack id="div"
23 <stack id="stack0"
33 </stack>
34 <stack id="stack1"
40 </stack>
41 <stack id="stack2"
47 </stack>
48 <stack id="stack3"
54 </stack>
55 <stack id="stack4"
[all …]
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/list-item/item2/
Dindex.hml16 <stack id="stack"
34 <stack id="listItemStack0"
40 </stack>
44 <stack id="listItemStack1"
46 </stack>
50 <stack id="listItemStack2"
56 </stack>
60 <stack id="listItemStack3"
62 </stack>
66 <stack id="listItemStack4"
[all …]
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/swiper/swiper1/
Dswiper1.hml24 <stack style="left: 0px; top: 0px; width: 454px; height: 454px">
25 <stack style="width: 454px; height: 80px; top: 80px">
28 </stack>
34 </stack>
35 <stack style="left: 0px; top: 0px; width: 454px; height: 454px">
36 <stack style="width: 454px; height: 80px; top: 80px">
39 </stack>
45 </stack>
46 <stack style="left: 0px; top: 0px; width: 454px; height: 454px">
47 <stack style="width: 454px; height: 80px; top: 80px">
[all …]
/foundation/communication/nfc/services/src/nci_adapter/
Dnci_tag_proxy.h34 * @param tagDiscId The tag discovered id given from nci stack.
41 * @param tagDiscId The tag discovered id given from nci stack.
48 * @param tagDiscId The tag discovered id given from nci stack.
55 * @param tagDiscId The tag discovered id given from nci stack.
62 * @param tagDiscId The tag discovered id given from nci stack.
70 * @param tagDiscId The tag discovered id given from nci stack.
77 * @param tagDiscId The tag discovered id given from nci stack.
84 * @param tagDiscId The tag discovered id given from nci stack.
93 * @param tagDiscId The tag discovered id given from nci stack.
100 * @param tagDiscId The tag discovered id given from nci stack.
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
Ddom_stack.cpp29 …// If child has absolute position, the stack should be as large as the box component, so that the … in OnChildNodeAdded()
49 [](const std::string& val, DOMStack& stack) { in GetAxisOffset()
51 stack.crossAxisAlign_ = END; in GetAxisOffset()
53 stack.crossAxisAlign_ = CENTER; in GetAxisOffset()
55 stack.crossAxisAlign_ = START; in GetAxisOffset()
59 [](const std::string& val, DOMStack& stack) { in GetAxisOffset()
61 stack.direction_ = FlexDirection::COLUMN; in GetAxisOffset()
63 stack.direction_ = FlexDirection::COLUMN_REVERSE; in GetAxisOffset()
65 stack.direction_ = FlexDirection::ROW_REVERSE; in GetAxisOffset()
67 stack.direction_ = FlexDirection::ROW; in GetAxisOffset()
[all …]
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/swiper/SwiperC02/
Dindex.hml16 <stack id="div"
23 <stack style="left: 0px; top: 0px; width: 454px; height: 454px; background-color: #00ff00;"
31 </stack>
32 <stack style="left: 0px; top: 0px; width: 454px; height: 454px; background-color: #00ff00;"
37 </stack>
38 <stack id="stack"
45 </stack>
62 </stack>
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/swiper/indexStyle/
Dindex.hml16 <stack style="left: 0px; right: 0px; width: 454px; height: 454px">
34 <stack style="width: 200px; height: 160px; margin-left: 30px">
38 </stack>
48 <stack style="width: 200px; height: 160px; margin-left: 30px">
52 </stack>
62 <stack style="width: 200px; height: 160px; margin-left: 30px">
65 </stack>
75 <stack style="width: 200px; height: 160px; margin-left: 30px">
78 </stack>
88 <stack style="width: 200px; height: 160px; margin-left: 30px">
[all …]
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA07/
Dindex.hml16 <stack id="div" style="width:454px;height:454px;">
23 <stack style="width:250px;height:250px;">
32 </stack>
33 <stack style="width:250px;height:250px;">
39 </stack>
40 <stack style="width:250px;height:250px;">
46 </stack>
51 </stack>

12345678910>>...57