Patent ID: 11922842
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. An electronic device comprising:
a housing;
a flexible display having at least a partial area configured to be drawn out from the housing so that a size of a visible area of the flexible display can be changed;
a sensor configured to measure a length of the flexible display;
a memory; and
at least one processor operatively connected to the memory, the sensor, and the flexible display, and configured to control the electronic device to:
display first content in a first area comprising a partial area of the flexible display, in response to an input,
measure a length of the visible area of the flexible display from the housing using the sensor,
based on the length of the visible area of the flexible display measured using the sensor being a specified first length, determine that the electronic device is in a non-expanded state,
based on the length of the visible area of the flexible display measured using the sensor being a second length longer than the first length, determine that the electronic device is in an expanded state,
based on the electronic device being in an expanded state, display the first content in the first area, and display a user interface corresponding to at least one application and/or second content in a second area, wherein the second area comprises a partial area of the flexible display drawn out from the housing to be visible, and the second content is to be obtained by converting the first content into a form corresponding to a function provided by the at least one application
transmit, in response to an input, data corresponding to the first content to a server connected to the at least one application,
display a swap-related icon on an execution screen of the at least one application screen related to the second content in the second area, and
based on an input on the swap-related icon, swap a position of the first content in the first area with that of the execution screen of the at least one application displayed in the second area.