/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_supplement_test.cpp | 561 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 D | scene_session_manager_test8.cpp | 621 * @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 D | scene_session_test5.cpp | 1178 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 D | window_option_test.cpp | 359 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 D | window_impl_test.cpp | 1247 * @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 D | window_session_impl_test.cpp | 938 * @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 D | mock_display_power_mgr_client.cpp | 58 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 D | arkts_native_xcomponent_bridge.h | 49 static ArkUINativeModuleValue SetBrightness(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
/foundation/window/window_manager/previewer/include/ |
H A D | window_option.h | 204 void SetBrightness(float brightness);
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_option.h | 189 void SetBrightness(float brightness);
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_option.cpp | 134 void WindowOption::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 81 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 D | fg_colorfilter_test.cpp | 58 testNode->SetBrightness(brightnessList[i]); in GRAPHIC_TEST()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_option.cpp | 202 void WindowOption::SetBrightness(float brightness) in SetBrightness() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_node.h | 70 void SetBrightness(float brightness);
|
H A D | window_root.h | 88 void SetBrightness(uint32_t windowId, float brightness);
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.h | 158 void SetBrightness(double ness);
|
H A D | render_box.cpp | 548 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 D | window_property.h | 58 void SetBrightness(float brightness);
|
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 134 windowOption.SetBrightness(brightness); in InitWindowOption2()
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_root_test.cpp | 525 * @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 D | window_property.cpp | 234 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 D | mock_window.h | 87 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 D | window_systemsubwindow_test.cpp | 337 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 D | view_abstract.h | 217 static void SetBrightness(const Dimension &value); 499 static void SetBrightness(FrameNode* frameNode, const Dimension& brightness);
|