/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | gltf_animation.h | 27 : name_(name), state_(state), repeatCount_(repeatCount), speed_(speed), in GLTFAnimation() 34 float GetSpeed() const { return speed_; } in GetSpeed() 42 float speed_ = 1.0; member in OHOS::Render3D::GLTFAnimation
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_animation_timing_protocol.h | 55 speed_ = speed; in SetSpeed() 100 return speed_; in GetSpeed() 139 float speed_ { 1.0f };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | toss_animation_controller.cpp | 73 speed_ = column->GetMainVelocity() / VELOCTY_TRANS; in Play() 74 if (std::abs(speed_) < PICKER_SPEED_TH) { in Play() 152 speed_ = std::abs(speed_) >= std::abs(velocityMax) ? std::abs(velocityMax) : std::abs(speed_); in UpdatePlayAnimationValue() 153 showCount_ = static_cast<int>(DISMIN + (showCountMax - DISMIN) * (std::abs(speed_) - VMIN) / (velocityMax - VMIN)); in UpdatePlayAnimationValue() 154 return AceType::MakeRefPtr<InterpolatingSpring>(speed_, mass, stiffness, damping); in UpdatePlayAnimationValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | toss_animation_controller.cpp | 73 speed_ = column->GetMainVelocity() / VELOCTY_TRANS; in Play() 74 if (std::abs(speed_) < PICKER_SPEED_TH) { in Play() 154 speed_ = std::abs(speed_) >= std::abs(VMAX) ? std::abs(VMAX) : std::abs(speed_); in UpdatePlayAnimationValue() 155 showCount_ = static_cast<int>(DISMIN + (DISMAX - DISMIN) * (std::abs(speed_) - VMIN) / (VMAX - VMIN)); in UpdatePlayAnimationValue() 157 speed_, PICKER_SPRING_MASS, PICKER_SPRING_STIFFNESS, PICKER_SPRING_DAMPING); in UpdatePlayAnimationValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | toss_animation_controller.cpp | 75 speed_ = column->GetMainVelocity() / VELOCTY_TRANS; in Play() 76 if (std::abs(speed_) < PICKER_SPEED_TH) { in Play() 156 speed_ = std::abs(speed_) >= std::abs(velocityMax) ? std::abs(velocityMax) : std::abs(speed_); in UpdatePlayAnimationValue() 157 showCount_ = static_cast<int>(DISMIN + (showCountMax - DISMIN) * (std::abs(speed_) - VMIN) / (velocityMax - VMIN)); in UpdatePlayAnimationValue() 158 return AceType::MakeRefPtr<InterpolatingSpring>(speed_, mass, stiffness, damping); in UpdatePlayAnimationValue()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | slide_gesture.h | 34 speed_ = speed; in SwipeGesture() 44 double speed_ = 0.0; member in OHOS::Ace::SwipeGesture
|
H A D | slide_recognizer.h | 34 : direction_(direction), speed_(speed), context_(context) in SlideRecognizer() 37 newSpeed_ = speed_; in SlideRecognizer() 77 double speed_ = 0.0; member in OHOS::Ace::SlideRecognizer
|
H A D | slide_recognizer.cpp | 62 speed_ = newSpeed_; in HandleTouchDownEvent() 90 speed_ = newSpeed_; in HandleTouchDownEvent() 171 if (speed_ >= slidingSpeed) { in HandleTouchUpEvent() 209 if (resultSpeed_ > speed_) { in HandleTouchUpEvent() 432 speed_ = curr->speed_; in ReconcileFrom() 457 if (speed_ != speed) { in ChangeSpeed() 459 speed_ = speed; in ChangeSpeed()
|
H A D | gesture_event.h | 152 speed_ = speed; in SetSpeed() 157 return speed_; in GetSpeed() 347 double speed_ = 0.0; member in OHOS::OHOS::Ace::GestureEvent
|
H A D | slide_gesture.cpp | 29 double speed = newContext->NormalizeToPx(Dimension(speed_, DimensionUnit::VP)); in CreateRecognizer()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/ |
H A D | swipe_gesture.h | 34 speed_ = speed; in SwipeGesture() 51 double speed_ = 0.0; member in OHOS::Ace::NG::SwipeGesture
|
H A D | base_gesture_event.h | 199 speed_ = speed; in SetSpeed() 204 return speed_; in GetSpeed() 209 double speed_ = 0.0; member in OHOS::Ace::SwipeGestureEvent
|
H A D | swipe_gesture.cpp | 28 double speed = context->NormalizeToPx(Dimension(speed_, DimensionUnit::VP)); in CreateRecognizer()
|
/foundation/multimedia/av_session/frameworks/common/src/ |
H A D | avplayback_state.cpp | 28 parcel.WriteDouble(speed_) && in Marshalling() 54 !parcel.ReadDouble(result->speed_) || in Unmarshalling() 83 speed_ > 0 && in IsValid() 102 speed_ = speed; in SetSpeed() 184 return speed_; in GetSpeed() 288 to.speed_ = from.speed_; in CloneSpeed()
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/ |
H A D | player_sync.cpp | 74 int64_t trickTimeElapseUs = (int64_t)(realTimeElapseUs * speed_); in TPlayProcess() 86 int64_t latenessMs = (speed_ != 0) ? (latenessUs / ((int)(speed_ * MS_SCALE))) : 0; in TPlayProcess() 160 speed_ = 1.0; in PlayerSync() 240 speed_ = speed; in SetSpeed() 241 isInTrickPlayMode_ = (speed_ != 1.0) ? true : false; in SetSpeed() 256 speed_ = 1.0; in Resume()
|
H A D | player_sink_manager.cpp | 32 : speed_(1.0f), direction_(TPLAY_DIRECT_BUTT), in SinkManager() 178 if ((audioSinkInfo_[0].sink == nullptr || recieveAudioEos_ || speed_ != 1.0) && in Pause() 239 speed_ = 1.0; in TplayToNormal() 270 speed_ = speed; in Tplay() 277 if (speed_ == speed && tplayDirect == direction_) { in SetSpeed() 290 speed = speed_; in GetSpeed() 446 if ((speed_ != 1.0 && videoSinkInfo_[0].sink != nullptr) || audioSinkInfo_[0].sink == nullptr) { in GetRenderPosition()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_fraction.cpp | 95 runningTime_ += static_cast<int64_t>(deltaTime * speed_ / animationScale); in IsStartRunning() 101 runningTime_ -= static_cast<int64_t>(deltaTime * speed_ / animationScale); in IsStartRunning() 243 speed_ = speed_ * ratio; in UpdateRemainTimeFraction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 722 return speed_; in GetSpeedRange() 726 speed_ = speed; in SetSpeedRange() 739 return NearEqual(speed_.first, other.GetSpeedRange().first) && in operator ==() 740 NearEqual(speed_.second, other.GetSpeedRange().second) && in operator ==() 749 .append(std::to_string(speed_.first)) in ToString() 751 .append(std::to_string(speed_.second)) in ToString() 762 std::pair<float, float> speed_; member 770 return speed_; in GetSpeed() 775 speed_ = speed; in SetSpeed() 790 return (speed_ in operator ==() 802 std::optional<ParticleFloatPropertyOption> speed_; global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | toss_animation_controller.cpp | 75 speed_ = speed; in Play() 90 distance = (distance - 1.0) * ref->speed_ / std::log(DRAG); in Play()
|
H A D | toss_animation_controller.h | 53 double speed_ = 0.0; member in OHOS::Ace::TossAnimationController
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | swipe_recognizer.h | 34 : MultiFingersRecognizer(fingers), direction_(direction), speed_(speed) in SwipeRecognizer() 76 double speed_ = 0.0; member in OHOS::Ace::NG::SwipeRecognizer
|
H A D | swipe_recognizer.cpp | 170 if (resultSpeed_ < speed_) { in HandleTouchUpEvent() 173 resultSpeed_, speed_); in HandleTouchUpEvent() 222 if (resultSpeed_ < speed_) { in HandleTouchUpEvent() 459 if (curr->fingers_ != fingers_ || (curr->direction_.type != direction_.type) || !NearZero(curr->speed_ - speed_) || in ReconcileFrom() 475 << "speed: " << speed_ << ", " in Dump()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_label.cpp | 31 speed_(0), in LabelAnimator() 78 float floatStep = (static_cast<float>(time * speed_) / 1000) + decimal_; 95 speed_ = animSpeed; in SetAnimatorSpeed() 101 return speed_; in GetAnimatorSpeed() 111 uint16_t speed_; member in OHOS::LabelAnimator
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_component.h | 114 speed_ = speed; in SetSpeed() 120 return speed_; in GetSpeed() 358 float speed_ = 1.0f; member in OHOS::Ace::VideoComponent
|
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_speed.cpp | 99 speed_ = speed; in SetSpeed() 100 sonicSetSpeed(sonicStream_, speed_); in SetSpeed() 106 return speed_; in GetSpeed()
|