Method for display control and electronic device
The method and device allow for easy and precise adjustment of display area sizes using swiping gestures, simplifying the process by determining boundary movements based on initial actuation positions and directions.
Patent Information
- Application Number
- DE102015104669
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2014-09-29
- Filing Date
- 2015-03-26
- Publication Date
- 2025-01-02
- Estimated Expiration
- 2035-03-26
AI Technical Summary
Existing display control methods require precise selection and dragging of boundary lines to adjust area sizes, making the process difficult and cumbersome.
A method and electronic device that utilize two swiping operations with the same direction to adjust the size of a display area, determining initial actuation positions and directions to control the area's boundaries without needing to touch the boundary directly.
Enables simple and accurate adjustment of display area sizes through swiping gestures, eliminating the need for precise boundary selection, thereby enhancing user experience.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The disclosure relates to the field of electronic technology and, more particularly, to a display control method and an electronic device. background
[0002] A page displayed by an electronic device generally has multiple panes, and the sizes of the panes can be adjusted to meet different needs. In the prior art, the size of a pane is adjusted by selecting and dragging a boundary line of the pane, which requires the user to precisely select the boundary line; otherwise, the size of the pane cannot be adjusted. Therefore, in the prior art, the process of adjusting the size of a pane is difficult.
[0003] US 2010 / 0229090A1 discloses a system and method for interacting with touch-sensitive displays using single-touch or multi-touch gestures. The system can identify two touch locations and change the size of a corresponding object in response to movement or actuation of the two touch locations. Summary of the invention
[0004] Against this background, a method for display control and an electronic device are provided.
[0005] According to embodiments of the present disclosure, a method for display control is provided, comprising the following steps: Displaying a first display page by means of a display device, the first display page having a first region, the first region having a first sub-region and a second sub-region; Detecting a first sliding operation and a second sliding operation on the display device relative to the first display side; Determining whether the first wipe actuation and the second wipe actuation satisfy a set of predetermined conditions, the set of predetermined conditions including a first initial actuation position of the first wipe actuation being in the first range and a second initial actuation position of the second wipe actuation being in a range outside the first range; and Controlling a display size of the first area according to the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation satisfy the set of predetermined conditions; wherein controlling the display size of the first area according to the first swipe direction or the second swipe direction comprises: Determining a first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; if the first initial actuation position is in the first sub-area of the first area: expanding the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or reducing the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area; and if the first initial actuation position is in the second sub-area of the first area: reducing the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or expanding the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area path, wherein the first sub-area has the first boundary and the second sub-area has a second boundary opposite the first boundary.
[0006] Optionally, the set of predetermined conditions further comprises: the first wiping direction of the first wiping operation is the same as the second wiping direction of the second wiping operation, and the first wiping operation and the second wiping operation have an overlapping duration.
[0007] Optionally, controlling the display size of the first area based on the first swipe direction or the second swipe direction may comprise: Determining a first boundary in the first region, the first boundary being located between the first initial actuation position and the second initial actuation position; and Maintaining a second boundary of the first region to be fixed, and controlling the first boundary of the first region to move in the first swipe direction or in the second swipe direction, the first boundary being opposite the second boundary.
[0008] Optionally, the first boundary may correspond to an identification region, an area of the first region may be larger than an area of the identification region, and the identification region may have the first boundary; the method further comprising: Determining that the first initial operation position is in the first area and performing the first swipe operation on the first boundary if the first initial operation position is in the identification area.
[0009] Optionally, maintaining the second boundary of the first region to be fixed and controlling the first boundary of the first region to move in the first swipe direction or in the second swipe direction may comprise: Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary.
[0010] Optionally, the first display page may further comprise a second area; and wherein the first initial operating position of the first wiping operation, which is located in the first area, and the second initial operating position of the second wiping operation, which is located in an area outside the first area, may have, in the predetermined conditions: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area.
[0011] Optionally, controlling the size of the first area based on the first swipe direction or the second swipe direction may comprise: Expanding the first area and shrinking the second area, or shrinking the first area and expanding the second area, based on the first swipe direction or the second swipe direction.
[0012] Optionally, the first region and the second region may be adjacent to each other, and the first boundary of the first region may touch or overlap a third boundary of the second region, wherein the third boundary of the second region is located between the initial actuation position of the first wiping actuation and the initial actuation position of the second wiping actuation; and wherein Maintaining a second boundary of the first area to be fixed and controlling the first boundary of the first area to move in the first swipe direction or in the second swipe direction may comprise: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, the fourth boundary being opposite the third boundary; and Controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or in the second swipe direction.
[0013] Optionally, the first region and the second region may be located on two sides of a third region, respectively, and the first boundary of the first region and the third boundary of the second region may each touch the third region; and the third boundary of the second range may be located between the first initial actuation position and the second initial actuation position; and wherein Maintaining the second boundary of the first area to be fixed and controlling the first boundary of the first area to move in the first swipe direction or in the second swipe direction may comprise: Maintaining the second boundary of the first area and a fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or in the second swipe direction, and maintaining a shape and size of the third region to remain unchanged.
[0014] According to embodiments of the present disclosure, an electronic device is provided comprising: a display module for displaying a first display page, the first display page having a first region, the first region having a first sub-region and a second sub-region; a processor designed to: Detecting a first swipe and a second swipe on the display module relative to the first display side; Determining whether the first wipe actuation and the second wipe actuation satisfy a set of predetermined conditions, the set of predetermined conditions including a first initial actuation position of the first wipe actuation being in the first range and a second initial actuation position of the second wipe actuation being in a range outside the first range; and Controlling a display size of the first area according to the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation satisfy the set of predetermined conditions; wherein the processor is further configured to control the display size of the first area according to the first swipe direction or the second swipe direction, comprising the steps of: Determining a first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; if the first initial actuation position is in the first sub-area of the first area: expanding the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or reducing the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area; and if the first initial actuation position is in the second sub-area of the first area: reducing the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or expanding the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area path, wherein the first sub-area has the first boundary and the second sub-area has a second boundary opposite the first boundary.
[0015] Optionally, the set of predetermined conditions further comprises: the first wiping direction of the first wiping operation is the same as the second wiping direction of the second wiping operation, and the first wiping operation and the second wiping operation have an overlapping duration.
[0016] Optionally, the processor is designed to: Determining a first boundary in the first region, the first boundary being located between the first initial actuation position and the second initial actuation position; and Maintaining a second boundary of the first region to be fixed, and controlling the first boundary of the first region to move in the first swipe direction or in the second swipe direction, the first boundary being opposite the second boundary.
[0017] Optionally, the first boundary may correspond to an identification area, an area of the first area may be larger than an area of the identification area, and the identification area may have the first boundary; and wherein the processor is further configured to Determining that the first initial operation position is in the first area and performing the first swipe operation on the first boundary if the first initial operation position is in the identification area.
[0018] Optionally, the processor is designed to: Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary.
[0019] Optionally, the first display page may further comprise a second area; and the first initial operating position of the first wiping operation, which is located in the first area, and the second initial operating position of the second wiping operation, which is located in an area outside the first area, in the predetermined conditions may comprise: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area.
[0020] Optionally, the processor is configured to expand the first area and reduce the second area, or reduce the first area and expand the second area, based on the first swipe direction or the second swipe direction.
[0021] Optionally, the first region and the second region may be adjacent to each other, and the first boundary of the first region may touch or overlap a third boundary of the second region, the third boundary of the second region being located between the initial actuation position of the first swipe actuation and the initial actuation position of the second swipe actuation; and wherein the processor is configured to: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, the fourth boundary being opposite the third boundary; and Controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or in the second swipe direction.
[0022] Optionally, the first region and the second region may be located on two sides of a third region, respectively, and the first boundary of the first region and the third boundary of the second region may each touch the third region; and the third boundary of the second range may be located between the first initial actuation position and the second initial actuation position; and wherein the processor is configured to: Maintaining the second boundary of the first area and a fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or in the second swipe direction, and maintaining a shape and size of the third region to remain unchanged.
[0023] According to the above technical solutions, the display control method and the electronic device are provided in the disclosure. According to the technical solutions, the first display page is displayed; the first swipe operation and the second swipe operation are detected; and it is determined whether the first swipe operation and the second swipe operation satisfy a set of predetermined conditions; and the size of the first area is controlled according to the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation satisfy the predetermined conditions. With the above technical solution, the size of the first area is controlled by performing two swipes with the same swipe direction, instead of selecting and dragging the boundary of the first area, thus making the operation simple and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] To more clearly illustrate the technical solutions according to the embodiments of the disclosure or the prior art, the figures used to describe the embodiments or the prior art are briefly presented below. Obviously, the drawings described below are only embodiments of the disclosure, and other figures can be obtained by a person skilled in the art without any creative effort based on the figures provided. Fig. 1 is a flowchart of a display method according to an embodiment of the disclosure; Fig. 2a to Fig. 2g, Fig. 3a to Fig. 3h and Fig. 4a to Fig. 4d are schematic representations of various operations for controlling a size of an area according to an embodiment of the disclosure; and Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0025] The technical solutions of the embodiments of the disclosure are described clearly and completely below with reference to the drawings of the embodiments of the disclosure. It should be understood that the embodiments represent only a few of the embodiments of the disclosure, but not all of the embodiments. All other embodiments that can be obtained by a person skilled in the art based on the embodiments of the disclosure without resorting to creative activity fall within the scope of the disclosure.
[0026] According to one embodiment of the present disclosure, a display method is provided, comprising the steps of: detecting a first swipe operation and a second swipe operation when displaying a first display page; determining whether the first swipe operation and the second swipe operation satisfy a predetermined condition that: a first initial operation position of the first swipe operation is located in the first area, a second initial operation position of the second swipe operation is located in an area different from the first area, a first swipe direction of the first swipe operation is the same as a second swipe direction of the second swipe operation, and a first swipe of the first swipe operation and a second swipe of the second swipe operation have an overlapping duration;and controlling a size of the first area from a starting time of the overlapping period based on the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation meet the predetermined condition. Since the size of the first area is controlled by performing two swipes with the same swipe direction, it is not necessary to adjust the size of the first area by touching the boundary of the first area, thus making the operation simple and accurate.
[0027] The technical solutions of the embodiments of the disclosure are described in detail below in conjunction with the drawings.
[0028] Fig. 1 shows a flowchart of a display method according to an embodiment of the disclosure.
[0029] The technical solutions of the disclosure can be applied to an electronic device capable of displaying a page, for example, a portable device or a handheld terminal. The electronic device includes a touch sensing unit for displaying various display pages. The touch sensing unit can detect a touch operation.
[0030] The method may comprise step 101 to step 104.
[0031] In step 101, a first display page is displayed, wherein the first display page has a first area.
[0032] In step 102, a first swipe and a second swipe are detected for the first display page. The swipes can be continuous touch operations performed on a touchscreen.
[0033] In step 103, it is determined whether the first wiping operation and the second wiping operation satisfy a predetermined condition that: a first initial operation position of the first wiping operation is in the first area, a second initial operation position of the second wiping operation is in an area different from the first area, a first wiping direction of the first wiping operation is the same as a second wiping direction of the second wiping operation, and a first wiping operation of the first wiping operation and a second wiping operation of the second wiping operation have an overlapping duration.
[0034] In step 104, from a start time of the overlapping time period, a size of the first area is controlled based on the first wiping direction or the second wiping direction if the first wiping operation and the second wiping operation satisfy the predetermined condition.
[0035] If the first swipe and the second swipe meet the specified condition, it is indicated that the first swipe and the second swipe are performed simultaneously on the first display page. In this case, since the first swipe direction is the same as the second swipe direction, the size of the first area is controlled to adjust the size of the first area based on the first swipe direction or the second swipe direction from the start time of the overlapping period.
[0036] In the prior art, it is difficult to detect a position at which a touch operation is performed by a touch sensing unit of the electronic device. Therefore, it is difficult to adjust the size of an area by accurately touching the boundary of the area. However, according to the embodiment, for the first area of the first display page, the size of the first area can be controlled by performing two swipe operations with the same swipe direction. Therefore, it is not necessary to adjust the size of the first area by touching the boundary of the first area, making operation simple and accurate.
[0037] The first initial operation position of the first swipe operation and the second initial operation position of the second swipe operation may refer to touch positions where the first swipe operation and the second swipe operation are respectively executed at the start time of the overlapping time period.
[0038] In practice, the first initial position may refer to a touch position where the first swipe operation is performed at an initial timing of the first swipe operation, and the second initial position may refer to a touch position where the second swipe operation is performed at an initial timing of the second swipe operation.
[0039] As another example, according to an embodiment of the disclosure, controlling the size of the first area from a start time of the overlapping time period based on the first swipe direction or the second swipe direction comprises: Determining a first boundary in the first region located between the first initial actuation position and the second initial actuation position from the start time of the overlapping time; and Maintaining a second boundary to be fixed and controlling the first boundary of the first region to move in the first swipe direction or the second swipe direction, the first boundary being opposite the second boundary.
[0040] Fig. 2a to Fig. 2c show schematic representations of operations for controlling the size of the first region of the first display page according to an embodiment of the disclosure.
[0041] It is assumed that two swipes are each performed by touching with two fingers of a user.
[0042] The first initial actuation position 201 is located in the first area 200 of the first display page 100, and the second initial actuation position 202 is located in the area outside the first area 200 of the first display page 100.
[0043] The first boundary 203 is located between the first initial actuation position 201 and the second initial actuation position 202.
[0044] The first wipe operation is performed in a first wipe direction, the second wipe operation is performed in a second wipe direction, and the first wipe direction is the same as the second wipe direction. Fig. 2b or Fig. 2c each show two different wiping directions, as indicated by the arrows.
[0045] The size of the first region is controlled in the following way: the second boundary 204 of the first region 200, which is to be fixed, is maintained, and the first boundary 203 of the first region is controlled to move in the first swiping direction or the second swiping direction. The first boundary 203 is opposite the second boundary 204, and in particular, the first boundary 203 can be parallel to the second boundary 204.
[0046] As in Fig. 2b and Fig. 2c, the first area is extended if the first boundary is in the wiping direction as in Fig. 2b, and the first area is reduced if the first boundary moves in a wiping direction as shown in Fig. 2c shown moves.
[0047] The first boundary can be moved, i.e., the first boundary can be moved if the swipe direction is not perpendicular to the first boundary. Therefore, maintaining the second boundary of the first area, which is to be fixed, and controlling the first boundary of the first area to move in the first swipe direction or the second swipe direction may comprise: Maintaining the second boundary of the first area, which should be fixed; Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary.
[0048] It should be noted that the first swipe direction or the second swipe direction points toward the second boundary, meaning that the first swipe direction or the second swipe direction points away from the first boundary. The first swipe direction or the second swipe direction points away from the second boundary, meaning that the first swipe direction or the second swipe direction points toward the first boundary. The method in which the first boundary serves as the default boundary also falls within the scope of the disclosure.
[0049] In Fig. 2b, the wiping direction deviates from the second boundary 204. In Fig. 2c shows the wiping direction towards the second boundary 204.
[0050] As in Fig. 2d and Fig. As shown in Figure 2e, the first boundary is opposite and parallel to the second boundary. Fig. The wiping direction shown in Figure 2d points towards the second boundary 204 and is not perpendicular to the second boundary, in this case the first boundary is controlled to move parallel to the second boundary. Fig. The wiping direction shown in Figure 2e points away from the second boundary 204 and is not perpendicular to the second boundary, in this case the first boundary is controlled to move parallel in a direction away from the second boundary.
[0051] As a further example, according to an embodiment of the disclosure, the first boundary may correspond to an identification region. The area of the first region is larger than the area of the identification region, and the identification region includes the first boundary.
[0052] It is determined that the first initial operation position is in the first area, and the first wiping operation is performed on the first boundary if the first initial operation position is in the identification area.
[0053] Therefore, in the process of setting the size of the first area by performing the first wiping operation and the second wiping operation, it may be considered that the first initial operation is performed on the first boundary if the first initial operation position of the first wiping operation is in the identification area.
[0054] Therefore, the method according to an embodiment of the disclosure may further comprise: Maintaining a second boundary of the first area to be fixed and controlling the first boundary to move in the first wiping direction of the first wiping operation if the first initial operation position is located in the identification area.
[0055] Therefore, as long as the initial operation position is in the identification area rather than on the boundary of the first area, it can be considered that the wiping operation is performed on the boundary, whereby the operation is easy and accurate adjustment can be performed.
[0056] As in Fig. 2f and Fig. 2g, the first initial actuation position 201 of the first wiping actuation is located in the identification area 205, which is represented in the figures by a dashed box and may have the first boundary 203.
[0057] The second boundary 204 of the first area 200, which is to be fixed, may be maintained and the first boundary 203 is controlled to move in the first wiping direction based on the wiping direction shown in the figures.
[0058] As another example, the first display page according to the embodiment of the disclosure may further include a second region.
[0059] In this case, the first initial operating position of the first wiping operation, which is located in the first area, and the second initial operating position of the second wiping operation, which is located in an area outside the first area, may comprise, in the predetermined conditions: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area.
[0060] As one possible embodiment, the first region and the second region are adjacent to each other and the first boundary of the first region touches or overlaps a third boundary of the second region.
[0061] As in Fig. As shown in Figure 3a, in the first display area 100, the first initial actuation position 201 is located in the first area 200, the second initial actuation position 202 is located in the second area 300, and the first area 200 and the second area 300 are arranged side by side. In Fig. 3a, the first boundary 203 of the first region 200 overlaps with the third boundary 301 of the second region 300.
[0062] As another possible embodiment, the first region can be separated from the second region by a third region. The first region and the second region are arranged on two sides of the third region, and the first boundary of the first region and the third boundary of the second region each touch the third region.
[0063] As in Fig. 3b, on the first display page 100, the first initial actuation position 201 is located in the first area 200, the second initial actuation position 202 is located in the second area 300, the first area 200 is separated from the second area 300 by the third area 400, and the first boundary 203 of the first area 200 and the third boundary 301 of the second area each touch the third area 400.
[0064] If the first display page has the second area and the second initial actuation position is in the second area, controlling the size of the first area based on the first swipe direction or the second swipe direction may comprise: Expanding the first area and shrinking the second area, or shrinking the first area and expanding the second area, based on the first swipe direction or the second swipe direction.
[0065] If the first area and the second area are adjacent to each other, controlling the size of the first area based on the first swipe direction or the second swipe direction may include: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, wherein the fourth boundary is opposite the third boundary, and the fourth boundary may in particular be parallel to the third boundary; controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or the second swipe direction; Controlling the first boundary of the first area and the third boundary of the second area to move toward the second boundary to reduce the first area and expand the second area if the first swipe direction or the second swipe direction points toward the second boundary; or Controlling the first boundary of the first area and the third boundary of the second area to move in a direction away from the second boundary to expand the first area and shrink the second area if the first swipe direction or the second swipe direction is away from the second boundary.
[0066] As in Fig. 3c and Fig. 3d, the second boundary 204 of the first area 200 and the fourth boundary 302 of the second area 300, which are to be fixed, are maintained, and the first boundary 203 and the third boundary 301 are controlled to move into the positions shown in Fig. 3c or Fig. 3d shown swipe direction.
[0067] In Fig. 3c, the first area is expanded and the second area is reduced. In Fig. 3d, the first area is reduced and the second area is expanded.
[0068] If the first area or the second area are arranged on two sides of the third area, controlling the size of the first area based on the first wiping direction or the second wiping direction may comprise: Maintaining the second boundary of the first area and the fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or the second swipe direction, and maintaining the shape and size of the third region to remain unchanged.
[0069] That is, in the process of performing the first swipe operation and the second swipe operation, the sizes of the first area and the second area change, but the size and shape of the third area do not change, and only a position of the third area changes.
[0070] As in Fig. 3e and Fig. 3f, the second boundary 204 of the first area 200 and the fourth boundary 302 of the second area 300, which are to be fixed, are maintained and the first boundary 204 and the third boundary 301 are controlled to move into the Fig. 3e or Fig. 3f. The shape and size of the third area do not change, and the third area moves parallel to the wiping direction.
[0071] Practically, as a further embodiment, if the first display page has a second area, and the second initial actuation position is located in the second area, controlling the size of the first area based on the first swipe direction or the second swipe direction may comprise: simultaneously expanding the first area and the second area or simultaneously reducing the first area and the second area based on the first swipe direction or the second swipe direction.
[0072] In this case, the first wiping direction or the second wiping direction may be parallel to the first boundary.
[0073] As in Fig. 3g and Fig. 3h, a fifth boundary 206 of the first area 200 and a sixth boundary 303 of the second area 300, which are to be fixed, are maintained and a seventh boundary 207 of the first area and an eighth boundary 304 of the second area are controlled to move into the Fig. 3g or Fig. 3h to move in the direction shown.
[0074] In Fig. 3g, the first area and the second area are reduced simultaneously. In Fig. 3h the first area and the second area are expanded simultaneously.
[0075] As another example, according to an embodiment of the disclosure, controlling the size of the first area based on the first swipe direction or the second swipe direction may include: Determining the first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; based on the first swipe direction or the second swipe direction and if the first initial actuation position is in a first sub-area of the first area: expanding the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or reducing the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area; and if the first actuation position is in a second sub-area of the first area: reducing the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or expanding the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area, wherein the first sub-area has the first boundary and the second sub-area has the second boundary which is opposite the first boundary.
[0076] In one possible embodiment, the first region can be divided into a first sub-region and a second sub-region, and in particular, the first region can be divided by a center line parallel to the first boundary and the second boundary. The first sub-region has the first boundary of the first region, and the second sub-region has the second boundary of the first region.
[0077] As in Fig. 4a and Fig. As shown in Figure 4b, on the first display page 100, the first area 200 is divided into the first sub-area 401 and the second sub-area 402 by using a dashed line in the figures as a dividing line. The first sub-area 401 has the first boundary 203, and the second sub-area 402 has the second boundary 204.
[0078] If the first initial actuation position 201 is in the first sub-range, the first limit is controlled to move to the position shown in Fig. 4a to extend the first area 200, wherein the wiping direction points towards the first boundary 203.
[0079] Alternatively, the first boundary is controlled to move into the Fig. 4b to reduce the first area 200, wherein the wiping direction points away from the first boundary 203.
[0080] As in Fig. 4c and Fig. As shown in Figure 4d, on the first display page 100, the first area 200 is divided into the first sub-area 401 and the second sub-area 402 by using a dashed line in the figures as a dividing line. The first sub-area 401 has the first boundary 203, and the second sub-area 402 has the second boundary 204.
[0081] If the first initial actuation position 201 is in the second sub-range, the second limit 204 is controlled to move to the position shown in Fig. 4c to extend the first area 200, wherein the wiping direction points away from the first boundary 203.
[0082] Alternatively, the second limit 204 is controlled to move into the Fig. 4d to reduce the first area 200, wherein the wiping direction points towards the first boundary 203.
[0083] For various of the above-described embodiments of the method, the method is performed by a combination of a series of actions to simplify the description. However, those skilled in the art should appreciate that the disclosure is not limited by the order of the above-described actions, as some steps may be performed in a different order or simultaneously based on the disclosure. Additionally, those skilled in the art should appreciate that the embodiments described in the description are each preferred embodiments, and that the corresponding actions or modules may not be necessary for the disclosure.
[0084] Fig. 5 shows a schematic structural diagram of a control device according to an embodiment of the disclosure.
[0085] The device can be used in an electronic device. The device can be implemented in a processor of the electronic device to implement a function of the processor or can be an independent module connected to the processor.
[0086] The electronic device may be a portable device or a handheld terminal, or the like. A screen of the electronic device may be a touch-sensitive screen capable of detecting an actuation of a proximity or touch of the touch-sensitive screen.
[0087] The device may include a display module 501, an actuation detection module 502, a determination module 503, and a control module 504. The actuation detection module 502, the determination module 503, and the control module 504 may constitute a processor of the device.
[0088] The display module 501 is configured to display a first display page, wherein the first display page has a first area.
[0089] The actuation detection module for 502 is configured to detect a first swipe actuation and a second swipe actuation for the first display page.
[0090] The determination module 503 is configured to determine whether the first wiping operation and the second wiping operation satisfy a predetermined condition that: a first initial operation position of the first wiping operation is located in the first area, a second initial operation position of the second wiping operation is located in an area different from the first area, a first wiping direction of the first wiping operation is the same as a second wiping direction of the second wiping operation, and a first wiping operation of the first wiping operation and a second wiping operation of the second wiping operation have an overlapping duration.
[0091] The control module 504 is configured to control a size of the first area, from a start time of the overlapping time period, based on the first wiping direction or the second wiping direction if the determination module determines that the first wiping operation and the second wiping operation satisfy the predetermined condition.
[0092] According to the embodiment, for the first area of the first display page, the size of the first area can be controlled by performing two swipes with the same swipe direction. Therefore, it is not necessary to adjust the size of the first area by touching a boundary of the first area, making operation simple and precise.
[0093] The first initial operation position of the first swipe operation and the second initial operation position of the second swipe operation may refer to touch positions where the first swipe operation and the second swipe operation are respectively executed at the start time of the overlapping time period.
[0094] In practice, the first initial position may refer to a touch position where the first swipe operation is performed at an initial timing of the first swipe operation, and the second initial position may refer to a touch position where the second swipe operation is performed at an initial timing of the second swipe operation.
[0095] As a further example, according to an embodiment of the disclosure, the control module may be configured to: Determining a first boundary of the first range located between the first initial actuation position and the second initial actuation position from the start time of the overlapping time period; and Maintaining a second boundary of the first area to be fixed, and controlling the first boundary of the first area to move in the first swipe direction or the second swipe direction, wherein the first boundary is opposite the second boundary.For the detailed description, refer to Fig. 2a to Fig. 2c.
[0096] The first boundary can be shifted, i.e., the first boundary can be shifted if the wiping direction is not perpendicular to the first boundary. Therefore, the control module can be configured to: Maintaining the second boundary of the first area, which should be fixed; Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary.
[0097] It should be noted that the first swipe direction or the second swipe direction points toward the second boundary, which means that the first swipe direction or the second swipe direction points away from the first boundary. The first swipe direction or the second swipe direction points away from the second boundary, which means that the first swipe direction or the second swipe direction points toward the first boundary.
[0098] For the exact description, see Fig. 2b and Fig. 2e.
[0099] As a further example, according to an embodiment of the disclosure, the first boundary may correspond to an identification region. The area of the first region is larger than the area of the identification region, and the identification region includes the first boundary.
[0100] It is determined that the first initial operation position is in the first area, and the first wiping operation is performed on the first boundary if the first initial operation position is in the identification area.
[0101] Therefore, in the process of setting the size of the first area by performing the first wiping operation and the second wiping operation, it may be considered that the first initial operation is performed on the first boundary if the first initial operation position of the first wiping operation is in the identification area.
[0102] Therefore, according to an embodiment of the disclosure, the control module may be further configured to: Maintaining a second boundary of the first area to be fixed and controlling the first boundary to move in the first wiping direction of the first wiping operation if the first initial operation position is located in the identification area.
[0103] For the exact description, see Fig. 2f.
[0104] As another example, the first display page according to the embodiment of the disclosure may further include a second region.
[0105] In this case, the first initial operating position of the first wiping operation, which is located in the first area, and the second initial operating position of the second wiping operation, which is located in an area other than the first area, may comprise: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area.
[0106] The control module can be designed to: Expanding the first area and shrinking the second area, or shrinking the first area and enlarging the second area based on the first swipe direction or the second swipe direction.
[0107] As one possible embodiment, the first region and the second region are adjacent to each other, and the first boundary of the first region touches or overlaps a third boundary of the second region, as in Fig. 3a shown.
[0108] As a further possible embodiment, the first region may be separated from the second region by a third region. The first region and the second region are arranged on two sides of the third region, and the first boundary of the first region and the third boundary of the second region each touch the third region, as shown in Fig. 3b shown.
[0109] If the first display page has the second area and the second initial operating position is in the second area, the control module can be designed to: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, the fourth boundary being opposite the third boundary; controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or the second swipe direction; Controlling the first boundary of the first area and the third boundary of the second area to move toward the second boundary to reduce the first area and expand the second area if the first swipe direction or the second swipe direction points toward the second boundary; or Controlling the first boundary of the first area and the third boundary of the second area to move in a direction away from the second boundary to expand the first area and shrink the second area if the first swipe direction or the second swipe direction is away from the second boundary.
[0110] For the exact description, see Fig. 3c and Fig. 3d.
[0111] If the first area or the second area are arranged on two sides of the third area, the control module can be designed to: Maintaining the second boundary of the first area and the fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or the second swipe direction, and maintaining the shape and size of the third region to remain unchanged.
[0112] That is, in the process of performing the first swipe operation and the second swipe operation, the sizes of the first area and the second area change, but the size and shape of the third area do not change, and only a position of the third area changes.
[0113] For the exact description, see Fig. 3e and Fig. 3f.
[0114] As a further example, according to an embodiment of the disclosure, the control module may be configured to: Determining the first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; based on the first swipe direction or the second swipe direction and if the first initial actuation position is in a first sub-area of the first area: expanding the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or reducing the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area; and if the first actuation position is in a second sub-area of the first area: reducing the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or expanding the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area, wherein the first sub-area has the first boundary and the second sub-area has the second boundary which is opposite the first boundary.
[0115] In one possible embodiment, the first region can be divided into a first sub-region and a second sub-region, and in particular, the first region can be divided by a center line parallel to the first boundary and the second boundary. The first sub-region has the first boundary of the first region, and the second sub-region has the second boundary of the first region.
[0116] For the exact description, see Fig. 4a to Fig. 4d.
[0117] According to various embodiments described above, the size of the area of the display page can be adjusted without performing the swipe operation exactly on the boundary of the area, and the operation is simple, accurate, and convenient, whereby the size of the area can be adjusted efficiently and the user experience is improved.
[0118] Various embodiments of the specification are described in a step-by-step or progressive manner; each embodiment highlights the differences from other embodiments, and for identical or similar parts between the embodiments, reference can be made to the description of the other embodiments. For the device disclosed by the embodiments, the description of the device is simplified because it corresponds to the embodiments disclosed by the method; and for the parts related to the method, reference can be made to the description of the method embodiments.
[0119] It should be noted that relational terminology such as "first," "second," and the like is used herein only to distinguish one entity or process from another, rather than requiring or implying that any actual relationship or sequence exists between the entities or processes. Furthermore, the terms "comprising," "comprising," or variations thereof are not intended to be exclusive. Therefore, a process, method, article, or apparatus having a plurality of elements includes not only the elements, but also other elements that are not labeled or may include those elements that are inherent in the process, method, article, or apparatus. Unless expressly limited otherwise, the term "comprising a... (having a...)” does not exclude the presence of other similar elements in the process, method, article or device.
[0120] To simplify the description, the device is described by different units based on specific functions. In practice, when implementing the disclosure, functions of different units may be implemented by one or more software and / or hardware units.
[0121] According to the embodiments described above, it is clear to those skilled in the art that the disclosure can be implemented by means of software in conjunction with a necessary universal hardware platform. Based on such an understanding, essential parts or parts that contribute to the prior art of the technical solutions of the disclosure can be embodied as a software product. The software product can be stored on a storage medium, for example, a ROM / RAM, a disk, or a CD, and can comprise various instructions for controlling a computing device (which can be a PC, a server, or a network device) to carry out the method described in various embodiments of the disclosure or in parts of the embodiments.
Claims
[1] Procedure for display control with the following steps: Displaying a first display page by means of a display device, the first display page having a first region, the first region having a first sub-region and a second sub-region; Detecting a first swipe and a second swipe on the display device relative to the first display page; Determining whether the first wipe actuation and the second wipe actuation satisfy a set of predetermined conditions, the set of predetermined conditions including a first initial actuation position of the first wipe actuation being in the first range and a second initial actuation position of the second wipe actuation being in a range outside the first range; and Controlling a display size of the first area according to the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation satisfy the set of predetermined conditions; wherein controlling the display size of the first area according to the first swipe direction or the second swipe direction comprises: Determining a first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; if the first initial actuation position is in the first sub-area of the first area: expanding the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or reducing the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area; and if the first initial actuation position is in the second sub-area of the first area: reducing the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or expanding the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area path, wherein the first sub-area has the first boundary and the second sub-area has a second boundary opposite the first boundary. [2] The method of claim 1, wherein the set of predetermined conditions further comprises: the first wiping direction of the first wiping operation is the same as the second wiping direction of the second wiping operation, and the first wipe and the second wipe have an overlapping duration. [3] The method of any preceding claim, wherein controlling the display size of the first area based on the first swipe direction or the second swipe direction comprises: Determining a first boundary in the first region, the first boundary being located between the first initial actuation position and the second initial actuation position; and Maintaining a second boundary of the first region to be fixed, and controlling the first boundary of the first region to move in the first swipe direction or in the second swipe direction, the first boundary being opposite the second boundary. [4] The method of claim 3, wherein the first boundary corresponds to an identification region, an area of the first region is larger than an area of the identification region, and the identification region has the first boundary; the method further comprising: Determining that the first initial operation position is in the first area and performing the first swipe operation on the first boundary if the first initial operation position is in the identification area. [5] The method of claim 3 or 4, wherein maintaining the second boundary of the first area to be fixed and controlling the first boundary of the first area to move in the first wiping direction or in the second wiping direction comprises: Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary. [6] The method according to any one of the preceding claims, wherein the first display page further comprises a second area; and wherein the first initial actuation position of the first swipe operation, which is located in the first area, and the second initial actuation position of the second swipe operation, which is located in an area outside the first area, in the predetermined conditions comprise: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area. [7] The method of claim 6, wherein controlling the size of the first area based on the first wiping direction or the second wiping direction comprises: Expanding the first area and shrinking the second area, or shrinking the first area and expanding the second area, based on the first swipe direction or the second swipe direction. [8] The method of claim 6 or 7, wherein the first region and the second region are adjacent to each other, and the first boundary of the first region touches or overlaps a third boundary of the second region, the third boundary of the second region being located between the initial actuation position of the first wiping actuation and the initial actuation position of the second wiping actuation; and wherein Maintaining a second boundary of the first area to be fixed and controlling the first boundary of the first area to move in the first swipe direction or in the second swipe direction, comprising: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, the fourth boundary being opposite the third boundary; and Controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or in the second swipe direction. [9] The method of claim 6, wherein the first region and the second region are respectively located on two sides of a third region, and the first boundary of the first region and the third boundary of the second region each touch the third region; and the third boundary of the second range is located between the first initial actuation position and the second initial actuation position; and wherein Maintaining the second boundary of the first area to be fixed and controlling the first boundary of the first area to move in the first swipe direction or in the second swipe direction, comprising: Maintaining the second boundary of the first area and a fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or in the second swipe direction, and maintaining a shape and size of the third region to remain unchanged. [10] Electronic device comprising: a display module for displaying a first display page, the first display page having a first region, the first region having a first sub-region and a second sub-region; a processor designed to: Detecting a first swipe and a second swipe on the display module relative to the first display side; Determining whether the first wipe actuation and the second wipe actuation satisfy a set of predetermined conditions, the set of predetermined conditions including a first initial actuation position of the first wipe actuation being in the first range and a second initial actuation position of the second wipe actuation being in a range outside the first range; and Controlling a display size of the first area according to the first swipe direction or the second swipe direction if the first swipe operation and the second swipe operation satisfy the set of predetermined conditions; wherein the processor is further configured to control the display size of the first area according to the first swipe direction or the second swipe direction, comprising the steps of: Determining a first boundary in the first range, the first boundary being located between the first initial actuation position and the second initial actuation position; if the first initial actuation position is in the first sub-area of the first area: expanding the first area if the first wiping direction or the second wiping direction points towards the first boundary of the first area; or reducing the first area if the first wiping direction or the second wiping direction points away from the first boundary of the first area; and if the first initial actuation position is in the second sub-area of the first area: reducing the first area if the first swipe direction or the second swipe direction points towards the first boundary of the first area; or expanding the first area if the first swipe direction or the second swipe direction points away from the first boundary of the first area path, wherein the first sub-area has the first boundary and the second sub-area has a second boundary opposite the first boundary. [11] The apparatus of claim 10, wherein the set of predetermined conditions further comprises: the first wiping direction of the first wiping operation is the same as the second wiping direction of the second wiping operation, and the first wipe and the second wipe have an overlapping duration. [12] Apparatus according to claim 10 or 11, wherein the processor is configured to: Determining a first boundary in the first region, the first boundary being located between the first initial actuation position and the second initial actuation position; and Maintaining a second boundary of the first region to be fixed, and controlling the first boundary of the first region to move in the first swipe direction or in the second swipe direction, the first boundary being opposite the second boundary. [13] The device of claim 12, wherein the first boundary corresponds to an identification area, an area of the first area is larger than an area of the identification area, and the identification area has the first boundary; and wherein the processor is further configured to determine that the first initial operation position is located in the first area and the first swipe operation is performed on the first boundary if the first initial operation position is located in the identification area. [14] Apparatus according to claim 12 or 13, wherein the processor is configured to: Controlling the first boundary of the first area to move towards the second boundary to reduce the first area if the first swipe direction or the second swipe direction points towards the second boundary; or Controlling the first boundary of the first area to move in a direction away from the second boundary to expand the first area if the first swipe direction or the second swipe direction is away from the second boundary. [15] The device according to any one of claims 10 to 14, wherein the first display side further comprises a second area; and the first initial operation position of the first swipe operation, which is located in the first area, and the second initial operation position of the second swipe operation, which is located in an area outside the first area, in the predetermined conditions comprise: the first initial actuation position of the first wiping actuation is located in the first area, and the second initial actuation position of the second wiping actuation is located in the second area. [16] The device of claim 15, wherein the processor is configured to expand the first area and reduce the second area, or reduce the first area and expand the second area, based on the first swipe direction or the second swipe direction. [17] The device of claim 15 or 16, wherein the first region and the second region are adjacent to each other, and the first boundary of the first region touches or overlaps a third boundary of the second region, the third boundary of the second region being located between the initial actuation position of the first wiping actuation and the initial actuation position of the second wiping actuation; and wherein the processor is configured to: Maintaining the second boundary of the first region and a fourth boundary of the second region to be fixed, the fourth boundary being opposite the third boundary; and Controlling the first boundary of the first area and the third boundary of the second area to move in the first swipe direction or in the second swipe direction. [18] The device of claim 15, wherein the first region and the second region are respectively located on two sides of a third region, and the first boundary of the first region and the third boundary of the second region each touch the third region; and the third boundary of the second region is located between the first initial actuation position and the second initial actuation position; and wherein the processor is configured to: Maintaining the second boundary of the first area and a fourth boundary of the second area to be fixed; and Controlling the first boundary of the first region and the third boundary of the second region to move in the first swipe direction or in the second swipe direction, and maintaining a shape and size of the third region to remain unchanged.
Citation Information
Patent Citations
Systems and Methods for Interacting With Touch Displays Using Single-Touch and Multi-Touch Gestures
US20100229090A1