Electronic device including display, and operating method thereof

The electronic device uses grid-based and pixel-based layouts with coordinate conversion to address layout transitions in flexible displays, ensuring seamless and accurate object placement across different states, thereby improving user experience.

WO2026240356A1PCT designated stage Publication Date: 2026-11-19SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2026/004843
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-06-26
Filing Date
2026-03-26
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing electronic devices with flexible and resizable displays face challenges in seamlessly transitioning between different screen layouts and maintaining object positioning accuracy when changing from a folded to an unfolded state, leading to user inconvenience.

Method used

The electronic device employs a grid-based layout for a folded state and a pixel-based layout for an unfolded state, using a processor to convert pixel coordinates between these layouts to maintain object positioning and display continuity across different display configurations.

Benefits of technology

This approach ensures smooth transitions and accurate object placement across varying display configurations, enhancing user convenience and reducing display layout disruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2026004843_19112026_PF_FP_ABST
    Figure KR2026004843_19112026_PF_FP_ABST
Patent Text Reader

Abstract

According to one embodiment of the present disclosure, an electronic device comprises: a first housing and a second housing connected by a hinge; a first display configured to be visible from the outside; and a second display disposed on two surfaces which face each other when in a folded state, wherein, in a folded state, a first screen, in which a first object is disposed on at least one of a plurality of cells having a grid-based layout, is displayed on the first display, when an unfolded state is identified, first pixel coordinates are obtained from the object position with respect to the cell, the first pixel coordinates are converted into second pixel coordinates on the basis of the size of a second screen corresponding to the first screen, the second screen including the first object is displayed on the second display, the second screen is generated on the basis of a pixel-based layout, and the first object is disposed at a position corresponding to the second pixel coordinates in the second screen.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device including a display and method of operation thereof

[0001] The present disclosure relates to an electronic device including a display and a method of operating the same.

[0002] Recently, active development is underway regarding portable electronic devices and displays to achieve large screen sizes alongside ultra-thinness, lightweighting, and miniaturization. In particular, advancements in display technology are expanding beyond conventional fixed displays to flexible and resizable displays.

[0003] With the evolution of such display technology, active development is underway to display optimized screens on flexible and resizable displays in order to maximize user convenience.

[0004] The information described above may be provided as related art for the purpose of aiding understanding of the present disclosure. No claim or determination is made as to whether any of the foregoing may be applied as prior art related to the present disclosure.

[0005] An electronic device according to one embodiment of the present disclosure may include a housing comprising a first housing including a first surface and a second surface, and a second housing rotatably connected to the first housing through a hinge, wherein the second surface and the fourth surface face each other when the first housing and the second housing form a folded state; a first display visible from the outside through the third surface of the second housing; a second display disposed on at least the second surface of the first housing and the fourth surface of the second housing; a memory for storing instructions; and at least one processor comprising processing circuitry.The above instructions are executed collectively or individually by the at least one processor, so that the electronic device: when the first housing and the second housing form the folded state, displays a first screen containing a first object on the first display, wherein the first screen is generated based on a grid-based layout containing a plurality of cells, and the first object is placed within at least one of the plurality of cells; and, upon identifying that the first housing and the second housing form an unfolded state, obtains first pixel coordinates of the first object on the first screen based on the position of the first object relative to the plurality of cells included in the grid-based layout; and, based on the size of the second screen corresponding to the first screen and the size of the first screen, which is displayed on at least a part of the second display, converts the first pixel coordinates to second pixel coordinates to indicate the position of the first object relative to the second screen; and displays the second screen containing the first object on the second display. Display, wherein the second screen is generated based on a pixel-based layout, and the first object may be placed at a position corresponding to the second pixel coordinate within the second screen.

[0006] A method of operating an electronic device according to one embodiment of the present disclosure, wherein the electronic device may include a housing comprising a first housing including a first surface and a second surface, and a second housing including a third surface and a fourth surface and rotatably connected to the first housing through a hinge, wherein the second surface and the fourth surface face each other when the first housing and the second housing form a folded state; a first display visible from the outside through the third surface of the second housing; and a second display disposed on at least the second surface of the first housing and the fourth surface of the second housing. The method comprises, when the first housing and the second housing form the folded state, an operation of displaying a first screen including a first object on the first display, wherein the first screen is generated based on a grid-based layout including a plurality of cells, and the first object is disposed within at least one of the plurality of cells; The method comprises: an operation of obtaining first pixel coordinates of the first object on the first screen based on the position of the first object in the plurality of cells included in the grid-based layout, upon identifying that the first housing and the second housing form an unfolded state; an operation of converting the first pixel coordinates into second pixel coordinates to indicate the position of the first object in the second screen based on the size of the second screen corresponding to the first screen and the size of the first screen, which is displayed on at least a part of the second display; and an operation of displaying the second screen containing the first object on the second display, wherein the second screen is generated based on a pixel-based layout and the first object may be placed at a position corresponding to the second pixel coordinates within the second screen.

[0007] FIG. 1 is a front view of a multi-foldable electronic device according to one embodiment of the present disclosure.

[0008] FIG. 2 is a rear view of a multi-foldable electronic device according to one embodiment of the present disclosure.

[0009] FIG. 3 is a side view of a multi-foldable electronic device in a first state according to one embodiment of the present disclosure.

[0010] FIG. 4 is a side view of a multi-foldable electronic device in a second state according to one embodiment of the present disclosure.

[0011] FIG. 5 is a side view of a multi-foldable electronic device in a third state according to one embodiment of the present disclosure.

[0012] FIG. 6 illustrates a screen generated based on a grid-based layout and a screen generated based on a pixel-based layout according to one embodiment of the present disclosure.

[0013] FIG. 7 illustrates an example of placing objects within a screen generated based on a grid-based layout according to one embodiment of the present disclosure.

[0014] FIG. 8 is a drawing for explaining a home screen including a plurality of pages according to one embodiment of the present disclosure.

[0015] FIG. 9 is a drawing showing an example in which home screens generated based on a grid-based layout are displayed on a first display and a second display as the state of the housing of an electronic device (e.g., the electronic device (600) of FIG. 6) changes.

[0016] FIG. 10 illustrates an example of converting a first screen of a grid-based layout displayed on a first display into a second screen of a pixel-based layout and displaying it on a second display.

[0017] FIG. 11 illustrates an example of switching the display of a home screen generated based on a grid-based layout from a first display to a second display.

[0018] FIG. 12 illustrates an example of switching a home screen generated based on a grid-based layout according to one embodiment of the present disclosure from a first display to a second display.

[0019] FIG. 13 illustrates a flowchart of an operation performed by an electronic device according to one embodiment of the present disclosure.

[0020] FIG. 14 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure obtains the first pixel coordinates of a first object on a first screen.

[0021] FIG. 15 illustrates an example in which an electronic device according to one embodiment of the present disclosure obtains first pixel coordinates of an object based on the position of the object in a plurality of cells of a grid-based layout.

[0022] FIG. 16 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure converts a first pixel coordinate to a second pixel coordinate.

[0023] FIG. 17 illustrates an example of an electronic device according to one embodiment of the present disclosure determining the position and size of a first object to be displayed on a second screen.

[0024] FIG. 18 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure determines the validity of a second screen.

[0025] FIG. 19 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure adjusts the position of a first object based on whether overlap or separation of the first object occurs.

[0026] FIG. 20 illustrates an example in which an electronic device according to one embodiment of the present disclosure displays a home screen on a plurality of regions within a display.

[0027] FIG. 21 illustrates an example of an electronic device displaying a home screen according to one embodiment of the present disclosure.

[0028] FIG. 22 illustrates a unidirectional slideable electronic device according to one embodiment of the present disclosure.

[0029] FIG. 23 illustrates a block diagram of an electronic device in a network environment according to one embodiment of the present disclosure.

[0030] FIG. 24 is a block diagram showing the functional configuration of software included in an electronic device according to one embodiment of the present disclosure.

[0031] In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components.

[0032] Hereinafter, embodiments are described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present invention. However, this is not intended to limit the present invention to specific embodiments and should be understood to include various modifications, equivalents, and / or alternatives of the embodiments of the present invention.

[0033] FIG. 1 is a front view of a multi-foldable electronic device according to one embodiment of the present disclosure. FIG. 2 is a rear view of a multi-foldable electronic device according to one embodiment of the present disclosure.

[0034] According to one embodiment of the present disclosure, a multi-foldable electronic device (100) may include a first housing (110), a second housing (120), a third housing (130), a first hinge (140), a second hinge (150), and a flexible display (160). The first hinge (140) may be disposed between the first housing (110) and the second housing (120). The first hinge (140) may rotatably connect the first housing (110) and the second housing (120).

[0035] According to one embodiment, a second hinge (150) may be positioned between a second housing (120) and a third housing (130). The second hinge (150) may rotatably connect the second housing (120) and the third housing (130). A flexible display (160) may be positioned at least partially within the first housing (110), the second housing (120), and the third housing (130).

[0036] According to one embodiment, the flexible display (160) may be positioned to cross at least a portion of the first hinge (140) and the second hinge (150). The flexible display (160) may be folded or unfolded by the first hinge (140) and the second hinge (150).

[0037] According to one embodiment of the present disclosure, with reference to FIG. 1, a flexible display (160) may include a first display portion (161), a second display portion (162), and a third display portion (163). For example, the first display portion (161) may be an area placed in the first housing (110) of the entire area of ​​the flexible display (160). For example, the second display portion (162) may be an area placed in the second housing (120) of the entire area of ​​the flexible display (160). For example, the third display portion (163) may be an area placed in the third housing (130) of the entire area of ​​the flexible display (160).

[0038] An electronic device (100) according to one embodiment of the present disclosure may include a sub-display (170). The sub-display (170) may be placed in at least one of a first housing (110), a second housing (120), or a third housing (130) of the electronic device (100). For example, referring to FIG. 2, the sub-display (170) may be placed on the side opposite to the side where the second display portion (162) of the second housing (120) is placed.

[0039] Of course, the location where the sub-display (170) is placed is not limited to the example shown in FIG. 2. For example, unlike the example shown in FIG. 2, the sub-display (170) may be placed on the side opposite to where the first display portion (161) of the first housing (110) is placed, or on the side opposite to where the third display portion (163) of the third housing (130) is placed. That is, the sub-display (170) may be placed on the side where at least one cover member of the first housing (110), the second housing (120), or the third housing (130) is placed. In this case, the sub-display (170) may constitute at least a part of the exterior of the multi-foldable electronic device (100).

[0040] FIG. 3 is a side view of a multi-foldable electronic device in a first state according to one embodiment of the present disclosure.

[0041] According to one embodiment of the present disclosure, with reference to FIG. 3, a first state of a multi-foldable electronic device (100) may include a state in which the multi-foldable electronic device (100) is unfolded by a first hinge (140) and unfolded by a second hinge (150). For example, in the first state in which the multi-foldable electronic device (100) is unfolded by the first hinge (140) and the second hinge (150), the first housing (110), the second housing (120), and the third housing (130) may be arranged substantially parallel to each other. For example, in the first state in which the multi-foldable electronic device (100) is unfolded, the first display portion (161), the second display portion (162), and the third display portion (163) of the flexible display (160) may be arranged substantially parallel to each other. For example, in a first state in which the multi-foldable electronic device (100) is unfolded, the first display portion (161), the second display portion (162), and the third display portion (163) of the flexible display (160) may be positioned to face a first direction (e.g., the +z axis direction).

[0042] According to one embodiment of the present disclosure, the multi-foldable electronic device (100) can be unfolded sequentially by means of the second hinge (150) and the first hinge (140). For example, the second housing (120) and the third housing (130) can be rotated by means of the second hinge (150). For example, the first housing (110) and the second housing (120) can be rotated by means of the first hinge (140).

[0043] According to one embodiment of the present disclosure, as the second housing (120) and the third housing (130) are rotated by the second hinge (150), the second display portion (162) and the third display portion (163) of the flexible display (160) may be arranged substantially parallel. For example, the second display portion (162) and the third display portion (163) may be arranged to face a first direction. For example, as the second housing (120) and the third housing (130) are rotated by the second hinge (150), the second display portion (162) of the flexible display (160) may be moved away from the third display portion (163).

