Home
last modified time | relevance | path

Searched refs:DEFAULT_OPACITY (Results 1 - 25 of 33) sorted by relevance

12

/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_func_wrapper_test_ng.cpp44 constexpr float DEFAULT_OPACITY = 0.95f; member
142 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
182 EXPECT_EQ(option.options.opacity, DEFAULT_OPACITY); in HWTEST_F()
202 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
216 EXPECT_EQ(option.options.opacity, DEFAULT_OPACITY); in HWTEST_F()
236 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
270 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
304 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
338 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
352 EXPECT_EQ(option.options.opacity, DEFAULT_OPACITY); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dqrcode_modifier.cpp22 constexpr double DEFAULT_OPACITY = 1.0; member
61 QRCodeModelNG::SetContentOpacity(frameNode, DEFAULT_OPACITY); in SetContentOpacity()
71 QRCodeModelNG::SetContentOpacity(frameNode, DEFAULT_OPACITY); in ResetContentOpacity()
H A Dsearch_modifier.cpp35 constexpr double DEFAULT_OPACITY = 0.2; member
403 selectedColor = selectedColor.ChangeOpacity(DEFAULT_OPACITY); in SetSearchSelectedBackgroundColor()
420 selectedColor = selectedColor.ChangeOpacity(DEFAULT_OPACITY); in ResetSearchSelectedBackgroundColor()
H A Dnode_text_area_modifier.cpp49 constexpr double DEFAULT_OPACITY = 0.2; member
748 selectedColor = selectedColor.ChangeOpacity(DEFAULT_OPACITY); in SetTextAreaSelectedBackgroundColor()
765 selectedColor = selectedColor.ChangeOpacity(DEFAULT_OPACITY); in ResetTextAreaSelectedBackgroundColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_model_ng.cpp25 constexpr double DEFAULT_OPACITY = 1.0f; member
45 ACE_UPDATE_PAINT_PROPERTY(QRCodePaintProperty, Opacity, DEFAULT_OPACITY); in Create()
85 paintPropertyPtr->UpdateOpacity(DEFAULT_OPACITY); in CreateFrameNode()
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_fade_controller.cpp31 constexpr double DEFAULT_OPACITY = 0.3; member
96 opacityFloor_ = state_ == OverScrollState::IDLE ? DEFAULT_OPACITY : opacity_; in ProcessAbsorb()
110 opacityFloor_ = std::min(MIN_OPACITY + opacity_, DEFAULT_OPACITY); in ProcessPull()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/
H A Dscroll_fade_controller.cpp30 constexpr double DEFAULT_OPACITY = 0.3; member
96 opacityFloor_ = state_ == OverScrollState::IDLE ? DEFAULT_OPACITY : opacity_; in ProcessAbsorb()
110 opacityFloor_ = std::min(MIN_OPACITY + opacity_, DEFAULT_OPACITY); in ProcessPull()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_shape_abstract.cpp46 constexpr double DEFAULT_OPACITY = 1.0; member
158 double strokeOpacity = DEFAULT_OPACITY; in SetStrokeOpacity()
161 strokeOpacity = DEFAULT_OPACITY; in SetStrokeOpacity()
175 double fillOpacity = DEFAULT_OPACITY; in SetFillOpacity()
177 if (GreatOrEqual(fillOpacity, DEFAULT_OPACITY)) { in SetFillOpacity()
178 fillOpacity = DEFAULT_OPACITY; in SetFillOpacity()
H A Djs_shape.cpp28 constexpr double DEFAULT_OPACITY = 1.0; member
248 double strokeOpacity = DEFAULT_OPACITY; in SetStrokeOpacity()
258 double fillOpacity = DEFAULT_OPACITY; in SetFillOpacity()
H A Djs_particle.cpp50 constexpr float DEFAULT_OPACITY = 1.0f; member
694 ParseFloatOption(opacityJsObj, opacityOption, DEFAULT_OPACITY, MIN_OPACITY, MAX_OPACITY); in ParseParticleOption()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_textinput_theme.h48 selectedColor = selectedColor.ChangeOpacity(JSThemeUtils::DEFAULT_OPACITY); in ApplyTheme()
H A Djs_search_theme.h44 selectedColor = selectedColor.ChangeOpacity(JSThemeUtils::DEFAULT_OPACITY); in ApplyTheme()
H A Djs_theme_utils.h64 static constexpr double DEFAULT_OPACITY = 0.2; member in OHOS::Ace::Framework::JSThemeUtils
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_shape_bridge.cpp22 constexpr double DEFAULT_OPACITY = 1.0; member
248 double opacity = DEFAULT_OPACITY; in SetFillOpacity()
252 if (opacity > DEFAULT_OPACITY) { in SetFillOpacity()
253 opacity = DEFAULT_OPACITY; in SetFillOpacity()
284 double opacity = DEFAULT_OPACITY; in SetStrokeOpacity()
288 if (opacity > DEFAULT_OPACITY) { in SetStrokeOpacity()
289 opacity = DEFAULT_OPACITY; in SetStrokeOpacity()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_stepper_item.cpp25 constexpr double DEFAULT_OPACITY = 1.0; member
163 displayComponent_->SetOpacity(DEFAULT_OPACITY); in PrepareSpecializedComponent()
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_indexer.cpp211 bubbleDisplay_->UpdateOpacity(DEFAULT_OPACITY); in HandleTouchDown()
215 popupListDisplay_->UpdateOpacity(DEFAULT_OPACITY); in HandleTouchDown()
433 auto startFrame = AceType::MakeRefPtr<Keyframe<uint8_t>>(KEYFRAME_BEGIN, DEFAULT_OPACITY); in BuildBubbleAnimation()
434 auto midFrame = AceType::MakeRefPtr<Keyframe<uint8_t>>(KEYFRAME_HALF, DEFAULT_OPACITY); in BuildBubbleAnimation()
H A Dindexer_component.h30 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_theme.h28 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dframe_node_test_ng_new.cpp29 constexpr float DEFAULT_OPACITY = 0.95f; member
1241 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1285 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1366 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1410 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1454 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1498 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1542 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
1586 node->GetRenderContext()->UpdateOpacity(DEFAULT_OPACITY); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_func_wrapper.cpp27 constexpr float DEFAULT_OPACITY = 0.95f; member
319 option.options.opacity = DEFAULT_OPACITY; in UpdateDragPreviewOptionsFromModifier()
348 option.options.opacity = DEFAULT_OPACITY; in UpdatePreviewOptionDefaultAttr()
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drosen_render_button.cpp47 constexpr uint8_t DEFAULT_OPACITY = 255; member
76 opacityLayer_ = DEFAULT_OPACITY * opacity_; in UpdateLayer()
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_component.h31 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
H A Drender_indexer.cpp376 auto midFrame = AceType::MakeRefPtr<Keyframe<uint8_t>>(KEYFRAME_HALF, DEFAULT_OPACITY); in BuildBubbleAnimation()
/foundation/arkui/ace_engine/frameworks/core/components/popup/
H A Dpopup_theme.h33 constexpr double DEFAULT_OPACITY = 0.95; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_model_ng.cpp32 constexpr float DEFAULT_OPACITY = 0.2; member
966 color = color.ChangeOpacity(DEFAULT_OPACITY); in SetSelectedBackgroundColor()

Completed in 26 milliseconds

12