Home
last modified time | relevance | path

Searched refs:scale (Results 351 - 375 of 483) sorted by relevance

1...<<11121314151617181920

/foundation/multimodalinput/input/test/facility/libinput_interface/src/
H A Dlibinput_interface.cpp306 return (event != nullptr ? static_cast<double>(event->scale) : 1.0); in libinput_event_gesture_get_scale()
/foundation/multimodalinput/input/util/common/include/
H A Dstruct_multimodal.h428 double scale {};
/foundation/window/window_manager/wmserver/include/
H A Dwindow_controller.h78 void SetAnchorAndScale(int32_t x, int32_t y, float scale);
/foundation/arkui/ace_engine/test/unittest/core/event/
H A Ddrag_event_test_ng_property_config.cpp1650 styleOption.scale = 0.5; in HWTEST_F()
1937 float scale = 1.0f; in HWTEST_F() local
1940 dragEventActuator->PrepareShadowParametersForDragData(framenode, arkExtraInfoJson, scale); in HWTEST_F()
1942 dragEventActuator->PrepareShadowParametersForDragData(framenode, arkExtraInfoJson, scale); in HWTEST_F()
1944 dragEventActuator->PrepareShadowParametersForDragData(framenode, arkExtraInfoJson, scale); in HWTEST_F()
1947 dragEventActuator->PrepareShadowParametersForDragData(framenodeOne, arkExtraInfoJson, scale); in HWTEST_F()
1984 float scale = 1.0f; in HWTEST_F() local
1985 dragEventActuator->PrepareShadowParametersForDragData(framenode, arkExtraInfoJson, scale); in HWTEST_F()
1992 dragEventActuator->PrepareShadowParametersForDragData(framenode, arkExtraInfoJson, scale); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.cpp3262 auto scale = GetTransformScale(); in GetTransformScaleRelativeToWindow() local
3263 finalScale.x = scale.x; in GetTransformScaleRelativeToWindow()
3264 finalScale.y = scale.y; in GetTransformScaleRelativeToWindow()
3271 auto scale = parent->GetTransformScale(); in GetTransformScaleRelativeToWindow() local
3272 finalScale.x *= scale.x; in GetTransformScaleRelativeToWindow()
3273 finalScale.y *= scale.y; in GetTransformScaleRelativeToWindow()
3856 double scale = 1.0; in GetPreviewScaleVal() local
3859 CHECK_NULL_RETURN(geometryNode, scale); in GetPreviewScaleVal()
3862 scale = maxWidth / width; in GetPreviewScaleVal()
3864 return scale; in GetPreviewScaleVal()
5198 auto scale = GetTransformScale(); GetCacheVisibleRect() local
5225 CalculateCacheVisibleRect(CacheVisibleRectResult& parentCacheVisibleRect, const RefPtr<FrameNode>& parentUi, RectF& rectToParent, VectorF scale, uint64_t timestamp) CalculateCacheVisibleRect() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_manager_test_ng_property_config.cpp1159 dragDropManager->info_.scale = -1.0f; in HWTEST_F()
1184 dragDropManager->info_.scale = 0.5f; in HWTEST_F()
1220 dragDropManager->info_.scale = 0.5f; in HWTEST_F()
1325 dragDropManager->info_.scale = 0.5f; in HWTEST_F()
1770 dragDropManager->info_.scale = 0.5f; in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp754 float scale = std::min(static_cast<float>(winRect.width_) / sizeLimits.minWidth_, in UpdateFloatingWindowSizeForStretchableWindow() local
756 if (MathHelper::NearZero(scale)) { in UpdateFloatingWindowSizeForStretchableWindow()
760 if (scale < 1.0f) { in UpdateFloatingWindowSizeForStretchableWindow()
761 winRect.width_ = static_cast<uint32_t>(static_cast<float>(winRect.width_) / scale); in UpdateFloatingWindowSizeForStretchableWindow()
762 winRect.height_ = static_cast<uint32_t>(static_cast<float>(winRect.height_) / scale); in UpdateFloatingWindowSizeForStretchableWindow()
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.cpp1365 double scale = grayscale.Value(); in PaintGrayScale() local
1366 if (GreatNotEqual(scale, 0.0)) { in PaintGrayScale()
1373 matrix[0] = matrix[5] = matrix[10] = 0.2126f * scale; in PaintGrayScale()
1374 matrix[1] = matrix[6] = matrix[11] = 0.7152f * scale; in PaintGrayScale()
1375 matrix[2] = matrix[7] = matrix[12] = 0.0722f * scale; in PaintGrayScale()
1376 matrix[18] = 1.0f * scale; in PaintGrayScale()
1388 double scale = grayscale.Value(); in PaintGrayScale() local
1389 if (GreatNotEqual(scale, 0.0)) { in PaintGrayScale()
1394 matrix[0] = matrix[5] = matrix[10] = 0.2126f * scale; in PaintGrayScale()
1395 matrix[1] = matrix[6] = matrix[11] = 0.7152f * scale; in PaintGrayScale()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_modifier_test_ng.cpp1313 auto scale = std::max(blockSize.Width() / sliderContentModifier.shapeWidth_->Get(), in HWTEST_F() local
1315 EXPECT_FALSE(NearZero(scale)); in HWTEST_F()
1368 auto scale = std::max(blockSize.Width() / sliderContentModifier.shapeWidth_->Get(), in HWTEST_F() local
1370 EXPECT_FALSE(NearZero(scale)); in HWTEST_F()
1469 auto scale = std::max(blockSize.Width() / sliderContentModifier.shapeWidth_->Get(), in HWTEST_F() local
1471 EXPECT_FALSE(NearZero(scale)); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_test.cpp674 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap017 scale start"; in HWTEST_F()
680 pixelMap->scale(xAxis, yAxis); in HWTEST_F()
690 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap017 scale end"; in HWTEST_F()
2011 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMapSLR001 scale start"; in HWTEST_F()
2015 float xAxis = 1.5f; // 1.5f scale test in HWTEST_F()
2016 float yAxis = 1.8f; // 1.8f scale test in HWTEST_F()
2017 pixelMap->scale(xAxis, yAxis, AntiAliasingOption::SLR); in HWTEST_F()
2028 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMapSLR001 scale end"; in HWTEST_F()
2038 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMapSLR002 scale start"; in HWTEST_F()
2041 float xAxis = 0.7f; // 0.7f scale tes in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_title_util.cpp488 float scale = context->GetFontScale(); in HandleLongPress() local
489 if (LessNotEqual(scale, dialogTheme->GetBigFontSizeScale())) { in HandleLongPress()
491 "The current system font scale is %{public}f; dialogTheme font scale is %{public}f", scale, in HandleLongPress()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dnode_impl.cpp1129 BASE_NS::Math::Vec3 scale; in SetGlobalTransform() local
1133 if (BASE_NS::Math::Decompose(newLocal, scale, rotation, translate, skew, persp)) { in SetGlobalTransform()
1134 META_NS::SetValue(Scale(), scale); in SetGlobalTransform() local
H A Dmaterial_impl.cpp418 } else if (propertyName == ".transform.scale") { in BindTextureSlot()
536 if (auto scale = meta->GetPropertyByName(SCENE_NS::IMaterial::MAPPED_INPUTS_NORMAL_SCALE)) { in UpdateInputProperties()
538 meta->RemoveProperty(scale); in UpdateInputProperties()
737 if (auto scale = meta->GetPropertyByName(SCENE_NS::IMaterial::MAPPED_INPUTS_NORMAL_SCALE)) { in BindInputProperties()
738 BindChanges<BASE_NS::Math::Vec4, float>(GET_HOLDER(meta), META_NS::Property<float>(scale), meta, in BindInputProperties()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/drawable/
H A Drs_display_node_drawable_test.cpp320 const Drawing::scalar scale = 100.0f; in HWTEST_F() local
321 canvasMatrix.SetScale(scale, scale); in HWTEST_F()
660 * @tc.desc: Test ScaleAndRotateMirrorForWiredScreen while scale of width smaller
776 * @tc.desc: Test ScaleAndRotateMirrorForWiredScreen while scale of height smaller
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_display_render_node_drawable_test.cpp351 const Drawing::scalar scale = 100.0f; in HWTEST_F() local
352 canvasMatrix.SetScale(scale, scale); in HWTEST_F()
824 * @tc.desc: Test ScaleAndRotateMirrorForWiredScreen while scale of width smaller
854 * @tc.desc: Test ScaleAndRotateMirrorForWiredScreen while scale of height smaller
/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/
H A Dwindow_fuzzer.cpp840 float scale; in WindowImplFuzzTest01() local
843 startPos += GetObject<float>(scale, data + startPos, size - startPos); in WindowImplFuzzTest01()
844 WindowAccessibilityController::GetInstance().SetAnchorAndScale(x, y, scale); in WindowImplFuzzTest01()
/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp178 float scale = rect.width_ * 1.0f / rectWithoutZAxisOffset.width_; in ClearTransformZAxisOffset() local
179 trans.scaleX_ *= scale; in ClearTransformZAxisOffset()
180 trans.scaleY_ *= scale; in ClearTransformZAxisOffset()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dcolor_picker_napi.cpp811 unsigned int scale = 0; in IsBlackOrWhiteOrGrayColor() local
812 if (EFFECT_IS_OK(napi_get_value_uint32(env, argValue[0], &scale))) { in IsBlackOrWhiteOrGrayColor()
813 color = scale; in IsBlackOrWhiteOrGrayColor()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dweb_model_impl.cpp468 void WebModelImpl::InitialScale(float scale) in InitialScale() argument
472 webComponent->SetInitialScale(scale); in InitialScale()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h147 NATIVEEXPORT virtual void scale(float xAxis, float yAxis);
148 NATIVEEXPORT virtual void scale(float xAxis, float yAxis, const AntiAliasingOption &option);
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector_composed_element.cpp133 { "scale", [](const InspectorNode& inspector) { return inspector.GetScale(); } },
1041 const auto& scale = operation.scaleOperation_; in GetScale() local
1042 jsonValue->Put("x", std::to_string(scale.scaleX).c_str()); in GetScale()
1043 jsonValue->Put("y", std::to_string(scale.scaleY).c_str()); in GetScale()
1044 jsonValue->Put("z", std::to_string(scale.scaleZ).c_str()); in GetScale()
/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_setting_observer_test.cpp696 int scale = 1; in HWTEST_F() local
697 caption.SetFontScale(scale); in HWTEST_F()
1066 int scale = 1; in HWTEST_F() local
1067 caption.SetFontScale(scale); in HWTEST_F()
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_accessible_ability_manager_service.cpp703 int scale = 1; in HWTEST_F() local
704 caption.SetFontScale(scale); in HWTEST_F()
1073 int scale = 1; in HWTEST_F() local
1074 caption.SetFontScale(scale); in HWTEST_F()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1598 BASE_NS::Math::Vec3 scale; in SetupCameraTransform() local
1603 BASE_NS::Math::Decompose(invMat, scale, orientation, translation, skew, perspective); in SetupCameraTransform()
1707 BASE_NS::Math::Vec3 scale; in GetLightPositionAndRotation() local
1712 BASE_NS::Math::Decompose(invMat, scale, orientation, translation, skew, perspective); in GetLightPositionAndRotation()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp777 if (!ParseOptionalMath(loadResult, info.transform.scale, textureTransform, "scale", { 1.0f, 1.0f })) {
1014 if (!ParseOptionalNumber<float>(loadResult, normalTexture.scale, *normalJson, "scale", normalTexture.scale)) {
1113 if (!ParseOptionalNumber(loadResult, normalTexture.scale, clearcoat, "scale", normalTexture.scale)) {
2088 if (!ParseOptionalMath(loadResult, node.scale, jsonData, "scale", nod
[all...]

Completed in 60 milliseconds

1...<<11121314151617181920