Home
last modified time | relevance | path

Searched refs:scale_ (Results 1 – 25 of 66) sorted by relevance

123

/foundation/graphic/standard/rosen/modules/effect/effectChain/src/
Dscale_filter.cpp29 scale_ = *(scale); in SetValue()
31 LOGD("The scale is %{public}f.", scale_); in SetValue()
36 scale_ = scale; in SetScale()
41 data.textureHeight = std::floorf(scale_ * data.textureHeight); in DoProcess()
42 data.textureWidth = std::floorf(scale_ * data.textureWidth); in DoProcess()
/foundation/ace/ace_engine/frameworks/core/components/progress/
Drosen_render_loading_progress.cpp68 ….setMaskFilter(SkMaskFilter::MakeBlur(SkBlurStyle::kNormal_SkBlurStyle, ringBlurRadius_ * scale_)); in PaintRing()
71 ringBgPaint.setStrokeWidth(ringBgWidth_ * scale_); in PaintRing()
74 …etMaskFilter(SkMaskFilter::MakeBlur(SkBlurStyle::kNormal_SkBlurStyle, ringBgBlurRadius_ * scale_)); in PaintRing()
75 …canvas->drawCircle(offset.GetX(), offset.GetY(), ringRadius_ * scale_ * dragScale_ * exitScale_, r… in PaintRing()
81 ringPaint.setStrokeWidth(ringWidth_ * scale_); in PaintRing()
84 …canvas->drawCircle(offset.GetX(), offset.GetY(), ringRadius_ * scale_ * dragScale_ * exitScale_, r… in PaintRing()
99 if (!NearEqual(usedScale_, scale_)) { in PaintComet()
100 usedScale_ = scale_; in PaintComet()
119 RotateCalculate(cometCenter_ * scale_, rotatePos, para.angular); in PaintComet()
121 cometRadius_ * para.scale * scale_ * exitScale_, tailPaint); in PaintComet()
Dflutter_render_loading_progress.cpp72 ringBlurRadius_ * scale_)); in PaintRing()
76 ringBgPaint.paint()->setStrokeWidth(ringBgWidth_ * scale_); in PaintRing()
80 ringBgBlurRadius_ * scale_)); in PaintRing()
82 ringRadius_ * scale_ * dragScale_ * exitScale_, ringBgPaint, paintBgData); in PaintRing()
88 ringPaint.paint()->setStrokeWidth(ringWidth_ * scale_); in PaintRing()
92 ringRadius_ * scale_ * dragScale_ * exitScale_, ringPaint, paintData); in PaintRing()
107 if (!NearEqual(usedScale_, scale_)) { in PaintComet()
108 usedScale_ = scale_; in PaintComet()
127 RotateCalculate(cometCenter_ * scale_, rotatePos, para.angular); in PaintComet()
130 cometRadius_ * para.scale * scale_ * exitScale_, tailPaint); in PaintComet()
/foundation/ace/ace_engine/frameworks/core/components/root/
Drosen_render_root.cpp39 rsNode->SetScale(scale_); in Paint()
52 …rsNode->SetFrame(paintOffset.GetX() * scale_, paintOffset.GetY() * scale_, paintSize.Width() * sca… in SyncGeometryProperties()
53 paintSize.Height() * scale_); in SyncGeometryProperties()
Drender_root.h38 scale_ = scale; in SetScale()
43 return scale_; in GetScale()
83 float scale_ = 1.0f; variable
Dflutter_render_root.cpp55 matrix_.SetScale(scale_, scale_, scale_); in GetRenderLayer()
/foundation/ace/ace_engine/frameworks/core/components/toggle/
Drosen_render_toggle.cpp36 float translateX = GetLayoutSize().Width() / 2.0 * (1.0 - scale_); in UpdateLayer()
37 float translateY = GetLayoutSize().Height() / 2.0 * (1.0 - scale_); in UpdateLayer()
39 Matrix4 scaleMatrix = Matrix4::CreateScale(scale_, scale_, 1.0); in UpdateLayer()
102 return scale_ == 1; in HasEffectiveTransform()
Dflutter_render_toggle.cpp33 float translateX = GetLayoutSize().Width() / 2.0 * (1.0 - scale_); in UpdateLayer()
34 float translateY = GetLayoutSize().Height() / 2.0 * (1.0 - scale_); in UpdateLayer()
36 Matrix4 scaleMatrix = Matrix4::CreateScale(scale_, scale_, 1.0); in UpdateLayer()
Drender_toggle.cpp151 auto begin = scale_; in OnMouseHoverExitTest()
166 auto begin = scale_; in OnMouseClickDownAnimation()
181 auto begin = scale_; in OnMouseClickUpAnimation()
202 toggle->scale_ = value; in CreateFloatAnimation()
/foundation/graphic/standard/rosen/modules/render_service_base/include/property/
Drs_transition_properties.h41 scale_ *= scale; in DoScaleTransition()
58 return scale_; in GetScale()
68 Vector3f scale_ = { 1.0f, 1.0f, 1.0f }; variable
/foundation/ace/ace_engine/frameworks/core/components/transform/
Dclick_spring_effect.h55 return scale_; in GetScale()
60 scale_ = scale; in SetScale()
71 double scale_ { 1.0 };
Dclick_spring_effect.cpp24 double scale_; member
63 … GetScale(), effectProperty.scale_, effectProperty.velocity_, effectProperty.springProperty_); in ShowAnimation()
/foundation/ace/ace_engine/frameworks/core/components/svg/
Drosen_render_svg_pattern.cpp83 scale_ = std::min(scaleX_, scaleY_); in FitAttribute()
84 tx_ = tileRect.Width() * 0.5 - (viewBox_.Width() * 0.5 + viewBox_.Left()) * scale_; in FitAttribute()
85 ty_ = tileRect.Height() * 0.5 - (viewBox_.Height() * 0.5 + viewBox_.Top()) * scale_; in FitAttribute()
120 canvas->scale(SkDoubleToScalar(scale_), SkDoubleToScalar(scale_)); in FitRenderContext()
127 scale_ = 1.0f; in ResetAttrOffset()
Dflutter_render_svg_pattern.cpp91 scale_ = std::min(scaleX_, scaleY_); in FitAttribute()
92 tx_ = tileRect.Width() * 0.5 - (viewBox_.Width() * 0.5 + viewBox_.Left()) * scale_; in FitAttribute()
93 ty_ = tileRect.Height() * 0.5 - (viewBox_.Height() * 0.5 + viewBox_.Top()) * scale_; in FitAttribute()
133 skCanvas->scale(SkDoubleToScalar(scale_), SkDoubleToScalar(scale_)); in FitRenderContext()
140 scale_ = 1.0f; in ResetAttrOffset()
/foundation/ace/ace_engine/frameworks/core/components/list/
Dwatch_interactive_effect.h33 scaleBegin_ = scale_; in HandleOnClick()
35 scaleEnd_ = scale_ * theme_->GetClickScale(); // scale_ * 0.95; in HandleOnClick()
Dflutter_render_list_item.cpp99 if (!NearEqual(scale_, 1.0)) { in OnPaintFinish()
104 size = size * scale_; in OnPaintFinish()
105 accessibilityNode->SetScaleToChild(scale_); in OnPaintFinish()
107 globalOffset = Offset(size.Width() * (1 - scale_) / 2.0 + globalOffset.GetX(), in OnPaintFinish()
108 size.Height() * (1 - scale_) / 2.0 + globalOffset.GetY()); in OnPaintFinish()
117 UpdateItemFocusRect(scale_); in OnPaintFinish()
118 ShowFocusAnimation(IsFocused(), Rect(0.0, 0.0, 0.0, 0.0), scale_); in OnPaintFinish()
131 float translateX = GetLayoutSize().Width() * HALF_SIZE * (DEFAULT_SCALE - scale_); in UpdateTransformLayer()
132 float translateY = GetLayoutSize().Height() * HALF_SIZE * (DEFAULT_SCALE - scale_); in UpdateTransformLayer()
134 Matrix4 scaleMatrix = Matrix4::CreateScale(scale_, scale_, 1.0); in UpdateTransformLayer()
[all …]
Dtv_interactive_effect.h35 scaleBegin_ = scale_; in HandleOnFocus()
46 scaleBegin_ = scale_; in HandleOnBlur()
Dinteractive_effect.h59 return scale_; in GetScale()
63 scale_ = scale; in SetScale()
128 double scale_ = 1.0; // for canvas scale variable
Drosen_render_list_item.cpp85 if (!NearEqual(scale_, 1.0)) { in OnPaintFinish()
90 size = size * scale_; in OnPaintFinish()
91 accessibilityNode->SetScaleToChild(scale_); in OnPaintFinish()
93 globalOffset = Offset(size.Width() * (1 - scale_) / 2.0 + globalOffset.GetX(), in OnPaintFinish()
94 size.Height() * (1 - scale_) / 2.0 + globalOffset.GetY()); in OnPaintFinish()
103 UpdateItemFocusRect(scale_); in OnPaintFinish()
104 ShowFocusAnimation(IsFocused(), Rect(0.0, 0.0, 0.0, 0.0), scale_); in OnPaintFinish()
143 scale_ = GetScaleFactor(); in PaintWithFocusEffect()
149 scale_ = focusController_->GetScale(); in PaintWithFocusEffect()
/foundation/graphic/ui/frameworks/components/
Dui_button.cpp310 if ((animator_.GetState() == Animator::STOP) && FloatEqual(targetScale, scale_)) { in Start()
321 float x = isReverseAnimation_ ? (FULL_SCALE - scale_) : (scale_ - SHRINK_SCALE); in Start()
351 scale_ = isReverseAnimation_ ? (FULL_SCALE - scale) : (scale + SHRINK_SCALE); in Callback()
352 ScaleButton(button_, scale_); in Callback()
358 scale_ = SHRINK_SCALE; in OnStop()
361 scale_ = FULL_SCALE; in OnStop()
/foundation/graphic/utils/frameworks/
Dtransform.cpp24 scale_ = Matrix4<float>::Scale(Vector3<float>(1.0f, 1.0f, 1.0f), Vector3<float>(0, 0, 0)); in TransformMap()
29 trans_[SCALE] = &scale_; in TransformMap()
44 scale_ = Matrix4<float>::Scale(Vector3<float>(1.0f, 1.0f, 1.0f), Vector3<float>(0, 0, 0)); in TransformMap()
49 trans_[SCALE] = &scale_; in TransformMap()
165 if (rotate_ == other.rotate_ && translate_ == other.translate_ && scale_ == other.scale_ && in operator ==()
192 trans_[SCALE] = &scale_; in UpdateMap()
201 scale_ = Matrix4<float>::Scale(scaleCoeff_, in UpdateMap()
/foundation/ace/ace_engine/frameworks/core/gestures/
Dpinch_recognizer.cpp109 scale_ = currentDev_ / initialDev_; in HandleTouchMoveEvent()
114 scale_ = currentDev_ / initialDev_; in HandleTouchMoveEvent()
193 info.SetScale(scale_); in SendCallbackMsg()
/foundation/graphic/ui/test/uitest/test_transform/
Dui_test_transform.cpp183 scale_ += 0.1f; // 0.1: increase scale in OnClick()
187 SetTransMap(angle_, scale_, trans_, pivot); in OnClick()
238 scale_ = scale; in SetTransMap()
243 transMap.Scale(Vector2<float>(scale_, scale_), pivot); in SetTransMap()
/foundation/graphic/standard/rosen/modules/effect/effectChain/include/
Dscale_filter.h36 float scale_ = DEFAULT_SACLE; variable
/foundation/graphic/utils/interfaces/kits/gfx_utils/
Dtransform.h169 return scale_; in GetScaleMatrix()
260 Matrix4<float> scale_; variable

123