/foundation/graphic/standard/rosen/modules/effect/effectChain/src/ |
D | scale_filter.cpp | 29 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/ |
D | rosen_render_loading_progress.cpp | 68 ….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()
|
D | flutter_render_loading_progress.cpp | 72 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/ |
D | rosen_render_root.cpp | 39 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()
|
D | render_root.h | 38 scale_ = scale; in SetScale() 43 return scale_; in GetScale() 83 float scale_ = 1.0f; variable
|
D | flutter_render_root.cpp | 55 matrix_.SetScale(scale_, scale_, scale_); in GetRenderLayer()
|
/foundation/ace/ace_engine/frameworks/core/components/toggle/ |
D | rosen_render_toggle.cpp | 36 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()
|
D | flutter_render_toggle.cpp | 33 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()
|
D | render_toggle.cpp | 151 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/ |
D | rs_transition_properties.h | 41 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/ |
D | click_spring_effect.h | 55 return scale_; in GetScale() 60 scale_ = scale; in SetScale() 71 double scale_ { 1.0 };
|
D | click_spring_effect.cpp | 24 double scale_; member 63 … GetScale(), effectProperty.scale_, effectProperty.velocity_, effectProperty.springProperty_); in ShowAnimation()
|
/foundation/ace/ace_engine/frameworks/core/components/svg/ |
D | rosen_render_svg_pattern.cpp | 83 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()
|
D | flutter_render_svg_pattern.cpp | 91 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/ |
D | watch_interactive_effect.h | 33 scaleBegin_ = scale_; in HandleOnClick() 35 scaleEnd_ = scale_ * theme_->GetClickScale(); // scale_ * 0.95; in HandleOnClick()
|
D | flutter_render_list_item.cpp | 99 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 …]
|
D | tv_interactive_effect.h | 35 scaleBegin_ = scale_; in HandleOnFocus() 46 scaleBegin_ = scale_; in HandleOnBlur()
|
D | interactive_effect.h | 59 return scale_; in GetScale() 63 scale_ = scale; in SetScale() 128 double scale_ = 1.0; // for canvas scale variable
|
D | rosen_render_list_item.cpp | 85 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/ |
D | ui_button.cpp | 310 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/ |
D | transform.cpp | 24 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/ |
D | pinch_recognizer.cpp | 109 scale_ = currentDev_ / initialDev_; in HandleTouchMoveEvent() 114 scale_ = currentDev_ / initialDev_; in HandleTouchMoveEvent() 193 info.SetScale(scale_); in SendCallbackMsg()
|
/foundation/graphic/ui/test/uitest/test_transform/ |
D | ui_test_transform.cpp | 183 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/ |
D | scale_filter.h | 36 float scale_ = DEFAULT_SACLE; variable
|
/foundation/graphic/utils/interfaces/kits/gfx_utils/ |
D | transform.h | 169 return scale_; in GetScaleMatrix() 260 Matrix4<float> scale_; variable
|