Home
last modified time | relevance | path

Searched refs:stepSize_ (Results 1 - 19 of 19) sorted by relevance

/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/source/
H A Dpcm_iterator.cpp32 : stepSize_(1), in PCMIterator()
62 stepSize_ = stepSize; in Init()
65 size_t maxNumSlide = (maxNumRemain - 1) / stepSize_; in Init()
66 maxCacheSize_ = maxNumSlide * stepSize_ + windowSize_; in Init()
122 int32_t diff = numRealCopy_ - windowSize_ + stepSize_; in Prepare()
185 nextCachePos_ += stepSize_; in Next()
186 pcmCache_.size -= stepSize_; in Next()
188 int32_t diff = windowSize_ - stepSize_ - numRealCopy_; in Next()
195 pcmData_.data += stepSize_; in Next()
196 pcmData_.size -= stepSize_; in Next()
[all...]
/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/source/
H A Dslide_window_processor.cpp41 stepSize_(0) {} in SlideWindowProcessor()
74 stepSize_ = localConfig.stepSize * typeSize_; in Init()
75 initIndex_ = (windowSize_ * typeSize_) - stepSize_; in Init()
116 if (inputBytes != stepSize_) { in Process()
117 HILOGE("[SlideWindowProcessor]Fail with unmatched input dataSize, expected [%zu]", stepSize_ / typeSize_); in Process()
133 startIndex_ += stepSize_; in Process()
135 inputFeature_ += stepSize_; in Process()
137 if (bufferSize_ - startIndex_ < stepSize_) { in Process()
/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.cpp38 stepSize_ = rating->GetStepSize(); in Update()
226 (!needReverse_ && NearEqual(drawScore_, stepSize_)) || (needReverse_ && NearEqual(drawScore_, starNum_)); in StarMovingBackward()
230 drawScore_ = needReverse_ ? (drawScore_ + stepSize_) : (drawScore_ - stepSize_); in StarMovingBackward()
231 ConstrainScore(drawScore_, stepSize_, starNum_); in StarMovingBackward()
241 (!needReverse_ && NearEqual(drawScore_, starNum_)) || (needReverse_ && NearEqual(drawScore_, stepSize_)); in StarMovingForward()
245 drawScore_ = needReverse_ ? (drawScore_ - stepSize_) : (drawScore_ + stepSize_); in StarMovingForward()
246 ConstrainScore(drawScore_, stepSize_, starNum_); in StarMovingForward()
392 ratingScore_ = (ratingScore_ > stepSize_) in HandleTouchEvent()
[all...]
H A Drating_component.h76 return stepSize_; in GetStepSize()
81 stepSize_ = stepSize; in SetStepSize()
287 double stepSize_ = 0.5; member in OHOS::Ace::RatingComponent
H A Drating_theme.h62 theme->stepSize_ = pattern->GetAttr<double>("rating_step_size", 0.0); in Build()
119 return stepSize_; in GetStepSize()
222 double stepSize_ = 0.0; member in OHOS::Ace::RatingTheme
H A Drender_rating.h82 return stepSize_; in GetStepSize()
176 double stepSize_ = DEFAULT_RATING_STEP_SIZE; member in OHOS::Ace::RenderRating
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_rating.cpp52 rating.stepSize_.first = StringToDouble(val); in SetSpecializedAttr()
53 rating.stepSize_.second = true; in SetSpecializedAttr()
162 if (stepSize_.second) { in PrepareSpecializedComponent()
163 ratingChild_->SetStepSize(stepSize_.first); in PrepareSpecializedComponent()
H A Ddom_rating.h52 std::pair<double, bool> stepSize_ = { DEFAULT_RATING_STEP_SIZE, false }; member in OHOS::Ace::Framework::final
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_model_ng.h28 rating_(rating), stepSize_(stepSize) {} in RatingConfiguration()
32 double stepSize_; member in OHOS::Ace::NG::RatingConfiguration
H A Drating_modifier.h136 if (stepSize_) { in SetStepSize()
137 stepSize_->Set(static_cast<float>(stepSize)); in SetStepSize()
219 RefPtr<PropertyFloat> stepSize_; member in OHOS::Ace::NG::RatingModifier
H A Drating_modifier.cpp25 stepSize_(AceType::MakeRefPtr<PropertyFloat>(.0f)), in RatingModifier()
36 AttachProperty(stepSize_); in RatingModifier()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rating/
H A Drating_content_modifier_test_ng.cpp160 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
904 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
946 EXPECT_EQ(config.stepSize_, RATING_STEP_SIZE_1); in HWTEST_F()
988 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1030 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1072 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1114 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1156 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1198 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1240 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZ in HWTEST_F()
[all...]
H A Drating_test_ng.cpp236 ratingTheme->stepSize_ = DEFAULT_STEP_SIZE; in HWTEST_F()
744 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
789 ratingTheme->stepSize_ = DEFAULT_STEP_SIZE; in HWTEST_F()
1252 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1294 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1336 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1378 EXPECT_EQ(config.stepSize_, DEFAULT_STEP_SIZE); in HWTEST_F()
1615 EXPECT_EQ(config.stepSize_, RATING_STEP_SIZE_1); in HWTEST_F()
1657 EXPECT_EQ(config.stepSize_, RATING_STEP_SIZE_1); in HWTEST_F()
1699 EXPECT_EQ(config.stepSize_, RATING_STEP_SIZE_ in HWTEST_F()
[all...]
/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/include/
H A Dpcm_iterator.h37 size_t stepSize_; member in OHOS::AI::PCMIterator
/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/interfaces/
H A Dslide_window_processor.h136 size_t stepSize_; member in OHOS::AI::Feature::SlideWindowProcessor
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_content_modifier.h160 if (stepSize_) { in SetStepSize()
161 stepSize_->Set(stepSize); in SetStepSize()
315 RefPtr<AnimatablePropertyFloat> stepSize_; member in OHOS::Ace::NG::SliderContentModifier
H A Dslider_content_modifier.cpp46 stepSize_ = AceType::MakeRefPtr<AnimatablePropertyFloat>(1); in SliderContentModifier()
78 AttachProperty(stepSize_); in SliderContentModifier()
201 auto stepSize = stepSize_->Get(); in DrawStep()
502 auto stepSize = stepSize_->Get(); in GetTrackRect()
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_modifier_test_ng.cpp257 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
314 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
369 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
429 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
482 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
537 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
592 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
645 EXPECT_EQ(sliderContentModifier.stepSize_->Get(), SLIDER_CONTENT_MODIFIER_STEP_SIZE); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_rating_bridge.cpp173 panda::NumberRef::New(vm, config.stepSize_), in SetContentModifierBuilder()

Completed in 15 milliseconds