/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | extension_handler.cpp | 46 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 positionY) 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 D | extension_handler.h | 48 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);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | extension_custom_node.cpp | 33 void ExtensionCustomNode::OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) in OnLayout() argument 36 auto position = OffsetF(positionX, positionY); in OnLayout() 39 InnerLayout(width, height, positionX, positionY); in OnLayout()
|
H A D | badge_modifier.cpp | 27 Dimension(style.positionX.value, static_cast<DimensionUnit>(style.positionX.units)); in SetBadgeBaseParam()
|
H A D | extension_companion_node.cpp | 127 void ExtensionCompanionNode::OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) in OnLayout() argument 133 event.data[NUM_0] = positionX; in OnLayout() 139 InnerLayout(width, height, positionX, positionY); in OnLayout()
|
H A D | extension_custom_node.h | 44 void OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) override;
|
H A D | extension_companion_node.h | 74 void OnLayout(int32_t width, int32_t height, int32_t positionX, int32_t positionY) override;
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsproxynode_fuzzer/ |
H A D | rsproxynode_fuzzer.cpp | 73 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()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_badge_bridge.cpp | 32 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 in ParsePosition() [all...] |
H A D | arkts_native_particle_bridge.cpp | 64 Local<JSValueRef> positionX = panda::ArrayRef::GetValueAt(vm, array, index * DISTURBANCE_FIELD_SIZE + STEP_4); in SetDisturbanceField() local 66 ArkTSUtils::ParseJsInteger(vm, positionX, positionXValue); in SetDisturbanceField() 146 Local<JSValueRef> positionX = panda::ArrayRef::GetValueAt(vm, array, i * EMITTER_SIZE + STEP_4); in SetEmitter() local 148 ArkTSUtils::ParseJsDouble(vm, positionX, positionXValue); in SetEmitter()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/camera3d_fuzzer/ |
H A D | camera3d_fuzzer.cpp | 41 scalar positionX = GetObject<scalar>(); in Camera3dFuzzTest() local 47 camera3d.SetCameraPos(positionX, positionY, positionZ); in Camera3dFuzzTest() 51 camera3d.Translate(positionX, positionY, positionZ); in Camera3dFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_proxy_node_test.cpp | 121 float positionX = 0.1; in HWTEST_F() local 126 node->SetBounds(positionX, positionY, width, height); in HWTEST_F() 148 float positionX = 0.1; in HWTEST_F() local 153 node->SetFrame(positionX, positionY, width, height); in HWTEST_F() 154 node->SetFramePositionX(positionX); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_proxy_node.h | 50 void SetBounds(float positionX, float positionY, float width, float height) override {} 55 void SetFrame(float positionX, float positionY, float width, float height) override {} 56 void SetFramePositionX(float positionX) override {}
|
H A D | rs_node.h | 190 virtual void SetBounds(float positionX, float positionY, float width, float height); 195 virtual void SetFrame(float positionX, float positionY, float width, float height); 196 virtual void SetFramePositionX(float positionX); 265 void SetBgImagePosition(float positionX, float positionY); 266 void SetBgImagePositionX(float positionX); 415 void SetLightPosition(float positionX, float positionY, float positionZ);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/ |
H A D | grid_layout_algorithm.cpp | 23 void OffsetByAlign(const SizeF& size, float rowLen, float colLen, float& positionX, float& positionY) in OffsetByAlign() argument 27 positionX += (colLen - width) / 2; in OffsetByAlign() 179 float positionX = 0.0f; in ComputeItemPosition() local 186 positionX += GetItemSize(0, i, false); in ComputeItemPosition() 188 positionX += col * columnsGap_; in ComputeItemPosition() 204 OffsetByAlign(childSize, rowLen, colLen, positionX, positionY); in ComputeItemPosition() 209 positionX = frameSize.Width() - positionX - colLen; in ComputeItemPosition() 211 return OffsetF(positionX, positionY); in ComputeItemPosition()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/ |
H A D | js_common.h | 40 float positionX; member
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/ |
H A D | scroll_bar_proxy.cpp | 173 auto positionX = scrollableChildPosition.GetX() * (scrollBarSize - scrollBarChildSize).Width() / in NotifyScrollBar() local 175 positionX = std::clamp(positionX, 0.0, (scrollBarSize - scrollBarChildSize).Width()); in NotifyScrollBar() 176 position.SetX(positionX); in NotifyScrollBar()
|
H A D | render_scroll_bar.cpp | 121 double positionX = std::clamp(child->GetPosition().GetX() + info.GetDelta().GetX(), 0.0, in HandleDragUpdate() local 123 child->SetPosition(Offset(positionX, child->GetPosition().GetY())); in HandleDragUpdate()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/ |
H A D | rsproperty_fuzzer.cpp | 90 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()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_extened.h | 178 int32_t SetLayoutPosition(ArkUI_NodeHandle node, int32_t positionX, int32_t positionY); 183 int32_t LayoutNode(ArkUI_NodeHandle node, int32_t positionX, int32_t positionY);
|
H A D | node_extened.cpp | 252 int32_t SetLayoutPosition(ArkUI_NodeHandle node, int32_t positionX, int32_t positionY) in SetLayoutPosition() argument 258 impl->getExtendedAPI()->setX(node->uiNodeHandle, positionX); in SetLayoutPosition() 335 int32_t LayoutNode(ArkUI_NodeHandle node, int32_t positionX, int32_t positionY) in LayoutNode() argument 343 //positionX in LayoutNode() 344 data[0] = positionX; in LayoutNode()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle.cpp | 747 float positionX = 0.f; in CalculateParticlePosition() local 752 positionX = GetRandomValue(minX, maxX); in CalculateParticlePosition() 766 positionX = x + r * cos(theta); in CalculateParticlePosition() 771 positionX = x + rx * cos(theta); in CalculateParticlePosition() 775 return Vector2f { positionX, positionY }; in CalculateParticlePosition()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/text_blob_napi/ |
H A D | js_text_blob.cpp | 176 double positionX = 0.0; in OnMakeRunBuffer() local 180 napi_get_named_property(env, tempRunBuffer, "positionX", &tempValue); in OnMakeRunBuffer() 181 bool isPositionXOk = ConvertFromJsValue(env, tempValue, positionX); in OnMakeRunBuffer() 189 runBuffer.pos[2 * i] = positionX; // 2: double in OnMakeRunBuffer()
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 243 double positionX = 0.0; 250 positionX += gridCells_.at(0).at(i).Width(); 252 positionX += col * colGap_; 268 positionX = colSize_ - positionX - colLen; 275 child->SetPosition(Offset(positionX + widthOffset, allocatedPositionY)); 277 child->SetPosition(Offset(positionX + widthOffset, positionY + heightOffset)); 291 double positionX = 0.0; 298 positionX += gridCells_.at(0).at(i).Width(); 300 positionX [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/ |
H A D | grid_adaptive_layout_algorithm.cpp | 195 auto positionX = columnIndex * (gridCellSize_.Width() + columnsGap); in CalculateChildOffset() local 197 return padding.Offset() + OffsetF(positionX, positionY); in CalculateChildOffset()
|