Home
last modified time | relevance | path

Searched refs:GetBrightness (Results 1 - 25 of 56) sorted by relevance

123

/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_option_test.cpp360 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 Dwindow_impl_test.cpp1267 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 Dmock_display_power_mgr_client.cpp86 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 Drs_material_filter.h84 float GetBrightness() const;
/foundation/window/window_manager/previewer/include/
H A Dwindow_option.h358 float GetBrightness() const;
H A Dwindow.h187 virtual float GetBrightness() const = 0;
H A Dwindow_impl.h116 virtual float GetBrightness() const override;
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_option.h385 float GetBrightness() const;
/foundation/window/window_manager/previewer/src/
H A Dwindow_option.cpp239 float WindowOption::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp309 float WindowNode::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowNode
311 return property_->GetBrightness(); in GetBrightness()
H A Dwindow_node_container.cpp1048 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 Djs_extension_window_utils.cpp107 napi_set_named_property(env, objValue, "brightness", CreateJsValue(env, window->GetBrightness())); in CreateJsExtensionWindowProperties()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector_node.h172 virtual double GetBrightness() const = 0;
H A Dinspector_composed_element.h185 double GetBrightness() const override;
H A Dinspector_composed_element.cpp77 { "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 Dwindow_option.cpp207 float WindowOption::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h113 float GetBrightness() const;
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.h159 double GetBrightness(void) const;
H A Drender_box.cpp548 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 Dwindow_property.h114 float GetBrightness() const;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test5.cpp1179 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 Dwindow_node_test.cpp454 * @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 Dmock_window.h88 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 Drs_material_filter.cpp335 float RSMaterialFilter::GetBrightness() const in GetBrightness() function in OHOS::Rosen::RSMaterialFilter
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_dump.cpp485 auto brightness = properties.GetBrightness(); in DumpNodePropertiesColor()

Completed in 28 milliseconds

123