/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_slider.cpp | 25 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 D | dom_slider.h | 60 double step_ = 1.0; member in OHOS::Ace::Framework::final
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_builder_test_ng.cpp | 171 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 D | slider_content_modifier_test_ng.cpp | 169 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 D | slider_pattern_test_ng.cpp | 960 EXPECT_EQ(STEP, config.step_); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/watch_slider/ |
H A D | watch_slider_component.h | 61 return step_; in GetStep() 66 step_ = step; in SetStep() 167 double step_ = 1.0; member in OHOS::Ace::WatchSliderComponent
|
H A D | render_watch_slider.h | 55 double step_ = 1.0; member in OHOS::Ace::RenderWatchSlider
|
H A D | render_watch_slider.cpp | 75 step_ = sliderComponent->GetStep(); in Update()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_abstract_progress.h | 203 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 D | rdb_sql_statistic.cpp | 63 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 D | render_slider.cpp | 62 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 D | render_slider.h | 115 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 D | rosen_render_slider.cpp | 178 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 D | render_bubble_progress.h | 69 int32_t step_ = 0; member in OHOS::Ace::RenderBubbleProgress
|
H A D | render_bubble_progress.cpp | 43 bubble->step_ = static_cast<int32_t>(progress); in OnPostFlush() 44 float fraction = progress - bubble->step_; in OnPostFlush()
|
H A D | rosen_render_bubble_progress.cpp | 52 int32_t lightToDarkIndex = 7 - step_; in Paint()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_abstract_progress.cpp | 33 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 D | rdb_sql_statistic.h | 53 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 D | camera_manager.h | 145 float step_; member in OHOS_NDK_CAMERA::NDKCamera
|
H A D | camera_manager.cpp | 36 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 D | slider_model_ng.h | 28 : 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 D | arkts_native_slider_bridge.cpp | 615 panda::NumberRef::New(vm, config.step_), panda::BooleanRef::New(vm, config.enabled_),
in SetContentModifierBuilder()
|