/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/shader/ |
H A D | fullscreen_motion_blur_tile_max.frag | 54 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 D | text_adapt_font_sizer.cpp | 37 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 D | ts-basic-components-rating.md | 52 ### 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 D | property.cpp | 113 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 D | ts-basic-components-rating.md | 51 ### 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 D | pcm_iterator.cpp | 48 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 D | kws_sdk_impl.cpp | 221 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 D | rating_pattern.cpp | 274 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 D | rating_model_ng.h | 26 …RatingConfiguration(int32_t starNum, bool isIndicator, double rating, double stepSize, bool enable… in RatingConfiguration() argument 28 rating_(rating), stepSize_(stepSize) {} in RatingConfiguration()
|
H A D | rating_modifier.h | 134 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 D | dympool.c | 176 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 D | cj_rating_ffi.cpp | 49 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 D | fillp_buf_item.c | 55 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 D | jsi_curves_module.cpp | 194 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 D | slider_content_modifier.cpp | 208 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 D | slider_paint_method.cpp | 52 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 D | slide_window_processor.cpp | 63 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 D | js_slider.cpp | 582 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 D | rating_component.h | 79 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 D | fillp_buf_item.h | 33 int FillpAskMoreBufItem(void *pool, int stepSize, int throttleGrow);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_shadowing_common.h | 48 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 D | slide_window_processor.h | 57 size_t stepSize; member
|
/ohos5.0/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/include/ |
H A D | pcm_iterator.h | 27 int32_t Init(size_t stepSize, size_t windowSize);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | dympool.h | 70 int DympAskMoreMemory(DympoolType *pool, int stepSize, int throttleGrow);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_algorithm.cpp | 1058 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()
|