Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 - 25 of 134) sorted by relevance

123456

/foundation/arkui/ace_engine/test/unittest/core/pattern/flex/old_cases/
H A Dflex_wrap_layout_algorithm_test.cpp99 auto wrapper = CreateLayoutWrapper(); in HWTEST_F() local
100 wrapper->AppendChild(CreateLayoutWrapper(), false); in HWTEST_F()
102 auto flexProp = AceType::DynamicCast<FlexLayoutProperty>(wrapper->GetLayoutProperty()); in HWTEST_F()
105 wrapLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(wrapper)); in HWTEST_F()
115 auto wrapper = CreateLayoutWrapper(); in HWTEST_F() local
116 wrapper->AppendChild(CreateLayoutWrapper(), false); in HWTEST_F()
118 auto flexProp = AceType::DynamicCast<FlexLayoutProperty>(wrapper->GetLayoutProperty()); in HWTEST_F()
122 wrapLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(wrapper)); in HWTEST_F()
133 auto wrapper = CreateLayoutWrapper(); in HWTEST_F() local
134 wrapper in HWTEST_F()
147 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
163 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
188 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
214 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
240 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
262 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
286 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
309 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
334 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
356 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
377 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
396 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
415 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
441 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
465 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
489 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
509 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
535 auto wrapper = CreateLayoutWrapper(); HWTEST_F() local
[all...]
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
H A Djs_distributedobject.cpp57 JSObjectWrapper *wrapper = nullptr; in JSGet() local
58 status = napi_unwrap(env, thisVar, (void **)&wrapper); in JSGet()
59 NOT_MATCH_RETURN_NULL(status == napi_ok && wrapper != nullptr && wrapper->GetObject() != nullptr); in JSGet()
61 if (wrapper->IsUndefined(key)) { in JSGet()
65 DoGet(env, wrapper, key, result); in JSGet()
85 JSObjectWrapper *wrapper = nullptr; in JSPut() local
86 status = napi_unwrap(env, thisVar, (void **)&wrapper); in JSPut()
87 NOT_MATCH_RETURN_NULL(status == napi_ok && wrapper != nullptr && wrapper in JSPut()
130 DoPut( napi_env env, JSObjectWrapper *wrapper, char *key, napi_valuetype type, napi_value value) DoPut() argument
170 DoGet(napi_env env, JSObjectWrapper *wrapper, char *key, napi_value &value) DoGet() argument
226 JSObjectWrapper *wrapper; JSSave() member
273 JSObjectWrapper *wrapper; JSRevokeSave() member
358 JSObjectWrapper *wrapper; JSBindAssetStore() member
[all...]
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/unittest/
H A Degl_wrapper_entry_test.cpp115 auto result = gWrapperHook.wrapper.eglChooseConfig(dpy, nullptr, nullptr, 0, nullptr); in HWTEST_F()
132 auto result = gWrapperHook.wrapper.eglChooseConfig(dpy, nullptr, nullptr, 0, nullptr); in HWTEST_F()
150 auto result = gWrapperHook.wrapper.eglChooseConfig(dpy, nullptr, nullptr, 0, &numConfig); in HWTEST_F()
162 auto result = gWrapperHook.wrapper.eglCopyBuffers(dpy, nullptr, 0); in HWTEST_F()
179 auto result = gWrapperHook.wrapper.eglCopyBuffers(dpy, nullptr, 0); in HWTEST_F()
191 auto result = gWrapperHook.wrapper.eglCreateContext(dpy, nullptr, nullptr, nullptr); in HWTEST_F()
208 auto result = gWrapperHook.wrapper.eglCreateContext(dpy, nullptr, nullptr, nullptr); in HWTEST_F()
220 auto result = gWrapperHook.wrapper.eglCreatePbufferSurface(dpy, nullptr, nullptr); in HWTEST_F()
237 auto result = gWrapperHook.wrapper.eglCreatePbufferSurface(dpy, nullptr, nullptr); in HWTEST_F()
249 auto result = gWrapperHook.wrapper in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/core/discovery/ble/bt_state/
H A Ddisc_bt_state_mock_test.cpp211 ExpectWrapper wrapper(mock); in HWTEST_F()
218 wrapper.Call(CMD::BLE_START_SCAN_EX, 1).Call(CMD::BLE_START_ADV_EX, 1).Call(CMD::GET_LOCAL_ADDR, 0).Build(); in HWTEST_F()
225 wrapper.Build(); // do nothing in HWTEST_F()
231 wrapper.Build(); in HWTEST_F()
237 wrapper.Build(); in HWTEST_F()
243 wrapper.Call(CMD::BLE_STOP_ADV, 1).Call(CMD::BLE_STOP_SCAN, 1).Build(); in HWTEST_F()
263 ExpectWrapper wrapper(mock); in HWTEST_F()
270 wrapper.Call(CMD::BLE_START_SCAN_EX, 1).Build(); in HWTEST_F()
277 wrapper.Build(); in HWTEST_F()
283 wrapper in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_lanes_layout_algorithm.cpp61 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(childIndex); in MeasureAndGetChildHeight() local
62 CHECK_NULL_RETURN(wrapper, 0.0f); in MeasureAndGetChildHeight()
63 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in MeasureAndGetChildHeight()
69 SetListItemGroupParam(wrapper, childIndex, 0.0f, true, listLayoutProperty, true); in MeasureAndGetChildHeight()
70 wrapper->Measure(groupLayoutConstraint_); in MeasureAndGetChildHeight()
71 mainLen = GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis_); in MeasureAndGetChildHeight()
75 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(i); in MeasureAndGetChildHeight() local
76 wrapper->Measure(childLayoutConstraint_); in MeasureAndGetChildHeight()
77 mainLen = std::max(mainLen, GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis_)); in MeasureAndGetChildHeight()
131 auto wrapper in LayoutALineForward() local
185 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(currentIndex - 1); LayoutALineBackward() local
365 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(index); FindLanesStartIndex() local
375 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(idx - 1); FindLanesStartIndex() local
440 auto wrapper = layoutWrapper->GetChildByIndex(pos.first, true); LayoutCachedALine() local
457 auto wrapper = layoutWrapper->GetChildByIndex(index + i, true); LayoutCachedALineForward() local
506 auto wrapper = layoutWrapper->GetChildByIndex(idx, true); LayoutCachedALineBackward() local
569 RefPtr<LayoutWrapper> wrapper; LayoutCachedForward() local
621 RefPtr<LayoutWrapper> wrapper; LayoutCachedBackward() local
[all...]
H A Dlist_layout_algorithm.cpp230 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first, false); in GetChildMaxCrossSize() local
231 if (!wrapper) { in GetChildMaxCrossSize()
234 auto getGeometryNode = wrapper->GetGeometryNode(); in GetChildMaxCrossSize()
252 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first); in ClearAllItemPosition() local
253 if (!wrapper) { in ClearAllItemPosition()
256 auto node = wrapper->GetHostNode(); in ClearAllItemPosition()
315 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex); in HandleJumpAuto() local
316 CHECK_NULL_VOID(wrapper); in HandleJumpAuto()
317 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in HandleJumpAuto()
360 auto wrapper in HandleJumpCenter() local
390 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex_.value()); HandleJumpStart() local
412 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex_.value()); HandleJumpEnd() local
464 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex); CheckNoNeedJumpListItemGroup() local
572 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex); NoNeedJump() local
589 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(childIndex); MeasureAndGetChildHeight() local
689 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(startIndex); CheckAndMeasureStartItem() local
940 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(currentIndex + 1); LayoutALineForward() local
980 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(currentIndex - 1); LayoutALineBackward() local
1367 LayoutItem(RefPtr<LayoutWrapper>& wrapper, int32_t index, const ListItemInfo& pos, int32_t& startIndex, float crossSize) LayoutItem() argument
1442 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first); ResetLayoutItem() local
1480 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first); Layout() local
1689 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(index); CheckListItemGroupRecycle() local
1701 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(index); AdjustPostionForListItemGroup() local
1765 SyncGeometry(RefPtr<LayoutWrapper>& wrapper) SyncGeometry() argument
1778 auto wrapper = layoutWrapper->GetChildByIndex(index, true); LayoutCachedALine() local
1831 PredictBuildItem(RefPtr<LayoutWrapper> wrapper, const LayoutConstraintF& constraint) PredictBuildItem() argument
1892 GetLayoutGroupCachedCount(LayoutWrapper* layoutWrapper, const RefPtr<LayoutWrapper>& wrapper, int32_t forwardCache, int32_t backwardCache, int32_t index, bool outOfView) GetLayoutGroupCachedCount() argument
1964 auto wrapper = layoutWrapper->GetChildByIndex(curIndex, true); LayoutCachedForward() local
2003 auto wrapper = layoutWrapper->GetChildByIndex(curIndex, true); LayoutCachedBackward() local
2043 auto wrapper = layoutWrapper->GetChildByIndex(startIndex); LayoutCachedItemInEdgeGroup() local
2053 auto wrapper = layoutWrapper->GetChildByIndex(endIndex); LayoutCachedItemInEdgeGroup() local
2061 auto wrapper = layoutWrapper->GetChildByIndex(startIndex); LayoutCachedItemInEdgeGroup() local
2104 PredictBuildGroup(RefPtr<LayoutWrapper> wrapper, const LayoutConstraintF& constraint, int64_t deadline, int32_t forwardCached, int32_t backwardCached, const ListMainSizeValues& listMainSizeValues) PredictBuildGroup() argument
2153 auto wrapper = frameNode->GetOrCreateChildByIndex((*it).index, show, true); PredictBuildV2() local
[all...]
H A Dlist_item_group_layout_algorithm.cpp204 void ListItemGroupLayoutAlgorithm::SyncGeometry(RefPtr<LayoutWrapper>& wrapper) in SyncGeometry() argument
206 CHECK_NULL_VOID(wrapper); in SyncGeometry()
207 auto host = wrapper->GetHostNode(); in SyncGeometry()
299 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first, false); in GetChildMaxCrossSize() local
300 if (!wrapper) { in GetChildMaxCrossSize()
303 auto getGeometryNode = wrapper->GetGeometryNode(); in GetChildMaxCrossSize()
310 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first, false); in GetChildMaxCrossSize() local
311 if (!wrapper) { in GetChildMaxCrossSize()
314 auto getGeometryNode = wrapper->GetGeometryNode(); in GetChildMaxCrossSize()
573 auto wrapper in MeasureALineAuto() local
594 auto wrapper = GetListItem(layoutWrapper, currentIndex + cnt); MeasureALineCenter() local
609 auto wrapper = GetListItem(layoutWrapper, currentIndex + i); MeasureALineCenter() local
624 auto wrapper = GetListItem(layoutWrapper, currentIndex + 1); MeasureALineForward() local
639 auto wrapper = GetListItem(layoutWrapper, currentIndex - i); MeasureALineForward() local
654 auto wrapper = GetListItem(layoutWrapper, currentIndex - 1); MeasureALineBackward() local
672 auto wrapper = GetListItem(layoutWrapper, currentIndex + i); MeasureALineBackward() local
1073 auto wrapper = GetListItem(layoutWrapper, pos.first); LayoutListItem() local
1217 LayoutIndex(const RefPtr<LayoutWrapper>& wrapper, const OffsetF& paddingOffset, float crossSize, float startPos) LayoutIndex() argument
1344 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(curIndex + i + itemStartIndex_, param.show, true); MeasureCacheForward() local
1384 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(curIndex - i + itemStartIndex_, param.show, true); MeasureCacheBackward() local
1461 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first + itemStartIndex_, show, !show); LayoutCacheItem() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/image_animator/
H A Dimage_animator_tdd_test.cpp279 UIViewGroup *wrapper = reinterpret_cast<UIViewGroup *>(GetViewByRef(page, "animator")); in ImageAnimatorTest001() local
280 EXPECT_TRUE(wrapper != nullptr); in ImageAnimatorTest001()
281 if (wrapper != nullptr) { in ImageAnimatorTest001()
282 UIImageAnimatorView *animator = reinterpret_cast<UIImageAnimatorView *>(wrapper->GetChildrenHead()); in ImageAnimatorTest001()
287 EXPECT_EQ(wrapperSize, wrapper->GetWidth()); in ImageAnimatorTest001()
288 EXPECT_EQ(wrapperSize, wrapper->GetHeight()); in ImageAnimatorTest001()
305 UIViewGroup *wrapper = reinterpret_cast<UIViewGroup *>(GetViewByRef(page, "animator")); in ImageAnimatorTest002() local
306 EXPECT_TRUE(wrapper != nullptr); in ImageAnimatorTest002()
307 if (wrapper != nullptr) { in ImageAnimatorTest002()
309 EXPECT_EQ(wrapperSize, wrapper in ImageAnimatorTest002()
336 UIViewGroup *wrapper = reinterpret_cast<UIViewGroup *>(GetViewByRef(page, "animator")); ImageAnimatorTest003() local
[all...]
/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/
H A Dremote_object_wrapper.cpp27 #include "remote/wrapper.rs.h"
112 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in OnRemoteDied() local
114 wrapper->is_raw_ = false; in OnRemoteDied()
115 wrapper->sptr_ = obj; in OnRemoteDied()
117 auto rust_remote_obj = new_remote_obj(std::move(wrapper)); in OnRemoteDied()
162 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in FromSptrRemote() local
164 wrapper->is_raw_ = false; in FromSptrRemote()
165 wrapper->sptr_ = std::move(*remote.release()); in FromSptrRemote()
167 return wrapper; in FromSptrRemote()
183 auto wrapper in CloneRemoteObj() local
200 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); FromRemoteStub() local
213 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); FromCIRemoteObject() local
[all...]
H A Dskeleton_wrapper.cpp97 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in GetContextObject() local
99 wrapper->is_raw_ = true; in GetContextObject()
100 wrapper->raw_ = OHOS::IPCSkeleton::GetContextObject(); in GetContextObject()
102 return wrapper; in GetContextObject()
/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dlayout_wrapper_node_test_ng.cpp101 auto [node, wrapper] = CreateNodeAndWrapper(ROW_FRAME_NODE, NODE_ID_0); in HWTEST_F()
103 wrapper->Update(newNode, newWrapper->GetGeometryNode(), newNode->GetLayoutProperty()); in HWTEST_F()
104 EXPECT_EQ(wrapper->GetHostNode()->GetTag(), FIRST_CHILD_FRAME_NODE); in HWTEST_F()
114 auto [node, wrapper] = CreateNodeAndWrapper(ROW_FRAME_NODE, NODE_ID_0); in HWTEST_F()
117 wrapper->AppendChild(childWrapper, true); in HWTEST_F()
118 EXPECT_EQ(wrapper->overlayChild_->GetHostNode()->GetTag(), FIRST_CHILD_FRAME_NODE); in HWTEST_F()
128 auto [node, wrapper] = CreateNodeAndWrapper(ROW_FRAME_NODE, NODE_ID_0); in HWTEST_F()
133 wrapper->AppendChild(childWrapper, false); in HWTEST_F()
134 wrapper->AppendChild(childWrapper2, false); in HWTEST_F()
135 wrapper in HWTEST_F()
320 RefPtr<LayoutWrapperNode> wrapper = HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Diptables_wrapper_test.cpp51 std::shared_ptr<IptablesWrapper> wrapper = DelayedSingleton<IptablesWrapper>::GetInstance(); in HWTEST_F() local
53 std::string str = wrapper->RunCommandForRes(IpType::IPTYPE_IPV4, comdLine); in HWTEST_F()
56 int32_t ret = wrapper->RunCommand(IpType::IPTYPE_IPV4, comdLine); in HWTEST_F()
64 std::shared_ptr<IptablesWrapper> wrapper = DelayedSingleton<IptablesWrapper>::GetInstance(); in HWTEST_F() local
67 auto ret = wrapper->RunCommand(ipType, comdLine); in HWTEST_F()
73 std::shared_ptr<IptablesWrapper> wrapper = DelayedSingleton<IptablesWrapper>::GetInstance(); in HWTEST_F() local
76 auto ret = wrapper->RunCommandForRes(ipType, comdLine); in HWTEST_F()
77 EXPECT_EQ(ret, wrapper->result_); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_layout_wrapper_builder.cpp29 for (const auto& wrapper : childWrappers_) { in AdjustGridOffset()
30 auto frameNode = wrapper->GetHostNode(); in AdjustGridOffset()
117 RefPtr<LayoutWrapper> wrapper; in OnGetOrCreateWrapperByIndexLegacy() local
120 wrapper = frameNode->CreateLayoutWrapper(forceMeasure_, forceLayout_); in OnGetOrCreateWrapperByIndexLegacy()
122 wrapper = uiNode->CreateLayoutWrapper(forceMeasure_, forceLayout_); in OnGetOrCreateWrapperByIndexLegacy()
124 CHECK_NULL_RETURN(wrapper, nullptr); in OnGetOrCreateWrapperByIndexLegacy()
128 childWrappers_.emplace_front(wrapper); in OnGetOrCreateWrapperByIndexLegacy()
130 return wrapper; in OnGetOrCreateWrapperByIndexLegacy()
134 childWrappers_.emplace_back(wrapper); in OnGetOrCreateWrapperByIndexLegacy()
136 return wrapper; in OnGetOrCreateWrapperByIndexLegacy()
159 RefPtr<LayoutWrapper> wrapper; OnExpandChildLayoutWrapper() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_wrapper_builder.cpp29 auto wrapper = OnGetOrCreateWrapperByIndex(realIndex); in GetOrCreateWrapperByIndex() local
30 CHECK_NULL_RETURN(wrapper, nullptr); in GetOrCreateWrapperByIndex()
31 wrapperMap_.try_emplace(realIndex, wrapper); in GetOrCreateWrapperByIndex()
32 return wrapper; in GetOrCreateWrapperByIndex()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_layout_algorithm.cpp131 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first); in LayoutMenuItem() local
132 if (!wrapper) { in LayoutMenuItem()
133 TAG_LOGW(AceLogTag::ACE_MENU, "wrapper is out of boundary"); in LayoutMenuItem()
136 LayoutIndex(wrapper, OffsetF(0.0, pos.second.first)); in LayoutMenuItem()
142 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(headerIndex_); in LayoutHeader() local
143 CHECK_NULL_VOID(wrapper); in LayoutHeader()
149 auto headerHeight = wrapper->GetGeometryNode()->GetFrameSize().Height(); in LayoutHeader()
153 LayoutIndex(wrapper, OffsetF(0.0f, headerPadding)); in LayoutHeader()
158 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(footerIndex_); in LayoutFooter() local
159 CHECK_NULL_VOID(wrapper); in LayoutFooter()
177 LayoutIndex(const RefPtr<LayoutWrapper>& wrapper, const OffsetF& offset) LayoutIndex() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_render_image.cpp68 auto* wrapper = (JSRenderImage*)value; in AttachImageBitmap() local
69 if (wrapper == nullptr) { in AttachImageBitmap()
87 napi_wrap_with_size(env, imageBitmap, value, JSRenderImage::Finalizer, nullptr, nullptr, wrapper->GetBindingSize()); in AttachImageBitmap()
88 wrapper->IncRefCount(); in AttachImageBitmap()
96 auto wrapper = reinterpret_cast<JSRenderImage*>(data); in Finalizer() local
97 if (wrapper) { in Finalizer()
98 wrapper->DecRefCount(); in Finalizer()
108 auto wrapper = AceType::MakeRefPtr<JSRenderImage>(); in Constructor() local
109 wrapper->SetInstanceId(OHOS::Ace::Container::CurrentId()); in Constructor()
112 env, thisVar, DetachImageBitmap, AttachImageBitmap, AceType::RawPtr(wrapper), nullpt in Constructor()
[all...]
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_conn_common.c98 SoftBusHandlerWrapper *wrapper, int32_t what, uint64_t arg1, uint64_t arg2, void *obj, uint64_t delayMillis) in ConnPostMsgToLooper()
106 msg->handler = &wrapper->handler; in ConnPostMsgToLooper()
109 wrapper->handler.looper->PostMessageDelay(wrapper->handler.looper, msg, delayMillis); in ConnPostMsgToLooper()
114 const SoftBusHandlerWrapper *wrapper, int32_t what, uint64_t arg1, uint64_t arg2, void *obj) in ConnRemoveMsgFromLooper()
122 wrapper->handler.looper->RemoveMessageCustom( in ConnRemoveMsgFromLooper()
123 wrapper->handler.looper, &wrapper->handler, wrapper->eventCompareFunc, &ctx); in ConnRemoveMsgFromLooper()
97 ConnPostMsgToLooper( SoftBusHandlerWrapper *wrapper, int32_t what, uint64_t arg1, uint64_t arg2, void *obj, uint64_t delayMillis) ConnPostMsgToLooper() argument
113 ConnRemoveMsgFromLooper( const SoftBusHandlerWrapper *wrapper, int32_t what, uint64_t arg1, uint64_t arg2, void *obj) ConnRemoveMsgFromLooper() argument
/foundation/graphic/graphic_3d/kits/js/src/
H A DBaseObjectJS.cpp153 if (auto wrapper = AppMeta->GetPropertyByName<SharedPtrIInterface>("_JSW")) { in FetchJsObj()
155 return interface_cast<JSWrapperState>(wrapper->GetValue())->GetObject(); in FetchJsObj()
167 auto wrapper = AppMeta->GetPropertyByName<SharedPtrIInterface>("_JSW"); in StoreJsObj() local
169 if (wrapper) { in StoreJsObj()
170 // .. does the wrapper exist? (ie. reference from native to js) in StoreJsObj()
171 if (auto val = interface_cast<JSWrapperState>(wrapper->GetValue())) { in StoreJsObj()
194 // create the wrapper property in StoreJsObj()
195 wrapper = ConstructProperty<SharedPtrIInterface>( in StoreJsObj()
197 AppMeta->AddProperty(wrapper); in StoreJsObj()
200 wrapper in StoreJsObj()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/rosen/
H A Ddrawing_image_data.cpp32 RSDataWrapper* wrapper = reinterpret_cast<RSDataWrapper*>(context); in RSDataWrapperReleaseProc() local
33 delete wrapper; in RSDataWrapperReleaseProc()
78 RSDataWrapper* wrapper = new RSDataWrapper { rsData_ }; in MakeSvgDom() local
79 auto skData = SkData::MakeWithProc(rsData_->GetData(), rsData_->GetSize(), RSDataWrapperReleaseProc, wrapper); in MakeSvgDom()
132 RSDataWrapper* wrapper = new RSDataWrapper{rsData}; in Parse() local
133 auto skData = SkData::MakeWithProc(rsData->GetData(), rsData->GetSize(), RSDataWrapperReleaseProc, wrapper); in Parse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_utils.cpp97 int32_t start, int32_t end, std::vector<RefPtr<ForEachBaseNode>>& lazyNodes, LayoutWrapper* wrapper) in RecycleItemsByIndex()
99 wrapper->RecycleItemsByIndex(start, end); in RecycleItemsByIndex()
122 Axis axis, float offset, int32_t start, int32_t end, LayoutWrapper* wrapper) in RecycleItemsOutOfBoundary()
131 auto host = wrapper->GetHostNode(); in RecycleItemsOutOfBoundary()
141 RecycleItemsByIndex(inIndex + 1, end + 1, foreachNodes, wrapper); in RecycleItemsOutOfBoundary()
147 RecycleItemsByIndex(start, outIndex, foreachNodes, wrapper); in RecycleItemsOutOfBoundary()
96 RecycleItemsByIndex( int32_t start, int32_t end, std::vector<RefPtr<ForEachBaseNode>>& lazyNodes, LayoutWrapper* wrapper) RecycleItemsByIndex() argument
121 RecycleItemsOutOfBoundary( Axis axis, float offset, int32_t start, int32_t end, LayoutWrapper* wrapper) RecycleItemsOutOfBoundary() argument
H A Dscrollable_paint_method.cpp91 bool ScrollablePaintMethod::TryContentClip(PaintWrapper* wrapper) in TryContentClip() argument
93 CHECK_NULL_RETURN(wrapper, false); in TryContentClip()
94 auto props = DynamicCast<ScrollablePaintProperty>(wrapper->GetPaintProperty()); in TryContentClip()
98 auto renderContext = wrapper->GetRenderContext(); in TryContentClip()
106 auto&& geo = wrapper->GetGeometryNode(); in TryContentClip()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/event/
H A Dwifi_direct_event_template_dispatcher.h64 auto wrapper = dynamic_cast<WifiDirectEventWrapper<Content> *>(content.get()); in Dispatch() local
65 if (wrapper != nullptr) { in Dispatch()
66 func_(wrapper->content_); in Dispatch()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_utils.cpp126 std::pair<SizeF, bool> WaterFlowLayoutUtils::PreMeasureSelf(LayoutWrapper* wrapper, Axis axis) in PreMeasureSelf() argument
128 const auto& props = wrapper->GetLayoutProperty(); in PreMeasureSelf()
132 wrapper->GetGeometryNode()->SetFrameSize(size); in PreMeasureSelf()
135 wrapper->GetGeometryNode()->SetContentSize(size); in PreMeasureSelf()
139 float WaterFlowLayoutUtils::MeasureFooter(LayoutWrapper* wrapper, Axis axis) in MeasureFooter() argument
141 auto footer = wrapper->GetOrCreateChildByIndex(0); in MeasureFooter()
143 auto layoutProperty = wrapper->GetLayoutProperty(); in MeasureFooter()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_napi.cpp81 PatternLockController* wrapper = nullptr; in Create() local
82 napi_unwrap(env, argv[0], (void**)&wrapper); in Create()
85 wrapper->SetController(controller); in Create()
261 PatternLockController* wrapper = nullptr; in Reset() local
262 napi_unwrap(env, thisVar, (void**)&wrapper); in Reset()
263 if (wrapper == nullptr) { in Reset()
266 wrapper->Reset(); in Reset()
274 auto wrapper = new (std::nothrow) PatternLockController(); in PatternLockControllerConstructor() local
275 if (wrapper == nullptr) { in PatternLockControllerConstructor()
279 env, thisVar, wrapper, in PatternLockControllerConstructor()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_content_modifier.h46 void SetCanvasImageWrapper(const CanvasImageModifierWrapper& wrapper) in SetCanvasImageWrapper() argument
49 canvasImageWrapper_->Set(wrapper); in SetCanvasImageWrapper()

Completed in 18 milliseconds

123456