Home
last modified time | relevance | path

Searched refs:GetBrightness (Results 1 – 20 of 20) sorted by relevance

/foundation/windowmanager/wmserver/src/
Dwindow_node.cpp210 float WindowNode::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowNode
212 return property_->GetBrightness(); in GetBrightness()
Dwindow_node_container.cpp422 WLOGFI("brightness: [%{public}f, %{public}f]", GetDisplayBrightness(), node->GetBrightness()); in UpdateBrightness()
423 if (node->GetBrightness() == UNDEFINED_BRIGHTNESS) { in UpdateBrightness()
424 if (GetDisplayBrightness() != node->GetBrightness()) { in UpdateBrightness()
431 if (GetDisplayBrightness() != node->GetBrightness()) { in UpdateBrightness()
432 … WLOGFI("adjust brightness with value: %{public}u", ToOverrideBrightness(node->GetBrightness())); in UpdateBrightness()
434 ToOverrideBrightness(node->GetBrightness())); in UpdateBrightness()
435 SetDisplayBrightness(node->GetBrightness()); in UpdateBrightness()
Dwindow_controller.cpp647 node->SetBrightness(property->GetBrightness()); in UpdateProperty()
648 windowRoot_->SetBrightness(node->GetWindowId(), node->GetBrightness()); in UpdateProperty()
/foundation/windowmanager/interfaces/innerkits/wm/
Dwindow_option.h53 float GetBrightness() const;
Dwindow.h157 virtual float GetBrightness() const = 0;
/foundation/windowmanager/wmserver/include/
Dwindow_node.h74 float GetBrightness() const;
/foundation/windowmanager/wm/src/
Dwindow_option.cpp211 float WindowOption::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowOption
Dwindow_impl.cpp67 property_->SetBrightness(option->GetBrightness()); in WindowImpl()
959 float WindowImpl::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowImpl
961 return property_->GetBrightness(); in GetBrightness()
/foundation/windowmanager/utils/include/
Dwindow_property.h81 float GetBrightness() const;
/foundation/windowmanager/wm/test/unittest/
Dwindow_impl_test.cpp983 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
985 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
1006 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
1010 ASSERT_EQ(MAXIMUM_BRIGHTNESS, window->GetBrightness());
1012 ASSERT_EQ(MINIMUM_BRIGHTNESS, window->GetBrightness());
1033 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
1035 ASSERT_EQ(UNDEFINED_BRIGHTNESS, window->GetBrightness());
/foundation/ace/ace_engine/frameworks/core/components_v2/inspector/
Dinspector_node.h157 virtual double GetBrightness() const = 0;
Dinspector_composed_element.h183 double GetBrightness() const override;
Dinspector_composed_element.cpp88 { "brightness", [](const InspectorNode& inspector) { return inspector.GetBrightness(); } }, in __anone729286d0902()
1134 double InspectorComposedElement::GetBrightness() const in GetBrightness() function in OHOS::Ace::V2::InspectorComposedElement
1138 return render->GetBrightness(); in GetBrightness()
/foundation/ace/ace_engine/frameworks/core/components/box/
Drender_box.cpp582 backDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateBackDecoration()
608 frontDecoration_->SetBrightness(newDecoration->GetBrightness()); in UpdateFrontDecoration()
1268 double brightness = frontDecoration_->GetBrightness().Value(); in SetBrightness()
1276 double RenderBox::GetBrightness(void) const in GetBrightness() function in OHOS::Ace::RenderBox
1279 return frontDecoration_->GetBrightness().Value(); in GetBrightness()
Drender_box.h145 double GetBrightness(void) const;
Dflutter_render_box.cpp322 …nPainter->PaintBrightness(outerRRect, canvas->canvas(), backDecoration_->GetBrightness(), bgColor); in Paint()
349 outerRRect, canvas->canvas(), frontDecoration_->GetBrightness(), bgColor); in Paint()
Drosen_render_box.cpp296 …nDecorationPainter::PaintBrightness(outerRRect, canvas, backDecoration_->GetBrightness(), bgColor); in Paint()
315 …DecorationPainter::PaintBrightness(outerRRect, canvas, frontDecoration_->GetBrightness(), bgColor); in Paint()
/foundation/windowmanager/utils/src/
Dwindow_property.cpp228 float WindowProperty::GetBrightness() const in GetBrightness() function in OHOS::Rosen::WindowProperty
/foundation/windowmanager/wm/include/
Dwindow_impl.h133 virtual float GetBrightness() const override;
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window_utils.cpp219 object->SetProperty("brightness", CreateJsValue(engine, window->GetBrightness())); in CreateJsWindowPropertiesObject()