Home
last modified time | relevance | path

Searched refs:step_ (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_slider.cpp25 sliderChild_ = AceType::MakeRefPtr<SliderComponent>(val_, step_, min_, max_); in DOMSlider()
85 slider.step_ = StringToDouble(val) > 0 ? StringToDouble(val) : slider.step_; in SetSpecializedAttr()
158 if (LessOrEqual(step_, 0.0) || step_ > max_ - min_) { in PrepareSpecializedComponent()
159 step_ = max_ - min_; in PrepareSpecializedComponent()
173 sliderChild_->SetStepValue(step_); in PrepareSpecializedComponent()
H A Ddom_slider.h60 double step_ = 1.0; member in OHOS::Ace::Framework::final
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_builder_test_ng.cpp171 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
208 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
245 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
282 EXPECT_EQ(10.0f, config.step_); in HWTEST_F()
320 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
358 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
396 EXPECT_EQ(10.0f, config.step_); in HWTEST_F()
434 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
472 EXPECT_EQ(20.0f, config.step_); in HWTEST_F()
510 EXPECT_EQ(20.0f, config.step_); in HWTEST_F()
[all...]
H A Dslider_content_modifier_test_ng.cpp169 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
206 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
243 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
280 EXPECT_EQ(100.0f, config.step_); in HWTEST_F()
318 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
356 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
394 EXPECT_EQ(100.0f, config.step_); in HWTEST_F()
432 EXPECT_EQ(1.0f, config.step_); in HWTEST_F()
470 EXPECT_EQ(100.0f, config.step_); in HWTEST_F()
508 EXPECT_EQ(100.0f, config.step_); in HWTEST_F()
[all...]
H A Dslider_pattern_test_ng.cpp960 EXPECT_EQ(STEP, config.step_); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/watch_slider/
H A Dwatch_slider_component.h61 return step_; in GetStep()
66 step_ = step; in SetStep()
167 double step_ = 1.0; member in OHOS::Ace::WatchSliderComponent
H A Drender_watch_slider.h55 double step_ = 1.0; member in OHOS::Ace::RenderWatchSlider
H A Drender_watch_slider.cpp75 step_ = sliderComponent->GetStep(); in Update()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_progress.h203 step_ = step; in SetStep()
216 return step_; in GetStep()
329 uint32_t step_; member in OHOS::UIAbstractProgress
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_sql_statistic.cpp63 step_ = step; in SqlStatistic()
81 if (step_ == STEP_PREPARE && !sql.empty()) { in SqlStatistic()
95 switch (step_) { in ~SqlStatistic()
/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drender_slider.cpp62 step_ = slider->GetStep(); in Update()
82 if (min_ >= max_ || step_ > (max_ - min_) || step_ <= 0.0) { in Update()
562 if (NearEqual(step_, 0.0)) { in RenderBlockPosition()
570 double stepRatio = step_ / (max_ - min_); in RenderBlockPosition()
606 double stepRatio = step_ / (max_ - min_); in UpdateBlockPosition()
699 totalRatio_ -= step_ / (max_ - min_); in HandleFocusEvent()
708 totalRatio_ += step_ / (max_ - min_); in HandleFocusEvent()
830 jsonObj->Put("step", step_); in ProvideRestoreInfo()
859 step_ in ApplyRestoreInfo()
[all...]
H A Drender_slider.h115 return step_; in GetStep()
192 return mode_ == SliderMode::INSET && GreatNotEqual(step_, DEFAULT_STEP); in NeedSmoothMoving()
275 double step_ = DEFAULT_STEP; member in OHOS::Ace::RenderSlider
H A Drosen_render_slider.cpp178 double stepLength = step_ * trackLength_ / (max_ - min_); in ProcessTrack()
196 double stepLength = step_ * trackLength_ / (max_ - min_); in ProcessTrack()
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drender_bubble_progress.h69 int32_t step_ = 0; member in OHOS::Ace::RenderBubbleProgress
H A Drender_bubble_progress.cpp43 bubble->step_ = static_cast<int32_t>(progress); in OnPostFlush()
44 float fraction = progress - bubble->step_; in OnPostFlush()
H A Drosen_render_bubble_progress.cpp52 int32_t lightToDarkIndex = 7 - step_; in Paint()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_progress.cpp33 step_(1), in UIAbstractProgress()
100 (MATH_ABS(curValue_ - lastValue_) >= static_cast<int32_t>(step_)))) { in SetValue()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_sql_statistic.h53 int32_t step_ = 0; member in OHOS::DistributedRdb::SqlStatistic
/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/
H A Dcamera_manager.h145 float step_; member in OHOS_NDK_CAMERA::NDKCamera
H A Dcamera_manager.cpp36 minExposureBias_(0), maxExposureBias_(0), step_(0), in NDKCamera()
661 &maxExposureBias_, &step_); in IsExposureBiasRange()
662 if (&minExposureBias_ == nullptr || &maxExposureBias_ == nullptr || &step_ == nullptr || ret != CAMERA_OK) { in IsExposureBiasRange()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_model_ng.h28 : CommonConfiguration(enabled), value_(value), min_(min), max_(max), step_(step) in SliderConfiguration()
33 double step_; member in OHOS::Ace::NG::SliderConfiguration
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_slider_bridge.cpp615 panda::NumberRef::New(vm, config.step_), panda::BooleanRef::New(vm, config.enabled_), in SetContentModifierBuilder()

Completed in 15 milliseconds