CN112486330B - Display control method, device and equipment - Google Patents

Display control method, device and equipment Download PDF

Info

Publication number
CN112486330B
CN112486330B CN202011381041.1A CN202011381041A CN112486330B CN 112486330 B CN112486330 B CN 112486330B CN 202011381041 A CN202011381041 A CN 202011381041A CN 112486330 B CN112486330 B CN 112486330B
Authority
CN
China
Prior art keywords
target
interface
display area
area
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011381041.1A
Other languages
Chinese (zh)
Other versions
CN112486330A (en
Inventor
马鹤天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011381041.1A priority Critical patent/CN112486330B/en
Publication of CN112486330A publication Critical patent/CN112486330A/en
Application granted granted Critical
Publication of CN112486330B publication Critical patent/CN112486330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display control method, a display control device and display control equipment, and belongs to the technical field of communication. The method comprises the following steps: a target interface is displayed in a display area of the electronic equipment, and under the condition that a part of the target interface is not displayed in the display area, a target area which is shielded by a non-display area of the electronic equipment in the target interface is obtained; adjusting the target attribute of the target interface until all the areas of the target interface are displayed in the display area; wherein the target attribute comprises at least one of: the size of the target interface, the display position of the target interface in the display area. According to the embodiment of the application, the problem that the use experience of a user is affected because the electronic equipment cannot display the complete interface to be displayed in the related technology can be solved.

Description

Display control method, device and equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a display control method, a display control device and display control equipment.
Background
With the development of information technology, electronic devices have also developed. However, with the further development of electronic devices, electronic devices with shaped screens have also appeared.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the related art: since the display areas of the shaped screen are different in shape, such as rounded rectangles, etc., the display shape of some of the interfaces to be displayed is fixed, such as right-angled rectangles. Therefore, when the special-shaped screen displays the application interfaces, the interface to be displayed is in the display process, and part of the interface displayed at the corners of the special-shaped screen can be blocked by the non-display area of the electronic equipment, so that the complete interface to be displayed cannot be displayed, and the use experience of a user is affected.
Disclosure of Invention
The embodiment of the application aims to provide a display control method, a display control device and display control equipment, which can solve the problem that the electronic equipment in the related technology cannot display a complete interface to be displayed, and the use experience of a user is affected.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a display control method, including:
A target interface is displayed in a display area of the electronic equipment, and under the condition that a part of the target interface is not displayed in the display area, a target area which is shielded by a non-display area of the electronic equipment in the target interface is obtained;
Adjusting the target attribute of the target interface until all the areas of the target interface are displayed in the display area;
wherein the target attribute comprises at least one of: the size of the target interface, the display position of the target interface in the display area.
In a second aspect, an embodiment of the present application provides a display control apparatus, including:
the acquisition module is used for acquiring a target area which is shielded by a non-display area of the electronic equipment in the target interface under the condition that the target interface is displayed in the display area of the electronic equipment and a part of the target interface is not displayed in the display area;
the adjusting module is used for adjusting the target attribute of the target interface until all the areas of the target interface are displayed in the display area;
wherein the target attribute comprises at least one of: the size of the target interface, the display position of the target interface in the display area.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In the embodiment of the application, the display area of the electronic device can display the target interface, but the target interface cannot be completely displayed, i.e. a partial area of the target interface is not displayed in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the whole area of the target interface can be in the display area, and therefore, the display interface of the electronic device can improve the user experience.
Drawings
Fig. 1 is a schematic flow chart of a display control method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of an electronic device according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of an interface of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a corner structure of a display area according to an embodiment of the present application;
Fig. 5 is a flowchart of a target area determining method according to an embodiment of the present application;
FIG. 6 is a schematic diagram showing a corner structure of a display area according to an embodiment of the application;
FIG. 7 is a schematic diagram of a structure of an occluded target area according to an embodiment of the present application;
FIG. 8 is a flow chart of an embodiment of the present application for reducing the size of an input method interface;
FIG. 9 is a flowchart of a target point determination method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an input method interface according to an embodiment of the present application;
FIG. 11 is a second schematic diagram of an input method interface according to an embodiment of the present application;
FIG. 12 is a third diagram illustrating an interface of an electronic device according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a third corner structure of a display area according to an embodiment of the present application;
FIG. 14 is a schematic diagram showing a corner structure of a display area according to an embodiment of the present application;
FIG. 15 is a schematic diagram showing a corner structure of a display area according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a display control device according to an embodiment of the present application;
fig. 17 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
Fig. 18 is a schematic hardware structure of another electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that some, but not all embodiments of the application are described. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in other sequences than those illustrated or described herein, and that the elements identified by "first," "second," etc. are generally of a type not limited to the number of elements, e.g., the first element may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected elements, and the character "/", generally means that the associated element is an "or" relationship.
Currently, with the development of information technology, electronic devices are also developed. However, with the further development of electronic devices, the electronic devices of the shaped screen are coming out.
However, since the display areas of the shaped screen are different in shape, such as rounded rectangle, etc., the display shape of some interfaces to be displayed is fixed, such as rectangular. Therefore, when the special-shaped screen displays the application interfaces, the interface to be displayed is in the display process, and part of the interface displayed at the corners of the special-shaped screen can be blocked by the non-display area of the electronic equipment, so that the complete interface to be displayed cannot be displayed, and the use experience of a user is affected.
Aiming at the technical problems in the related art, the embodiment of the application provides a display control method. The method comprises the following steps: the display area of the electronic device is capable of displaying the target interface, but the target interface cannot be displayed completely, i.e. the target interface is not included in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the whole area of the target interface can be in the display area, and therefore, the display interface of the electronic device can improve the user experience.
The display control method provided by the embodiment of the application is described in detail by a specific embodiment, taking an execution body of the display control method as an electronic device as an example with reference to the accompanying drawings.
Fig. 1 is a flowchart of a display control method 100 according to the present embodiment. As shown in fig. 1, a display control method 100 provided in an embodiment of the present application may include: s101 and S102.
S101: and under the condition that the display area of the electronic equipment displays a target interface and a part of the area of the target interface is not displayed in the display area, acquiring the target area which is shielded by the non-display area of the electronic equipment in the target interface.
S102: adjusting the target attribute of the target interface until the whole area of the target interface is displayed in the display area, wherein the target attribute comprises at least one of the following: the size of the target interface, the display position of the target interface in the display area.
Thus, the display area of the electronic device is capable of displaying the target interface, but the target interface cannot be displayed completely, i.e., a partial area of the target interface is not displayed in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the whole area of the target interface can be in the display area, and therefore, the display interface of the electronic device can improve the user experience.
First, S101 is described.
The target interface may be an interface of an application program, a desktop interface of the electronic device, or an interface corresponding to a certain window. As shown in fig. 2, the electronic device 20 includes: a display area 21 of the electronic device, a non-display area 22 of the electronic device, and a target interface 23 displayed by the display area 21 of the electronic device. As shown in fig. 3, a schematic diagram of the target interface 23 not included in the display area 21 in the embodiment of the present application is exemplarily shown, that is, the display area 21 cannot completely display the target interface 23, and the non-display area 22 obscures a partial area 230 in the target interface so that the partial area is invisible. The target area of the target interface may include information to be displayed, so that in order to enable the target interface to be displayed completely in the target area, so that the information to be displayed in the target area can be displayed in the display area, the electronic device needs to acquire the target area, which is blocked by the non-display area of the electronic device, in the target interface.
In some embodiments, as shown in fig. 4, the display area 41 of the electronic device may be rounded rectangle and the target interface 42 may be right-angled rectangle. The target interface 42 may be an interface of an application program, such as an input method interface, or may be a window interface for displaying information.
Next, S101 will be described in detail by taking an example in which a display area of the electronic device is a rounded rectangle, a target interface is a rectangular rectangle, and the target interface is an input method interface.
In some embodiments, as shown in fig. 5, in order to enable the input method interface to be displayed completely in the target area, so that the information to be displayed in the target area can be displayed in the display area, S101 may further specifically include S501 and S502 described below.
S501: and determining a target corner of the display area, wherein the target corner is a display area corner corresponding to a non-display area shielding the target area, and comprises a first edge, a second edge and an arc line connecting the first edge and the second edge, which are mutually perpendicular.
S502: and determining an area surrounded by the extension line of the first side and the extension line of the second side and the circular arc line as a target area.
As shown in fig. 4, each side of the display area 41 of the electronic device is connected by arc lines, each arc line corresponds to a corner, and each side of the display area in the electronic device is partially overlapped with each side of the input method interface. The non-display area 43 shielding the target area is connected to the display area 41 through the target corner of the display area 41. The target corner of the display area 41 includes a first edge 411 and a second edge 412 perpendicular to each other, and an arc line 413 connecting the first edge and the second edge. In this embodiment, the first edge 411 is a vertical edge in the target corner, and the second edge 412 is a horizontal edge in the target corner. In other embodiments, however, the first edge may also be a horizontally oriented edge in the target corner and the second edge may also be a vertically oriented edge in the target corner.
The non-display area 43 that obscures the target area is a part of the non-display area in the electronic device.
The electronic device can determine target corners of the display area according to the display area and the target area blocked by the non-display area. The target corners are corners of the display area 41 corresponding to the non-display area 43 shielding the target area, for example, two target areas are respectively located at the lower left corner and the lower right corner of the input method interface 42, so that the target corners are also two, the corner of the lower right corner of the display area corresponds to the target area of the lower right corner of the input method interface, and the corner of the lower left corner of the display area corresponds to the target area of the lower left corner of the input method interface.
After the target corners are determined, the blocked target area can be determined according to the structures of the target corners. Specifically, as shown in fig. 6, the target corners may include a corner 1 and a corner 2.
The extension lines of the first side 611 and the second side 612 of the corner 1 are made, and the extension lines of the first side 611 and the second side 612 intersect at a first intersection point P1, that is, a vertex P1 of the input method interface. The area surrounded by the extension line of the first edge 621, the extension line of the second edge 622, and the circular arc line 613 is the target area 614. The target area corresponding to the corner 2 is determined in the same manner as the target area corresponding to the corner 1, and the corner 2 includes a third side 621, a fourth side 622, and a circular arc line 623. Wherein, the extension line of the third side 621 and the extension line of the fourth side 622 intersect at a fourth intersection point P2, that is, another vertex P2 of the input method interface. The area surrounded by the extension line of the third side 621, the extension line of the fourth side 622, and the circular arc line 623 is the target area 624.
Therefore, the corners of the display area of the electronic equipment determine the target area in which the input method interface is blocked, so that the target area is adjusted, the input method interface is completely displayed in the display area of the electronic equipment, information to be displayed in the target area can be displayed in the display area, the situation that effective information cannot be checked by a user in the blocked target area is avoided, and the use experience of the user is improved.
In some embodiments, as shown in fig. 7, the target corner includes corner 1 and corner 2. The embodiment of the application can also determine the target area through the following steps: a first intersection point P1 of the extension line of the first edge 711 and the extension line of the second edge 712 of the corner 1, that is, a vertex P1 of the input method interface, is determined. A fourth intersection point P2 of the extension line of the third side 721 and the extension line of the fourth side 722 of the corner 2, that is, another vertex P2 of the input method interface is determined. The arc line 713 of corner 1 intersects the first side 711 at point Q1 and the arc line 723 of corner 2 intersects the third side 721 at point Q2. The area enclosed by the connection point Q1, the point Q2, the vertex P1 and the vertex P2 is the target area 75.
Next, S102 is described.
In order to enable the input method interface to be displayed in the target area completely, after the electronic equipment obtains the blocked target area in the input method interface, the attribute of the input method interface is adjusted, for example, the size of the input method interface is adjusted, and the display position of the input method interface in the display area is adjusted.
The following describes S102 in detail, taking the display area of the electronic device as a rounded rectangle, the input method interface as a rectangular rectangle, and the input method interface as an example.
After the electronic equipment determines the target area, the input method interface needs to be adjusted according to the target area until the target area is displayed in the display area. The method for adjusting the interface attribute of the input method may be various, and the method for adjusting the interface attribute of the input method is described in detail in the following embodiments.
First, the target area can be displayed in the display area by reducing the size of the input method interface.
In some embodiments, in order to reduce the size of the input method interface, so that the input method interface displayed in the display area is displayed, after S101, before S102, as shown in fig. 8, the method may further reduce the size of the input method interface through S801 to S803 described below.
S801: a first intersection of an extension of the first side and an extension of the second side is determined.
As shown in fig. 6 and 7, an extension line of the first side and an extension line of the second side in the input method interface intersect with the first intersection point P1. The first intersection point P1 is also a vertex of the blocked target area.
S802: and determining the target point with the shortest distance from the point on the arc line to the first intersection point.
The shortest distance from the first intersection point is a point among a plurality of points on the arc line of the target point. From this target point, the nearest area where the target area is not occluded can be determined. The target point is positioned on the arc line of the target corner. When the vertex P1 of the target area is moved to the target point, the input method interface is just displayed in the target area completely.
Specifically, in some embodiments, as shown in fig. 9, S802 may specifically determine the target point through S901-S904 described below.
S901: drawing a first vertical line of the first side through an intersection point of the first side and the circular arc line, and drawing a second vertical line of the second side through an intersection point of the second side and the circular arc line.
S902: a second intersection of the first and second perpendicular lines is determined.
S903: and connecting the first intersection point with the second intersection point to obtain a target straight line.
S904: and determining the intersection point of the target straight line and the arc line as a target point.
As shown in fig. 10, taking the schematic diagram of the target area in fig. 6 as an example, the first edge 611 and the circular arc line 613 of the corner 1 intersect at the point N1, and the second edge 612 and the circular arc line 613 of the corner 1 intersect at the point M1. The first perpendicular 1011 passing through the N1 point and the second perpendicular 1012 passing through the M1 point intersect at a second intersection O1. The second intersection O1 is a circle center corresponding to the circular arc line. The second intersection O1 and the vertex P1 are connected to obtain a target straight line 1013. The target line 1013 and the arc line 613 intersect at a point P1 ', which is the target point P1'. Similarly, the third edge 621 of corner 2 and the arcuate line 623 intersect at N2, and the fourth edge 622 of corner 2 and the arcuate line 623 intersect at point M2. A straight line 1021 passing through the N2 point and a straight line 1022 passing through the M2 point intersect at a third intersection point O2. The third intersection point O2 is a circle center corresponding to the circular arc line. Connecting the third intersection O2 and the vertex P2 results in a straight line 1023. The straight line 1023 and the circular arc line 1020 intersect at a point P2 ', and the point P2' is the target point. The second side of the corner 1 and the fourth side of the corner 2 are both on the bottom side of the display area.
As shown in fig. 11, taking the schematic diagram of the target area in fig. 7 as an example, in order to reduce the size of the input method interface, so that the input method interface displayed in the display area can directly determine the point Q1 and the point Q2 as target points, and then reduce the size of the input method interface according to the target mode.
Therefore, the corner can determine the target point, the electronic equipment can adjust the position of the vertex of the input method interface according to the target point to reduce the size of the input method interface, so that the display area displays the complete input method interface, and the use experience of a user is improved.
S803: the input method interface is reduced according to the target mode until the first intersection point coincides with the target point or until the first intersection point is positioned in the display area; the target mode is to move the first intersection point along the connecting line of the first intersection point and the target point towards the direction of the target point.
For example, as shown in fig. 10, in order to display the input method interface with the display area intact, during the process of shrinking the input method interface, the vertex P3 may be kept still, and the input method interface may be shrunk, where the vertex P1 moves along the straight line 1013 to the target point P1' during the process of shrinking the input method interface. While the vertex P1 is moved to the target point P1 ', the vertex P4 is moved to the vertex P4'. The vertex P3 is a diagonal vertex of the vertex P1 in the input method interface. Then, the vertex P4 is kept still, and the input method interface is reduced, wherein the vertex P2 moves along the straight line 1023 to the target point P2' in the process of reducing the input method interface. While the vertex P2 is moved to the target point P2 ', the vertex P3 is moved to the vertex P3'. Vertex P4 is the diagonal vertex of vertex P2 in the input method interface.
In addition, in the process of reducing the input method interface, the position of the center point of the input method interface in the display area can be kept unchanged.
The vertexes of the input method interface after the size reduction are P1 ', P2', P3 'and P4', respectively.
For another example, as shown in fig. 11, the electronic device may move the edge P1P2 along the straight line 1101 perpendicular to the edge P1P2 in the direction away from the edge P1P2 in the target area of the input method interface until the first intersection point P1 and the point Q1 overlap, and the fourth intersection point P2 and the point Q2 overlap. That is, the vertex P1 of the input method interface coincides with the point Q1, and the vertex P2 of the input method interface coincides with the point Q2.
Therefore, the electronic equipment can reduce the size of the input method interface according to the relative position between the target point and the vertex of the input method interface, so that the display area displays the complete input method interface, and the use experience of a user is improved.
And secondly, displaying the target area in the display area by moving the position of the input method interface in the display area.
In some embodiments, in order to enable the display area to be complete, the step S102 may specifically include the following steps: and moving the input method interface until the whole area of the target interface is displayed in the display area.
The moving target interface may be a display position of the whole moving input method interface in the display area, and the size of the target interface is not reduced until all the area of the target interface is displayed in the display area. The display position of the input method interface in the display area can be that the input method interface is moved leftwards as a whole, the input method interface is moved upwards as a whole, and the specific movement mode can be determined according to the shielded target area.
For example, the lower left corner and the lower right corner of the input method are respectively blocked by the non-display area of the electronic device, the whole input method interface can be moved to the upper side of the display area until all the areas of the target interface are displayed in the display area, that is, the input method interface can be completely displayed in the display area.
Therefore, the electronic equipment can completely display the input method interface in the display area by moving the input method interface, so that the situation that the non-display area of the electronic equipment shields key information in the target area is avoided, and the use experience of a user is improved.
Specifically, in some embodiments, the input method interface may be moved by: controlling the input method interface to move a target distance along the direction of a first target edge far away from the display area until all areas of the target interface are displayed in the display area;
The first target edge is an edge overlapped with the second target edge in the display area; the target distance is the distance between the first intersection point and the intersection point of the third target side and the circular arc line, and one side is the first side and the other side is the second side in the second target side and the third target side.
The first target edge may be any edge of the display area, and the first target edge coincides with the second target edge in the input method interface. The second target edge and the third target edge are each different edges in the same corner structure. For example, when the second target edge is the first edge, the third target edge is the second edge. For example, the first target edge is the bottom edge of the display area, and the first edge is the vertical edge of the corner. The second side is a side in the horizontal direction, and the second side coincides with the bottom side of the display area. In order to completely display the target interface in the target area, the electronic device may control the input method interface to move the target distance in a direction away from the bottom side of the display area. The target distance may be a distance between the first intersection point and an intersection point of the third target edge and the circular arc line.
For example, in the target area shown in fig. 6, the input method interface may be moved a target distance as a whole, so that the input method interface is displayed in the display area of the electronic device completely. For another example, in the target area shown in fig. 7, the input method interface may be moved by a target distance (for example, a distance between P1 and Q1) as a whole, so that the first vertex P1 in the input method interface coincides with the point Q1, and the second vertex P2 coincides with the point Q2, so that the input method interface is displayed in the display area of the electronic device completely.
Therefore, the electronic equipment moves the target distance by controlling the input method interface, so that the input method interface is completely displayed in the display area of the electronic equipment, information in the input method interface is prevented from being blocked, and the use experience of a user is improved.
In some embodiments, in order to be able to display the information in the occluded area in the display area, S102 may specifically include the following steps: and moving the target area into the display area.
Specifically, the display position of the moving target interface in the display area may be to move only the target area that is blocked by the non-display area until the target area is displayed in the display area. Here, the target area may be moved to an arbitrary position within the display area.
For example, as shown in fig. 6, the electronic device may move the target region 614 into the display region 41.
When the target area is displayed in the display area, the user can operate the target area, and the electronic device moves the target area according to the input of the user to the target area.
Therefore, the electronic equipment can display the shielded areas in the display area of the electronic equipment by moving the target area, so that information in the interface of the shielding input method is avoided, and the use experience of a user is improved.
In some embodiments, as shown in fig. 12, the electronic device includes a display area 1201 and a non-display area 1202. The display area 1201 of the electronic device may be octagonal and the target interface 1203 may be a right rectangular.
In the following, S101 and S102 will be described in detail, taking an example in which a display area of the electronic device is octagonal, a target interface is a rectangular rectangle, and the target interface is an input method interface.
First, S101 is described.
In some embodiments, the electronic device is configured to determine a target corner of the display area, where the target corner connects the non-display area and the display area corresponding to the occlusion target area, and the target corner includes a first edge, a second edge, and a fifth edge connecting the first edge and the second edge. The electronic device may determine an area surrounded by the extension line of the first edge, the extension line of the second edge, and the fifth edge as the target area.
As shown in fig. 13, each side of the display area 1201 of the electronic device is connected by straight lines, so as to form an octagonal display area, each straight line corresponds to one corner, and each side of the electronic device is partially overlapped with each side of the input method interface. The non-display area 1202 that obscures the target area is connected to the display area 1201 by a target corner of the display area 1201. Wherein the target corner of the display area 1201 includes a first edge 1311 and a second edge 1312 perpendicular to each other, and a target edge 1313 connecting the first edge and the second edge. The first edge 1311 is a vertical edge in the target corner, and the second edge 1312 is a horizontal edge in the target corner.
The non-display area 1202 that obscures the target area is a part of the non-display area in the electronic device.
The electronic device can determine target corners of the display area according to the display area and the target area blocked by the non-display area. Wherein the target corner connects the display area 1201 and the non-display area 1202 that obscures the target area, i.e. the target corner corresponds to the obscured target area. For example, there are two target corners, and are located at the lower left and lower right corners of the display area 1201, respectively. The two target areas are respectively positioned at the left lower corner and the right lower corner of the input method interface 1203.
After the target corners are determined, the blocked target area can be determined according to the structures of the target corners. Specifically, as shown in fig. 14, the target corners may include a corner 1 and a corner 2.
The extension lines of the first side 1411 and the second side 1412 of the corner 1 intersect at a first intersection point P1, i.e., a vertex P1 of the input method interface. The area surrounded by the extension line of the first side 1421, the extension line of the second side 1422, and the target side 1413 is the target area 1414. The target area corresponding to the corner 2 is determined in the same manner as the target area corresponding to the corner 1, and the corner 2 includes a third side 1421, a fourth side 1422, and a target side 1423. Wherein, the extension line of the third side 1421 and the extension line of the fourth side 1422 intersect at a point P2, that is, another vertex P2 of the input method interface. The area surrounded by the extension line of the third side 1421, the extension line of the fourth side 1422, and the target side 1423 is a target area 1424. The point P2 is the vertex of the target area 1424.
Therefore, the corners of the display area of the electronic equipment determine the target area in which the input method interface is blocked, so that the target area is adjusted, the input method interface is completely displayed in the display area of the electronic equipment, information to be displayed in the target area can be displayed in the display area, the situation that effective information cannot be checked by a user in the blocked target area is avoided, and the use experience of the user is improved.
In some embodiments, as shown in fig. 15, the target corner includes corner 1 and corner 2. The embodiment of the application can also determine the target area through the following steps: a first intersection point P1 of the extension of the first edge 1511 and the extension of the second edge 1512 of the corner 1, that is, the vertex P1 of the input method interface, is determined. A second intersection point P2 of the extension line of the third side 1521 and the extension line of the fourth side 1522 of the corner 2, that is, another vertex P2 of the input method interface, is determined. The fifth edge of corner 1 intersects first edge 1511 at point Q1 and the fifth edge of corner 2 intersects second edge 1522 at point Q2. The area enclosed by the connection point Q1, the point Q2, the first vertex P1 and the second vertex P2 is the target area 1500. The first intersection point P1 and the second intersection point P2 are vertices of the target area 1500.
Next, S102 is described.
After the target area is determined, the input method interface needs to be adjusted according to the target area until the target area is displayed in the display area. The method for adjusting the interface attribute of the input method may be various, and the method for adjusting the interface attribute of the input method is described in detail in the following embodiments.
First, the target area can be displayed in the display area by reducing the size of the input method interface.
For example, the electronic device may control the bottom edge of the input method interface to move in a direction away from the bottom edge of the display area until the input method interface is capable of completely displaying the input method interface, thereby reducing the size of the input method interface. In the process of moving the bottom edge of the input method interface, until the vertex P1 of the input method interface coincides with the point Q1, and meanwhile, the vertex P2 coincides with the point Q2.
For another example, the electronic device may control the vertices P1 and P2 of the input method interface to move simultaneously, and may move the vertex P1 to the fifth side of the corner 1 and move the second vertex P2 to the fifth side of the corner 2, thereby reducing the size of the input method interface.
Therefore, the electronic equipment reduces the size of the input method interface by adjusting the position of the vertex of the input method interface, so that the display area displays the complete input method interface, and the use experience of a user is improved.
Secondly, the target area can be displayed in the display area by moving the target interface.
After the electronic equipment determines the target area, the input method interface is moved integrally according to the corners of the target area and the display area.
For example, the electronic device may control the entire input method interface to move away from the bottom edge of the display area until the vertex P1 of the input method interface coincides with the point Q1 of the corner 1, and the vertex P2 coincides with the point Q2 of the corner 2.
Therefore, the electronic equipment can completely display the input method interface in the display area by moving the input method interface, so that the situation that the non-display area of the electronic equipment shields key information in the target area is avoided, and the use experience of a user is improved.
In the above embodiment, the electronic device can automatically adjust the attribute of the target interface. In addition, in some embodiments, in order to enable the adjusted target interface to be displayed in the display area and further meet the requirements of the user, after the electronic device acquires the blocked target area, the state of the target interface is converted from the non-editable state to the editable state. Wherein, after S101, before S102, the following steps may be further included: and receiving target input of a user to an input method interface.
The target input may be a click input, a double click input, a drag input, etc., as well as a combination between multiple inputs. For example, the target input may be a user pressing the input method interface long, moving the input method interface to above the display area. For another example, the user double-finger is pressed from the long-press input method interface, and simultaneously the double-finger moves towards the opposite direction. For another example, the user continues to move the input method interface to the upper side of the display area after pressing the input method interface from the long time and simultaneously moving the two fingers to the opposite direction.
The user may adjust the input method interface according to the own requirement, specifically, S102 may specifically include the following steps: and responding to the target input, and adjusting the attribute of the input method interface until the whole area of the target interface is displayed in the display area.
The electronic equipment receives target input of a user, and adjusts the size of the input method interface and the display position of the input method interface according to the target input of the user. For example, when the electronic device receives an input of the user by pressing the input method interface for a long time and moving the input method interface to the upper side of the display area, the input method interface is moved to the upper side of the display area. For another example, when the electronic device receives an input that the user double-finger is pressed from the long-time input method interface and simultaneously moves in the opposite direction, the electronic device reduces the size of the display interface according to the input of the user.
Therefore, after the electronic equipment acquires the blocked target area, the state of the input method interface is converted from the non-editable state to the editable state, so that a user can adjust the input method interface, such as reducing the size of the input method interface, adjusting the display position of the input method interface in the display area and the like, and further the input method interface can be completely displayed in the display area of the electronic equipment, and the use experience of the user is improved.
In the display control method provided by the embodiment of the application, the display area of the electronic equipment can display the target interface, but the target interface cannot be completely displayed, namely the target interface is not contained in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the target area can be in the display area, and thus, the display interface of the electronic device can improve the user experience.
In the embodiment of the present application, the display control method provided by the embodiment of the present application is described by taking the electronic device as an example to execute the display control method. However, in the display control method provided by the embodiment of the present application, the execution body may be an electronic device, or may be a display control apparatus or a control module in the display control apparatus for executing the display control method.
Based on the display control method provided by the application, correspondingly, the application provides a display control device of an embodiment. In the following, in the embodiment of the present application, a display control device executes a display control method as an example, and the display control device provided in the embodiment of the present application is described.
Fig. 16 is a schematic structural diagram of a display control device 1600 according to the present application.
As shown in fig. 16, a display control apparatus 1600 provided by the present application may include: the acquisition module 1610, the adjustment module 1620.
An obtaining module 1610, configured to obtain, when a display area of the electronic device displays a target interface and a partial area of the target interface is not displayed in the display area, a target area in the target interface that is blocked by a non-display area of the electronic device;
the adjusting module 1620 is configured to adjust the target attribute of the target interface until all the areas of the target interface are displayed in the display area;
wherein the target attribute comprises at least one of: the size of the target interface, the display position of the target interface in the display area.
Thus, the display area of the electronic device is capable of displaying the target interface, but the target interface cannot be displayed completely, i.e., the target interface is not included in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the target area can be in the display area, and thus, the display interface of the electronic device can improve the user experience.
Optionally, in some embodiments of the present application, the acquiring module 1610 includes:
A first determining submodule 1611, configured to determine a target corner of the display area, where the target corner is a display area corner corresponding to a non-display area that blocks the target area, and the target corner includes a first edge, a second edge, and an arc line connecting the first edge and the second edge that are perpendicular to each other;
And a second determining submodule 1612, configured to determine an area surrounded by the extension line of the first edge, the extension line of the second edge, and the circular arc line as a target area.
Therefore, the corners of the display area of the electronic equipment determine the target area with the blocked target interface, so that the target area is adjusted, the target interface is completely displayed in the display area of the electronic equipment, the information to be displayed in the target area can be displayed in the display area, the situation that effective information cannot be checked by a user in the blocked target area is avoided, and the use experience of the user is improved.
Optionally, in some embodiments of the application, the adjustment module 1620 includes:
A third determining submodule 1621 for determining a first intersection point of the extension line of the first side and the extension line of the second side;
A fourth determining submodule 1622, configured to determine a target point with a shortest distance from a point on the arc line to the first intersection point;
A zoom-out submodule 1623, configured to zoom out the target interface according to the target mode until the first intersection point coincides with the target point, or until the first intersection point is located in the display area; the target mode is to move the first intersection point along the connecting line of the first intersection point and the target point towards the direction of the target point.
Therefore, the electronic equipment can reduce the size of the target interface according to the relative position between the target point and the vertex of the target interface, so that the display area displays the complete target interface, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the third determining submodule 1621 specifically includes:
the drawing unit is used for drawing a first vertical line of the first side through the intersection point of the first side and the circular arc line and drawing a second vertical line of the second side through the intersection point of the second side and the circular arc line;
The first determining unit is further used for determining a second intersection point of the first vertical line and the second vertical line;
the connecting unit is also used for connecting the first intersection point and the second intersection point to obtain a target straight line;
the second determining unit is further configured to determine an intersection point of the target straight line and the arc line as the target point.
Therefore, the target point can be determined through the corners, the electronic equipment can adjust the position of the vertex of the target interface according to the target point to reduce the size of the target interface, so that the display area displays the complete input method interface, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the adjusting module 1620 further includes:
And a moving sub-module 1624, configured to move the target interface until the entire area of the target interface is displayed in the display area.
Therefore, the electronic equipment can completely display the target interface in the display area by moving the target interface, so that the situation that the non-display area of the electronic equipment shields key information in the target area is avoided, and the use experience of a user is improved.
Optionally, in some embodiments of the application, the mobile submodule 1624 includes a control unit;
the control unit is specifically used for controlling the target interface to move a target distance along the direction away from the first target edge of the display area until the whole area of the target interface is displayed in the display area;
The first target edge is an edge overlapped with the second target edge in the display area; the target distance is the distance between the first intersection point and the intersection point of the third target side and the circular arc line, and one side is the first side and the other side is the second side in the second target side and the third target side.
Therefore, the electronic equipment controls the target interface to move the target distance, so that the target interface is completely displayed in the display area of the electronic equipment, information in the target interface is prevented from being blocked, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the adjusting module 1620 further includes:
and a movement sub-module 1624 for moving the target area into the display area.
Therefore, the electronic equipment can display the shielded areas in the display area of the electronic equipment by moving the target area, so that information in the interface of the shielding input method is avoided, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the apparatus 1600 further comprises:
a receiving module 1630, configured to receive a target input from a user to a target interface;
The adjusting module 1620 is specifically configured to adjust the target attribute of the target interface in response to the target input until the entire area of the target interface is displayed in the display area.
Therefore, after the electronic equipment acquires the shielded target area, the state of the target interface is converted from the non-editable state to the editable state, so that a user can adjust the target interface, such as reducing the size of the target interface, adjusting the display position of the target interface in the display area, and the like, and the target interface can be completely displayed in the display area of the electronic equipment, thereby improving the use experience of the user.
Optionally, in some embodiments of the present application, the target interface is an input method interface.
Therefore, the electronic equipment can completely display the input method interface, and user experience is improved.
According to the display control device provided by the embodiment of the application, the display area of the electronic equipment can display the target interface, but the target interface cannot be completely displayed, namely the target interface is not contained in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the target area can be in the display area, and thus, the display interface of the electronic device can improve the user experience.
The display control device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The display control device in the embodiment of the application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The display control device provided in the embodiment of the present application can implement each process implemented by the display control device in the embodiments of fig. 1, 5, 8 and 9, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 17, an embodiment of the present application further provides an electronic device 1700, including a processor 1701, a memory 1702, and a program or an instruction stored in the memory 1702 and capable of being executed on the processor 1701, where the program or the instruction implements each process of the embodiment of the display control method when executed by the processor 1701, and the process can achieve the same technical effect, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 18 is a schematic diagram of a hardware structure of an electronic device 1800 implementing an embodiment of the application.
The electronic device 1800 includes, but is not limited to: a radio frequency unit 1801, a network module 1802, an audio output unit 1803, an input unit 1804, a sensor 1805, a display unit 1806, a user input unit 1807, an interface unit 1808, a memory 1809, and a processor 1810. Wherein the input unit 1804 includes a graphics processor and a microphone. The display unit 1806 includes a display panel. The user input unit 1807 includes a touch panel and other input devices. The memory 1809 includes an operating system of the electronic device and applications installed on the electronic device.
Those skilled in the art will appreciate that the electronic device 1800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1810 by a power management system, such as to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in the drawings, or may combine some components, or may be arranged in different components, which will not be described in detail herein.
The processor 1810 is configured to obtain, when a target interface is displayed in a display area of an electronic device and a partial area of the target interface is not displayed in the display area, a target area in the target interface that is blocked by a non-display area of the electronic device;
A processor 1810 configured to adjust a target attribute of the target interface until an entire area of the target interface is displayed within the display area;
Wherein the target attribute comprises at least one of: the size of the target interface and the display position of the target interface in the display area.
In the embodiment of the application, the display area of the electronic device can display the target interface, but the target interface cannot be completely displayed, i.e. the target interface is not included in the display area. In this case, the electronic device acquires the target area of the target interface, which is blocked by the non-display area of the electronic device, and adjusts the attribute of the target area, such as the size of the target interface, the display position of the target interface in the display area, and the like, so that the target area can be in the display area, and thus, the display interface of the electronic device can improve the user experience.
Optionally, in some embodiments of the present application, the processor 1810 is configured to determine a target corner of the display area, where the target corner is a display area corner corresponding to a non-display area that obscures the target area, and the target corner includes a first edge, a second edge, and an arc line connecting the first edge and the second edge that are perpendicular to each other;
The processor 1810 is further configured to determine an area surrounded by the extension line of the first side, the extension line of the second side, and the arc line as the target area.
Therefore, the corners of the display area of the electronic equipment determine the target area with the blocked target interface, so that the target area is adjusted, the target interface is completely displayed in the display area of the electronic equipment, the information to be displayed in the target area can be displayed in the display area, the situation that effective information cannot be checked by a user in the blocked target area is avoided, and the use experience of the user is improved.
Alternatively, in some embodiments of the application,
The processor 1810 is further configured to determine a first intersection of an extension of the first edge and an extension of the second edge;
The processor 1810 is further configured to determine a target point with a shortest distance from a point on the arc line to the first intersection point;
A processor 1810 configured to zoom out the target interface in a target manner until the first intersection point coincides with the target point, or until the first intersection point is located in the display area; the target mode is to move the first intersection point along the connecting line of the first intersection point and the target point towards the direction of the target point.
Therefore, the electronic equipment can reduce the size of the target interface according to the relative position between the target point and the vertex of the target interface, so that the display area displays the complete target interface, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the processor 1810 is configured to draw a first perpendicular to the first edge through an intersection of the first edge and the arc line, and draw a second perpendicular to the second edge through an intersection of the second edge and the arc line;
The processor 1810 is further configured to determine a second intersection of the first perpendicular and the second perpendicular;
the processor 1810 is further configured to connect the first intersection point and the second intersection point to obtain a target straight line;
the processor 1810 is further configured to determine an intersection of the target straight line and the arc line as the target point.
Therefore, the target point can be determined through the corners, the electronic equipment can adjust the position of the vertex of the target interface according to the target point to reduce the size of the target interface, so that the display area displays the complete input method interface, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the processor 1810 is configured to move the target interface until the entire area of the target interface is displayed within the display area.
Therefore, the electronic equipment can completely display the target interface in the display area by moving the target interface, so that the situation that the non-display area of the electronic equipment shields key information in the target area is avoided, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the processor 1810 is specifically configured to control the target interface to move the target distance along a direction away from the first target edge of the display area until the entire area of the target interface is displayed in the display area;
The first target edge is an edge overlapped with the second target edge in the display area; the target distance is the distance between the first intersection point and the intersection point of the third target side and the circular arc line, and one side is the first side and the other side is the second side in the second target side and the third target side.
Therefore, the electronic equipment controls the target interface to move the target distance, so that the target interface is completely displayed in the display area of the electronic equipment, information in the target interface is prevented from being blocked, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the processor 1810 is specifically configured to move the target area into the display area.
Therefore, the electronic equipment can display the shielded areas in the display area of the electronic equipment by moving the target area, so that information in the interface of the shielding input method is avoided, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, a user input unit 1807 is used to receive a target input of a user to the target interface;
The processor 1810 is specifically configured to adjust the target attribute of the target interface in response to the target input until the entire area of the target interface is displayed in the display area.
Therefore, after the electronic equipment acquires the shielded target area, the state of the target interface is converted from the non-editable state to the editable state, so that a user can adjust the target interface, such as reducing the size of the target interface, adjusting the display position of the target interface in the display area, and the like, and the target interface can be completely displayed in the display area of the electronic equipment, thereby improving the use experience of the user.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the display control method, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the display control method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1. A display control method, characterized by comprising:
displaying a target interface in a display area of electronic equipment, and acquiring a target area which is shielded by a non-display area of the electronic equipment in the target interface under the condition that a partial area of the target interface is not displayed in the display area;
Adjusting the target attribute of the target interface until all the areas of the target interface are displayed in the display area;
Wherein the target attribute comprises at least one of: the size of the target interface and the display position of the target interface in the display area;
When the display area of the electronic device is a rounded rectangle and the target interface is a rectangular rectangle, the acquiring the target area, which is blocked by the non-display area of the electronic device, in the target interface includes:
Determining a target corner of the display area, wherein the target corner is a corner overlapped with a side of a non-display area shielding the target area, and comprises a first side, a second side and an arc line connecting the first side and the second side, which are perpendicular to each other;
determining an area surrounded by the extension line of the first side, the extension line of the second side and the circular arc line as the target area;
In the case that the target attribute is the size of the target interface, the adjusting the target attribute of the target interface includes:
determining a first intersection point of an extension line of the first side and an extension line of the second side;
Determining a target point with the shortest distance from the first intersection point in points on the arc line;
The target interface is reduced according to a target mode until the first intersection point coincides with the target point or until the first intersection point is positioned in the display area; the target mode is to move the first intersection point along the connection line of the first intersection point and the target point to the direction of the target point;
Or alternatively
In the case that the target attribute is a display position of the target interface in the display area, the adjusting the target attribute of the target interface until the entire area of the target interface is displayed in the display area includes:
And moving the target area into the display area.
2. The method according to claim 1, wherein said determining the target point with the shortest distance from the point on the circular arc line to the first intersection point comprises:
Drawing a first vertical line of the first side through the intersection point of the first side and the circular arc line, and drawing a second vertical line of the second side through the intersection point of the second side and the circular arc line;
determining a second intersection point of the first perpendicular and the second perpendicular;
connecting the first intersection point and the second intersection point to obtain a target straight line;
And determining an intersection point of the target straight line and the circular arc line as the target point.
3. The method of claim 1, wherein after the acquiring the target area of the target interface that is obscured by the non-display area of the electronic device, before the adjusting the target attribute of the target interface until the entire area of the target interface is displayed within the display area, the method further comprises:
receiving target input of a user to the target interface;
the adjusting the target attribute of the target interface until the whole area of the target interface is displayed in the display area comprises the following steps:
And responding to the target input, and adjusting the target attribute of the target interface until the whole area of the target interface is displayed in the display area.
4. A method according to any one of claims 1 to 3, wherein the target interface is an input method interface.
5. A display control apparatus, comprising:
The electronic equipment comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a target area which is shielded by a non-display area of the electronic equipment in the target interface under the condition that the display area of the electronic equipment displays the target interface and a part of the area of the target interface is not displayed in the display area;
the adjusting module is used for adjusting the target attribute of the target interface until all the areas of the target interface are displayed in the display area;
Wherein the target attribute comprises at least one of: the size of the target interface and the display position of the target interface in the display area;
Wherein, in the case that the display area of the electronic device is a rounded rectangle and the target interface is a right-angle rectangle, the obtaining module includes:
The first determining submodule is used for determining a target corner of the display area, wherein the target corner is a corner overlapped with a side of a non-display area shielding the target area, and comprises a first side, a second side and an arc line connecting the first side and the second side, which are perpendicular to each other;
the second determining submodule is used for determining an area surrounded by the extension line of the first edge, the extension line of the second edge and the circular arc line as the target area;
in the case that the target attribute is the size of the target interface, the adjustment module includes:
A third determining submodule for determining a first intersection point of the extension line of the first edge and the extension line of the second edge;
a fourth determining submodule, configured to determine a target point with a shortest distance from the first intersection point among points on the arc line;
The zoom-out submodule is used for zooming out the target interface in a target mode until the first intersection point coincides with the target point or until the first intersection point is positioned in the display area; the target mode is to move the first intersection point along the connection line of the first intersection point and the target point to the direction of the target point;
Or alternatively
In the case that the target attribute is a display position of the target interface in the display area, the adjustment module includes:
and the moving submodule is used for moving the target area into the display area.
6. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the display control method of any of claims 1-4.
CN202011381041.1A 2020-11-30 2020-11-30 Display control method, device and equipment Active CN112486330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011381041.1A CN112486330B (en) 2020-11-30 2020-11-30 Display control method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011381041.1A CN112486330B (en) 2020-11-30 2020-11-30 Display control method, device and equipment

Publications (2)

Publication Number Publication Date
CN112486330A CN112486330A (en) 2021-03-12
CN112486330B true CN112486330B (en) 2024-06-04

Family

ID=74938445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011381041.1A Active CN112486330B (en) 2020-11-30 2020-11-30 Display control method, device and equipment

Country Status (1)

Country Link
CN (1) CN112486330B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal
CN108073343A (en) * 2018-01-26 2018-05-25 维沃移动通信有限公司 A kind of display interface method of adjustment and mobile terminal
CN108984082A (en) * 2018-07-09 2018-12-11 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN109032445A (en) * 2018-07-16 2018-12-18 维沃移动通信有限公司 A kind of control method for screen display and terminal device
WO2020125405A1 (en) * 2018-12-21 2020-06-25 维沃移动通信有限公司 Control method for terminal apparatus, and terminal apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal
CN108073343A (en) * 2018-01-26 2018-05-25 维沃移动通信有限公司 A kind of display interface method of adjustment and mobile terminal
CN108984082A (en) * 2018-07-09 2018-12-11 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN109032445A (en) * 2018-07-16 2018-12-18 维沃移动通信有限公司 A kind of control method for screen display and terminal device
WO2020125405A1 (en) * 2018-12-21 2020-06-25 维沃移动通信有限公司 Control method for terminal apparatus, and terminal apparatus

Also Published As

Publication number Publication date
CN112486330A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
EP3680766B1 (en) Split screen display method, apparatus, terminal, and storage medium
CN109508128B (en) Search control display method, device and equipment and computer readable storage medium
EP4161065A1 (en) Video call interface display control method and apparatus, storage medium, and device
WO2022002052A1 (en) Image capture method and apparatus, and electronic device
JP2014109881A (en) Information processing device, information processing method, and program
CN110347317B (en) Window switching method and device, storage medium and interactive intelligent panel
CN110286899B (en) Editing method and device for application display interface and storage medium
CN110650240B (en) Display control adjusting method, device, terminal and computer readable storage medium
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
WO2018010440A1 (en) Projection picture adjusting method and apparatus, and projection terminal
WO2022194003A1 (en) Screen capture method and apparatus, electronic device, and readable storage medium
CN113282262B (en) Control method and device for projection display picture, mobile terminal and storage medium
CN113918260A (en) Application program display method and device and electronic equipment
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN111638818B (en) Window position adjusting method and device and electronic equipment
CN109992337B (en) Webpage display method and device and storage medium
CN113946250A (en) Folder display method and device and electronic equipment
CN112486616A (en) Interface display method, interface display device, electronic equipment and storage medium
CN112486330B (en) Display control method, device and equipment
CN112995401A (en) Control display method, device, equipment and medium
CN110262718B (en) Input method window setting method and device, mobile terminal and storage medium
CN112540716A (en) Method and device for passing through intelligent cabin application program among multiple screens and electronic equipment
CN109582269B (en) Physical splicing screen display method and device and terminal equipment
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
KR101832838B1 (en) Apparatus and method for controlling display size in portable terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant