白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Method for detecting ambient light intensity, storage medium and electronic device

專利號
US11175824B2
公開日期
2021-11-16
申請人
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.(CN Guangdong)
發(fā)明人
Haiping Zhang; Yibao Zhou
IPC分類
G06F3/048; G06F3/0488; G09G3/20; G06F3/0484; G09G3/34
技術(shù)領(lǐng)域
ambient,light,intensity,display,screen,picture,preset,sensor,region,value
地域: Guangdong

摘要

The present disclosure provides a method for detecting ambient light intensity, a storage medium and an electronic device. The method for detecting ambient light intensity includes: controlling a preset region of a display screen of an electronic device to display a predetermined picture; obtaining an ambient light intensity value detected by the ambient light sensor; and controlling the display screen to respond according to the ambient light intensity value. The preset region is a region facing an ambient light sensor in the display screen. The predetermined picture is a pure color picture.

說明書

It can be seen that, embodiments of the present disclosure provide an electronic device. The electronic device is configured to perform: controlling the preset region of the display screen to display the predetermined picture, obtaining the ambient light intensity value detected by the ambient light sensor, and controlling the display screen to respond according to the ambient light intensity value. The preset region is the region facing the ambient light sensor in the display screen, and the predetermined picture is the pure color picture. With the electronic device provided in embodiments of the present disclosure, the preset region of the display screen is controlled to display the predetermined picture, such that light emitted from the preset region to into the ambient light sensor is reduced. Thus, influence of the display screen on the ambient light sensor may be reduced, and accuracy of the ambient light sensor detection may be improved.

Embodiments of the present disclosure further provide a storage medium. The storage medium has stored therein one or more computer programs. When the one or more computer programs is performed by a computer, the computer is configured to perform the above method for detecting ambient light intensity.

It should be noted that, one of ordinary skilled in the art will appreciate that all or part of the steps in various methods of the above-described embodiments can be accomplished by a computer program that instructs related hardware. The computer program may be stored in a computer readable storage medium. The storage medium may include, but is not limited to, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

權(quán)利要求

1
微信群二維碼
意見反饋