Home
last modified time | relevance | path

Searched refs:stepSize (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/shader/
H A Dfullscreen_motion_blur_tile_max.frag54 const vec2 stepSize = uPc.viewportSizeInvSize.zw / 4.0;
60 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(1.0, 0.0), 0).rg;
61 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(2.0, 0.0), 0).rg;
62 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(3.0, 0.0), 0).rg;
65 const vec2 baseUv = uv + stepSize * vec2(0.0, 1.0);
67 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(1.0, 0.0), 0).rg;
68 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(2.0, 0.0), 0).rg;
69 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(3.0, 0.0), 0).rg;
72 const vec2 baseUv = uv + stepSize * vec2(0.0, 2.0);
74 … velocities[sampleIdx++] = textureLod(uVelocity, baseUv + stepSize.xy * vec2(1.0, 0.0), 0).rg;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_adapt_font_sizer.cpp37 double stepSize = 0.0; in AdaptMaxFontSize() local
38 GetAdaptFontSizeStep(textStyle, stepSize, stepUnit, contentConstraint); in AdaptMaxFontSize()
48 auto tag = static_cast<int32_t>((maxFontSize - minFontSize) / stepSize); in AdaptMaxFontSize()
49 auto length = tag + 1 + (GreatNotEqual(maxFontSize, minFontSize + stepSize * tag) ? 1 : 0); in AdaptMaxFontSize()
55 …fontSize = static_cast<float>((mid == length - 1) ? (maxFontSize) : (minFontSize + stepSize * mid)… in AdaptMaxFontSize()
66 …atic_cast<float>((left - 1 == length - 1) ? (maxFontSize) : (minFontSize + stepSize * (left - 1))); in AdaptMaxFontSize()
82 double stepSize = 0.0; in AdaptMinFontSize() local
83 GetAdaptFontSizeStep(textStyle, stepSize, stepUnit, contentConstraint); in AdaptMinFontSize()
94 maxFontSize -= stepSize; in AdaptMinFontSize()
108 void TextAdaptFontSizer::GetAdaptFontSizeStep(const TextStyle& textStyle, double& stepSize, const D… in GetAdaptFontSizeStep() argument
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-rating.md52 ### stepSize subsection
54 stepSize(value: number)
178 .stepSize(0.5)
235 .stepSize(0.5)
281 if (config.stepSize = 0.5) {
285 if (config.stepSize = 1) {
302 if (config.stepSize = 0.5) {
306 if (config.stepSize = 1) {
327 if (config.stepSize = 1) {
348 if (config.stepSize = 1) {
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dproperty.cpp113 stepSize = std::make_shared<Value>(); in Property()
123 stepSize = std::make_shared<Value>(); in Property()
230 stepSize->bin_.i8 = static_cast<int8_t>(step); in SetFormRange()
235 stepSize->bin_.ui8 = static_cast<uint8_t>(step); in SetFormRange()
240 stepSize->bin_.i16 = static_cast<int16_t>(step); in SetFormRange()
245 stepSize->bin_.ui16 = static_cast<uint16_t>(step); in SetFormRange()
250 stepSize->bin_.i32 = static_cast<int32_t>(step); in SetFormRange()
255 stepSize->bin_.ui32 = static_cast<uint32_t>(step); in SetFormRange()
260 stepSize->bin_.i64 = static_cast<int64_t>(step); in SetFormRange()
422 WriteValue(buffer, *stepSize); in WriteFormData()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-rating.md51 ### stepSize subsection
53 stepSize(value: number)
202 .stepSize(0.5)
257 .stepSize(0.5)
303 if (config.stepSize = 0.5) {
307 if (config.stepSize = 1) {
324 if (config.stepSize = 0.5) {
328 if (config.stepSize = 1) {
349 if (config.stepSize = 1) {
370 if (config.stepSize = 1) {
[all …]
/ohos5.0/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/source/
H A Dpcm_iterator.cpp48 int32_t PCMIterator::Init(size_t stepSize, size_t windowSize) in Init() argument
54 if (stepSize == 0 || windowSize == 0) { in Init()
58 if (windowSize < stepSize) { in Init()
62 stepSize_ = stepSize; in Init()
H A Dkws_sdk_impl.cpp221 size_t stepSize = (DEFAULT_SLIDE_STEP_SIZE / DEFAULT_MFCC_NUM_CHANNELS) * mfccConfig.slideSize; in InitComponents() local
222 size_t windowSize = stepSize + mfccConfig.windowSize - mfccConfig.slideSize; in InitComponents()
223 if (pcmIterator_->Init(stepSize, windowSize) != RETCODE_SUCCESS) { in InitComponents()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp274 const double stepSize = ratingRenderProperty->GetStepSize().value_or(themeStepSize_); in ConstrainsRatingScore() local
275 …const double drawScore = fmin(Round(ratingScore / stepSize) * stepSize, static_cast<double>(starNu… in ConstrainsRatingScore()
313 const double stepSize = ratingRenderProperty->GetStepSizeValue(themeStepSize_); in RecalculatedRatingScoreBasedOnEventPoint() local
317 const double newDrawScore = fmin(ceil(ratingScore / stepSize) * stepSize, starNum); in RecalculatedRatingScoreBasedOnEventPoint()
320 …const double oldDrawScore = fmin(Round(oldRatingScore / stepSize) * stepSize, static_cast<double>(… in RecalculatedRatingScoreBasedOnEventPoint()
555 const double stepSize = ratingRenderProperty->GetStepSizeValue(themeStepSize_); in OnKeyEvent() local
557 … ratingScore = reverse ? fmin(ratingScore + stepSize, starNum) : fmax(ratingScore - stepSize, 0.0); in OnKeyEvent()
562 … ratingScore = reverse ? fmax(ratingScore - stepSize, 0.0) : fmin(ratingScore + stepSize, starNum); in OnKeyEvent()
918 auto stepSize = renderProperty->GetStepSizeValue(themeStepSize_); in BuildContentModifierNode() local
922 RatingConfiguration ratingConfiguration(starNum, isIndicator, ratingScore, stepSize, enabled); in BuildContentModifierNode()
H A Drating_model_ng.h26 …RatingConfiguration(int32_t starNum, bool isIndicator, double rating, double stepSize, bool enable… in RatingConfiguration() argument
28 rating_(rating), stepSize_(stepSize) {} in RatingConfiguration()
H A Drating_modifier.h134 void SetStepSize(double stepSize) in SetStepSize() argument
137 stepSize_->Set(static_cast<float>(stepSize)); in SetStepSize()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Ddympool.c176 int DympAskMoreMemory(DympoolType *pool, int stepSize, int throttleGrow) in DympAskMoreMemory() argument
178 int stepSizeWork = stepSize; in DympAskMoreMemory()
184 if ((pool == FILLP_NULL_PTR) || (stepSize <= 0)) { in DympAskMoreMemory()
185 FILLP_LOGERR("Wrong to ask memory, stepSize:%d", stepSize); in DympAskMoreMemory()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_rating_ffi.cpp49 double stepSize = LessNotEqual(value, stepSizeMin) ? STEPS_DEFAULT : value; in FfiOHOSAceFrameworkRatingSetStepSize() local
50 RatingModel::GetInstance()->SetStepSize(stepSize); in FfiOHOSAceFrameworkRatingSetStepSize()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_buf_item.c55 int FillpAskMoreBufItem(void *pool, int stepSize, int throttleGrow) in FillpAskMoreBufItem() argument
57 return DympAskMoreMemory((DympoolType *)pool, stepSize, throttleGrow); in FillpAskMoreBufItem()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp194 int32_t stepSize = 1; in CreateStepsCurve() local
196 stepSize = argv[0]->ToInt32(runtime); in CreateStepsCurve()
197 if (stepSize < 1) { in CreateStepsCurve()
198 stepSize = 1; in CreateStepsCurve()
204 curve = AceType::MakeRefPtr<StepsCurve>(stepSize, StepsCurvePosition::END); in CreateStepsCurve()
206 curve = AceType::MakeRefPtr<StepsCurve>(stepSize, StepsCurvePosition::START); in CreateStepsCurve()
209 curve = AceType::MakeRefPtr<StepsCurve>(stepSize); in CreateStepsCurve()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_content_modifier.cpp208 auto stepSize = stepSize_->Get(); in DrawStep() local
226 if (GreatNotEqual(stepSize, trackThickness)) { in DrawStep()
227 stepSize = trackThickness; in DrawStep()
238 canvas.DrawCircle(RSPoint(endX, endY), stepSize * HALF); in DrawStep()
509 auto stepSize = stepSize_->Get(); in GetTrackRect() local
510 if (GreatNotEqual(stepSize, trackThickness)) { in GetTrackRect()
511 stepSize = trackThickness; in GetTrackRect()
516 rect.SetLeft(backStart.GetX() - stepSize * HALF); in GetTrackRect()
517 rect.SetRight(backEnd.GetX() + stepSize * HALF); in GetTrackRect()
531 rect.SetTop(backStart.GetY() - stepSize * HALF); in GetTrackRect()
[all …]
H A Dslider_paint_method.cpp52 auto stepSize = paintProperty->GetStepSizeValue(sliderTheme->GetMarkerSize()); in UpdateContentModifier() local
53 sliderContentModifier_->SetStepSize(stepSize.ConvertToPx()); in UpdateContentModifier()
/ohos5.0/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/source/
H A Dslide_window_processor.cpp63 if (localConfig.windowSize < localConfig.stepSize) { in Init()
74 stepSize_ = localConfig.stepSize * typeSize_; in Init()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_slider.cpp582 CalcDimension stepSize; in SetStepSize() local
583 if (!ParseJsDimensionVp(info[0], stepSize)) { in SetStepSize()
587 if (LessNotEqual(stepSize.Value(), 0.0)) { in SetStepSize()
590 stepSize = theme->GetMarkerSize(); in SetStepSize()
592 SliderModel::GetInstance()->SetStepSize(stepSize); in SetStepSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drating_component.h79 void SetStepSize(double stepSize) in SetStepSize() argument
81 stepSize_ = stepSize; in SetStepSize()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dfillp_buf_item.h33 int FillpAskMoreBufItem(void *pool, int stepSize, int throttleGrow);
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_shadowing_common.h48 bool ValidShadowRange(const vec3 shadowCoord, float stepSize, float shadowIdx) in ValidShadowRange() argument
50 const float xMin = stepSize * shadowIdx; in ValidShadowRange()
51 const float xMax = xMin + stepSize; in ValidShadowRange()
/ohos5.0/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/interfaces/
H A Dslide_window_processor.h57 size_t stepSize; member
/ohos5.0/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/include/
H A Dpcm_iterator.h27 int32_t Init(size_t stepSize, size_t windowSize);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Ddympool.h70 int DympAskMoreMemory(DympoolType *pool, int stepSize, int throttleGrow);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_layout_algorithm.cpp1058 double stepSize = 0.0; in AdaptInlineFocusFontSize() local
1059 GetAdaptFontSizeStep(textStyle, stepSize, stepUnit, contentConstraint); in AdaptInlineFocusFontSize()
1060 auto tag = static_cast<int32_t>((maxFontSize - minFontSize) / stepSize); in AdaptInlineFocusFontSize()
1061 auto length = tag + 1 + (GreatNotEqual(maxFontSize, minFontSize + stepSize * tag) ? 1 : 0); in AdaptInlineFocusFontSize()
1070 …fontSize = static_cast<float>((mid == length - 1) ? (maxFontSize) : (minFontSize + stepSize * mid)… in AdaptInlineFocusFontSize()
1081 …atic_cast<float>((left - 1 == length - 1) ? (maxFontSize) : (minFontSize + stepSize * (left - 1))); in AdaptInlineFocusFontSize()
1123 double stepSize = 0.0; in AdaptInlineFocusMinFontSize() local
1124 GetAdaptFontSizeStep(textStyle, stepSize, stepUnit, contentConstraint); in AdaptInlineFocusMinFontSize()
1139 maxFontSize -= stepSize; in AdaptInlineFocusMinFontSize()

12