Searched refs:sVelocityScale_ (Results 1 – 5 of 5) sorted by relevance
74 std::optional<double> Scrollable::sVelocityScale_ = std::nullopt; member in OHOS::Ace::NG::Scrollable81 sVelocityScale_ = sVelocityScale; in SetVelocityScale()436 …correctVelocity = -correctVelocity * sVelocityScale_.value_or(velocityScale_) * GetGain(GetDragOff… in LayoutDirectionEst()438 …correctVelocity = correctVelocity * sVelocityScale_.value_or(velocityScale_) * GetGain(GetDragOffs… in LayoutDirectionEst()
539 static std::optional<double> sVelocityScale_; variable
54 double Scrollable::sVelocityScale_ = VELOCITY_SCALE; member in OHOS::Ace::Scrollable61 sVelocityScale_ = sVelocityScale; in SetVelocityScale()605 correctVelocity = correctVelocity * sVelocityScale_ * GetGain(GetDragOffset()); in HandleDragEnd()
541 static double sVelocityScale_; variable
366 EXPECT_EQ(scrollable->sVelocityScale_.value_or(0.0), sVelocityScale);372 EXPECT_EQ(scrollable->sVelocityScale_.value_or(0.0), sVelocityScale);