/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_func_wrapper_test_ng.cpp | 44 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 D | qrcode_modifier.cpp | 22 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 D | search_modifier.cpp | 35 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 D | node_text_area_modifier.cpp | 49 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 D | qrcode_model_ng.cpp | 25 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 D | scroll_fade_controller.cpp | 31 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 D | scroll_fade_controller.cpp | 30 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 D | js_shape_abstract.cpp | 46 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 D | js_shape.cpp | 28 constexpr double DEFAULT_OPACITY = 1.0; member 248 double strokeOpacity = DEFAULT_OPACITY; in SetStrokeOpacity() 258 double fillOpacity = DEFAULT_OPACITY; in SetFillOpacity()
|
H A D | js_particle.cpp | 50 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 D | js_textinput_theme.h | 48 selectedColor = selectedColor.ChangeOpacity(JSThemeUtils::DEFAULT_OPACITY);
in ApplyTheme()
|
H A D | js_search_theme.h | 44 selectedColor = selectedColor.ChangeOpacity(JSThemeUtils::DEFAULT_OPACITY); in ApplyTheme()
|
H A D | js_theme_utils.h | 64 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 D | arkts_native_common_shape_bridge.cpp | 22 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 D | dom_stepper_item.cpp | 25 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 D | render_indexer.cpp | 211 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 D | indexer_component.h | 30 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_theme.h | 28 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | frame_node_test_ng_new.cpp | 29 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 D | drag_drop_func_wrapper.cpp | 27 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 D | rosen_render_button.cpp | 47 constexpr uint8_t DEFAULT_OPACITY = 255; member 76 opacityLayer_ = DEFAULT_OPACITY * opacity_; in UpdateLayer()
|
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_component.h | 31 inline constexpr uint8_t DEFAULT_OPACITY = 255; member
|
H A D | render_indexer.cpp | 376 auto midFrame = AceType::MakeRefPtr<Keyframe<uint8_t>>(KEYFRAME_HALF, DEFAULT_OPACITY); in BuildBubbleAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_theme.h | 33 constexpr double DEFAULT_OPACITY = 0.95; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_model_ng.cpp | 32 constexpr float DEFAULT_OPACITY = 0.2; member 966 color = color.ChangeOpacity(DEFAULT_OPACITY); in SetSelectedBackgroundColor()
|