CN110703969B - Display area adjusting method and related device - Google Patents

Display area adjusting method and related device Download PDF

Info

Publication number
CN110703969B
CN110703969B CN201910888410.7A CN201910888410A CN110703969B CN 110703969 B CN110703969 B CN 110703969B CN 201910888410 A CN201910888410 A CN 201910888410A CN 110703969 B CN110703969 B CN 110703969B
Authority
CN
China
Prior art keywords
display area
sliding
area
sliding operation
adjusting
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
CN201910888410.7A
Other languages
Chinese (zh)
Other versions
CN110703969A (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.)
Shanghai Wentai Information Technology Co Ltd
Original Assignee
Shanghai Wentai Information Technology 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 Shanghai Wentai Information Technology Co Ltd filed Critical Shanghai Wentai Information Technology Co Ltd
Priority to CN201910888410.7A priority Critical patent/CN110703969B/en
Publication of CN110703969A publication Critical patent/CN110703969A/en
Application granted granted Critical
Publication of CN110703969B publication Critical patent/CN110703969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention provides a display area adjusting method and a related device, and relates to the technical field of terminal display. When the display area of the terminal equipment is abnormal due to the fact that the folding area is damaged, whether the sliding operation of a user in the display area meets the adjusting condition or not is judged, and when the sliding operation meets the adjusting condition, the position of the display area is adjusted, so that the display area is normal. In the embodiment of the invention, the display area is normally displayed by adjusting the position of the display area, so that the part of the area which is originally close to the folding area and is abnormally displayed can also normally display the content, thereby avoiding the influence of the damaged black screen of the folding area on the interface display of the terminal equipment and improving the use experience of a user.

Description