[0044] According to one embodiment of the present disclosure, as the first housing (110) and the second housing (120) are rotated by the first hinge (140), the first display portion (161) and the second display portion (162) of the flexible display (160) may be arranged substantially parallel. For example, the first display portion (161) and the second display portion (162) may be arranged to face a first direction. For example, as the first housing (110) and the second housing (120) are rotated by the second hinge (150), the first display portion (161) of the flexible display (160) may be moved away from the second display portion (162).

[0045] According to one embodiment of the present disclosure, with reference to FIG. 3, in a first state of a multi-foldable electronic device (100), a first display portion (161), a second display portion (162), and a third display portion (163) of a flexible display (160) may all be arranged to face a first direction.

[0046] FIG. 4 is a side view of a multi-foldable electronic device in a second state according to one embodiment of the present disclosure.

[0047] According to one embodiment of the present disclosure, referring to FIG. 4, a second state of the multi-foldable electronic device (100) may include a state in which the multi-foldable electronic device (100) is folded by a second hinge (150) and unfolded by a first hinge (140). The first housing (110) and the second housing (120) may be rotated by the first hinge (140). For example, when the multi-foldable electronic device (100) is folded by the second hinge (150), the second housing (120) may overlap with the third housing (130). For example, as the multi-foldable electronic device (100) is folded by the second hinge (150), the third display portion (163) of the flexible display (160) may come closer to the second display portion (162). For example, when the multi-foldable electronic device (100) is folded by the second hinge (150), the second display portion (162) and the third display portion (163) of the flexible display (160) may be overlapped. For example, the state in which the second display portion (162) and the third display portion (163) are overlapped may include a state in which the second display portion (162) and the third display portion (163) are positioned to face each other. For example, the state in which the second display portion (162) and the third display portion (163) are overlapped may include a state in which the third display portion (163) is positioned to face the second direction (-z-axis direction) and the second display portion (162) is positioned to face the first direction.

[0048] FIG. 5 is a side view of a multi-foldable electronic device in a third state according to one embodiment of the present disclosure.

[0049] According to one embodiment of the present disclosure, with reference to FIG. 5, a third state of a multi-foldable electronic device (100) may include a state in which, in the second state, the multi-foldable electronic device (100) is folded by a first hinge (140). For example, in the third state, the first housing (110) may be arranged to overlap with the second housing (120) and the third housing (130). For example, in the third state, the first housing (110), the second housing (120), and the third housing (130) may be arranged to overlap each other. For example, in the third state, the first display portion (161) and the third display portion (163) of the flexible display (160) may be arranged to face a first direction, and the second display portion (162) may be arranged to face a second direction.

[0050] According to one embodiment of the present disclosure, in a third state, a third housing (130) may be disposed between the first housing (110) and the second housing (120). In a third state, as the multi-foldable electronic device (100) is folded by the first hinge (140), the third housing (130) may be disposed or accommodated within the space formed between the first housing (110) and the second housing (120). To form the space in which the third housing (130) may be disposed or accommodated, the width of the first hinge (140) may be wider than the width of the second hinge (150). For example, by having a width of the first hinge (140) that is wider than the width of the second hinge (150), the radius of rotation of the first housing (110) or the second housing (120) by the first hinge (140) may be larger than the radius of rotation of the second housing (120) or the third housing (130) by the second hinge (150).

[0051] According to one embodiment of the present disclosure, in a third state, for example, with reference to FIG. 5, in a third state of a multi-foldable electronic device (100), a sub-display (170) placed in a second housing (120) may be positioned to face a first direction (e.g., +z axis direction). Of course, as described above with reference to FIG. 2, the position where the sub-display (170) is placed is not limited to the second housing (120), so the direction in which the sub-display (170) faces in a third state of the multi-foldable electronic device (100) may differ from the example shown in FIG. 5. For example, if the sub-display (170) is placed on the side opposite to the side where the first display portion (161) of the first housing (110) is placed, in a third state of the multi-foldable electronic device (100), the sub-display (170) placed in the first housing (110) may be positioned to face a second direction (e.g., -z axis direction).

[0052] Hereinafter, in the present disclosure, the state of the multi-foldable electronic device (100) described above with reference to FIGS. 3 to 5 may be used interchangeably with the “state of the housing.” For example, the first state described in FIG. 3 may be referred to as “the state in which the housing is unfolded” or “the state in which the housing is fully unfolded.” Also, for example, the second state described in FIG. 4 may be referred to as “the state in which the housing is partially unfolded,” “the state in which the housing is partially folded,” or “the intermediate state of the housing.” Also, for example, the third state described in FIG. 5 may be referred to as “the state in which the housing is folded” or “the state in which the housing is fully folded.”

[0053] FIG. 6 illustrates a screen generated based on a grid-based layout and a screen generated based on a pixel-based layout according to one embodiment of the present disclosure.

[0054] The electronic device (600) of FIG. 6 may correspond to the electronic device (100) of FIG. 1 to FIG. 5.

[0055] However, the electronic device (600) may not be limited to the electronic device (100) of FIGS. 1 to 5. For example, the electronic device (600) may not be a multi-foldable electronic device, but may include a foldable electronic device configured such that a housing including a first housing and a second housing is folded by a single hinge portion. In this case, the third housing (130), the second hinge (150), and the third display portion (163) in FIGS. 1 to 5 may be omitted.

[0056] Hereinafter, with reference to FIG. 6, a screen generated based on a grid-based layout and a pixel-based layout will be described.

[0057] According to one embodiment of the present disclosure, the grid (650) may include a plurality of cells. Here, each cell may represent an area having a specified size. That is, the grid (650) may be understood as a set of areas having a specified size. The plurality of cells constituting the grid (650) may not be visually identifiable on a display (e.g., sub-display (170) of FIG. 2). The edges of the plurality of cells constituting the grid (650) may not be displayed on the display (e.g., sub-display (170) of FIG. 2). The size of each cell included within the grid (650) will be described in more detail with reference to FIG. 7.

[0058] According to one embodiment of the present disclosure, a grid-based layout may mean a layout that configures a screen based on a plurality of cells included in a grid (650). For example, each object included in a screen (e.g., a first screen (610), a third screen (630)) generated based on a grid-based layout may be placed at a designated location within at least one of the plurality of cells. The designated location where an object is placed within at least one cell will be described in more detail with reference to FIG. 7.

[0059] Referring to the example (601) of a screen generated based on the grid-based layout of FIG. 6, a first screen (610) displayed on the first display (670) of the electronic device (600) can be generated based on the grid-based layout. The first screen (610) may include at least one object (611, 612, 613).

[0060] Additionally, at least one object (611, 612, 613) included in the first screen (610) may be placed in a designated location within at least one cell among a plurality of cells included in the grid (650). For example, at least one app icon (611) for running an application or a folder (612) containing a list of at least one other object may be placed in a designated area within one cell among the plurality of cells. For example, at least one widget (613) providing a designated service of the application may be placed in a designated area within two or more cells among the plurality of cells included in the grid (650).

[0061] According to one embodiment of the present disclosure, a pixel-based layout may mean a layout that configures a screen based on pixels included in a second display (660). For example, the position of an object included in a screen (e.g., a second screen (620), a fourth screen (640)) generated based on a pixel-based layout may be determined in pixel units. That is, unlike a grid-based layout, a pixel-based layout may not include a grid (e.g., a grid (650)) that determines the position of an object. As a result, in the case of a pixel-based layout, objects within the screen can be placed more freely compared to a grid-based layout.

[0062] Referring to the example (602) of a screen generated based on a pixel-based layout of FIG. 6, a second screen (620) displayed on a second display (660) of an electronic device (600) may be generated based on a pixel-based layout that does not include the grid (650) in the example (601). For example, when at least one object (611, 612, 613) in the first screen (610) in the example (601) is displayed on the second screen (620), the position where the at least one object (611, 612, 613) is placed may be determined based on user settings or preset information of the electronic device (600). That is, in the case of the second screen (620) generated based on a pixel-based layout, unlike in the example (601), the position where the at least one object (611, 612, 613) is placed may not be limited by multiple cells within the grid (650).

[0063] According to one embodiment of the present disclosure, the home screen of the electronic device (600) may include at least one page. For example, the home screen may include a first screen (610) and a third screen (630). Also, for example, the first screen (610) may correspond to a first page of the home screen and the third screen (630) may correspond to a second page. The third screen (630) may be created based on a grid-based layout, similar to the first screen (610). Also, the third screen (630) may include at least one object. Also, the third screen (630) may be displayed on a first display (670), similar to the first screen (610).

[0064] According to one embodiment of the present disclosure, the second screen (620) and the fourth screen (640) may each correspond to the aforementioned first page and second page. Additionally, the second screen (620) and the fourth screen (640) may each be displayed on two adjacent areas of the second display (660). That is, a single screen including the second screen (620) and the fourth screen (640) may correspond to a single page including the aforementioned first page and second page.

[0065] Although it has been described above that the second screen (620) and the fourth screen (640) are each displayed on the second display (e.g., the flexible display (160) of FIG. 1), this is not limited thereto. For example, the second screen (620) excluding the fourth screen (640) may be displayed on the second display (e.g., the flexible display (160) of FIG. 1). Or, for example, the second screen (620) and the fourth screen (640) may be displayed as a single screen on the second display (e.g., the flexible display (160) of FIG. 1).

[0066] According to one embodiment of the present disclosure, when the first housing (e.g., the first housing (110) of FIG. 1) and the second housing (e.g., the second housing (120) of FIG. 1) of the electronic device (600) form a folded state, a first screen (610) generated based on a grid-based layout may be displayed on a first display (e.g., the sub-display (170) of FIG. 2). Additionally, when the first housing (e.g., the first housing (110) of FIG. 1) and the second housing (e.g., the second housing (120) of FIG. 1) of the electronic device (600) form an unfolded state, a second screen (620) generated based on a pixel-based layout may be displayed on a second display (e.g., the flexible display (160) of FIG. 1), but is not limited thereto.

[0067] Examples of home screens and the relationship between pages of home screens and screens displayed on the display will be explained in more detail with reference to FIG. 8.

[0068] Additionally, with reference to FIG. 6, the description of the third screen (630) and the fourth screen (640) described above will be understood by a person skilled in the art in the same way as the description of the first screen (610) and the second screen (620), respectively; therefore, unnecessary repetitive descriptions of the third screen (630) and the fourth screen (640) will be omitted.

[0069] FIG. 7 illustrates an example of placing objects within a screen generated based on a grid-based layout according to one embodiment of the present disclosure. The electronic device (700) of FIG. 7 may correspond to the electronic device (600) of FIG. 6. Additionally, the first screen (710) and the grid (720) of FIG. 7 may correspond to the first screen (610) of FIG. 6 and the grid (650) of FIG. 6, respectively.

[0070] Referring to FIG. 7, the specified size of the cells constituting the grid (720) and the specified location where an object is placed within at least one cell are described.

[0071] According to one embodiment of the present disclosure, the grid (720) may include a plurality of cells of a specified size. For example, the grid (720) may include a specified number of plurality of cells having a specified width (730) and a specified height (740). The plurality of cells constituting the grid (720) may be arranged to include M cells in the horizontal direction and N cells in the vertical direction. In this case, the grid (720) may be described as including cells arranged in an MxN arrangement in the present disclosure. For example, referring to FIG. 7, the grid (720) may include a total of 28 cells arranged in a 4x7 arrangement. In this case, the size of the plurality of cells may be determined based on the number of plurality of cells within the grid (720), the width and height of the first screen (710). For example, the horizontal length (730) of one of the multiple cells constituting the grid (720) may correspond to a value obtained by dividing the horizontal length of the first screen (710) by the number of cells arranged in the horizontal direction of the grid (720). For example, referring to FIG. 7, the horizontal length (730) of a cell constituting the grid (720) may correspond to a value obtained by dividing the horizontal length of the first screen (710) by 4. Similarly, referring to FIG. 7, the vertical length (740) of a cell constituting the grid (720) may correspond to a value obtained by dividing the vertical length of the first screen (710) by 7. Of course, the number and size of multiple cells within the grid (720) are not limited to the example of FIG. 7. For example, the grid (720) may include a total of 24 cells arranged in a 4x6 arrangement. In this case, the vertical length of each cell may be determined to be larger than the vertical length (740) of FIG. 7.

