CPC G09G 3/035 (2020.08) [G09G 2310/02 (2013.01); G09G 2320/0626 (2013.01); G09G 2320/08 (2013.01); G09G 2340/045 (2013.01); G09G 2340/0464 (2013.01); G09G 2356/00 (2013.01)] | 20 Claims |
1. An electronic device comprising:
a first housing;
a second housing at least partially overlapping with the first housing and being movable;
a first conductive region formed or disposed inside the first housing;
a second conductive region formed or disposed inside the second housing to at least partially overlap with the first conductive region when the second housing moves with respect to the first housing;
a display in which at least a first region is exposed to the outside of the electronic device through a front surface of the electronic device, and a second region extending from the first region of the display is withdrawn from the inside of the first housing and exposed to the outside of the electronic device together with the first region when the electronic device is switched from a first state to a second state, and is introduced into the inside of the first housing when the electronic device is switched from the second state to the first state; and
at least one processor operatively connected to the display,
wherein the at least one processor is configured to:
identify a capacitance value, based on an overlapped region of the first conductive region and the second conductive region,
determine an externally exposed region of the display, on the basis of the identified capacitance value, and
control the region determined to be exposed outside, to an activated state, and controls the remaining region except the region determined to be exposed outside, to an inactivated state.
|