/ohos5.0/base/powermgr/display_manager/state_manager/frameworks/napi/ |
H A D | brightness_module.cpp | 47 std::unique_ptr<Brightness> asyncBrightness = std::make_unique<Brightness>(env); in SyncWork() 82 Brightness *asyncBrightness = reinterpret_cast<Brightness*>(data); in GetValue() 97 Brightness::BRIGHTNESS_VALUE, in SetValue() 100 Brightness *asyncBrightness = reinterpret_cast<Brightness*>(data); in SetValue() 109 Brightness brightness(env); in SetValue() 124 Brightness *asyncBrightness = reinterpret_cast<Brightness*>(data); in GetMode() 139 Brightness::BRIGHTNESS_MODE, in SetMode() 142 Brightness *asyncBrightness = reinterpret_cast<Brightness*>(data); in SetMode() 154 std::unique_ptr<Brightness> asyncBrightness = std::make_unique<Brightness>(env, runningLock); in SetKeepScreenOn() 159 asyncBrightness->CreateValueRef(options, Brightness::KEEP_SCREENON, napi_boolean); in SetKeepScreenOn() [all …]
|
H A D | brightness.cpp | 60 Brightness::Brightness(napi_env env, std::shared_ptr<RunningLock> runningLock) : env_(env), running… in Brightness() function in OHOS::DisplayPowerMgr::Brightness 62 Brightness::~Brightness() in ~Brightness() 70 void Brightness::GetValue() in GetValue() 81 void Brightness::SetValue(napi_callback_info& info) in SetValue() 115 void Brightness::SystemSetValue() in SystemSetValue() 131 void Brightness::GetMode() in GetMode() 138 void Brightness::SetMode() in SetMode() 156 void Brightness::SetKeepScreenOn() in SetKeepScreenOn() 244 napi_value Brightness::Result::GetError(napi_env& env) in GetError() 339 void Brightness::ExecuteCallback() in ExecuteCallback() [all …]
|
H A D | brightness.h | 35 class Brightness { 37 explicit Brightness(napi_env env, std::shared_ptr<PowerMgr::RunningLock> runningLock = nullptr); 38 ~Brightness();
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-power-brightness-customization.md | 47 # Brightness limits is 0-255. 126 Display Id=0 State=2 Discount=1.000000 Brightness=102 129 Auto Adjust Brightness: OFF 130 Brightness Limits: Max=255 Min=5 Default=102 155 # Brightness limits is 0-255. 168 Display Id=0 State=0 Discount=1.000000 Brightness=75 171 Auto Adjust Brightness: OFF 172 Brightness Limits: Max=150 Min=50 Default=75 185 # Brightness limits is 0-255.
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-battery.md | 15 | system.brightness | Brightness | static setKeepScreenOn(options?: SetKeepScreenOnOp… 16 | system.brightness | Brightness | static setMode(options?: SetBrightnessModeOptions)… 17 | system.brightness | Brightness | static getMode(options?: GetBrightnessModeOptions)… 18 | system.brightness | Brightness | static setValue(options?: SetBrightnessOptions): v… 19 | system.brightness | Brightness | static getValue(options?: GetBrightnessOptions): v…
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-power-brightness-customization.md | 1 # System Brightness Customization 15 Brightness of an application window. The customized brightness range is effective only for this app… 47 # Brightness limits is 0-255. 126 Display Id=0 State=2 Discount=1.000000 Brightness=102 129 Auto Adjust Brightness: OFF 130 Brightness Limits: Max=255 Min=5 Default=102 155 # Brightness limits is 0-255. 168 Display Id=0 State=0 Discount=1.000000 Brightness=75 171 Auto Adjust Brightness: OFF 172 Brightness Limits: Max=150 Min=50 Default=75 [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-battery.md | 15 | system.brightness | Brightness | static setKeepScreenOn(options?: SetKeepScreenOnOp… 16 | system.brightness | Brightness | static setMode(options?: SetBrightnessModeOptions)… 17 | system.brightness | Brightness | static getMode(options?: GetBrightnessModeOptions)… 18 | system.brightness | Brightness | static setValue(options?: SetBrightnessOptions): v… 19 | system.brightness | Brightness | static getValue(options?: GetBrightnessOptions): v…
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-brightness-sys.md | 1 # @ohos.brightness (Screen Brightness) (System API) 31 | value | number | Yes | Brightness value. Value range: 0 to 255. The value of this parameter mus… 35 For details about the error codes, see [Screen Brightness Error Codes](errorcode-brightness.md). 67 | value | number | Yes | Brightness value. Value range: 0 to 255. The value of this parameter mus… 72 For details about the error codes, see [Screen Brightness Error Codes](errorcode-brightness.md).
|
H A D | errorcode-brightness.md | 1 # Brightness Error Codes
|
H A D | Readme-EN.md | 22 - [@ohos.brightness (Screen Brightness) (System API)](js-apis-brightness-sys.md) 82 - [@system.brightness (Screen Brightness)](js-apis-system-brightness.md) 128 - [Brightness Error Codes](errorcode-brightness.md)
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-battery.md | 90 |废弃版本有变化|类名:Brightness;<br>方法or属性:export default class Brightness<br>旧版本信息:|类名:Brightness;<br>方法or属… 91 |废弃版本有变化|类名:Brightness;<br>方法or属性:static getValue(options?: GetBrightnessOptions): void;<br>旧版本信息:|… 92 |废弃版本有变化|类名:Brightness;<br>方法or属性:static setValue(options?: SetBrightnessOptions): void;<br>旧版本信息:|… 93 |废弃版本有变化|类名:Brightness;<br>方法or属性:static getMode(options?: GetBrightnessModeOptions): void;<br>旧版本信… 94 |废弃版本有变化|类名:Brightness;<br>方法or属性:static setMode(options?: SetBrightnessModeOptions): void;<br>旧版本信… 95 |废弃版本有变化|类名:Brightness;<br>方法or属性:static setKeepScreenOn(options?: SetKeepScreenOnOptions): void;<b…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk/src/filter/ |
H A D | filter.cpp | 58 bool Filter::Brightness(float brightness) in Brightness() function in OHOS::Rosen::Filter 60 auto bright = Rosen::SKImageFilterFactory::Brightness(brightness); in Brightness()
|
H A D | filter.h | 36 bool Brightness(float brightness);
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | preferences-data-process.md | 38 import ScreenBrightness from '../common/bean/Brightness'; 136 import ScreenBrightness from '../common/bean/Brightness'; 202 import ScreenBrightness from '../common/bean/Brightness'; 268 import ScreenBrightness from '../common/bean/Brightness';
|
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/ |
H A D | js-apis-keycode.md | 40 | KEYCODE_BRIGHTNESS_UP | 40 | Brightness Up key | 41 | KEYCODE_BRIGHTNESS_DOWN | 41 | Brightness Down key | 224 | KEYCODE_BRIGHTNESS_CYCLE | 2659 | Brightness Cycle key | 225 | KEYCODE_BRIGHTNESS_ZERO | 2660 | Brightness Zero key | 276 | KEYCODE_BRIGHTNESS_TOGGLE | 2711 | Brightness Toggle key | 289 | KEYCODE_BRIGHTNESS_MIN | 2724 | Min Brightness key | 290 | KEYCODE_BRIGHTNESS_MAX | 2725 | Max Brightness key |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-battery.md | 90 …Brightness;<br>Method or attribute name: export default class Brightness<br>Old version: |Class na… 91 …ss name: Brightness;<br>Method or attribute name: static getValue(options?: GetBrightnessOptions):… 92 …ss name: Brightness;<br>Method or attribute name: static setValue(options?: SetBrightnessOptions):… 93 … name: Brightness;<br>Method or attribute name: static getMode(options?: GetBrightnessModeOptions)… 94 … name: Brightness;<br>Method or attribute name: static setMode(options?: SetBrightnessModeOptions)… 95 …me: Brightness;<br>Method or attribute name: static setKeepScreenOn(options?: SetKeepScreenOnOptio…
|
/ohos5.0/docs/zh-cn/application-dev/media/image/ |
H A D | image-effect-guidelines.md | 223 // 获取自定义所设置的滤镜参数,其中"Brightness"为自定义滤镜的Key,由开发者自己任意指定。 225 … ImageEffect_ErrorCode errorCode = OH_EffectFilter_GetValue(filter, "Brightness", &value); 230 values["Brightness"] = value.dataValue.floatValue; 249 … ImageEffect_ErrorCode errorCode = OH_EffectFilter_SetValue(filter, "Brightness", &value);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/include/ |
H A D | sk_image_filter_factory.h | 33 static sk_sp<SkImageFilter> Brightness(float degree);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
H A D | sk_image_filter_factory_unittest.cpp | 110 auto filter = Rosen::SKImageFilterFactory::Brightness(0.5); 125 auto filter = Rosen::SKImageFilterFactory::Brightness(-1);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/ |
H A D | sk_image_filter_factory.cpp | 31 sk_sp<SkImageFilter> SKImageFilterFactory::Brightness(float degree) in Brightness() function in OHOS::Rosen::SKImageFilterFactory
|
/ohos5.0/base/powermgr/display_manager/state_manager/service/etc/ |
H A D | display.para | 14 # Brightness limits is 0-255.
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/include/ |
H A D | filter_napi.h | 47 static napi_value Brightness(napi_env env, napi_callback_info info);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk/src/ |
H A D | effect_filter.cpp | 77 if (!filter || !(CastToFilter(filter)->Brightness(brightness))) { in OH_Filter_Brighten()
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | image-effect-guidelines.md | 223 …// Obtain the custom filter parameter. In this example, Brightness is the key of the custom filter. 225 … ImageEffect_ErrorCode errorCode = OH_EffectFilter_GetValue(filter, "Brightness", &value); 230 values["Brightness"] = value.dataValue.floatValue; 249 … ImageEffect_ErrorCode errorCode = OH_EffectFilter_SetValue(filter, "Brightness", &value);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-battery.md | 56 |废弃版本有变化|类名:Brightness<br>废弃版本:9|类名:Brightness<br>废弃版本:7|@system.brightness.d.ts|
|