[0072] According to one embodiment of the present disclosure, an object (750) included in the first screen (710) may be placed in a designated area within at least one cell among a plurality of cells included in the grid (720). For example, the object (750) may be placed in a designated area within one cell (760) among a plurality of cells.

[0073] According to one embodiment of the present disclosure, a designated area within a cell (760) in which an object (750) is placed may be determined based on a designated point of the cell (760) and a designated point of the object (750). A designated point of the cell (760) may include a point (770) on the edge of the cell (760). Additionally, a designated point of the object (750) may include a point (780) on the edge of the object (750). Referring to FIG. 7, in this case, a designated area within a cell (760) in which an object (750) is placed may be determined based on a point (770) on the edge of the cell (760) and a point (780) on the edge of the object (750). For example, an object (750) may be positioned such that a point (780) on the edge of the object (750) is spaced apart by a specified distance (790) from a point (770) on the edge of the cell (760). The specified distance (790) may be specified for each object according to a user setting or a preset setting value of the electronic device (700). In the present disclosure, the area excluding the specified area within the cell (760) where the object (750) is positioned may be referred to as 'inner padding'. Additionally, the specified distance (790) between a point (770) on the edge of the cell (760) and a point (780) on the edge of the object (750) may be referred to as an 'inner padding value'.

[0074] In the present disclosure, a designated point of the cell (760) may include a point (770) on the edge of the cell (760) as described above, but the designated point of the cell (760) is not limited to a point on the upper left edge of the cell (760) as illustrated in FIG. 7. For example, a designated point of the cell (760) may include a point on the lower right, upper right, or lower left edge of the cell (760). Or, for example, a designated point of the cell (760) may include a specific location within the cell (760) (e.g., the center point of the cell (760)).

[0075] In the present disclosure, a designated point of the object (750) may include a point (780) on the edge of the object (750) as described above, but the designated point of the object (750) is not limited to the example illustrated in FIG. 7. For example, a designated point of the object (750) may include a point on the lower right, upper right, or lower left edge of the object (750). Or, for example, a designated point of the object (750) may include a specific location within the object (750) (e.g., the center point of the object (750)).

[0076] FIG. 8 is a drawing for explaining a home screen including a plurality of pages according to one embodiment of the present disclosure.

[0077] In the present disclosure, the term "home screen" may refer to a screen that is basically displayed on a display when the power of an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is turned on. Alternatively, the home screen may refer to a screen on which at least one object is placed, such as an application execution icon, status information of the electronic device (e.g., battery level, network connection status), or a widget.

[0078] In the present disclosure, 'page' may refer to a specific processing unit that is processed software-wise by an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) to generate a home screen. For example, a page may refer to a software processing unit that includes the width and height of the home screen, the number of at least one object included in the home screen, and the location where at least one object included in the home screen is placed. For example, the home screen may process multiple pages to generate multiple screens based on the same layout (e.g., a grid-based layout). The electronic device may render a screen corresponding to a specific page. Additionally, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display the rendered screen on a display.

[0079] Hereinafter, in the present disclosure, the 'first page' of the home screen may be referred to as a term meaning one page among a list of multiple pages. Additionally, in the present disclosure, the 'second page' of the home screen may be referred to as a term meaning the page following the first page among a list of multiple pages.

[0080] According to one embodiment of the present disclosure, the home screen may include a plurality of pages. For example, referring to FIG. 8, the home screen may include a first screen (810) corresponding to a first page of the home screen and a third screen (830) corresponding to a second page which is the next page of the first page. When the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) receives a specified user input while the first screen (810) corresponding to the first page is displayed on the first display (870), the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display the third screen (830) corresponding to the second page on the first display. For example, the user input may include, but is not limited to, a swipe input in a specified direction.

[0081] According to one embodiment of the present disclosure, a user interface indicating information regarding a page currently being displayed on a display among a plurality of pages may be displayed in at least a portion of the display. For example, when a first screen (810) corresponding to a first page is being displayed on a first display (870), a first UI (811) indicating that the first screen (810) corresponding to the first page is being displayed may be displayed on the first display (870). Similarly, for example, when a third screen (830) corresponding to a second page is being displayed on the first display (870), a second UI (831) indicating that the third screen (830) corresponding to the second page is being displayed may be displayed on the first display (870).

[0082] FIG. 9 is a drawing showing an example in which home screens generated based on a grid-based layout are displayed on a first display and a second display as the state of the housing of an electronic device (e.g., the electronic device (600) of FIG. 6) changes.

[0083] In the present disclosure, the home screen may be displayed on one display and another display as a specific event occurs while the home screen is being displayed on one display. The term "specific event" may mean a change in the folding state of an electronic device (e.g., the first state of FIG. 3, the second state of FIG. 4, the third state of FIG. 5) or a change in the folding state of a housing, but is not limited thereto. For example, the specific event may include a designated user input for switching the home screen (e.g., touch input, pressing of a physical button).

[0084] Referring to one example (901) of FIG. 9, when a specific event occurs while an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) displays a first screen generated based on a grid-based layout on a first display (e.g., the sub-display (170) of FIG. 2), a second screen generated based on a grid-based layout can be displayed on a second display (e.g., the flexible display (160) of FIG. 1). In this case, the layout of the first screen displayed on the first display (e.g., the sub-display (170) of FIG. 2) can be maintained on the second screen displayed on the second display (e.g., the flexible display (160) of FIG. 1).

[0085] On the other hand, referring to another example (902) of FIG. 9, when a specific event occurs while an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) displays a second screen generated based on a grid-based layout on a second display (e.g., the flexible display (160) of FIG. 1), the first screen generated based on a grid-based layout can be displayed on a first display (e.g., the sub-display (170) of FIG. 2). In this case, at least some information within the second screen displayed on the second display (e.g., the flexible display (160) of FIG. 1) may be changed and displayed on the first screen displayed on the first display (e.g., the sub-display (170) of FIG. 2). For example, at least one specific object (e.g., a widget (910)) included in the second screen may be omitted on the first screen. For example, the position where at least one other object (e.g., an app icon (920)) included in the second screen is placed may be changed on the first screen. That is, due to differences in the size and aspect ratio between the first display and the second display, or differences in the size and aspect ratio between the first screen and the second screen, there may be differences in the number or size of multiple cells constituting the grid of the first screen and the second screen. If there are differences in the number or size of multiple cells constituting the grid, the arrangement of objects may change or the arrangement of some objects may be omitted when switching the display of the home screen. If the arrangement of existing objects is not maintained when switching the display of the home screen, user inconvenience may occur.

[0086] FIG. 10 illustrates an example of converting a first screen of a grid-based layout displayed on a first display into a second screen of a pixel-based layout and displaying it on a second display.

[0087] The first screen (1010) of FIG. 10 may correspond to the first screen (810) of FIG. 8.

[0088] According to one embodiment of the present disclosure, the resolution of the first display (1070) and the resolution of the second display (1060) may be different. Referring to FIG. 7, the resolution of the first display (1070) may be smaller than the resolution of the second display (1060). For example, the first display (1070) may have a resolution of 400x1000, and the second display (1060) may have a resolution of 2400x1200.

[0089] In this case, as the first screen (1010) of a grid-based layout displayed on the first display (1070) is converted into a second screen (1020) of a pixel-based layout and displayed on the second display (1060), the size of the second screen (1020) may appear relatively smaller than that of the first screen (1010).

[0090] For example, a second screen (1020) can be generated based on the resolution of the first screen (1010) on the first display (1070). For example, if the resolution of the first screen (1010) is 400x800, a second screen (1020) with a resolution of 400x800 can be generated. When the second screen (1020) with a resolution of 400x800 is displayed on the second display (1060), the size of the second screen (1020) can be displayed relatively small compared to the physical size of the second display (1060).

[0091] FIG. 11 illustrates an example of switching the display of a home screen generated based on a grid-based layout from a first display to a second display.

[0092] The first display (1170) and the second display (1160) of FIG. 11 may correspond to the sub-display (170) of FIG. 2 and the flexible display (160) of FIG. 1, respectively.

[0093] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a home screen on a first display (1170). The home screen displayed on the first display (1170) may include a plurality of screens corresponding to a plurality of pages. For example, the home screen may include a first screen (1110) and a third screen (1130). The first screen (1110) and the third screen (1130) of FIG. 11 may correspond to the first screen (810) and the third screen (830) of FIG. 8, respectively. That is, the first screen (1110) and the third screen (1130) may correspond to the first page and the second page of the home screen, respectively.

[0094] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a second screen (1120) and a fourth screen (1140) corresponding to a first screen (1110) and a third screen (1130) displayed on a first display (1170) on a second display (1160). For example, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a first screen (1110) corresponding to a first page and a third screen (1130) corresponding to a second page on a second display (1160).

[0095] According to one embodiment of the present disclosure, the resolution of the second screen (1120) may be determined based on the resolution of the first screen (1110). Additionally, the resolution of the fourth screen (1140) may be determined based on the resolution of the third screen (1130). For example, the resolution of the second screen (1120) may be determined to be substantially the same as the resolution of the first screen (1110). The resolution of the fourth screen (1140) may be determined to be substantially the same as the resolution of the third screen (1130).

[0096] According to one embodiment of the present disclosure, the generated second screen (1120) and fourth screen (1140) may extend beyond a designated area of ​​the second display (1160). For example, if the resolution of the first display (1170) (e.g., 1080x2520) and the resolution of the second display (1160) (e.g., 2160x1584) are different, the second screen (1120) having substantially the same resolution (e.g., 1080x2160) as the resolution of the first screen (1110) (e.g., 1080x2160) may not be fully displayed on the second display (1160). Specifically, referring to FIG. 11, at least some area of ​​the second screen (1120) may not be displayed on the second display (1160) because the vertical value (e.g., 2160) of the resolution (e.g., 1080x2160) of the second screen (1120) is greater than the vertical value (e.g., 1584) of the resolution (e.g., 2160x1584) of the second display (1160). As with the example above for the second screen (1120), at least some area of ​​the fourth screen (1140) may not be displayed on the second display (1160). As a result, at least one object (1150) contained in some area (1123) of the second screen (1120) and the fourth screen (1140) may be positioned so as to be outside a designated area of ​​the second display (1160).

[0097] FIG. 12 illustrates an example of switching a home screen generated based on a grid-based layout according to one embodiment of the present disclosure from a first display to a second display.

[0098] The first display (1270) and the second display (1260) of FIG. 12 may correspond to the sub-display (170) of FIG. 2 and the flexible display (160) of FIG. 1, respectively.

[0099] In FIG. 12, an electronic device (e.g., the electronic device (600) of FIG. 6) calculates the position of an object in a first screen (1210) and a third screen (1230) based on a plurality of cells of a grid-based layout, and determines the position of an object in a second screen (1220) and a fourth screen (1240) of a pixel-based layout using the calculated position of an object in the first screen (1210) and the third screen (1230), thereby allowing objects in the first screen (1210) and the third screen (1230) to be placed more flexibly and appropriately in the second screen (1220) and the fourth screen (1240). An electronic device (e.g., the electronic device (600) of FIG. 6) calculates the position of an object in a first screen (1210) and a third screen (1230) based on a plurality of cells of a grid-based layout, and uses the calculated position of an object in the first screen (1210) and the third screen (1230) to determine the position of an object in a second screen (1220) and a fourth screen (1240) of a pixel-based layout, and this method is to be explained in more detail in FIG. 14 to 17.

