Abstract:
A method and a device are provided. The device includes a light-measuring sensor, a display, a memory, and at least one processor operatively connected to the light-measuring sensor, the display, and the memory, wherein the at least one processor is configured to analyze the frequency of an external light source, obtain an operation period of the display, obtain a ratio of an off period of time of the display on the basis of the operation period, and calculate illuminance by using different algorithms on the basis of the relationship between the frequency of the external light source and the operation period and the ratio of the off period of time of the display.
Abstract:
An electronic device is provided. The electronic device includes a display, a first module for an operation of a camera and an operation of an optical sensor disposed under the display, and at least one processor. The first module may include an image sensor, an infrared filter, and the optical sensor disposed close to the image sensor and inside an area of the infrared filter. The at least one processor may be configured to separate a time to output one frame into a first time period for the operation of the camera and a second time period for the operation of the optical sensor, perform the operation of the camera in the first time period using the first module, and perform the operation of the optical sensor in the second time period using the first module.
Abstract:
A foldable electronic device is provided. The foldable electronic device includes a foldable housing that can be fold/unfolded with respect to a folding shaft, a display that is visible through one surface of the foldable housing, a photosensor which is arranged inside the foldable housing and which includes a light-receiving unit for measuring the intensity of light emitted at the electronic device, and at least one processor operationally connected to the photosensor and the display, wherein the at least one processor is configured to acquire an illuminance value by using the photosensor, acquire data related to the incident angle of the light, emitted on the electronic device, by using the photosensor, correct the illuminance value based on the data related to the incident angle of the light, determine the brightness of a first part of the display based on the corrected illuminance value, and determine the brightness of a second part of the display based on the illuminance value and the angle formed by the foldable housing.
Abstract:
According to an embodiment, an electronic device may include: a display, an optical sensor disposed in a rear surface of the display and overlapping the display, the optical sensor including a light emitting unit including light emitting circuitry and a light receiving unit including light receiving circuitry, a processor operatively connected with the display and the optical sensor, and a memory operatively connected with the processor, wherein the memory may store instructions which, when executed, cause the processor to: obtain position information of a first area corresponding to the light emitting unit of the optical sensor in the display, and based on the light emitting unit of the optical sensor radiating light, output a visual object in the first area and/or an area adjacent to the first area on the display.
Abstract:
An electronic device is provided. The electronic device includes a housing including a front surface, a rear surface opposite to the front surface, and a space between the front surface and the rear surface, a display located inside the housing and viewed through the front surface of the housing to the outside of the electronic device, a support member supporting the display by protruding from the side surface toward the inside of the housing, an optical sensor including a light emitting unit and a light receiving unit wherein the optical sensor is located on a rear surface of the display and overlaps at least one area of the display when viewed from top of the front surface; and a partition wall member formed of an elastic material wherein the partition wall member is located between the display and the optical sensor, and at least a part region of the partition wall member is located between the light emitting unit and the light receiving unit to separate the light emitting unit and the light receiving unit.
Abstract:
An electronic device is provided. The electronic device includes a housing including a front surface and a rear surface facing, a display exposed through a portion of the front surface, an illuminance sensor disposed between the display and the rear surface to overlap an area of the display when viewed from above the front surface, a processor positioned inside the housing and operatively connected with the display, and a memory positioned inside the housing and operatively connected with the processor, wherein the memory stores instructions configured to, when executed, enable the processor to receive first illuminance data measured using the illuminance sensor, identify display parameter information associated with the first illuminance data, obtain second illuminance data based on at least a part of the display parameter information and the first illuminance data, and adjust a brightness of the display based on at least a part of the second illuminance data.
Abstract:
An electronic device and a method for recognizing a gesture by the electronic device are provided. The method includes sensing a change amount of a signal strength received through one or more channels by using a gesture sensor including the one or more channels, generating valid data according to the sensed change amount of the signal strength, recognizing a speed of the gesture according to the generated valid data, and determining the gesture according to the sensed change amount of the signal strength and the generated valid data.
Abstract:
A method and an apparatus for operating a proximity sensing function of an electronic device including a touch screen are provided. The electronic device detects a request for activating the proximity sensing function, and measures an illuminance value of light received by an illuminance sensor in response to the detected request. If the measured illuminance value is different from a predefined illuminance value, the device changes a threshold of the proximity sensing function, based on the measured illuminance value. The threshold is defined to determine whether an object is approaching the electronic device.