Display area adjusting method and related device
Technical Field
The invention relates to the technical field of terminal display, in particular to a display area adjusting method and a related device.
Background
With the continuous popularization of terminal equipment, the differentiation of consumers is more and more obvious, the multi-level requirements are more and more intense, and the terminal equipment has a plurality of diversified designs. Among them, the folding screen terminal (i.e. the terminal device with a foldable display screen) is popular in the market due to the advantages of large screen size, light weight after folding and portability.
In daily use, a screen of the folding screen terminal is repeatedly folded for a long time, so that a folding area is easily damaged to cause a black screen, and an area around the folding area (namely, a part close to the folding area in a display area) cannot be normally displayed, thereby affecting the interface display of the whole terminal.
Disclosure of Invention
The invention aims to provide a display area adjusting method and a related device, for example, to solve the problem that interface display of terminal equipment is affected due to the fact that a display area cannot be normally displayed after a folding area is damaged and a black screen is damaged in the prior art.
Embodiments of the invention may be implemented as follows:
in a first aspect, an embodiment of the present invention provides a display area adjustment method, which is applied to a terminal device with a foldable screen, where a screen of the terminal device includes a display area and a foldable area, and the method includes:
when the display area is abnormal due to the damage of the folding area, judging whether the sliding operation of a user in the display area meets the adjustment condition;
and when the sliding operation meets the adjusting condition, adjusting the position of the display area according to the sliding operation so as to enable the display area to display normally.
In an alternative embodiment, the sliding operation includes a sliding distance and a sliding direction, and the step of determining whether the sliding operation of the user on the display area meets the adjustment condition includes:
when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold value, judging that the sliding operation meets a first adjusting condition;
when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; wherein the first preset direction is opposite to the second preset direction.
In an optional embodiment, when the sliding operation meets the adjustment condition, the step of adjusting the position of the display area according to the sliding operation includes:
and when the sliding operation meets the first adjusting condition, controlling the display area to be reduced in an equal proportion towards the first preset direction and the direction far away from the folding area according to the sliding distance.
In an optional embodiment, when the sliding operation meets the adjustment condition, the step of adjusting the position of the display area according to the sliding operation includes:
and when the sliding operation meets the second adjusting condition, controlling the display area to be reduced in the second preset direction and the direction far away from the folding area in an equal proportion according to the sliding distance.
In a second aspect, an embodiment of the present invention provides a display area adjusting apparatus, which is applied to a terminal device with a foldable screen, where a screen of the terminal device includes a display area and a foldable area, and the apparatus includes:
the judging module is used for judging whether the sliding operation of a user in the display area meets the adjusting condition or not when the display area is abnormal due to the damage of the folding area;
and the adjusting module is used for adjusting the position of the display area according to the sliding operation when the sliding operation meets the adjusting condition so as to enable the display area to display normally.
In an optional embodiment, the sliding operation includes a sliding distance and a sliding direction, and the determining module is configured to determine that the sliding operation meets a first adjustment condition when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold; when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; wherein the first preset direction is opposite to the second preset direction.
In an optional embodiment, the adjusting module is configured to, when the sliding operation meets the first adjusting condition, control the display area to be scaled down in the first preset direction and in a direction away from the folding area according to the sliding distance.
In an optional embodiment, the adjusting module is configured to, when the sliding operation meets the second adjusting condition, control the display area to be scaled down in the second preset direction and in a direction away from the folding area according to the sliding distance.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor and a memory, where the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement the method described in any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the foregoing embodiments.
The beneficial effects of the embodiment of the invention include, for example:
according to the display area adjusting method and the related device provided by the embodiment of the invention, when the display area of the terminal equipment is abnormal due to the damage of the folding area, whether the sliding operation of a user in the display area meets the adjusting condition or not is judged, and when the sliding operation meets the adjusting condition, the position of the display area is adjusted, so that the display area is normal. That is to say, the embodiment of the present invention adjusts the position of the display area to make the display area display normally, so that the portion of the abnormal display area originally close to the folding area can also display the content normally, thereby avoiding the influence of the damaged black screen of the folding area on the interface display of the terminal device, and improving the user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic block diagram of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal device according to an embodiment of the present invention with a screen in an expanded state;
fig. 3 is a schematic diagram of a terminal device provided by an embodiment of the present invention with a screen in a folded state;
FIG. 4 is a flowchart illustrating a display area adjustment method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a display area showing an anomaly due to a damaged folded area and a black screen;
FIG. 6 is a schematic diagram of the display area after adjusting the position;
FIG. 7 is another schematic view of the display area after adjustment of the position;
FIG. 8 is another schematic view of the display area after the position adjustment;
FIG. 9 is another schematic view of the display area after the position adjustment;
fig. 10 is a functional block diagram of a display area adjustment apparatus according to an embodiment of the present invention.
Icon: 100-a terminal device; 110-a memory; 120-a processor; 130-a communication module; 101-a display area; 102-a fold region; 300-display area adjustment means; 310-a judgment module; 320-adjusting module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, a block diagram of a terminal device 100 according to an embodiment of the present invention is shown. The terminal device 100 includes a memory 110, a processor 120 and a communication module 130, and the elements of the memory 110, the processor 120 and the communication module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory 110 and perform corresponding functions. For example, when the computer program stored in the memory 110 is executed by the processor 120, the display area adjustment method disclosed by the embodiment of the invention can be realized.
The communication module 130 is used for establishing a communication connection between the terminal device 100 and another communication terminal through a network, and transceiving data through the network.
It should be understood that the structure shown in fig. 1 is only a schematic structural diagram of the terminal device 100, and the terminal device 100 may also include more or fewer components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by the processor 120, implements the display area adjustment method disclosed in the embodiment of the present invention.
Referring to fig. 2, a schematic diagram of a screen of the terminal device 100 according to an embodiment of the present invention is shown. The screen of the terminal device 100 includes two display areas 101 and a folding area 102, the folding area 102 is located between the two display areas 101, and the screen of the terminal device 100 can be folded or unfolded through the folding area 102. Fig. 2 may be referred to as a schematic diagram of the screen of the terminal device 100 in the unfolded state, and fig. 3 may be referred to as a schematic diagram of the screen of the terminal device 100 in the folded state.
In practical applications, for the terminal device 100 with a foldable screen, after the screen is repeatedly folded, the folding area 102 is easily damaged, and a black screen appears, so that an area around the folding area 102 (i.e. a portion of the display area 101 close to the folding area 102) cannot be normally displayed, thereby affecting the interface display of the whole terminal device 100. Based on this, the present embodiment proposes to avoid the influence of the damaged black screen of the folding area 102 on the interface display of the terminal device 100 by adjusting the position of the display area 101.
Fig. 4 is a schematic flow chart of a display area adjustment method according to an embodiment of the present invention. It should be noted that, the display area adjustment method provided in the embodiment of the present invention is not limited by fig. 4 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the display area adjustment method provided in the embodiment of the present invention may be interchanged according to actual needs, or some steps in the display area adjustment method may also be omitted or deleted. The display area adjusting method can be applied to the terminal device 100 shown in fig. 1, and the specific flow shown in fig. 4 will be described in detail below.
Step S201, when the display area is abnormal due to the damage of the folding area, whether the sliding operation of the user in the display area meets the adjustment condition is judged.
As shown in fig. 5, when the folding area 102 is damaged and the black screen is damaged, a display abnormality may occur in a portion (i.e., a shaded portion in fig. 5) of the display area 101 close to the folding area 102, so as to affect the interface display of the entire display area 101, and at this time, the user may perform a sliding operation on the display area 101 to adjust the position of the display area 101. The terminal device 100 acquires the sliding operation of the user in the display area 101 and determines whether the sliding operation meets the adjustment condition, if yes, step S102 is executed, and if not, the position of the display area 101 is not adjusted.
And S202, when the sliding operation accords with the adjusting condition, adjusting the position of the display area according to the sliding operation so as to enable the display area to be displayed normally.
In this embodiment, when the terminal device 100 determines that the sliding operation meets the adjustment condition, the position of the display area 101 is adjusted according to the sliding operation of the user, so that the part of the display area that is originally close to the folding area 102 can also normally display the content, and thus the whole display area 101 can normally display the content, thereby effectively avoiding the influence of the damaged black screen of the folding area 102 on the interface display of the terminal device 100, and improving the user experience.
Alternatively, the sliding operation may include a sliding distance and a sliding direction, which may be determined according to the coordinates of the start contact point and the end contact point of the user on the display area 101, and the terminal device 100 may determine whether the sliding operation of the user meets the adjustment condition according to the sliding distance and the sliding direction. Based on this, the above step S201 may include: when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold value, judging that the sliding operation meets a first adjusting condition, and when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; the first preset direction is opposite to the second preset direction.
The first preset direction can be upward sliding, and the second preset direction can be downward sliding; or the first preset direction is downward sliding, and the second preset direction is upward sliding.
The first preset threshold and the second preset threshold may be the same or different. For example, in this embodiment, the first preset threshold and the second preset threshold may be set to be 150 pixels.
In this embodiment, in order that the display effect of the display area 101 is not affected before and after the position is adjusted, the terminal device 100 may perform the equal-scale display adjustment on the display area 101 according to the sliding distance of the user when adjusting the position of the display area 101. Based on this, the step S202 may include: when the sliding operation meets the first adjusting condition, the display area 101 is controlled to be reduced in a first preset direction and a direction far away from the folding area 102 in an equal proportion according to the sliding distance; when the sliding operation meets the second adjusting condition, the display area 101 is controlled to be reduced in a second preset direction and a direction away from the folding area 102 in an equal proportion according to the sliding distance.
In an example, assuming that the first preset direction is upward sliding, the second preset direction is downward sliding, the first preset threshold and the second preset threshold are both 150 pixels, and the resolution of the display area 101 of the terminal device 100 when displaying is normal is 640 × 960 (i.e., 640 pixels are displayed in the horizontal direction of the screen and 960 pixels are displayed in the vertical direction). When a user displays an abnormal display in the display area 101 of the terminal device 100 due to the damage of the folding area 102, if the user slides upwards on the display area 101 and the sliding distance is 160 pixels, the terminal device 100 determines that the sliding operation of the user meets the first adjustment condition, and then controls the display area 101 to be scaled down along with the size of the upwards sliding distance, at this time, the position of the top area of the display area 101 is basically kept unchanged, and the position of the bottom area is changed, so that the display area 101 (i.e., the area surrounded by the dotted line) shown in fig. 6 is finally obtained, and the resolution of the display area 101 is 480 × 720; when the user slides down on the display area 101 and the sliding distance is 160 pixels, the terminal device 100 determines that the sliding operation of the user meets the second adjustment condition, and then controls the display area 101 to perform scaling down with the size of the downward sliding distance, at this time, the position of the top area of the display area 101 changes, and the position of the bottom area remains substantially unchanged, so that the display area 101 (i.e., the area surrounded by the dotted line) shown in fig. 7 is finally obtained, and the resolution is 480 × 720.
As can be seen, in this embodiment, after the terminal device 100 controls the display area 101 to be scaled down according to the size of the sliding distance, not only can the portion of the display area 101 originally close to the folding area 102 normally display the content, but also the display content of the entire display area 101 is not deformed due to the reduction of the display area 101, so that the display effect of the display area 101 and the user experience are effectively ensured.
In practical applications, when the terminal device 100 controls the display area 101 to be scaled down according to the size of the sliding distance, in addition to the adjustment modes shown in fig. 6 and 7, other adjustment modes may be adopted, for example: when the sliding operation meets the first adjusting condition, the display area 101 is controlled to be reduced in an equal proportion towards a second preset direction and a direction far away from the folding area 102 according to the sliding distance, and when the sliding operation meets the second adjusting condition, the display area 101 is controlled to be reduced in an equal proportion towards the first preset direction and a direction far away from the folding area 102 according to the sliding distance; that is, when the terminal device 100 controls the display area 101 to be scaled down, it is only necessary to ensure that the display area 101 gradually moves away from the folding area 102, and as for whether the sliding direction of the user needs to be consistent, the bottom and the top of the display area 101 are controlled to be respectively retracted towards the middle, which is not limited in the present application.
It should be noted that, in practical applications, the screen of the terminal device 100 may be in a folded state or in an unfolded state. When the screen of the terminal device 100 is in a folded state, generally, only one display area 101 is used for displaying content, and the other display area 101 is in a black screen state; when the screen of the terminal device 100 is in the expanded state, both display areas 101 are used to display contents. Therefore, fig. 6 and 7 describe the position adjustment manner of the display area 101 when the screen of the terminal device 100 is in the folded state; when the screen of the terminal device 100 is in the unfolded state, the folding area 102 is damaged to be a black screen, and the parts of the two display areas 101 close to the folding area 102 cannot be displayed normally, so that the terminal device 100 can adjust the positions of the two display areas 101 according to the sliding operation of the user on the display areas 101.
Specifically, assuming that the two display areas 101 are an area a and an area B, respectively, the user slides upward in the area a and the sliding distance exceeds a first preset threshold, the terminal device 100 respectively controls the area a and the area B to be scaled down in the sliding direction and the direction away from the folding area 102 according to the size of the upward sliding distance, and the area a after the position adjustment and the area B after the position adjustment are as shown in fig. 8 (refer to the area enclosed by the dashed line); when the user slides downwards in the area a and the sliding distance exceeds the second preset threshold, the terminal device 100 respectively controls the area a and the area B to shrink proportionally in the sliding direction and the direction away from the folding area 102 according to the size of the downward sliding distance, and the area a after the position adjustment and the area B after the position adjustment are as shown in fig. 9 (refer to the area enclosed by the dotted line).
In order to perform the corresponding steps in the above embodiments and various possible modes, an implementation mode of the display area adjusting device is given below. Referring to fig. 10, fig. 10 is a functional block diagram of a display area adjustment apparatus 300 according to an embodiment of the present invention. It should be noted that the basic principle and the generated technical effects of the display area adjustment apparatus 300 provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and reference may be made to the corresponding contents in the above embodiments. The display area adjustment apparatus 300 includes: a decision block 310 and an adjustment block 320.
Alternatively, the aforementioned determining module 310 and the adjusting module 320 may be stored in the memory 110 shown in fig. 1 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the terminal device 100, and may be executed by the processor 120 in fig. 1. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 110.
The determining module 310 is configured to determine whether a sliding operation of the user on the display area 101 meets an adjustment condition when the display area 101 is abnormal due to the damage of the folding area 102.
Optionally, the sliding operation includes a sliding distance and a sliding direction, and the determining module 310 is specifically configured to determine that the sliding operation meets a first adjusting condition when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold; when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; the first preset direction is opposite to the second preset direction.
It is understood that the determining module 310 may perform the step S201.
The adjusting module 320 is configured to adjust the position of the display area 101 according to the sliding operation when the sliding operation meets the adjustment condition, so that the display area 101 displays normally.
Optionally, the adjusting module 320 is specifically configured to, when the sliding operation meets the first adjusting condition, control the display area 101 to be scaled down in the first preset direction and in a direction away from the folding area 102 according to the sliding distance; when the sliding operation meets the second adjusting condition, the display area 101 is controlled to be reduced in a second preset direction and a direction away from the folding area 102 in an equal proportion according to the sliding distance.
It is understood that the adjusting module 320 may perform the step S202.
In summary, embodiments of the present invention provide a display area adjustment method and a related apparatus, when a display area of a terminal device is abnormal due to a damaged folding area, determine whether a sliding operation of a user on the display area meets an adjustment condition, and adjust a position of the display area when the sliding operation meets the adjustment condition, so that the display area is displayed normally. That is to say, the embodiment of the present invention adjusts the position of the display area to make the display area display normally, so that the portion of the abnormal display area originally close to the folding area can also display the content normally, thereby avoiding the influence of the damaged black screen of the folding area on the interface display of the terminal device, and improving the user experience.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A display area adjusting method is applied to a terminal device with a foldable screen, wherein the screen of the terminal device comprises a display area and a folding area, and the method comprises the following steps:
when the display area is abnormal due to the damage of the folding area, judging whether the sliding operation of a user in the display area meets the adjustment condition; the sliding operation comprises a sliding distance and a sliding direction;
and when the sliding operation meets the adjusting condition, controlling the display area to be reduced in an equal proportion towards the direction far away from the folding area according to the sliding distance and the sliding direction so as to enable the display area to display normally.
2. The method according to claim 1, wherein the step of determining whether the sliding operation of the user on the display area meets the adjustment condition comprises:
when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold value, judging that the sliding operation meets a first adjusting condition;
when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; wherein the first preset direction is opposite to the second preset direction.
3. The method according to claim 2, wherein the step of controlling the display area to be scaled down in a direction away from the folding area according to the sliding distance and the sliding direction when the sliding operation meets the adjustment condition comprises:
and when the sliding operation meets the first adjusting condition, controlling the display area to be reduced in an equal proportion towards the first preset direction and the direction far away from the folding area according to the sliding distance.
4. The method according to claim 2, wherein the step of controlling the display area to be scaled down in a direction away from the folding area according to the sliding distance and the sliding direction when the sliding operation meets the adjustment condition comprises:
and when the sliding operation meets the second adjusting condition, controlling the display area to be reduced in the second preset direction and the direction far away from the folding area in an equal proportion according to the sliding distance.
5. A display area adjusting device is applied to a terminal device with a foldable screen, wherein the screen of the terminal device comprises a display area and a folding area, and the device comprises:
the judging module is used for judging whether the sliding operation of a user in the display area meets the adjusting condition or not when the display area is abnormal due to the damage of the folding area; the sliding operation comprises a sliding distance and a sliding direction;
and the adjusting module is used for controlling the display area to be reduced in an equal proportion towards the direction far away from the folding area according to the sliding distance and the sliding direction when the sliding operation meets the adjusting condition so as to enable the display area to be displayed normally.
6. The device according to claim 5, wherein the determining module is configured to determine that the sliding operation meets a first adjustment condition when the sliding direction is a first preset direction and the sliding distance exceeds a first preset threshold; when the sliding direction is a second preset direction and the sliding distance exceeds a second preset threshold value, judging that the sliding operation meets a second adjusting condition; wherein the first preset direction is opposite to the second preset direction.
7. The device according to claim 6, wherein the adjusting module is configured to control the display area to be scaled down in the first preset direction and in a direction away from the folding area according to the sliding distance when the sliding operation meets the first adjusting condition.
8. The device according to claim 6, wherein the adjusting module is configured to control the display area to be scaled down in the second preset direction and in a direction away from the folding area according to the sliding distance when the sliding operation meets the second adjusting condition.
9. A terminal device comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being operable to execute the computer program to implement the method of any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-4.
CN201910888410.7A 2019-09-19 2019-09-19 Display area adjusting method and related device Active CN110703969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910888410.7A CN110703969B (en) 2019-09-19 2019-09-19 Display area adjusting method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910888410.7A CN110703969B (en) 2019-09-19 2019-09-19 Display area adjusting method and related device