[0100] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a home screen on a first display (1270). The home screen displayed on the first display (1270) may include a plurality of screens corresponding to a plurality of pages. For example, the home screen may include a first screen (1210) and a third screen (1230). The first screen (1210) and the third screen (1230) of FIG. 12 may correspond to the first screen (810) and the third screen (830) of FIG. 8, respectively. That is, the first screen (1210) and the third screen (1230) may correspond to the first page and the second page of the home screen, respectively.

[0101] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may switch the display of a first screen (1210) and a third screen (1230) displayed on a first display (1270) from the first display (1270) to a second display (1260). For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a second screen (1220) corresponding to the first screen and generated based on a pixel-based layout, and a fourth screen (1240) corresponding to the third screen (1230) and generated based on a pixel-based layout on the second display (1260). In this case, the second screen (1220) may correspond to the first page of the home screen displayed on the first display (1270). Additionally, the fourth screen (1240) may correspond to the second page of the home screen displayed on the first display (1270). The second screen (1220) may be displayed in the first area of ​​the second display (1260). The fourth screen (1240) may be displayed in the second area adjacent to the first area of ​​the second display (1260). That is, the second screen (1220) and the fourth screen (1240), generated based on a pixel-based layout, may constitute a single page for the home screen displayed on the second display (1260).

[0102] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can generate a screen (e.g., the second screen (1220) or the fourth screen (1240)) displayed on a second display (1260) based on the position of an object within a screen (e.g., the first screen (1210) or the third screen (1230)) displayed on a first display (1270). For example, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may generate a second screen (1220) or a fourth screen (1240) such that the position of objects in the first screen (1210) or the third screen (1230) in the first screen (1210) or the third screen (1230) is maintained in the second screen (1220) or the fourth screen (1240). That is, unlike the example described above with reference to FIG. 9 through 11, the arrangement of objects in the first screen (1210) or the third screen (1230) generated based on a grid-based layout may also be maintained in the second screen (1220) or the fourth screen (1240) generated based on a pixel-based layout.

[0103] FIG. 13 illustrates a flowchart of an operation performed by an electronic device according to one embodiment of the present disclosure.

[0104] In operation 1310, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a first screen containing a first object on a first display. When the first housing (e.g., the first housing (110) of FIG. 1) and the second housing (e.g., the second housing (120) of FIG. 1) of the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) form a folded state, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may display a first screen containing a first object on a first display.

[0105] According to one embodiment of the present disclosure, the first screen may include a screen generated based on a grid-based layout including a plurality of cells as described above with reference to FIG. 6.

[0106] In the present disclosure, terms such as 'first object,' 'second object,' and 'third object' may be used to distinguish objects placed on a screen. Additionally, the aforementioned terms for distinguishing objects may be used to refer to identical or similar objects regardless of the screen or display on which they are displayed. The first object may include, but is not limited to, an app icon, a folder, or a widget. For example, the first object may include an image or text.

[0107] According to one embodiment of the present disclosure, a first object may be placed within at least one cell among a plurality of cells constituting a grid of a grid-based layout. For example, the first object may be placed such that a point on the edge of the first object is spaced apart from a point on the edge of at least one cell by a specified distance.

[0108] In operation 1320, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify that the first housing and the second housing form an unfolded state. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify that the first housing and the second housing, which were forming a folded state, change to form an unfolded state. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify that the electronic device changes from the third state of the aforementioned multi-foldable electronic device (100) of FIG. 1 to the first state.

[0109] In operation 1330, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can obtain first pixel coordinates of a first object on a first screen. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can obtain first pixel coordinates of a first object on a first screen based on the position of the first object relative to a plurality of cells included in a grid-based layout. The position of the first object relative to the plurality of cells can be determined based on a designated reference position of the first screen, a designated first position of at least one cell among the plurality of cells of the first screen where the first object is placed, and a second position of the first object within the at least one cell. The operation of the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) obtaining first pixel coordinates will be described in more detail with reference to FIG. 14 and FIG. 15.

[0110] In operation 1340, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert a first pixel coordinate into a second pixel coordinate to indicate the position of a first object relative to a second screen. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert the first pixel coordinate into a second pixel coordinate to indicate the position of a first object relative to a second screen based on the size of the second screen relative to the first screen. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert the first pixel coordinate into the second pixel coordinate based on the ratio of the horizontal length of the first screen to the horizontal length of the second screen, and the ratio of the vertical length of the first screen to the vertical length of the second screen. The operation of an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) converting a first pixel coordinate to a second pixel coordinate will be explained in detail with reference to FIG. 16 and FIG. 17.

[0111] In operation 1350, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can display a second screen containing a first object on a second display.

[0112] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may generate a second screen based on a pixel-based layout. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may place a first object at a position corresponding to a second pixel coordinate within the second screen. A position corresponding to a second pixel coordinate within the second screen may mean a position relative to a designated reference position within the second screen. For example, if a designated reference position within the second screen is a point at the top-left edge of the second screen, the second pixel coordinate may represent a position relative to a predetermined distance moved to the right or downward from a point at the top-left edge of the second screen. For example, more specifically, if the pixel coordinates corresponding to a point at the top left of the edge of the second screen are represented as (0,0) and the second pixel coordinates are represented as a value such as (134, 546), the second pixel coordinates may represent a position moved 134 pixels to the right and 546 pixels downward from the reference position.

[0113] FIG. 14 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure obtains the first pixel coordinates of a first object on a first screen.

[0114] In operation 1410, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify a designated first location of at least one cell where a first object is placed.

[0115] According to one embodiment of the present disclosure, an electronic device (e.g., a multi-foldable electronic device (100) of FIG. 1) can identify a first location of at least one cell containing a first object based on a reference location and the size of a plurality of cells within a grid-based layout.

[0116] According to one embodiment of the present disclosure, the reference position may include a point on the edge of the first screen. For example, the reference position may include a point on the upper-left edge of the first screen.

[0117] According to one embodiment of the present disclosure, a first position of at least one cell may include a position of a point on the edge of at least one cell where a first object within a first screen is placed. Additionally, the first position may represent a position relative to a reference position of at least one cell where a first object is placed.

[0118] An electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify a first position based on the specified cell coordinates of at least one cell containing a first object among a plurality of cells, and the horizontal and vertical lengths of one cell. For example, if the specified cell coordinates of at least one cell containing a first object are (3, 2), the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the relative position in the horizontal direction of at least one cell containing a first object with respect to a reference position through a multiplication operation of the cell coordinate value 3 for the horizontal direction and the horizontal length of one cell. Similarly, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the relative position in the vertical direction of at least one cell containing a first object with respect to a reference position through a multiplication operation of the cell coordinate value 2 for the vertical direction and the vertical length of one cell. An example in which an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) identifies a first position based on the size of a plurality of cells will be described in more detail with reference to FIG. 15.

[0119] According to one embodiment of the present disclosure, a first position may be represented by a pair of coordinates including a value representing a distance in the horizontal direction and a value representing a distance in the vertical direction from a reference position, wherein a designated position of at least one cell containing a first object is separated from a reference position. Here, the 'value representing the distance' may mean a value in pixels, but is not limited thereto. For example, the 'value representing the distance' may mean a physical length in which the first screen is displayed on the first display.

[0120] In operation 1420, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify a second location within at least one cell of the first object.

[0121] According to one embodiment of the present disclosure, the second location may include a point on the edge of the first object. For example, the second location may include a point on the top-left, top-right, bottom-right, or bottom-left edge of the first object, but is not limited thereto. For example, the second location may include a point that is not on the edge of the first object.

[0122] According to one embodiment, the second position may be expressed as the position relative to the first object with respect to the aforementioned first position. For example, the second position may be expressed based on the distance from the first position to a designated point of the first object. For example, the second position may be expressed as a pair of coordinates including a value representing the distance from the first position to a designated point of the first object in the horizontal direction and a value representing the distance from the first position in the vertical direction.

[0123] An example of the second position will be explained in more detail with reference to FIG. 15.

[0124] In operation 1430, an electronic device (e.g., a multi-foldable electronic device (100) of FIG. 1) can calculate first pixel coordinates on a first screen of a first object based on a reference position, a first position, and a second position.

[0125] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may calculate first pixel coordinates representing the position of a first object relative to a reference position based on a reference position, a first position, and a second position. An example of a method for calculating first pixel coordinates will be described in more detail with reference to FIG. 15.

[0126] FIG. 15 illustrates an example in which an electronic device according to one embodiment of the present disclosure obtains first pixel coordinates of an object in a first display based on the position of the object in a plurality of cells of a grid-based layout. With reference to FIG. 15, a method is described in which an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) obtains first pixel coordinates of an object based on the position of the objects in a plurality of cells of a grid-based layout.

[0127] Referring to an example (1501) showing the positions of objects in multiple cells of a grid-based layout of FIG. 15, each object may be placed within at least one of the multiple cells. At least one first cell (1511) in which a first object (widget A) (1510) is placed may include eight cells arranged in a 4x2 arrangement. At least one second cell (1521) in which a second object (icon B) (1520) is placed may include one cell arranged in a 1x1 arrangement. At least one third cell (1531) in which a third object (widget C) (1530) is placed may include four cells arranged in a 2x2 arrangement.

[0128] According to one embodiment of the present disclosure, a designated first location of at least one cell in which an object is placed may include a point on the edge of said at least one cell. For example, a designated first location (1513) of at least one first cell (1511) in which a first object (1510) is placed may include a point on the upper left edge of at least one first cell (1511). For example, a designated first location (1523) of at least one second cell (1521) in which a second object (1520) is placed may include a point on the upper left edge of at least one second cell (1521). For example, a designated first location (1533) of at least one third cell (1531) in which a third object (1530) is placed may include a point on the upper left edge of at least one third cell (1531).

[0129] According to one embodiment of the present disclosure, a designated first position of at least one cell in which an object is placed may represent the relative position of at least one cell to a reference position (1540). The relative position of at least one cell to the reference position (1540) may be determined based on cell coordinates representing a designated cell among at least one cell in which an object is placed and / or the size of one cell.

[0130] For example, if the cell coordinates representing a designated cell among at least one first cell (1511) in which the first object (1510) is placed are (0,0), the first position (1513) of at least one first cell (1511) may be indicated as being substantially the same position as the reference position (1540).

[0131] For example, if the cell coordinates representing a designated cell among at least one second cell (1521) in which the second object (1520) is placed are (1,2), the first position (1523) of the at least one second cell (1521) may indicate that the at least one second cell (1521) is located at a distance from the reference position (1540) that is 1 multiplied by the horizontal length of one cell (e.g., 100 pixels) in the horizontal direction and 2 multiplied by the vertical length of one cell (e.g., 133 pixels) in the vertical direction.

[0132] For example, if the cell coordinates representing a designated cell among at least one third cell (1531) in which a third object (1530) is placed are (2,3), the first position (1533) of at least one third cell (1531) may indicate that the at least one third cell (1531) is located at a distance from the reference position (1540) that is 2 times the horizontal length of one cell (e.g., 100 pixels) in the horizontal direction and 3 times the vertical length of one cell (e.g., 133 pixels) in the vertical direction.

[0133] According to one embodiment of the present disclosure, a designated second location within at least one cell of an object may include a point of the object. For example, the second location may include a point on the edge of the object. For example, a designated second location (1515) within at least one first cell (1511) of a first object (1510) may include a point on the upper left edge of the first object (1510). For example, a designated second location (1525) within at least one second cell (1521) of a second object (1520) may include a point on the upper left edge of the second object (1520). For example, a designated second location (1535) within at least one third cell (1511) of a third object (1530) may include a point on the upper left edge of the third object (1530). Of course, as described above, the second location of each object is not limited to a point on the edge of the object. For example, the second position may include a point on the object excluding the edges of the object (e.g., a point corresponding to the center of the object).

[0134] According to one embodiment of the present disclosure, a designated second position within at least one cell of an object may represent the relative position of the object to a first position. In this case, the second position may represent a distance from the first position to a designated point of the object. For example, the second position may be represented by a pair of coordinates including a value representing a distance from the first position to a designated point of the object in the horizontal direction and a value representing a distance from the first position in the vertical direction.

