Home
last modified time | relevance | path

Searched refs:w_ (Results 1 - 25 of 52) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dquaternion.h26 Quaternion(double x, double y, double z, double w) : x_(x), y_(y), z_(z), w_(w) {} in Quaternion()
43 return w_; in GetW()
59 w_ = w; in SetW()
67 auto w = this->w_ + q.w_; in operator +()
73 auto x = w_ * q.x_ + x_ * q.w_ + y_ * q.z_ - z_ * q.y_; in operator *()
74 auto y = w_ * q.y_ - x_ * q.z_ + y_ * q.w_ + z_ * q.x_; in operator *()
75 auto z = w_ * in operator *()
110 double w_ = 0.0; global() member in OHOS::Ace::Quaternion
[all...]
H A Dquaternion.cpp35 double cosHalfAngle = from.x_ * to.x_ + from.y_ * to.y_ + from.z_ * to.z_ + from.w_ * to.w_; in Slerp()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/
H A Dquaternion.h26 Quaternion(float x, float y, float z, float w) : x_(x), y_(y), z_(z), w_(w) {} in Quaternion()
41 return w_; in GetW()
57 w_ = w; in SetW()
61 return (x_ == other.x_) && (y_ == other.y_) && (z_ == other.z_) && (w_ == other.w_); in operator ==()
70 float w_; member
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_model.cpp152 w_ = sqrt(HIGH_RATIO * spring->Mass() * spring->Stiffness() - spring->Damping() * spring->Damping()) / in UnderdampedModel()
156 if (!NearEqual(w_, 0.0)) { in UnderdampedModel()
157 c2_ = (velocity - r_ * distance) / w_; in UnderdampedModel()
164 return exp(r_ * time) * (c1_ * cos(w_ * time) + c2_ * sin(w_ * time)); in Position()
170 double cosine = cos(w_ * time); in Velocity()
171 double sine = sin(w_ * time); in Velocity()
172 return power * (c2_ * w_ * cosine - c1_ * w_ * sine) + r_ * power * (c2_ * sine + c1_ * cosine); in Velocity()
H A Dspring_model.h149 double w_ = 0.0; member in OHOS::Ace::UnderdampedModel
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/
H A Dutils.h29 return (ROSEN_GE(para.x_, 0.f) && ROSEN_GE(para.y_, 0.f) && ROSEN_GE(para.z_, 0.f) && ROSEN_GE(para.w_, 0.f)) || in IsParaSameSign()
30 (ROSEN_LE(para.x_, 0.f) && ROSEN_LE(para.y_, 0.f) && ROSEN_LE(para.z_, 0.f) && ROSEN_LE(para.w_, 0.f)); in IsParaSameSign()
47 std::clamp(para.z_, limits.first, limits.second), std::clamp(para.w_, limits.first, limits.second));
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgraphic_modifier.cpp57 radii[SkRRect::kLowerLeft_Corner].set(radius_->Get().w_, radius_->Get().w_); in MakeRRect()
71 radii[RSRoundRect::BOTTOM_LEFT_POS] = {radius_->Get().w_, radius_->Get().w_}; in MakeRRect()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_texture_export.cpp54 virtualRootNode_->SetBounds({-bounds.x_, -bounds.y_, bounds.z_, bounds.w_}); in DoTextureExport()
56 virtualRootNode_->SetFrame({-frame.x_, -frame.y_, frame.z_, frame.w_}); in DoTextureExport()
H A Drs_canvas_node.cpp170 return frame.w_ <= 0.f ? GetStagingProperties().GetBounds().w_ : frame.w_; in GetPaintHeight()
H A Drs_root_node.cpp111 std::make_unique<RSRootNodeUpdateSuggestedBufferSize>(GetId(), bounds.z_, bounds.w_); in OnBoundsSizeChanged()
H A Drs_display_node.cpp145 (uint32_t)bounds.z_, (uint32_t)bounds.w_); in OnBoundsSizeChanged()
146 std::unique_ptr<RSCommand> command = std::make_unique<RSDisplayNodeSetRogSize>(GetId(), bounds.z_, bounds.w_); in OnBoundsSizeChanged()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_trace_utils.cpp63 "w:" + std::to_string(property->Get().w_); in ParseRenderPropertyVauleInner()
90 "w:" + std::to_string(property->Get().w_); in ParseRenderPropertyVauleInner()
100 "w:" + std::to_string(property->Get().w_.AsRgbaInt()); in ParseRenderPropertyVauleInner()
/foundation/arkui/ui_lite/test/uitest/test_layout/
H A Dui_test_advanced_layout.h87 int16_t w_ = 10; // 10: width member in OHOS::UITestAdvancedLayout
114 view->Resize(w_++, h_++); in AddElement()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_transition_effect.cpp92 if (axisAngle.w_ == 0.0f) { in Rotate()
96 auto angleRadian = axisAngle.w_ * DEGREE_TO_RADIAN; in Rotate()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/
H A Drs_render_property.cpp385 out += " bottom:" + std::to_string(v4.w_) + "]"; in Dump()
392 out += std::to_string(v4.w_) + "]"; in Dump()
411 ss << "[left:" << v4f.x_ << " top:" << v4f.y_ << " right:" << v4f.z_ << " bottom:" << v4f.w_ << + "]"; in Dump()
417 << " bottomRight:" << v4f.z_ << " bottomLeft:" << v4f.w_ << + "]"; in Dump()
421 ss << "[x:" << v4f.x_ << " y:" << v4f.y_ << " width:" << v4f.z_ << " height:" << v4f.w_ << + "]"; in Dump()
425 ss << "[x:" << v4f.x_ << " y:" << v4f.y_ << " z:" << v4f.z_ << " w:" << v4f.w_ << + "]"; in Dump()
438 ss << "[x:" << q.x_ << " y:" << q.y_ << " z:" << q.z_ << " w:" << q.w_ << + "]"; in Dump()
484 v4Color.w_.Dump(out); in Dump()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dtransform.cpp292 if (!FloatEqual(imgPoint4.w_, 1)) { in SetMatrix()
295 if (!FloatEqual(imgPoint4.w_, 0)) { in SetMatrix()
296 imgPoint4.x_ /= imgPoint4.w_; in SetMatrix()
297 imgPoint4.y_ /= imgPoint4.w_; in SetMatrix()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_pointer_window_demo.cpp50 x, y, surfaceNode->GetStagingProperties().GetBounds().z_, surfaceNode->GetStagingProperties().GetBounds().w_); in MoveTo()
102 surfaceNode->GetStagingProperties().GetBounds().w_); in InitSurfaceStyle()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_point_light_manager.cpp175 lightPos.w_ = lightPosition.w_; in CalculateLightPosForIlluminated()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_surface_node_test.cpp94 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[3])); in HWTEST_F()
112 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[0])); in HWTEST_F()
130 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[0])); in HWTEST_F()
149 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[3])); in HWTEST_F()
168 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[0])); in HWTEST_F()
187 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[0])); in HWTEST_F()
271 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[1])); in HWTEST_F()
285 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[2])); in HWTEST_F()
299 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSrc::limitNumber::floatLimit[3])); in HWTEST_F()
313 EXPECT_TRUE(ROSEN_EQ(bounds.w_, TestSr in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp144 if (color.x_ == color.y_ && color.x_ == color.z_ && color.x_ == color.w_) { in SetColorFour()
147 colors_ = { color.x_, color.y_, color.z_, color.w_ }; in SetColorFour()
152 if (width.x_ == width.y_ && width.x_ == width.z_ && width.x_ == width.w_) { in SetWidthFour()
155 widths_ = { width.x_, width.y_, width.z_, width.w_ }; in SetWidthFour()
160 if (style.x_ == style.y_ && style.x_ == style.z_ && style.x_ == style.w_) { in SetStyleFour()
164 static_cast<BorderStyle>(style.z_), static_cast<BorderStyle>(style.w_) }; in SetStyleFour()
169 radius_ = { radius.x_, radius.y_, radius.z_, radius.w_ }; in SetRadiusFour()
174 if (dashWidth.x_ == dashWidth.y_ && dashWidth.x_ == dashWidth.z_ && dashWidth.x_ == dashWidth.w_) { in SetDashWidthFour()
177 dashWidth_ = { dashWidth.x_, dashWidth.y_, dashWidth.z_, dashWidth.w_ }; in SetDashWidthFour()
182 if (dashGap.x_ == dashGap.y_ && dashGap.x_ == dashGap.z_ && dashGap.x_ == dashGap.w_) { in SetDashGapFour()
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_circle_drawing_manager.cpp311 surfaceNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation()
321 canvasNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation()
325 canvasNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp694 builder->SetUniform("ubo_degree", params.rates_.w_); in MakeDynamicBrightnessBlender()
778 float thresholdLow = aiInvert->z_ - aiInvert->w_; in DrawBinarization()
779 float thresholdHigh = aiInvert->z_ + aiInvert->w_; in DrawBinarization()
798 std::isinf(pixelStretch->z_) || std::isinf(pixelStretch->w_)) { in DrawPixelStretch()
842 bounds.GetRight() + pixelStretch->z_, bounds.GetBottom() + pixelStretch->w_); in DrawPixelStretch()
888 if (pixelStretch->x_ > EPS || pixelStretch->y_ > EPS || pixelStretch->z_ > EPS || pixelStretch->w_ > EPS) { in DrawPixelStretch()
1081 Drawing::Rect rect = Drawing::Rect(0, 0, boundsRect.z_, boundsRect.w_); in GetInvertBackgroundColor()
1295 if (pixelStretch->x_ > EPS || pixelStretch->y_ > EPS || pixelStretch->z_ > EPS || pixelStretch->w_ > EPS) { in RSFilterSetPixelStretch()
1305 std::abs(pixelStretch->w_), in RSFilterSetPixelStretch()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_common.h119 uint32_t w_ = 0; member
H A Dtester_common.cpp241 w_ = opt_.dispW; in RunEncoder()
280 w_ = param.dispW; in UpdateMemberFromResourceParam()
413 BufferRequestConfig cfg = {w_, h_, 32, displayFmt_, in WaitForInputSurfaceBuffer()
429 .w = w_, in ReturnInputSurfaceBuffer()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_math.h286 T w_; member
296 Vector4() : x_(0), y_(0), z_(0), w_(1) {} in Vector4()
325 return (x_ == other.x_) && (y_ == other.y_) && (z_ == other.z_) && (w_ == other.w_); in operator ==()

Completed in 17 milliseconds

123