Publications (2)

Publication Number Publication Date
CN110703969A CN110703969A (en) 2020-01-17
CN110703969B true CN110703969B (en) 2021-06-11

Family

ID=69195484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910888410.7A Active CN110703969B (en) 2019-09-19 2019-09-19 Display area adjusting method and related device

Country Status (1)

Country Link
CN (1) CN110703969B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI737318B (en) * 2020-05-27 2021-08-21 禾瑞亞科技股份有限公司 Touch sensitive processing method, apparatus and touch system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019545A (en) * 2012-12-10 2013-04-03 广东欧珀移动通信有限公司 Zooming method of touch screen display interface of electronic equipment
CN104765489A (en) * 2015-03-19 2015-07-08 业成光电(深圳)有限公司 Touch display device and control system thereof
CN105653190A (en) * 2015-12-25 2016-06-08 珠海格力电器股份有限公司 Mobile communication terminal and control method and device for one-hand operation mode of mobile communication terminal
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN107562282A (en) * 2017-09-26 2018-01-09 广东小天才科技有限公司 A kind of control method and device of wearable device screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102410549B1 (en) * 2015-04-09 2022-06-20 삼성전자주식회사 Electronic Device with Bezel-less Screen
CN105005434A (en) * 2015-06-24 2015-10-28 上海卓易科技股份有限公司 Touch screen display method and system and applicable touch screen and touch screen device
KR101904969B1 (en) * 2016-07-29 2018-10-10 삼성디스플레이 주식회사 Display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019545A (en) * 2012-12-10 2013-04-03 广东欧珀移动通信有限公司 Zooming method of touch screen display interface of electronic equipment
CN104765489A (en) * 2015-03-19 2015-07-08 业成光电(深圳)有限公司 Touch display device and control system thereof
CN105653190A (en) * 2015-12-25 2016-06-08 珠海格力电器股份有限公司 Mobile communication terminal and control method and device for one-hand operation mode of mobile communication terminal
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN107562282A (en) * 2017-09-26 2018-01-09 广东小天才科技有限公司 A kind of control method and device of wearable device screen