[0135] For example, if the second position (1515) of the first object (1510) represents the relative position of the first object (1510) to the first position (1513) of at least one first cell (1511) in which the first object (1510) is placed, the second position (1515) of the first object (1510) may be expressed as a pair of coordinates including a value corresponding to the horizontal size of the first distance (1517) and a value corresponding to the vertical size of the first distance (1517).

[0136] Likewise, the second position (1525) of the second object (1520) may be represented by a pair of coordinates including a value corresponding to the horizontal size of the second distance (1527) from which the second object (1520) is separated from a designated first position (1523) of at least one second cell (152) where the second object (1520) is placed, and a value corresponding to the vertical size of the second distance (1527).

[0137] Likewise, the second position (1535) of the third object (1530) may be represented by a pair of coordinates including a value corresponding to the horizontal size of the third distance (1537) from which the third object (1530) is spaced from a designated first position (1533) of at least one third cell (1531) where the third object (1530) is placed, and a value corresponding to the vertical size of the third distance (1537).

[0138] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can calculate the first pixel coordinates of an object for a first screen (e.g., the first screen (1210) of FIG. 12) based on a reference position, a first position, and a second position.

[0139] Referring to the example (1502) showing the first pixel coordinates of objects for the first screen (e.g., the first screen (1210) of FIG. 12), the first pixel coordinates of an object for the first screen (e.g., the first screen (1210) of FIG. 12) can be expressed as the relative position of a designated point of the object to a reference position (1540).

[0140] For example, the first pixel coordinates (1550) of the first object (1510), representing the relative position of a point of the first object (1510) to the reference position (1540), can be determined based on the addition operation of the first position (1513) of at least one first cell (1511) where the first object (1510) is placed to the reference position (1540), and the second position (1515) representing the relative position of the first object (1510) to the first position (1513) of at least one first cell (1511).

[0141] For example, the first pixel coordinates (1560) of the second object (1520) representing the relative position of a point of the second object (1520) to the reference position (1540) may be determined based on the addition operation of the first position (1523) of at least one second cell (1521) where the second object (1520) is placed to the reference position (1540) and the second position (1525) representing the relative position of the second object (1520) to the first position (1523) of at least one second cell (1521).

[0142] For example, the first pixel coordinates (1570) of the third object (1530), representing the relative position of a point of the third object (1530) to the reference position (1540), can be determined based on the addition operation of the first position (1533) of at least one third cell (1531) where the third object (1530) is placed to the reference position (1540), and the second position (1535) representing the relative position of the third object (1530) to the first position (1533) of at least one third cell (1531).

[0143] FIG. 16 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure converts a first pixel coordinate to a second pixel coordinate.

[0144] Operations 1610 to 1620 of FIG. 16 may correspond to operation 1340 of FIG. 13.

[0145] In operation 1610, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the ratio of the horizontal length of the first screen to the horizontal length of the second screen, and the ratio of the vertical length of the first screen to the vertical length of the second screen.

[0146] In operation 1620, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert a first pixel coordinate to a second pixel coordinate based on identified ratios. Here, the second pixel coordinate may mean a pixel coordinate for indicating the position of a first object relative to a second screen as described above. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert the first pixel coordinate to a second pixel coordinate by multiplying the first pixel coordinate and the identified ratio. An example of converting the first pixel coordinate to a second pixel coordinate based on identified ratios will be described in more detail with reference to FIG. 17.

[0147] Additionally, in operation 1620, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert the first size of the first object to a second size based on the identified ratios. The first size may mean the size of the first object relative to the first screen. The second size may mean the size of the first object relative to the second screen.

[0148] An electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine a criterion for determining the size of the first object to be displayed on the second screen based on the type of the first object. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may set a different criterion for determining the size of the first object placed on the second screen depending on the type of the first object (e.g., app icon, widget, folder, image, text). For example, when the type of the first object is an image and text, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine the second size of the first object placed on the second screen as the value obtained by multiplying the first size of the first object placed on the first screen by an identified ratio. For example, if the type of the first object is an app icon, a widget, or a folder, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine the second size of the first object placed on the second screen to be the same value as the first size of the first object placed on the first screen. Of course, the criteria for determining the second size by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) are not limited to the examples described above. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may also determine the second size as a preset size for the first object depending on the size of the second screen or the type of layout for creating the second screen.

[0149] FIG. 17 illustrates an example of an electronic device according to one embodiment of the present disclosure determining the position and size of a first object to be displayed on a second screen.

[0150] The reference position (1710), the first object (widget A), the second object (icon B), and the third object (widget 3) of FIG. 17 may correspond to the reference position (1540), the first object (1510), the second object (1520), and the third object (1530) of FIG. 15, respectively. Additionally, the first pixel coordinate (1715) of the first object, the first pixel coordinate (1717) of the second object, and the first pixel coordinate (1719) of the third object of FIG. 17 may correspond to the first pixel coordinate (1550) of the first object (1510), the first pixel coordinate (1560) of the second object (1520), and the first pixel coordinate (1570) of the third object (1530) of FIG. 15, respectively.

[0151] Referring to FIG. 17, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert the first pixel coordinates of an object for a first screen into the second pixel coordinates of an object for a second screen.

[0152] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the ratio of the horizontal length (1711) of a first screen to the horizontal length (1721) of a second screen. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can calculate a value representing the ratio of the horizontal length (1721) of the second screen to the horizontal length (1711) of the first screen. In addition, in a similar manner, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the ratio of the vertical length (1713) of the first screen to the vertical length (1723) of the second screen. In the present disclosure, for convenience, the ratio of the horizontal length (1711) of the first screen and the horizontal length (1721) of the second screen, and the ratio of the vertical length (1713) of the first screen and the vertical length (1723) of the second screen may be referred to as the 'ratio of the size of the first screen to the size of the second screen'.

[0153] According to one embodiment of the present disclosure, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can convert first pixel coordinates (1715, 1717, 1719) for a first screen into second pixel coordinates (1725, 1727, 1729) for a second screen based on the ratio of the horizontal length (1711) of a first screen to the horizontal length (1721) of a second screen, and the ratio of the vertical length (1713) of a first screen to the vertical length (1723) of a second screen. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can obtain second pixel coordinates (1725, 1727, 1729) by multiplying the first pixel coordinates (1715, 1717, 1719) by the ratio of the size of the first screen to the size of the second screen. For example, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) has the first pixel coordinate (1715) of the first object (X a ,Y a Regarding ), X a and the value (X') obtained by multiplying the ratio of the width of the first screen (1711) and the width of the second screen (1721). a ) and Y a and the value (Y') obtained by multiplying the ratio of the vertical length (1713) of the first screen and the vertical length (1723) of the second screen a ) can be obtained. In this case, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is (X' a , Y' a ) can be determined as the second pixel coordinate (1725) of the first object.

[0154] The second pixel coordinates (1725, 1727, 1729) may represent the relative position of a designated point of a first object to a reference position (1720) of the second screen, just as the first pixel coordinates (1715, 1717, 1719) represent the relative position of a designated point of an object to a reference position (1710) of the first screen.

[0155] FIG. 18 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure determines the validity of a second screen.

[0156] The operations 1810 to 1850 of FIG. 18 are depicted as being performed after operation 1330 of FIG. 13, but are not limited thereto. For example, operations 1810 to 1850 may be performed before operation 1330 or in parallel with operation 1330.

[0157] In operation 1810, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify screen information for configuring a second screen.

[0158] According to one embodiment of the present disclosure, screen information may include, but is not limited to, information regarding the size of the screen, information regarding a display for displaying the screen, or information regarding an identifier of the screen, or a list of objects placed within the screen.

[0159] In operation 1820, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the display mode.

[0160] According to one embodiment of the present disclosure, a display mode may include a landscape mode and a portrait mode in which the screen is displayed. Alternatively, the display mode may be expressed in terms indicating the orientation of the screen. For example, the display mode may include a landscape orientation or a portrait orientation.

[0161] In operation 1830, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can identify the state of the housing.

[0162] According to one embodiment of the present disclosure, the state of the housing may include a state in which one surface of the first housing and one surface of the second housing are substantially horizontally arranged, and a state in which one surface of the first housing and one surface of the second housing are arranged to face each other. In the present disclosure, the aforementioned states may each be referred to as a 'state in which the housing is unfolded' and a 'state in which the housing is folded'.

[0163] In operation 1840, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine the validity of the second screen.

[0164] The 'validity' of the second screen may indicate whether the second screen corresponding to the first screen is validly displayed on the second display. The validity of the second screen may be determined, for example, according to a preset standard regarding the position and size of objects within the second screen being displayed on the second display.

[0165] According to one embodiment, the validity of the second screen can be determined before calculating the pixel-based coordinates of objects to be displayed on the second screen in operation 1340. For example, the validity of the second screen can be determined based on the state of the display mode and housing corresponding to the screen information identified in operation 1810, and the state of the display mode and housing identified in operations 1820 to 1830.

[0166] For example, if in operation 1810 the display mode corresponding to the screen information identified by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is horizontal mode and in operation 1820 the display mode identified by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is vertical mode, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine that the second screen is not valid.

[0167] For example, in operation 1810, if the state of the housing corresponding to the identified screen information is in an unfolded state, and in operation 1820, if the state of the housing identified by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is in a state where one side of the first housing and one side of the second housing are arranged to face each other, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine that the second screen is not valid.

[0168] For example, if the display mode and housing state corresponding to the screen information identified by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) in operation 1810 are the same as the display mode and housing state identified by the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) in operations 1820 to 1830, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine that the second screen is valid.

[0169] In operation 1850, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine the operation of the subsequent electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) based on the validity of the determined second screen.

[0170] An electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can perform operation 1340 of FIG. 13 as it determines that the second screen is valid. That is, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can initiate an operation to convert the first pixel coordinates into second pixel coordinates to indicate the position of the first object relative to the second screen.

[0171] On the other hand, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may stop the operation of FIG. 13 as it determines that the second screen is invalid. In FIG. 18, in this case, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) is shown to terminate the operation, but is not limited thereto. For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may change the criteria for generating the second screen as it determines that the second screen is invalid. In this case, the second screen may be generated by taking into account the display mode and the state of the housing identified in operations 1820 to 1830.

[0172] FIG. 19 illustrates a flowchart of an operation in which an electronic device according to one embodiment of the present disclosure adjusts the position of a first object based on whether overlap or separation of the first object occurs.

[0173] Operations 1910 to 1920 of FIG. 19 may mean operations of determining whether the second pixel coordinates of the first object obtained according to operation 1340 of FIG. 13 (e.g., the second screen (1220) of FIG. 12) can be appropriately displayed within the second screen (e.g., the second screen (1220) of FIG. 12), and appropriately adjusting the position of the first object in the second screen (e.g., the second screen (1220) of FIG. 12) according to the determined result.

[0174] In operation 1910, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine whether there is overlap or deviation of the first object. Overlap of an object may mean that at least a portion of two or more objects placed within a screen are displayed overlappingly. Deviation of an object may mean that at least a portion of an object is placed so as to extend beyond a designated area of ​​the second screen (e.g., the second screen (1220) of FIG. 12) or the second display (e.g., the flexible display (160) of FIG. 1).

[0175] An electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine whether there is overlap or separation of the first object based on the second pixel coordinates in the second screen of the first object (e.g., the second screen (1220) of FIG. 12). For example, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine whether the first object overlaps with another object based on the second pixel coordinates in the second screen of the first object (e.g., the second screen (1220) of FIG. 12), the size in the second screen of the first object (e.g., the second screen (1220) of FIG. 12), and the pixel coordinates and size in the second screen (e.g., the second screen (1220) of FIG. 12) of at least one object different from the first object placed in the second screen. Additionally, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine that the first object has moved out of the second screen (e.g., the second screen (1220) of FIG. 12) or the second display (e.g., the flexible display (160) of FIG. 1) if the second pixel coordinate of the first object placed on the second screen has a value greater than the pixel coordinate representing a designated area of ​​the second screen (e.g., the second screen (1220) of FIG. 12) or the pixel coordinate representing a designated area of ​​the second display (e.g., the flexible display (160) of FIG. 1).

