Home
last modified time | relevance | path

Searched refs:positionX (Results 1 – 25 of 114) sorted by relevance

12345

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/
H A Dtextblobtest.ts47 { glyph: 65, positionX: 0, positionY: 0 },
48 { glyph: 227, positionX: 14.9 * 2, positionY: 0 },
49 { glyph: 283, positionX: 25.84 * 2, positionY: 0 },
50 { glyph: 283, positionX: 30.62 * 2, positionY: 0 },
51 { glyph: 299, positionX: 35.4 * 2, positionY: 0},
52 { glyph: 2, positionX: 47.22 * 2, positionY: 0},
53 { glyph: 94, positionX: 52.62 * 2, positionY: 0},
54 { glyph: 37, positionX: 67.42 * 2, positionY: 0},
55 { glyph: 84, positionX: 81.70 * 2, positionY: 0},
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkFlex.ts64 let positionX: Dimension | undefined;
72 positionX = this.value.lightSource.positionX;
80 …getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, co…
85 …n !isBaseOrResourceEqual(this.stageValue.lightSource?.positionX, this.value.lightSource?.positionX
H A DArkStack.ts55 let positionX: Dimension | undefined;
63 positionX = this.value.lightSource.positionX;
71 …getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, co…
76 …n !isBaseOrResourceEqual(this.stageValue.lightSource?.positionX, this.value.lightSource?.positionX
H A DArkColumn.ts71 let positionX: Dimension | undefined;
79 positionX = this.value.lightSource.positionX;
87 …getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, co…
92 …n !isBaseOrResourceEqual(this.stageValue.lightSource?.positionX, this.value.lightSource?.positionX
H A DArkRow.ts72 let positionX: Dimension | undefined;
80 positionX = this.value.lightSource.positionX;
88 …getUINativeModule().common.setPointLightStyle(node, positionX, positionY, positionZ, intensity, co…
93 …n !isBaseOrResourceEqual(this.stageValue.lightSource?.positionX, this.value.lightSource?.positionX
/ohos5.0/docs/zh-cn/third-party-cases/
H A Doverall-and-part-refresh.md164 this.data.positionX = this.data.offsetX
270 positionX?: number, // 在X的位置
281 positionX: 0,
289 positionX: 0,
297 positionX: 0,
305 positionX: 0,
313 positionX: 0,
321 positionX: 0,
329 positionX: 0,
337 positionX: 0,
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dextension_handler.cpp46 void ExtensionHandler::Layout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) in Layout() argument
48 OnLayout(width, height, positionX, positionY); in Layout()
77 void ExtensionHandler::InnerLayout(int32_t width, int32_t height, int32_t positionX, int32_t positi… in InnerLayout() argument
80 innerLayoutImpl_(width, height, positionX, positionY); in InnerLayout()
110 void ExtensionHandler::OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) in OnLayout() argument
112 InnerLayout(width, height, positionX, positionY); in OnLayout()
H A Dextension_handler.h48 void Layout(int32_t width, int32_t height, int32_t positionX, int32_t positionY);
55 void InnerLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY);
143 virtual void OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_badge_bridge.cpp32 auto positionX = badgeTheme->GetBadgePositionX(); in InitBadgeParam() local
40 param.positionX.value = positionX.Value(); in InitBadgeParam()
41 param.positionX.units = static_cast<int32_t>(positionX.Unit()); in InitBadgeParam()
69 Local<JSValueRef> positionX = runtimeCallInfo->GetCallArgRef(2); // 2: parameter index in ParsePosition() local
75 } else if (!positionX->IsUndefined() || !positionY->IsUndefined() || in ParsePosition()
80 bool xResult = ArkTSUtils::ParseJsDimensionVp(vm, positionX, dimenX); in ParsePosition()
83 param.positionX.value = dimenX.Value(); in ParsePosition()
84 param.positionX.units = static_cast<int32_t>(dimenX.Unit()); in ParsePosition()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-animation-smoothing.md80 @State positionX: number = 100;
89 .position({ x: this.positionX, y: this.positionY })// 第二步:将状态变量设置到相关可动画属性接口
97 this.positionX = event.touches[0].windowX - this.diameter / 2;
99 console.info(`move, animateTo x:${this.positionX}, y:${this.positionY}`);
104 this.positionX = 100;
122 …Text('点击位置: [x: ' + Math.round(this.positionX) + ', y:' + Math.round(this.positionY) + ']').fontSi…
H A Darkts-gesture-events-combined-gestures.md32 @State positionX: number = 0;
73 this.offsetX = (this.positionX + event.offsetX);
79 this.positionX = this.offsetX;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsproxynode_fuzzer/
H A Drsproxynode_fuzzer.cpp73 float positionX = GetData<float>(); in DoRSProxyNode() local
86 proxyNode.SetBounds(positionX, positionY, width, height); in DoRSProxyNode()
90 proxyNode.SetFrame(positionX, positionY, width, height); in DoRSProxyNode()
91 proxyNode.SetFramePositionX(positionX); in DoRSProxyNode()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-accessibility-kit/
H A Djs-apis-accessibility-GesturePoint.md27 | positionX | number | 是 | 是 | 触摸点X坐标。 |
32 constructor(positionX: number, positionY: number);
46 | positionX | number | 是 | 触摸点X坐标。 |
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dextension_custom_node.cpp34 void ExtensionCustomNode::OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positi… in OnLayout() argument
37 auto position = OffsetF(positionX, positionY); in OnLayout()
40 InnerLayout(width, height, positionX, positionY); in OnLayout()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_proxy_node_test.cpp121 float positionX = 0.1; variable
126 node->SetBounds(positionX, positionY, width, height);
148 float positionX = 0.1; variable
153 node->SetFrame(positionX, positionY, width, height);
154 node->SetFramePositionX(positionX);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/camera3d_fuzzer/
H A Dcamera3d_fuzzer.cpp41 scalar positionX = GetObject<scalar>(); in Camera3dFuzzTest() local
47 camera3d.SetCameraPos(positionX, positionY, positionZ); in Camera3dFuzzTest()
51 camera3d.Translate(positionX, positionY, positionZ); in Camera3dFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_proxy_node.h50 void SetBounds(float positionX, float positionY, float width, float height) override {} in SetBounds() argument
55 void SetFrame(float positionX, float positionY, float width, float height) override {} in SetFrame() argument
56 void SetFramePositionX(float positionX) override {} in SetFramePositionX() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp31 void OffsetByAlign(const SizeF& size, float rowLen, float colLen, float& positionX, float& position… in OffsetByAlign() argument
35 positionX += (colLen - width) / 2; in OffsetByAlign()
187 float positionX = 0.0f; in ComputeItemPosition() local
194 positionX += GetItemSize(0, i, false); in ComputeItemPosition()
196 positionX += col * columnsGap_; in ComputeItemPosition()
212 OffsetByAlign(childSize, rowLen, colLen, positionX, positionY); in ComputeItemPosition()
217 positionX = frameSize.Width() - positionX - colLen; in ComputeItemPosition()
219 return OffsetF(positionX, positionY); in ComputeItemPosition()
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/js/
H A D@ohos.accessibility.GesturePoint.d.ts23 constructor(positionX: number, positionY: number);
31 positionX: number;
/ohos5.0/docs/en/application-dev/reference/apis-accessibility-kit/
H A Djs-apis-accessibility-GesturePoint.md25 | positionX | number | Yes | Yes | X coordinate of the touch point.|
30 constructor(positionX: number, positionY: number);
44 | positionX | number | Yes| X coordinate of the touch point.|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_agent_stub.cpp57 int32_t positionX = data.ReadInt32(); in OnRemoteRequest() local
60 OnCursorUpdate(positionX, positionY, height); in OnRemoteRequest()
142 void InputMethodAgentStub::OnCursorUpdate(int32_t positionX, int32_t positionY, int height) in OnCursorUpdate() argument
148 data->WriteInt32(positionX); in OnCursorUpdate()
H A Dinput_method_agent_proxy.cpp43 void InputMethodAgentProxy::OnCursorUpdate(int32_t positionX, int32_t positionY, int32_t height) in OnCursorUpdate() argument
45 auto ret = SendRequest(ON_CURSOR_UPDATE, [positionX, positionY, height](MessageParcel &data) { in OnCursorUpdate()
46 return ITypesUtil::Marshal(data, positionX, positionY, height); in OnCursorUpdate()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-combined-gestures.md52 @State positionX: number = 0
84 this.offsetX = this.positionX + event.offsetX
90 this.positionX = this.offsetX
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-animation-smoothing.md76 @State positionX: number = 100;
86 .position({ x: this.positionX, y: this.positionY })
94 this.positionX = event.touches[0].windowX - this.diameter / 2;
96 console.info(`move, animateTo x:${this.positionX}, y:${this.positionY}`);
101 this.positionX = 100;
119 …Text('Click position: [x: ' + Math.round(this.positionX) + ', y:' + Math.round(this.positionY) + '…
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/
H A Drsproperty_fuzzer.cpp90 float positionX = GetData<float>(); in RSPropertiesFuzzTestInner01() local
113 properties.SetBoundsPositionX(positionX); in RSPropertiesFuzzTestInner01()
120 properties.SetFramePositionX(positionX); in RSPropertiesFuzzTestInner01()
249 float positionX = GetData<float>(); in RSPropertiesFuzzTestInner04() local
262 properties.SetBgImagePositionX(positionX); in RSPropertiesFuzzTestInner04()

12345