| /foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/ |
| D | link_stack_test.cpp | 30 * @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/frameworks/core/components/test/unittest/stack/ |
| D | stack_creator_test.cpp | 22 #include "core/components/stack/stack_component.h" 73 * @tc.desc: Check stack component with no properties in the json returns default properties. 79 * @tc.steps: step1. construct the json string where stack has no properties. 83 " \"className\": \"Stack\", " 95 RefPtr<StackComponent> stack = AceType::DynamicCast<StackComponent>(component); variable 96 ASSERT_TRUE(stack != nullptr); 97 Alignment align = stack->GetAlignment(); 100 int32_t stackFit = static_cast<int32_t>(stack->GetStackFit()); 101 int32_t overflowFlag = static_cast<int32_t>(stack->GetOverflow()); 102 std::list<RefPtr<Component>> children = stack->GetChildren(); [all …]
|
| D | render_stack_test.cpp | 24 #include "core/components/test/unittest/stack/stack_test_utils.h" 81 * @tc.desc: Verify that RenderStack works for stack component. 87 * @tc.steps: step1. construct Stack component and RenderStack. 95 …RefPtr<StackComponent> stack = AceType::MakeRefPtr<StackComponent>(alignment, stackFit, overflow, … variable 101 renderStack->Update(stack); 107 * @tc.desc: Verify the stack with top-left alignment works fine. 113 * @tc.steps: step1. construct the RenderNode tree, stack are set as top-left, clip and keep. 117 …RefPtr<RenderStack> stack = StackTestUtils::CreateRenderStack(Alignment::TOP_LEFT, Overflow::CLIP,… variable 118 root->AddChild(stack); 121 stack->AddChild(firstBox); [all …]
|
| D | render_positioned_test.cpp | 22 #include "core/components/stack/stack_component.h" 25 #include "core/components/test/unittest/stack/stack_test_utils.h" 59 …* @tc.desc: verify the stack with positioned children works fine, where the positioned are set lef… 69 …RefPtr<RenderStack> stack = StackTestUtils::CreateRenderStack(Alignment::TOP_LEFT, Overflow::CLIP,… variable 70 root->AddChild(stack); 74 stack->AddChild(renderPositioned); 84 stack->Attach(mockContext); 92 …* @tc.desc: verify the stack with positioned children works fine, where the positioned are both se… 102 …RefPtr<RenderStack> stack = StackTestUtils::CreateRenderStack(Alignment::TOP_LEFT, Overflow::CLIP,… variable 103 root->AddChild(stack); [all …]
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
| D | shape_abstract_model_impl.cpp | 26 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 …]
|
| D | stack_model_impl.cpp | 47 …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 …]
|
| D | shape_model_impl.cpp | 36 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 …]
|
| D | side_bar_container_model_impl.cpp | 39 auto stack = ViewStackProcessor::GetInstance(); in SetSideBarContainerType() local 40 stack->Push(sideBarContainer); in SetSideBarContainerType() 47 auto stack = ViewStackProcessor::GetInstance(); in SetShowSideBar() local 48 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetShowSideBar() 55 auto stack = ViewStackProcessor::GetInstance(); in SetShowControlButton() local 56 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetShowControlButton() 66 auto stack = ViewStackProcessor::GetInstance(); in ParseAndSetWidth() local 67 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in ParseAndSetWidth() 95 auto stack = ViewStackProcessor::GetInstance(); in SetAutoHide() local 96 …auto component = AceType::DynamicCast<OHOS::Ace::SideBarContainerComponent>(stack->GetMainComponen… in SetAutoHide() [all …]
|
| D | text_field_model_impl.cpp | 74 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 …]
|
| D | button_model_impl.cpp | 36 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() 175 auto stack = ViewStackProcessor::GetInstance(); in Padding() local 176 auto component = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in Padding() 231 auto stack = ViewStackProcessor::GetInstance(); in BackgroundColor() local 232 auto buttonComponent = AceType::DynamicCast<ButtonComponent>(stack->GetMainComponent()); in BackgroundColor() [all …]
|
| /foundation/communication/bluetooth_service/services/bluetooth/stack/ |
| D | btstack_blocklist.txt | 14 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/ |
| D | ability_stack_manager.cpp | 25 …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/ |
| D | for_each_model_ng.cpp | 28 auto* stack = ViewStackProcessor::GetInstance(); in Pop() local 29 stack->PopContainer(); in Pop() 40 auto* stack = ViewStackProcessor::GetInstance(); in Create() local 41 auto nodeId = stack->ClaimNodeId(); in Create() 43 stack->Push(forEachNode); in Create() 59 auto* stack = ViewStackProcessor::GetInstance(); in SetNewIds() local 60 auto node = AceType::DynamicCast<ForEachNode>(stack->GetMainElementNode()); in SetNewIds() 68 auto* stack = NG::ViewStackProcessor::GetInstance(); in CreateNewChildStart() local 69 stack->PushKey(id); in CreateNewChildStart() 70 const auto stacksKey = stack->GetKey(); in CreateNewChildStart() [all …]
|
| D | if_else_model_ng.cpp | 28 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/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/swiper/SwiperA20/ |
| D | index.hml | 16 <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/frameworks/examples/showcase/src/main/js/default/pages/component/switch/style/ |
| D | style.hml | 16 <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/list-item/item2/ |
| D | index.hml | 16 <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/ |
| D | swiper1.hml | 24 <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/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/swiper/SwiperC02/ |
| D | index.hml | 16 <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/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA07/ |
| D | index.hml | 16 <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>
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
| D | toggle_model_ng.cpp | 40 auto* stack = ViewStackProcessor::GetInstance(); in Create() local 41 int nodeId = stack->ClaimNodeId(); in Create() 69 stack->Push(childFrameNode); in Create() 95 stack->Push(childFrameNode); in Create() 121 stack->Push(childFrameNode); in Create() 148 auto* stack = ViewStackProcessor::GetInstance(); in SetSelectedColor() local 149 CHECK_NULL_VOID(stack); in SetSelectedColor() 157 auto checkboxPattern = stack->GetMainFrameNodePattern<CheckBoxPattern>(); in SetSelectedColor() 168 auto buttonPattern = stack->GetMainFrameNodePattern<ToggleButtonPattern>(); in SetSelectedColor() 193 auto* stack = ViewStackProcessor::GetInstance(); in OnChange() local [all …]
|
| /foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/swiper/SwiperA06/ |
| D | index.hml | 16 <stack id="div" 24 <stack id="stack0" 30 </stack> 31 <stack id="stack1" 37 </stack> 38 <stack id="stack2" 48 </stack> 65 </stack>
|
| /foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA09/ |
| D | index.hml | 16 <stack id="div" style="width:454px;height:454px;"> 23 <stack style="left:0px;top:0px;width:300px;height:300px;"> 32 </stack> 33 <stack style="left:0px;top:0px;width:300px;height:300px;"> 39 </stack> 40 <stack style="left:0px;top:0px;width:300px;height:300px;"> 46 </stack> 51 </stack>
|
| /foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA11/ |
| D | index.hml | 16 <stack id="div" style="width:454px;height:454px;"> 23 <stack style="left:0px;top:0px;width:300px;height:300px;"> 32 </stack> 33 <stack style="left:0px;top:0px;width:300px;height:300px;"> 39 </stack> 40 <stack style="left:0px;top:0px;width:300px;height:300px;"> 46 </stack> 51 </stack>
|
| /foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA10/ |
| D | index.hml | 16 <stack id="div" style="width:454px;height:454px;"> 24 <stack style="left:0px;top:0px;width:300px;height:300px;"> 33 </stack> 34 <stack style="left:0px;top:0px;width:300px;height:300px;"> 40 </stack> 41 <stack style="left:0px;top:0px;width:300px;height:300px;"> 47 </stack> 52 </stack>
|