[0176] In operation 1910, if the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) determines that there is no overlap or deviation of the first object, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may perform operation 1350 of displaying a second screen containing the first object of FIG. 13 on a second display.

[0177] In operation 1920, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can adjust the position of the first object. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can adjust the position of the first object based on determining in operation 1910 that there is overlap or separation of the first object. For example, if there is overlap between the first object and another object, the electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can adjust the position where the first object is placed so that it is separated from the other object that is overlapped. For example, an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can adjust the position of the first object so that when the first object moves out of a designated area of ​​the second screen (e.g., the second screen (1220) of FIG. 12) or the second display (e.g., the flexible display (160) of FIG. 1), the first object is placed within a designated area of ​​the second screen (e.g., the second screen (1220) of FIG. 12) or the second display (e.g., the flexible display (160) of FIG. 1).

[0178] FIG. 20 illustrates an example in which an electronic device according to one embodiment of the present disclosure displays a home screen on a plurality of regions within a display.

[0179] Referring to FIG. 20, an electronic device (e.g., a multi-foldable electronic device (100) of FIG. 1) can display second screens (2020, 2030, 2040) corresponding to a first screen (2010) displayed on a first display (e.g., a sub-display (170) of FIG. 2) on multiple areas of a second display (e.g., a flexible display (160) of FIG. 1).

[0180] According to one embodiment of the present disclosure, at least a portion of a second display (e.g., the flexible display (160) of FIG. 1) may be divided into a plurality of regions. For example, referring to one example (2002), a portion of the second display (e.g., the flexible display (160) of FIG. 1) may be divided into two regions: a first region (2021) and a second region (2022). For example, referring to another example (2003), a portion of the second display (e.g., the flexible display (160) of FIG. 1) may be divided into three regions: a first region (2031), a second region (2032), and a third region (2033). For example, referring to another example (2004), a portion of the second display (e.g., the flexible display (160) of FIG. 1) may be divided into four regions: a first region (2041), a second region (2042), a third region (2043), and a fourth region (2044).

[0181] According to one embodiment of the present disclosure, an electronic device (e.g., a multi-foldable electronic device (100) of FIG. 1) may display second screens (2020, 2030, 2040) corresponding to a first screen (2010) displayed on a first display (e.g., a sub-display (170) of FIG. 2) on a plurality of regions (2021, 2022, 2031, 2032, 2033, 2041, 2042, 2043, 2044) that divide a second display (e.g., a flexible display (160) of FIG. 1).

[0182] An electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may have a plurality of regions (2021, 2022, 2031, 2032, 2033, 2041, 2042, 2043, 2044), each of which may include a reference position. The electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) may determine the position in which objects within a first screen (2010) are placed within the second screens (2020, 2030, 2040) based on the reference position of each of the plurality of regions (2021, 2022, 2031, 2032, 2033, 2041, 2042, 2043, 2044). For example, in one example (2002), an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) can determine the location where objects within the first screen (2010) are placed within the second screen (2020) to be displayed in the second area (2021), based on a reference position (2023) for the second area (2021). A method for determining the location where objects within the first screen (2010) are placed within the second screens (2020, 2030, 2040) based on a reference position for each of the plurality of areas (2021, 2022, 2031, 2032, 2033, 2041, 2042, 2043, 2044) can be understood as having been described above with reference to FIG. 13 through 17.

[0183] FIG. 21 illustrates an example of an electronic device displaying a home screen according to one embodiment of the present disclosure.

[0184] The above description describes a method for displaying a home screen on different displays (e.g., the flexible display (160) of FIG. 1 and the sub-display (170) of FIG. 2) within an electronic device (e.g., the multi-foldable electronic device (100) of FIG. 1) according to one embodiment, but is not limited thereto. For example, the above-described embodiment may be similarly applied to a method of displaying a screen corresponding to a home screen displayed on a first display of one electronic device on a second display of another electronic device, or to a method of adjusting the size of the area where the home screen is displayed within one display of the electronic device.

[0185] For example, by using a method that identifies the pixel-based location of an object within a first screen as described above, and determines the location where the object is placed within a second screen that has a different size and aspect ratio from the first screen based on the identified location, a second home screen (2120) corresponding to a first home screen (2110) displayed on a first display of an electronic device may be displayed on a second display of another electronic device that has a different aspect ratio of horizontal length and vertical length from the first display. Alternatively, for example, a third home screen (2130) that has adjusted the size or aspect ratio of the first home screen (2110) within a single display may be displayed. Alternatively, for example, a fourth home screen (2140) corresponding to a first home screen (2110) displayed on a first display of an electronic device may be mirrored and displayed on a second display of another electronic device that has a horizontal length and vertical length smaller than the first display.

[0186] In the above description, an electronic device according to one embodiment (e.g., the electronic device (600) of FIG. 6) is described as a multi-foldable electronic device or a foldable electronic device that is folded by a single hinge portion, but is not limited thereto. For example, an electronic device according to one embodiment may include a unidirectional slideable electronic device, a bidirectional slideable electronic device, and a rollable electronic device. Hereinafter, with reference to FIG. 22, a method of displaying a screen using an electronic device including a display that can be expanded or contracted according to one embodiment of the present disclosure will be described.

[0187] FIG. 22 illustrates an electronic device according to one embodiment of the present disclosure.

[0188] Referring to FIG. 22, the electronic device (2200) may include a display that can be expanded or contracted in size. For example, the electronic device (2200) may include a slideable display. For example, the electronic device (2200) may include a slideable display that can be expanded or contracted in size by sliding to the right or left direction relative to one side of the electronic device (2200).

[0189] In FIG. 22, only a unidirectional slideable display that can be expanded in one direction or contracted in the opposite direction relative to one side of the electronic device (2200) along the horizontal axis of the electronic device (2200) is illustrated, but according to one embodiment of the present disclosure, the types of expandable or contractable displays included in the electronic device (2200) are not limited to the examples illustrated in FIG. 22. For example, the electronic device (2200) may include a bidirectional slideable display that can be expanded or contracted in both directions relative to the horizontal axis or vertical axis of the electronic device (2200), or a rollable display that can be rolled relative to one side of the electronic device (2200) to expand or contract in size.

[0190] According to one embodiment of the present disclosure, an electronic device (2200) may display at least one of the screens according to the aforementioned embodiment of the present disclosure on a reduced display (2270) or an expanded display (2260). For example, the electronic device (2200) may display a first screen (e.g., the first screen (610) of FIG. 6) or a third screen (e.g., the third screen (630) of FIG. 6) generated based on a grid-based layout on the reduced display (2270). Additionally, for example, the electronic device (2200) may display at least one of a second screen (e.g., the second screen (620) of FIG. 6) or a fourth screen (e.g., the fourth screen (640) of FIG. 6) generated based on a pixel-based layout on the expanded display (2260).

[0191] FIG. 23 is a block diagram of an electronic device (2301) in a network environment (2300) according to one embodiment of the present disclosure. The electronic device (2301) of FIG. 23 may include the electronic device (100) of FIG. 1 to 5, the electronic device (600) of FIG. 6, the electronic device (700) of FIG. 7, or the electronic device (2200) of FIG. 22.

[0192] Referring to FIG. 23, in a network environment (2300), an electronic device (2301) may communicate with an electronic device (2302) through a first network (2398) (e.g., a short-range wireless communication network) or with at least one of an electronic device (2304) or a server (2308) through a second network (2399) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (2301) may communicate with the electronic device (2304) through a server (2308). According to one embodiment, the electronic device (2301) may include a processor (2320), memory (2330), input module (2350), sound output module (2355), display module (2360), audio module (2370), sensor module (2376), interface (2377), connection terminal (2378), haptic module (2379), camera module (2380), power management module (2388), battery (2389), communication module (2390), subscriber identification module (2396), or antenna module (2397). In some embodiments, at least one of these components (e.g., connection terminal (2378)) may be omitted from the electronic device (2301), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (2376), camera module (2380), or antenna module (2397)) may be integrated into a single component (e.g., display module (2360)).

[0193] The processor (2320) can, for example, execute software (e.g., program (2340)) to control at least one other component (e.g., hardware or software component) of the electronic device (2301) connected to the processor (2320) and perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (2320) can store commands or data received from other components (e.g., sensor module (2376) or communication module (2390)) in volatile memory (2332), process the commands or data stored in volatile memory (2332), and store the resulting data in non-volatile memory (2334). According to one embodiment, the processor (2320) may include a main processor (2321) (e.g., a central processing unit or an application processor) or an auxiliary processor (2323) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (2301) includes a main processor (2321) and an auxiliary processor (2323), the auxiliary processor (2323) may be configured to use less power than the main processor (2321) or to be specialized for a specified function. The auxiliary processor (2323) may be implemented separately from the main processor (2321) or as part thereof.

[0194] The auxiliary processor (2323) may control at least some of the functions or states associated with at least one component of the electronic device (2301) (e.g., display module (2360), sensor module (2376), or communication module (2390)) on behalf of the main processor (2321) while the main processor (2321) is in an inactive (e.g., sleep) state, or together with the main processor (2321) while the main processor (2321) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (2323) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (2380) or communication module (2390)). According to one embodiment, the auxiliary processor (2323) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (2301) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (2308)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.

[0195] The memory (2330) can store various data used by at least one component of the electronic device (2301) (e.g., processor (2320) or sensor module (2376)). The data may include, for example, software (e.g., program (2340)) and input or output data for related commands. The memory (2330) may include volatile memory (2332) or non-volatile memory (2334).

[0196] The program (2340) may be stored as software in memory (2330) and may include, for example, an operating system (2342), middleware (2344), or an application (2346).

[0197] The input module (2350) can receive commands or data to be used for a component of the electronic device (2301) (e.g., processor (2320)) from outside the electronic device (2301) (e.g., user). The input module (2350) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0198] The sound output module (2355) can output a sound signal to the outside of the electronic device (2301). The sound output module (2355) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.

[0199] The display module (2360) can visually provide information to an external (e.g., user) of the electronic device (2301). The display module (2360) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (2360) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.

[0200] The audio module (2370) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (2370) can acquire sound through the input module (2350) or output sound through the sound output module (2355) or an external electronic device (e.g., electronic device (2302)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (2301).

[0201] The sensor module (2376) can detect the operating state of the electronic device (2301) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (2376) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0202] The interface (2377) may support one or more specified protocols that can be used for the electronic device (2301) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (2302)). According to one embodiment, the interface (2377) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0203] The connection terminal (2378) may include a connector through which the electronic device (2301) can be physically connected to an external electronic device (e.g., electronic device (2302)). According to one embodiment, the connection terminal (2378) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0204] The haptic module (2379) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module (2379) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.

[0205] The camera module (2380) can capture still images and video. According to one embodiment, the camera module (2380) may include one or more lenses, image sensors, image signal processors, or flashes.

[0206] The power management module (2388) can manage the power supplied to the electronic device (2301). According to one embodiment, the power management module (2388) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).

[0207] The battery (2389) can supply power to at least one component of the electronic device (2301). According to one embodiment, the battery (2389) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0208] The communication module (2390) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (2301) and an external electronic device (e.g., electronic device (2302), electronic device (2304), or server (2308)), and the performance of communication through the established communication channel. The communication module (2390) may include one or more communication processors that operate independently of the processor (2320) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (2390) may include a wireless communication module (2392) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (2394) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (2304) via a first network (2398) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (2399) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (2392) can identify or authenticate the electronic device (2301) within a communication network such as the first network (2398) or the second network (2399) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (2396).

[0209] The wireless communication module (2392) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (2392) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (2392) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (2392) can support various requirements specified in the electronic device (2301), external electronic device (e.g., electronic device (2304)), or network system (e.g., second network (2399)). According to one embodiment, the wireless communication module (2392) can support a Peak data rate (e.g., 20 Gbps or more) for eMBB realization, loss coverage (e.g., 164 dB or less) for mMTC realization, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for URLLC realization.

