白丝美女被狂躁免费视频网站,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.

說明書

In some embodiments, the number of the ambient light sensor may be at least two. The at least two ambient light sensors may be spaced apart from each other. As illustrated in FIG. 3, obtaining the ambient light intensity value detected by the ambient light sensor at block S120 may include actions illustrated in following blocks.

At block 121, an ambient light intensity value detected by each ambient light sensor is obtained.

Controlling the display screen to respond according to the ambient light intensity value at block 130 may include follows.

At block 131, an average value of the ambient light intensity values detected by the at least two ambient light sensors is calculated.

At block 132, the display screen is controlled to respond according to the average value.

The electronic device includes at least two ambient light sensors. The at least two ambient light sensors are spaced apart from each other. As illustrated in FIG. 7, the preset region 23 of the display screen 20 at least includes region A and region B. One of two ambient light sensors is disposed facing region A, and the other one of the two ambient light sensors is disposed facing region B.

The electronic device may obtain an ambient light intensity value detected by each ambient light sensor. The electronic device calculates the average value of the ambient light intensity values detected by the at least two ambient light sensors, and controls the display screen to respond according to the average value.

權(quán)利要求

1
微信群二維碼
意見反饋