/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_option_test.cpp | 360 ASSERT_EQ(MINIMUM_BRIGHTNESS, option->GetBrightness()); in HWTEST_F() 362 ASSERT_EQ(MAXIMUM_BRIGHTNESS, option->GetBrightness()); in HWTEST_F() 366 ASSERT_EQ(brightness, option->GetBrightness()); in HWTEST_F() 369 ASSERT_EQ(brightness, option->GetBrightness()); in HWTEST_F()
|
H A D | window_impl_test.cpp | 1267 ASSERT_EQ(MAXIMUM_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1269 ASSERT_EQ(MAXIMUM_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1271 ASSERT_EQ(MAXIMUM_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1296 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1300 ASSERT_EQ(MAXIMUM_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1302 ASSERT_EQ(MINIMUM_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1326 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
in HWTEST_F() 1328 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
in HWTEST_F()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_display_power_mgr_client.cpp | 86 uint32_t DisplayPowerMgrClient::GetBrightness(uint32_t displayId) in GetBrightness() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_material_filter.h | 84 float GetBrightness() const;
|
/foundation/window/window_manager/previewer/include/ |
H A D | window_option.h | 358 float GetBrightness() const;
|
H A D | window.h | 187 virtual float GetBrightness() const = 0;
|
H A D | window_impl.h | 116 virtual float GetBrightness() const override;
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_option.h | 385 float GetBrightness() const;
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_option.cpp | 239 float WindowOption::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 309 float WindowNode::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowNode 311 return property_->GetBrightness(); in GetBrightness()
|
H A D | window_node_container.cpp | 1048 WLOGI("Brightness: [%{public}f, %{public}f]", GetDisplayBrightness(), node->GetBrightness()); in UpdateBrightness() 1049 if (std::fabs(node->GetBrightness() - UNDEFINED_BRIGHTNESS) < std::numeric_limits<float>::min()) { in UpdateBrightness() 1050 if (GetDisplayBrightness() != node->GetBrightness()) { in UpdateBrightness() 1059 if (GetDisplayBrightness() != node->GetBrightness()) { in UpdateBrightness() 1060 WLOGI("adjust brightness with value: %{public}u", ToOverrideBrightness(node->GetBrightness())); in UpdateBrightness() 1063 ToOverrideBrightness(node->GetBrightness())); in UpdateBrightness() 1065 SetDisplayBrightness(node->GetBrightness()); in UpdateBrightness()
|
/foundation/window/window_manager/interfaces/kits/napi/extension_window/ |
H A D | js_extension_window_utils.cpp | 107 napi_set_named_property(env, objValue, "brightness", CreateJsValue(env, window->GetBrightness()));
in CreateJsExtensionWindowProperties()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_node.h | 172 virtual double GetBrightness() const = 0;
|
H A D | inspector_composed_element.h | 185 double GetBrightness() const override;
|
H A D | inspector_composed_element.cpp | 77 { "brightness", [](const InspectorNode& inspector) { return inspector.GetBrightness(); } }, 1113 double InspectorComposedElement::GetBrightness() const in GetBrightness() function in OHOS::Ace::V2::InspectorComposedElement 1117 return render->GetBrightness(); in GetBrightness()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_option.cpp | 207 float WindowOption::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_node.h | 113 float GetBrightness() const;
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.h | 159 double GetBrightness(void) const;
|
H A D | render_box.cpp | 548 backDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateBackDecoration() 574 frontDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateFrontDecoration() 1224 double brightness = frontDecoration_->GetBrightness().Value(); in SetBrightness() 1231 double RenderBox::GetBrightness(void) const in GetBrightness() function in OHOS::Ace::RenderBox 1234 return frontDecoration_->GetBrightness().Value(); in GetBrightness()
|
/foundation/window/window_manager/utils/include/ |
H A D | window_property.h | 114 float GetBrightness() const;
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test5.cpp | 1179 EXPECT_EQ(brightness, property->GetBrightness()); in HWTEST_F() 1183 EXPECT_EQ(brightness, session3->GetBrightness()); in HWTEST_F() 1189 EXPECT_EQ(brightness, property->GetBrightness()); in HWTEST_F() 1192 EXPECT_EQ(brightness, session4->GetBrightness()); in HWTEST_F() 1195 EXPECT_EQ(brightness, session4->GetBrightness()); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_test.cpp | 454 * @tc.desc: SetBrightness & GetBrightness 466 ASSERT_EQ(UNDEFINED_BRIGHTNESS, windowNode->GetBrightness()); in HWTEST_F() 469 ASSERT_EQ(0.5f, windowNode->GetBrightness()); in HWTEST_F() 471 ASSERT_EQ(1.1f, windowNode->GetBrightness()); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_window.h | 88 virtual float GetBrightness() const {return 0;} in GetBrightness() function in OHOS::Rosen::MockWindow
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_material_filter.cpp | 335 float RSMaterialFilter::GetBrightness() const
in GetBrightness() function in OHOS::Rosen::RSMaterialFilter
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_dump.cpp | 485 auto brightness = properties.GetBrightness(); in DumpNodePropertiesColor()
|