[0210] The antenna module (2397) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (2397) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (2397) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (2398) or a second network (2399), may be selected from the plurality of antennas, for example, by a communication module (2390). The signal or power may be transmitted or received between the communication module (2390) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (2397).

[0211] According to various embodiments, the antenna module (2397) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.

[0212] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.

[0213] According to one embodiment, commands or data may be transmitted or received between the electronic device (2301) and an external electronic device (2304) through a server (2308) connected to a second network (2399). Each of the external electronic devices (2302, or 2304) may be the same or a different type of device as the electronic device (2301). According to one embodiment, all or part of the operations performed on the electronic device (2301) may be performed on one or more of the external electronic devices (2302, 2304, or 2308). For example, if the electronic device (2301) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (2301) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (2301). The electronic device (2301) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (2301) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (2304) may include an Internet of Things (IoT) device. The server (2308) may be an intelligent server using machine learning and / or neural networks.According to one embodiment, an external electronic device (2304) or server (2308) may be included within the second network (2399). The electronic device (2301) may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0214] FIG. 24 is a block diagram showing the functional configuration of software included in an electronic device according to one embodiment of the present disclosure.

[0215] The electronic device (2400) of FIG. 24 may correspond to the electronic device (100) of FIG. 1 to 5 described above, the electronic device (600) of FIG. 6, the electronic device (700) of FIG. 7, the electronic device (2200) of FIG. 22, or the electronic device (2300) of FIG. 23.

[0216] Referring to FIG. 24, the electronic device (2400) may include a display manager (2410) and a home application (2420).

[0217] The functional configuration of the software within the electronic device (2400) may be a functional configuration of the software controlled by at least one processor of the electronic device (2400) (e.g., the processor (2320) of FIG. 23). Of course, the software within the electronic device (2400) is not limited to the example shown in FIG. 24, and other configurations may be added, or some of the configurations shown may be omitted. Also, for example, the functional configurations of the software shown in FIG. 24 may be stored in the memory (2530) of FIG. 25.

[0218] According to one embodiment of the present disclosure, a display manager (2410) can manage a display of an electronic device (2400) (e.g., a display module (2360) of FIG. 23). For example, information regarding a display (e.g., a flexible display (160) of FIG. 1, or a sub-display (170) of FIG. 2) on which an application of the electronic device (2400) (e.g., an application (2346) of FIG. 23) is displayed can be transmitted to the application.

[0219] Information regarding the display (e.g., the display module (2360) of FIG. 23) may include the status of the display (e.g., the display module (2360) of FIG. 23) and setting information associated with the display (e.g., the display module (2360) of FIG. 23). For example, information regarding a display (e.g., the display module (2360) of FIG. 23) may include information regarding the type of display (e.g., the flexible display (160) of FIG. 1 or the sub-display (170) of FIG. 2) included in the electronic device (2400), information regarding the size of the display (e.g., dp, dpi, px), information regarding the resolution of the display (e.g., the flexible display (160) of FIG. 1 or the sub-display (170) of FIG. 2), and information regarding the orientation of the display (e.g., the flexible display (160) of FIG. 1 or the sub-display (170) of FIG. 2).

[0220] Additionally, information regarding the display (e.g., the display module (2360) of FIG. 23) may include information regarding the size of the execution screen of the application (e.g., the application (2346) of FIG. 23), information regarding the orientation of the execution screen of the application (e.g., the application (2346) of FIG. 23), and information regarding the settings inside the application (e.g., the application (2346) of FIG. 23).

[0221] According to one embodiment of the present disclosure, a home application (2420) may include an application that performs an operation to configure a home screen of an electronic device (2400). The home application (2420) may generate a screen corresponding to at least one page of the home screen based on the form factor of the electronic device (2400), information regarding the aforementioned display (e.g., the display module (2360) of FIG. 23), or the settings of the home application (2420). Additionally, the home application (2420) may determine the location where an object, such as an app icon, widget, folder, image, or text, is placed on the screen. Additionally, the home application (2420) may perform a specified operation based on a specified user input regarding the object.

[0222] According to one embodiment of the present disclosure, the home application (2420) may include a page manager (2430), a data sanitizer (2460), and a grid controller (2470).

[0223] The page manager (2430) can perform an operation to create a screen corresponding to at least one page of the home screen based on the form factor of the electronic device (2400), information regarding the display (e.g., the display module (2360) of FIG. 23), or the settings of the home application (2420), among the operations of the home application (2420) described above. The page manager (2430) can identify information regarding the position and size of each page of the home screen. Additionally, the page manager (2430) can adjust the position or size of the screen corresponding to the page based on a specified user input or the state of the electronic device (2400) (e.g., display mode, or the folding state of the electronic device). Additionally, the page manager (2430) can determine which page of the home screen's screen corresponds to be displayed on the display (e.g., the sub-display (170) of FIG. 2).

[0224] A page (2440) within the page manager (2430) may include at least one object (or object) (2450). At least one object (2450) may be placed within a screen corresponding to the page (2440). As previously described, at least one object (2450) may include, but is not limited to, an app icon, a widget, a folder, an image, or text. The position where at least one object (2450) is placed within the screen corresponding to the page (2440) may be expressed as a value in a specified unit. For example, at least one object (2450) may be expressed as pixel coordinates indicating a position relative to a reference position on the screen, as previously described, but is not limited thereto.

[0225] The data sanitizer (2460) can identify screen size information corresponding to the state of the electronic device (2400) (e.g., display mode, or folding state of the electronic device). Additionally, the data sanitizer (2460) can determine the validity of the second screen described above with reference to FIG. 18 based on the form factor of the electronic device (2400), the mode of the display (e.g., display module (2360) of FIG. 23) (e.g., landscape mode or portrait mode), or the folding state of the electronic device (2400). Additionally, the data sanitizer (2460) can identify a change in the mode of the display (e.g., display module (2360) of FIG. 23) (e.g., landscape mode or portrait mode), or the folding state of the electronic device (2400). The data sanitizer (2460) can adjust the size of the screen or the position where at least one object is placed within the screen according to the mode of the identified display (e.g., the display module (2360) of FIG. 23) (e.g., landscape mode or portrait mode) or the folding state of the electronic device (2400).

[0226] The grid controller (2470) can identify information regarding the grid (grid (650) of FIG. 6) of the screen (e.g., the first screen (610) of FIG. 6) displayed on the display (e.g., the sub-display (170) of FIG. 2). For example, it can identify the number of cells constituting the grid (650) or the size of each cell.

[0227] The problem to be solved according to one embodiment of the present disclosure may be as follows.

[0228] According to one embodiment of the present disclosure, a method and apparatus for displaying a home screen on an electronic device comprising a plurality of displays may be provided.

[0229] According to one embodiment of the present disclosure, a method and apparatus for switching the display of a home screen between a plurality of displays may be provided.

[0230] According to one embodiment of the present disclosure, an electronic device comprising a plurality of displays of different sizes, or an electronic device comprising a deformable display, can efficiently and flexibly generate a screen displayed on the display.

[0231] According to one embodiment of the present disclosure, an electronic device may include a housing comprising a first housing including a first surface and a second surface, and a second housing including a third surface and a fourth surface and rotatably connected to the first housing through a hinge, a first display visible from the outside through the third surface of the second housing, and a second display disposed on at least the second surface of the first housing and the fourth surface of the second housing. When the first housing and the second housing are formed in a folded state, the second surface and the fourth surface may face each other.

[0232] According to one embodiment of the present disclosure, an electronic device may include at least one processor comprising a memory for storing instructions and processing circuitry. The instructions may be executed collectively or individually by the at least one processor so that the electronic device may display a first screen containing a first object on the first display while the state of the housing is the folded state. The first screen is generated based on a grid-based layout comprising a plurality of cells, and the first object may be placed within at least one of the plurality of cells.

[0233] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor to enable the electronic device to obtain first pixel coordinates of the first object on the first screen based on the position of the first object for the plurality of cells included in the grid-based layout, as the electronic device identifies that the first housing and the second housing form an unfolded state.

[0234] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor to enable the electronic device to convert the first pixel coordinates into second pixel coordinates for indicating the position of the first object relative to the second screen, based on the size of the first screen and the size of the second screen corresponding to the first screen, which is displayed on at least a portion of the second display.

[0235] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor so that the electronic device may display the second screen containing the first object on the second display. The second screen is generated based on a pixel-based layout, and the first object may be placed at a position corresponding to the second pixel coordinates within the second screen.

[0236] According to one embodiment of the present disclosure, the position of the first object for the plurality of cells may be determined based on a designated reference position of the first screen, a designated first position of the at least one cell among the plurality of cells of the first screen where the first object is placed, and a second position of the first object within the at least one cell.

[0237] According to one embodiment of the present disclosure, the reference position may include a point on the edge of the first screen.

[0238] According to one embodiment of the present disclosure, the first position may include a point on the edge of the at least one cell and may represent a position relative to the reference position.

[0239] According to one embodiment of the present disclosure, the second position may include a point on the edge of the first object and may represent a position relative to the first position.

[0240] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor to enable the electronic device to convert the first pixel coordinates to the second pixel coordinates based on the ratio of the width of the first screen to the width of the second screen, and the ratio of the height of the first screen to the height of the second screen.

[0241] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor to determine a criterion for determining the size of the first object to be displayed on the second screen based on the type of the first object, and, if the type of the first object corresponds to a specified type, to determine a second size of the first object to be displayed on the second screen based on the first size of the first object displayed on the first screen, the ratio of the width of the first screen to the width of the second screen, and the ratio of the height of the first screen to the height of the second screen.

[0242] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor to enable the electronic device to identify screen information for configuring the second screen, identify a display mode of the electronic device, identify a state of the housing, and determine the validity of the second screen based on the display mode and the state of the housing.

[0243] According to one embodiment of the present disclosure, the display mode may include a landscape mode and a portrait mode.

[0244] According to one embodiment of the present disclosure, the state of the housing may include a state in which the second surface of the first housing and the fourth surface of the second housing are substantially horizontally arranged, and a state in which the second surface of the first housing and the fourth surface of the second housing are arranged to face each other.

[0245] According to one embodiment of the present disclosure, the instructions are executed collectively or individually by the at least one processor so that the electronic device can adjust the position in which the first object to be displayed on the second screen is placed within the second screen when the first object to be displayed on the second screen overlaps with another object within the second screen or when the first object to be displayed on the second screen extends beyond a designated area within the second screen.

[0246] According to one embodiment of the present disclosure, the first screen corresponds to a first page of the home screen of the electronic device, and the home screen includes a third screen corresponding to a second page which is the next page of the first page, and the second screen and a fourth screen corresponding to the third screen are displayed on the second display, and the second screen and the fourth screen may correspond to a single page including the first page and the second page.

[0247] According to one embodiment of the present disclosure, while the first housing and the second housing form an unfolded state, the second display may be divided into a plurality of regions.

[0248] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor so that the electronic device displays the second screen in a first area among the plurality of areas and displays the fourth screen in a second area adjacent to the first area among the plurality of areas.

[0249] According to one embodiment of the present disclosure, the instructions may be executed collectively or individually by the at least one processor so that the electronic device may display the second screen within at least one area that is different from the first area among the plurality of areas.

[0250] According to one embodiment of the present disclosure, the size of the plurality of regions may be continuously adjustable on the second display based on specified user input.

[0251] According to one embodiment of the present disclosure, a method performed by an electronic device may include the operation of displaying a first screen including a first object on the first display when the first housing and the second housing form the folded state. The first screen may be generated based on a grid-based layout including a plurality of cells. The first object may be placed within at least one of the plurality of cells.

[0252] According to one embodiment of the present disclosure, the method may include the operation of obtaining first pixel coordinates of the first object on the first screen based on the position of the first object for the plurality of cells included in the grid-based layout, as identified that the first housing and the second housing form an unfolded state.

[0253] According to one embodiment of the present disclosure, the method may include the operation of converting the first pixel coordinates into second pixel coordinates to indicate the position of the first object relative to the second screen, based on the size of the first screen and the size of the second screen corresponding to the first screen, which is displayed on at least a portion of the second display.

