Home
last modified time | relevance | path

Searched refs:rectInfo (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/
H A Drs_uiextension_data.cpp25 marshallingSuccess &= parcel.WriteInt32(rectInfo.relativeCoords.GetLeft()); in MarshallingRectInfo()
26 marshallingSuccess &= parcel.WriteInt32(rectInfo.relativeCoords.GetTop()); in MarshallingRectInfo()
29 marshallingSuccess &= parcel.WriteFloat(rectInfo.scale[0]); in MarshallingRectInfo()
30 marshallingSuccess &= parcel.WriteFloat(rectInfo.scale[1]); in MarshallingRectInfo()
31 marshallingSuccess &= parcel.WriteFloat(rectInfo.anchor[0]); in MarshallingRectInfo()
32 marshallingSuccess &= parcel.WriteFloat(rectInfo.anchor[1]); in MarshallingRectInfo()
40 rectInfo.scale[0] = parcel.ReadFloat(); in UnmarshallingRectInfo()
41 rectInfo.scale[1] = parcel.ReadFloat(); in UnmarshallingRectInfo()
42 rectInfo.anchor[0] = parcel.ReadFloat(); in UnmarshallingRectInfo()
43 rectInfo.anchor[1] = parcel.ReadFloat(); in UnmarshallingRectInfo()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_uiextension_data_test.cpp63 SecRectInfo rectInfo; variable
64 rectInfo.relativeCoords.SetAll(0, 0, DEFAULT_WIDTH, DEFAULT_HEIGHT);
65 secData[id][0].upperNodes.push_back(rectInfo);
110 SecRectInfo rectInfo; variable
111 rectInfo.relativeCoords.SetAll(0, 0, DEFAULT_WIDTH, DEFAULT_HEIGHT);
112 secData[id2][0].upperNodes.push_back(rectInfo);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-component-id.md199 let rectInfo:string[] = JSON.parse('[' + obj.$rect + ']')
200 console.info("[getInspectorByKey] rectInfo is: " + rectInfo)
201 Utils.rect_left = JSON.parse('[' + rectInfo[0] + ']')[0] // 相对于组件左上角的水平方向坐标
202 Utils.rect_top = JSON.parse('[' + rectInfo[0] + ']')[1] // 相对于组件左上角的垂直方向坐标
203 Utils.rect_right = JSON.parse('[' + rectInfo[1] + ']')[0] // 相对于组件右下角的水平方向坐标
204 Utils.rect_bottom = JSON.parse('[' + rectInfo[1] + ']')[1] // 相对于组件右下角的垂直方向坐标
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screendatachannel/src/
H A Dscreen_data_channel_impl.cpp223 std::string rectInfo = rectJson.dump(); in SendDirtyData() local
224 char *dirtyInfo = new char[rectInfo.length() + 1] {0}; in SendDirtyData()
225 int32_t ret = memcpy_s(dirtyInfo, rectInfo.length(), rectInfo.c_str(), rectInfo.length()); in SendDirtyData()
231 StreamData ext = {dirtyInfo, rectInfo.length() + 1}; in SendDirtyData()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_uiextension_data.h67 static bool MarshallingRectInfo(const SecRectInfo& rectInfo, Parcel& parcel);
68 static void UnmarshallingRectInfo(SecRectInfo& rectInfo, Parcel& parcel);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-component-id.md195 let rectInfo:string[] = JSON.parse('[' + obj.$rect + ']')
196 console.info("[getInspectorByKey] rectInfo is: " + rectInfo)
197 Utils.rect_left = JSON.parse('[' + rectInfo[0] + ']')[0]
198 Utils.rect_top = JSON.parse('[' + rectInfo[0] + ']')[1]
199 Utils.rect_right = JSON.parse('[' + rectInfo[1] + ']')[0]
200 Utils.rect_bottom = JSON.parse('[' + rectInfo[1] + ']')[1]
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_layout_policy_test.cpp522 auto rectInfo = displayGroupInfo_.GetDisplayRect(displayId); variable
523 ASSERT_EQ(rectInfo.posX_, baseRect.posX_);
524 ASSERT_EQ(rectInfo.posY_, baseRect.posY_);
525 ASSERT_EQ(rectInfo.width_, baseRect.width_);
526 ASSERT_EQ(rectInfo.height_, baseRect.height_);
531 rectInfo = displayGroupInfo_.GetDisplayRect(displayId);
532 ASSERT_EQ(rectInfo.posX_, 10);
533 ASSERT_EQ(rectInfo.posY_, 10);
534 ASSERT_EQ(rectInfo.width_, 10);
535 ASSERT_EQ(rectInfo.height_, 10);
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_session.cpp2797 …std::string rectInfo = "OnSessionRectChange [" + std::to_string(rect.posX_) + "," + std::to_string… in OnSessionRectChange() local
2799 taskScheduler_->PostMainThreadTask(task, rectInfo); in OnSessionRectChange()