Home
last modified time | relevance | path

Searched refs:brightness (Results 1 – 24 of 24) sorted by relevance

/foundation/graphic/standard/rosen/modules/effect/effectChain/src/
Dbrightness_filter.cpp28 float* brightness = (float*)value; in SetValue() local
29 brightness_ = *(brightness); in SetValue()
/foundation/windowmanager/wm/src/
Dwindow_option.cpp206 void WindowOption::SetBrightness(float brightness) in SetBrightness() argument
208 brightness_ = brightness; in SetBrightness()
Dwindow_impl.cpp939 WMError WindowImpl::SetBrightness(float brightness) in SetBrightness() argument
944 if (brightness < MINIMUM_BRIGHTNESS || brightness > MAXIMUM_BRIGHTNESS) { in SetBrightness()
945 WLOGFE("invalid brightness value: %{public}f", brightness); in SetBrightness()
952 property_->SetBrightness(brightness); in SetBrightness()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/api/
D@ohos.window.d.ts455 brightness: number property
800 setBrightness(brightness: number): Promise<void>;
807 setBrightness(brightness: number, callback: AsyncCallback<void>): void;
/foundation/windowmanager/wmserver/src/
Dwindow_node.cpp100 void WindowNode::SetBrightness(float brightness) in SetBrightness() argument
102 property_->SetBrightness(brightness); in SetBrightness()
Dwindow_root.cpp313 void WindowRoot::SetBrightness(uint32_t windowId, float brightness) in SetBrightness() argument
330 if (container->GetDisplayBrightness() != brightness) { in SetBrightness()
331 … WLOGFI("set brightness with value: %{public}u", container->ToOverrideBrightness(brightness)); in SetBrightness()
333 container->ToOverrideBrightness(brightness)); in SetBrightness()
334 container->SetDisplayBrightness(brightness); in SetBrightness()
Dwindow_node_container.cpp488 void WindowNodeContainer::SetDisplayBrightness(float brightness) in SetDisplayBrightness() argument
490 displayBrightness_ = brightness; in SetDisplayBrightness()
508 uint32_t WindowNodeContainer::ToOverrideBrightness(float brightness) in ToOverrideBrightness() argument
510 return static_cast<uint32_t>(brightness * MAX_BRIGHTNESS); in ToOverrideBrightness()
/foundation/windowmanager/interfaces/innerkits/wm/
Dwindow_option.h52 void SetBrightness(float brightness);
Dwindow.h156 virtual WMError SetBrightness(float brightness) = 0;
/foundation/windowmanager/wmserver/include/
Dwindow_node_container.h45 void SetDisplayBrightness(float brightness);
49 uint32_t ToOverrideBrightness(float brightness);
Dwindow_node.h53 void SetBrightness(float brightness);
Dwindow_root.h71 void SetBrightness(uint32_t windowId, float brightness);
/foundation/windowmanager/utils/include/
Dwindow_property.h52 void SetBrightness(float brightness);
/foundation/windowmanager/utils/src/
Dwindow_property.cpp96 void WindowProperty::SetBrightness(float brightness) in SetBrightness() argument
98 brightness_ = brightness; in SetBrightness()
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/quickjs/
DjsMockSystemPlugin.js23 brightness: { property
304 Object.assign(global.systemplugin.brightness, {
/foundation/ace/ace_engine/frameworks/core/components/common/painter/
Drosen_decoration_painter.h59 …atic void PaintBrightness(const SkRRect& outerRRect, SkCanvas* canvas, const Dimension& brightness,
Dflutter_decoration_painter.h69 const Dimension& brightness, const Color& color);
Drosen_decoration_painter.cpp1313 const SkRRect& outerRRect, SkCanvas* canvas, const Dimension& brightness, const Color& color) in PaintBrightness() argument
1315 double bright = brightness.Value(); in PaintBrightness()
Dflutter_decoration_painter.cpp1359 const Dimension& brightness, const Color& color) in PaintBrightness() argument
1361 double bright = brightness.Value(); in PaintBrightness()
/foundation/windowmanager/wm/include/
Dwindow_impl.h132 virtual WMError SetBrightness(float brightness) override;
/foundation/ace/ace_engine/frameworks/core/components/box/
Drender_box.cpp1268 double brightness = frontDecoration_->GetBrightness().Value(); in SetBrightness() local
1270 if (!NearEqual(brightness, ness)) { in SetBrightness()
1271 frontDecoration_->SetBrightness(Dimension(brightness)); in SetBrightness()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp1044 float brightness = UNDEFINED_BRIGHTNESS; in OnSetBrightness() local
1051 brightness = static_cast<double>(*nativeVal); in OnSetBrightness()
1061 WMError ret = windowToken_->SetBrightness(brightness); in OnSetBrightness()
/foundation/multimodalinput/input/patch/prebuild_eudev/hwdb.d/
D60-keyboard.hwdb402 KEYBOARD_KEY_d9=brightnessdown # Fn+F8 brightness down
403 KEYBOARD_KEY_ef=brightnessup # Fn+F9 brightness up
496 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness
1187 # brightness; so ignore those atkbd ones, to avoid loops
/foundation/multimodalinput/input/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff874 -#define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
876 - brightness control is off,