[0254] According to one embodiment of the present disclosure, the method may include the operation of displaying the second screen including the first object on the second display. The second screen is generated based on a pixel-based layout, and the first object may be placed at a position corresponding to the second pixel coordinates within the second screen.

[0255] According to one embodiment of the present disclosure, the method may include a method in which the position of the first object for the plurality of cells is determined based on a designated reference position of the first screen, a designated first position of at least one cell among the plurality of cells of the first screen where the first object is placed, and a second position of the first object within the at least one cell.

[0256] According to one embodiment of the present disclosure, the method may include a method in which the reference position includes a point on the edge of the first screen.

[0257] According to one embodiment of the present disclosure, the method may include a method in which the first position includes a point on the edge of the at least one cell and represents a position relative to the reference position.

[0258] According to one embodiment of the present disclosure, the method may include a method in which the second position includes a point on the edge of the first object and represents a position relative to the first position.

[0259] According to one embodiment of the present disclosure, the method may include an operation of converting the first pixel coordinates to the second pixel coordinates based on the ratio of the horizontal length of the first screen to the horizontal length of the second screen, and the ratio of the vertical length of the first screen to the vertical length of the second screen.

[0260] According to one embodiment of the present disclosure, the method may include an operation of determining a criterion for determining the size of the first object to be displayed on the second screen based on the type of the first object, and, when the type of the first object corresponds to a specified type, an operation of determining a second size of the first object to be displayed on the second screen based on the first size of the first object displayed on the first screen, the ratio of the width of the first screen to the width of the second screen, and the ratio of the height of the first screen to the height of the second screen.

[0261] According to one embodiment of the present disclosure, the method may include an operation of identifying screen information for configuring the second screen, an operation of identifying a display mode of the electronic device, an operation of identifying a state of the housing, and an operation of determining the validity of the second screen based on the display mode and the state of the housing. The display mode may include a horizontal mode and a vertical mode, and the state of the housing may include a state in which the second surface of the first housing and the fourth surface of the second housing are substantially arranged horizontally, and a state in which the second surface of the first housing and the fourth surface of the second housing are arranged to face each other.

[0262] According to one embodiment of the present disclosure, the method may include an operation of adjusting the position where the first object is placed within the second screen when the first object to be displayed on the second screen overlaps with another object within the second screen, or when the first object to be displayed on the second screen extends beyond a designated area within the second screen.

[0263] According to one embodiment of the present disclosure, the method may include a first screen corresponding to a first page of a home screen of the electronic device, and the home screen including a third screen corresponding to a second page which is the next page of the first page, and a second screen and a fourth screen corresponding to the third screen are displayed on the second display, and the second screen and the fourth screen correspond to a single page including the first page and the second page.

[0264] According to one embodiment of the present disclosure, the method may include, while the first housing and the second housing form an unfolded state, the second display is divided into a plurality of regions, the operation of displaying the second screen within a first region among the plurality of regions, and the operation of displaying the fourth screen in a second region adjacent to the first region among the plurality of regions.

[0265] According to one embodiment of the present disclosure, the method may include an operation of displaying the second screen within at least one area different from the first area among the plurality of areas.

[0266] According to one embodiment of the present disclosure, the method may be such that the size of the plurality of regions can be continuously adjusted on the second display based on specified user input.

[0267] In addition, various effects identified directly or indirectly through the present disclosure may be provided.

[0268] Methods according to the claims or embodiments described in the specification of the present disclosure may be implemented in the form of hardware, software, or a combination of hardware and software.

[0269] When implemented in software, a computer-readable storage medium may be provided for storing one or more programs (software modules). One or more programs stored in the computer-readable storage medium are configured for execution by one or more processors within an electronic device. One or more programs include instructions that cause the electronic device to execute methods according to the claims or embodiments described in the specification of this disclosure.

[0270] Such programs (software modules, software) may be stored in random access memory, non-volatile memory including flash memory, ROM (read-only memory), electrically erasable programmable read-only memory (EEPROM), magnetic disc storage devices, compact disc-ROMs (CD-ROMs), digital versatile discs (DVDs), or other forms of optical storage devices, magnetic cassettes. Alternatively, they may be stored in memory composed of some or all of these. Additionally, each constituent memory may include multiple units.

[0271] Additionally, the above program may be stored on an attachable storage device that can be accessed via a communication network such as the Internet, Intranet, LAN (local area network), WLAN (wide LAN), or SAN (storage area network), or a combination thereof. Such a storage device may be connected to a device performing an embodiment of the present disclosure through an external port. Additionally, a separate storage device on a communication network may be connected to a device performing an embodiment of the present disclosure.

[0272] In the specific embodiments of the present disclosure described above, the components included in the disclosure are expressed in a singular or plural form according to the specific embodiments presented. However, the singular or plural expressions are selected to suit the situations presented for convenience of explanation, and the present disclosure is not limited to a singular or plural component; even if a component is expressed in the plural, it may be composed of a singular form, or even if a component is expressed in the singular form, it may be composed of a plural form.

[0273] Additionally, in the present disclosure, terms such as “part,” “module,” etc. may be a hardware component, such as a processor or circuit, and / or a software component executed by a hardware component, such as a processor.

[0274] "Parts" and "modules" may be implemented by a program that is stored on an addressable storage medium and can be executed by a processor. For example, "parts" and "modules" may be implemented by components such as software components, object-oriented software components, class components, and task components, as well as by processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables.

[0275] The specific embodiments described in this disclosure are merely examples and do not limit the scope of this disclosure in any way. For the sake of brevity, descriptions of prior electronic configurations, control systems, software, and other functional aspects of said systems may be omitted.

[0276] Additionally, in the present disclosure, “comprising at least one of a, b, or c” may mean “comprising only a, comprising only b, comprising only c, comprising a and b, comprising b and c, comprising a and c, or comprising all of a, b, and c.”

[0277] Meanwhile, although specific embodiments have been described in the detailed description of the present disclosure, it is understood that various modifications are possible within the scope of the present disclosure. Therefore, the scope of the present disclosure should not be limited to the described embodiments, but should be defined by the claims set forth below as well as equivalents thereof.

Claims

1. In an electronic device, A housing comprising a first housing including a first surface and a second surface, and a second housing including a third surface and a fourth surface and rotatably connected to the first housing through a hinge, wherein when the first housing and the second housing form a folded state, the second surface and the fourth surface face each other; A first display visible from the outside through the third surface of the second housing; A second display disposed on at least the second surface of the first housing and the fourth surface of the second housing; Memory for storing instructions; and It includes at least one processor comprising processing circuitry, and The above instructions are executed collectively or individually by the at least one processor, and the electronic device: When the first housing and the second housing form the folded state, a first screen including a first object is displayed on the first display, wherein the first screen is generated based on a grid-based layout including a plurality of cells, and the first object is placed within at least one cell among the plurality of cells. By identifying that the first housing and the second housing form an unfolded state: Based on the position of the first object relative to the plurality of cells included in the grid-based layout, the first pixel coordinates of the first object on the first screen are obtained, and Based on the size of the first screen and the size of the second screen corresponding to the first screen and displayed on at least a portion of the second display, the first pixel coordinates are converted into second pixel coordinates to indicate the position of the first object relative to the second screen, and The second screen including the first object is displayed on the second display, An electronic device in which the second screen is generated based on a pixel-based layout, and the first object is placed at a position corresponding to the second pixel coordinates within the second screen.

2. In Paragraph 1, An electronic device in which the position of the first object for the plurality of cells is determined based on a designated reference position of the first screen, a designated first position of at least one cell among the plurality of cells where the first object is placed, and a second position of the first object within the at least one cell.

3. In Paragraph 2, An electronic device in which the above reference position includes a point on the edge of the first screen.

4. In Paragraph 2, An electronic device wherein the first position includes a point on the edge of the at least one cell and represents the relative position of the at least one cell with respect to the reference position.

5. In Paragraph 2, An electronic device wherein the second position includes a point on the edge of the first object and represents the relative position of the first object with respect to the first position.

6. In Paragraph 1, The above instructions are executed collectively or individually by the at least one processor, and the electronic device: An electronic device that converts the first pixel coordinates to the second pixel coordinates based on the ratio of the horizontal length of the first screen to the horizontal length of the second screen, and the ratio of the vertical length of the first screen to the vertical length of the second screen.

7. In Paragraph 6, The above instructions are executed collectively or individually by the at least one processor, and the electronic device: A criterion for determining the size of the first object to be displayed on the second screen based on the type of the first object, and An electronic device that determines a second size of the first object to be displayed on the second screen based on the first size of the first object displayed on the first screen, the ratio of the width of the first screen to the width of the second screen, and the ratio of the height of the first screen to the height of the second screen, when the type of the first object corresponds to a specified type.

8. In Paragraph 1, The above instructions are executed collectively or individually by the at least one processor, and the electronic device: Identifying screen information for configuring the second screen above, and Identifying the display mode of the above electronic device, wherein the display mode includes a landscape mode and a portrait mode; Identifying the state of the housing, wherein the state of the housing includes a state in which the second surface of the first housing and the fourth surface of the second housing are substantially horizontally arranged and a state in which the second surface of the first housing and the fourth surface of the second housing are arranged to face each other; and An electronic device that determines the validity of the second screen based on the display mode and the state of the housing.

9. In Paragraph 1, The above instructions are executed collectively or individually by the at least one processor, and the electronic device: An electronic device that adjusts the position where the first object is placed within the second screen when the first object to be displayed on the second screen overlaps with another object within the second screen, or when the first object to be displayed on the second screen extends beyond a designated area within the second screen.

10. In Paragraph 1, The first screen corresponds to the first page of the home screen of the electronic device, and the home screen includes a third screen corresponding to the second page, which is the next page of the first page. A fourth screen corresponding to the second screen and the third screen is displayed on the second display, and The electronic device wherein the second screen and the fourth screen correspond to a single page comprising the first page and the second page.

11. In Paragraph 10, While the first housing and the second housing form an unfolded state, the second display is divided into a plurality of regions, and The above instructions are executed collectively or individually by the at least one processor, and the electronic device: Displaying the second screen within the first area among the plurality of areas above, and An electronic device that displays the fourth screen in a second area adjacent to the first area among the plurality of areas.

12. In Paragraph 11, The above instructions are executed collectively or individually by the at least one processor, and the electronic device: An electronic device that displays the second screen within at least one area different from the first area among the plurality of areas.

13. In Paragraph 11, An electronic device in which the size of the plurality of regions is continuously adjustable on the second display based on specified user input.

14. In a method performed by an electronic device, The above electronic device is: A housing comprising a first housing including a first surface and a second surface, and a second housing including a third surface and a fourth surface and rotatably connected to the first housing through a hinge, wherein when the first housing and the second housing form a folded state, the second surface and the fourth surface face each other; A first display visible from the outside through the third surface of the second housing; and It includes a second display disposed on at least the second surface of the first housing and the fourth surface of the second housing, and The above method is: When the first housing and the second housing form the folded state, the operation of displaying a first screen including a first object on the first display, wherein the first screen is generated based on a grid-based layout including a plurality of cells, and the first object is placed within at least one cell among the plurality of cells; By identifying that the first housing and the second housing form an unfolded state: An operation to obtain the first pixel coordinates of the first object on the first screen based on the position of the first object relative to the plurality of cells included in the grid-based layout; An operation of converting the first pixel coordinates into second pixel coordinates to indicate the position of the first object relative to the second screen, based on the size of the first screen and the size of the second screen corresponding to the first screen, which is displayed on at least a part of the second display; and The method includes an operation of displaying the second screen containing the first object on the second display, A method in which the second screen is generated based on a pixel-based layout, and the first object is placed at a position corresponding to the second pixel coordinate within the second screen.

15. In Paragraph 14, A method in which the position of the first object in the plurality of cells is determined based on a designated reference position of the first screen, a designated first position of at least one cell among the plurality of cells where the first object is placed, and a second position of the first object within the at least one cell.