Home
last modified time | relevance | path

Searched refs:enableAnimation_ (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_button.cpp38 enableAnimation_(true), in UIButton()
164 if (enableAnimation_) { in OnPressEvent()
178 if (enableAnimation_) { in OnReleaseEvent()
192 if (enableAnimation_) { in OnCancelEvent()
291 if (state_ == ButtonState::PRESSED && enableAnimation_) { in OnPostDraw()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_button.h423 enableAnimation_ = enable; in EnableButtonAnimation()
430 * @return Returns enableAnimation_.
434 return enableAnimation_; in GetEnableButtonAnimation()
453 bool enableAnimation_; member in OHOS::UIButton
/foundation/window/window_manager/previewer/include/
H A Dwm_common.h524 bool enableAnimation_; member
527 enableAnimation_(false), settingFlag_(SystemBarSettingFlag::DEFAULT_SETTING) {} in SystemBarProperty()
529 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
532 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(false), in SystemBarProperty()
536 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
542 enableAnimation_ == a.enableAnimation_); in operator ==()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h656 bool enableAnimation_; member
659 enableAnimation_(false), settingFlag_(SystemBarSettingFlag::DEFAULT_SETTING) {} in SystemBarProperty()
661 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(false), in SystemBarProperty()
664 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
668 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
673 enableAnimation_ == a.enableAnimation_); in operator ==()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_utils.cpp506 CreateJsValue(env, status.enableAnimation_)); in CreateJsSystemBarPropertiesObject()
508 CreateJsValue(env, navi.enableAnimation_)); in CreateJsSystemBarPropertiesObject()
741 systemBarProperties[type].enableAnimation_ = newSystemBarProperties[type].enableAnimation_; in GetSpecificBarStatus()
776 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_ = enableAnimation; in GetSpecificBarStatus()
779 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR].enableAnimation_ = enableAnimation; in GetSpecificBarStatus()
782 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_INDICATOR].enableAnimation_ = enableAnimation; in GetSpecificBarStatus()
888 properties[type].enableAnimation_ = newProperties[type].enableAnimation_; in GetSystemBarPropertiesFromJs()
918 properties[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_ in SetSystemBarPropertiesFromJs()
[all...]
H A Djs_window.cpp981 systemBarProperties[type].enableAnimation_ = property.enableAnimation_; in UpdateSystemBarProperties()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_scene_session_impl_test.cpp971 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
973 property.enableAnimation_ = false; in HWTEST_F()
975 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
999 property.enableAnimation_ = true; in HWTEST_F()
1001 ASSERT_TRUE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
1045 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
1047 property.enableAnimation_ = false; in HWTEST_F()
1049 ASSERT_FALSE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
1073 property.enableAnimation_ = true; in HWTEST_F()
1075 ASSERT_TRUE(window->property_->GetSystemBarProperty()[WindowType::WINDOW_TYPE_STATUS_BAR].enableAnimation_); in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_button/
H A Dui_test_button.cpp605 TestBtnAnimationListener(UIView* uiView, bool enableAnimation) : uiView_(uiView), enableAnimation_(enableAnimation) in TestBtnAnimationListener()
613 static_cast<UIButton*>(uiView_)->EnableButtonAnimation(enableAnimation_); variable
619 bool enableAnimation_; member in OHOS::TestBtnAnimationListener
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_immersive_test2.cpp272 systemBarProperties[type].enableAnimation_ = property.enableAnimation_; in UpdateSystemBarProperties()
/foundation/window/window_manager/window_scene/common/src/
H A Dwindow_session_property.cpp671 parcel.WriteUint32(it.second.contentColor_) && parcel.WriteBool(it.second.enableAnimation_) && in MarshallingSystemBarMap()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.cpp1332 napi_set_named_property(env, objValue, "enableAnimation", CreateJsValue(env, property.enableAnimation_)); in CreateJsSystemBarPropertyObject()
/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp2044 property.enableAnimation_); in SetSpecificBarProperty()
2051 property.backgroundColor_, property.contentColor_, property.enableAnimation_, property.settingFlag_); in SetSpecificBarProperty()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp1287 systemBarProperty.enableAnimation_, systemBarProperty.settingFlag_); in SetSystemBarProperty()

Completed in 55 milliseconds