Also Published As

Publication number Publication date
CN110703969A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
KR101541811B1 (en) Apparatus and method for providing bookmark service in communication terminal
CN108563394B (en) Apparatus and method for controlling screen display in portable terminal
US20090009535A1 (en) Display processing device and display control method
KR101932718B1 (en) Device and method for changing size of display window on screen
CN111190672A (en) UI (user interface) adaptation method of electronic equipment, electronic equipment and storage medium
CN113687753B (en) Split screen style configuration method and device, intelligent terminal and storage medium
CN107533568B (en) System and method for determining application zoom level
CN110703969B (en) Display area adjusting method and related device
CN105302429A (en) Mobile terminal screen capture method and mobile terminal adopting same
JP5789719B2 (en) Method and apparatus for determining the display mode of an electronic document
CN104112440B (en) Double-image display device and method thereof
CN114461071B (en) Improved computing device accessibility through eye tracking
CN110598140A (en) Page adjusting method and device and server
US20170177292A1 (en) System configuring a human machine interface on multiple displays
US20180260104A1 (en) Display device
US10303346B2 (en) Information processing apparatus, non-transitory computer readable storage medium, and information display method
JP2002108323A (en) Information terminal and storage medium
US10846360B2 (en) Display control apparatus and display control method
CN113032696A (en) Display method and display device of page picture
CN110806824A (en) Text display method, component, electronic device and readable storage medium
KR101456180B1 (en) Automatic teller machine and method for controlling of the same
US11640491B2 (en) Automatic font value distribution for variable fonts
CN107688636A (en) A kind of page adaptation method and apparatus
CN111552530B (en) Terminal screen adaptation method, device and equipment of user interface
CN108200288A (en) Information processing method and device

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