Home
last modified time | relevance | path

Searched refs:SetBrightness (Results 1 - 25 of 76) sorted by relevance

1234

/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_supplement_test.cpp561 property->SetBrightness(1.f); in HWTEST_F()
562 ssm_->SetBrightness(sceneSession, 1.f); in HWTEST_F()
563 ssm_->SetBrightness(sceneSession, 2.f); in HWTEST_F()
565 ssm_->SetBrightness(sceneSession, 2.f); in HWTEST_F()
567 ssm_->SetBrightness(sceneSession, 2.f); in HWTEST_F()
570 property->SetBrightness(-1.f); in HWTEST_F()
572 property->SetBrightness(3.f); in HWTEST_F()
H A Dscene_session_manager_test8.cpp621 * @tc.name: SetBrightness
622 * @tc.desc: test function : SetBrightness
625 HWTEST_F(SceneSessionManagerTest8, SetBrightness, Function | SmallTest | Level3) in HWTEST_F()
628 sessionInfo.bundleName_ = "SetBrightness"; in HWTEST_F()
629 sessionInfo.abilityName_ = "SetBrightness"; in HWTEST_F()
638 auto ret = ssm_->SetBrightness(sceneSession, 3.15f); in HWTEST_F()
647 ret = ssm_->SetBrightness(sceneSession, 3.15f); in HWTEST_F()
651 ret = ssm_->SetBrightness(sceneSession, UNDEFINED_BRIGHTNESS); in HWTEST_F()
H A Dscene_session_test5.cpp1178 property->SetBrightness(brightness); in HWTEST_F()
1180 EXPECT_EQ(WSError::WS_OK, session3->SetBrightness(brightness)); in HWTEST_F()
1188 property->SetBrightness(brightness); in HWTEST_F()
1194 EXPECT_EQ(WSError::WS_OK, session4->SetBrightness(brightness)); in HWTEST_F()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_option_test.cpp359 option->SetBrightness(MINIMUM_BRIGHTNESS); in HWTEST_F()
361 option->SetBrightness(MAXIMUM_BRIGHTNESS); in HWTEST_F()
365 option->SetBrightness(brightness); in HWTEST_F()
368 option->SetBrightness(brightness); in HWTEST_F()
H A Dwindow_impl_test.cpp1247 * @tc.desc: test SetBrightness with invalid brightness
1257 ASSERT_EQ(WMError::WM_ERROR_INVALID_WINDOW, window->SetBrightness(0.f)); in HWTEST_F()
1263 ASSERT_EQ(WMError::WM_OK, window->SetBrightness(MAXIMUM_BRIGHTNESS)); in HWTEST_F()
1268 ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetBrightness(2.0f)); // 2.0f: brightness in HWTEST_F()
1270 ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetBrightness(-0.5f)); // -0.5f: brightness in HWTEST_F()
1279 * @tc.desc: test SetBrightness with valid brightness
1299 ASSERT_EQ(WMError::WM_OK, window->SetBrightness(MAXIMUM_BRIGHTNESS)); in HWTEST_F()
1301 ASSERT_EQ(WMError::WM_OK, window->SetBrightness(MINIMUM_BRIGHTNESS)); in HWTEST_F()
1310 * @tc.desc: test SetBrightness with invalid type window
1327 ASSERT_EQ(WMError::WM_ERROR_INVALID_TYPE, window->SetBrightness(MAXIMUM_BRIGHTNES in HWTEST_F()
[all...]
H A Dwindow_session_impl_test.cpp938 * @tc.desc: SetBrightness
957 WMError res = window->SetBrightness(brightness); in HWTEST_F()
960 res = window->SetBrightness(brightness); in HWTEST_F()
966 res = window->SetBrightness(brightness); in HWTEST_F()
974 * @tc.desc: SetBrightness
994 WMError res = window->SetBrightness(brightness); in HWTEST_F()
998 res = window->SetBrightness(brightness); in HWTEST_F()
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_display_power_mgr_client.cpp58 bool DisplayPowerMgrClient::SetBrightness(uint32_t value, uint32_t displayId, bool continuous) in SetBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_xcomponent_bridge.h49 static ArkUINativeModuleValue SetBrightness(ArkUIRuntimeCallInfo* runtimeCallInfo);
/foundation/window/window_manager/previewer/include/
H A Dwindow_option.h204 void SetBrightness(float brightness);
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_option.h189 void SetBrightness(float brightness);
/foundation/window/window_manager/previewer/src/
H A Dwindow_option.cpp134 void WindowOption::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp81 void WindowNode::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowNode
83 property_->SetBrightness(brightness); in SetBrightness()
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/
H A Dfg_colorfilter_test.cpp58 testNode->SetBrightness(brightnessList[i]); in GRAPHIC_TEST()
/foundation/window/window_manager/wm/src/
H A Dwindow_option.cpp202 void WindowOption::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h70 void SetBrightness(float brightness);
H A Dwindow_root.h88 void SetBrightness(uint32_t windowId, float brightness);
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.h158 void SetBrightness(double ness);
H A Drender_box.cpp548 backDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateBackDecoration()
574 frontDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateFrontDecoration()
1219 void RenderBox::SetBrightness(double ness) in SetBrightness() function in OHOS::Ace::RenderBox
1226 frontDecoration_->SetBrightness(Dimension(brightness)); in SetBrightness()
/foundation/window/window_manager/utils/include/
H A Dwindow_property.h58 void SetBrightness(float brightness);
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/
H A Dwindowscene_fuzzer.cpp134 windowOption.SetBrightness(brightness); in InitWindowOption2()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_root_test.cpp525 * @tc.desc: test WindowRoot SetBrightness
530 windowRoot_->SetBrightness(INVALID_WINDOW_ID, 0); in HWTEST_F()
534 windowRoot_->SetBrightness(node->GetWindowId(), 0); in HWTEST_F()
1237 windowRoot_->SetBrightness(INVALID_WINDOW_ID, 0); in HWTEST_F()
1247 windowRoot_->SetBrightness(node->GetDisplayId(), 0); in HWTEST_F()
1257 windowRoot_->SetBrightness(INVALID_WINDOW_ID, 0); in HWTEST_F()
1267 windowRoot_->SetBrightness(node->GetDisplayId(), 0); in HWTEST_F()
/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp234 void WindowProperty::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowProperty
765 property->SetBrightness(parcel.ReadFloat()); in Unmarshalling()
921 SetBrightness(parcel.ReadFloat()); in Read()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_window.h87 virtual WMError SetBrightness(float brightness) {return WMError::WM_OK;} in SetBrightness() function in OHOS::Rosen::MockWindow
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_systemsubwindow_test.cpp337 ASSERT_EQ(WMError::WM_ERROR_INVALID_TYPE, subWindow->SetBrightness(0.5f)); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract.h217 static void SetBrightness(const Dimension &value);
499 static void SetBrightness(FrameNode* frameNode, const Dimension& brightness);

Completed in 27 milliseconds

1234