CN108563390A - Display location method of adjustment, device, storage medium and electronic equipment - Google Patents
Display location method of adjustment, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108563390A CN108563390A CN201810276970.2A CN201810276970A CN108563390A CN 108563390 A CN108563390 A CN 108563390A CN 201810276970 A CN201810276970 A CN 201810276970A CN 108563390 A CN108563390 A CN 108563390A
- Authority
- CN
- China
- Prior art keywords
- display area
- touch operation
- touch
- display
- electronic equipment
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000002459 sustained effect Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 18
- 230000006399 behavior Effects 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000007689 inspection Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 230000005611 electricity Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04886—Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of display location method of adjustment of the embodiment of the present application offer, device, storage medium and electronic equipment, the display location method of adjustment include:When first display area of display screen shows presupposed information, the first touch operation that first display area detects is obtained;When first touch operation is default touch operation, the second touch operation that the second display area of the display screen detects is obtained;According to second touch operation third display area is determined in second display area;The presupposed information is switched to the third display area by first display area to show.In display location method of adjustment provided by the embodiments of the present application, third display area will not cause to limit to the information content of display, to which the third display area can show all status informations and notification information of electronic equipment, the integrality that electronic equipment shows information can be improved.
Description
Technical field
This application involves electronic technology field, more particularly to a kind of display area method of adjustment, device, storage medium and electricity
Sub- equipment.
Background technology
With the development of the communication technology, the function of the electronic equipments such as smart mobile phone is more and more abundant.Electronic equipment energy
The information being enough presented to the user is also more and more.
In general, status bar is provided on electronic equipment, or also referred to as notification bar.Status bar be displayed for the time,
The various information such as electricity, signal condition, network type, applicative notifications.As status bar can show the increase of information type, sometimes
All necessary informations can not be shown by waiting status bar.To which the information that the status bar of electronic equipment is shown is imperfect, can not be to use
Family shows the integrality of electronic equipment.
Invention content
A kind of display location method of adjustment of the embodiment of the present application offer, device, storage medium and electronic equipment, can improve
Electronic equipment shows the integrality of information.
The embodiment of the present application provides a kind of display location method of adjustment, is applied to electronic equipment, and the electronic equipment includes
Display screen, the one end of the display screen form jagged, and the display screen includes the first display area and the second display area,
First display area is located at the notch both sides, and second display area is connect with first display area, described
Display location method of adjustment includes:
When first display area shows presupposed information, obtains first display area detects first and touch behaviour
Make;
When first touch operation is default touch operation, obtains second display area detects second and touch
Touch operation;
Determine that third display area, the third are aobvious in second display area according to second touch operation
Show that region is less than second display area;
The presupposed information is switched to the third display area by first display area to show.
The embodiment of the present application also provides a kind of display location adjusting apparatus, is applied to electronic equipment, the electronic equipment packet
Include display screen, the one end of the display screen forms jagged, and the display screen includes the first display area and the second viewing area
Domain, first display area are located at the notch both sides, and second display area is connect with first display area, institute
Stating display location adjusting apparatus includes:
First acquisition module, for when first display area shows presupposed information, obtaining first viewing area
The first touch operation that domain detects;
Second acquisition module, for when first touch operation is default touch operation, obtaining second display
The second touch operation that region detection arrives;
Determining module, for determining third viewing area in second display area according to second touch operation
Domain, the third display area are less than second display area;
Handover module, for by the presupposed information by first display area switch to the third display area into
Row display.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described
When computer program is run on computers so that the computer executes above-mentioned display location method of adjustment.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, is stored in the memory
Computer program, the processor are above-mentioned aobvious for executing by calling the computer program stored in the memory
Show location regulation method.
Display location method of adjustment provided by the embodiments of the present application, including:When first display area shows presupposed information, obtain
The first touch operation for taking first display area to detect;When first touch operation is default touch operation, obtain
Take the second touch operation that the second display area detects;It is true in second display area according to second touch operation
Third display area is made, the third display area is less than second display area;By the presupposed information by described
One display area switches to the third display area and is shown.In the display location method of adjustment, electronic equipment can be with
Third display area is determined in the second display area of display screen, and presupposed information is switched into the third display area
It is shown.The area of third display area can be adjusted according to demand, and third display area will not be to the information of display
Amount causes to limit.To which the third display area can show all status informations and notification information of electronic equipment, can be with
Improve the integrality that electronic equipment shows information.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described.It should be evident that the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the structural schematic diagram of display screen in electronic equipment shown in Fig. 1.
Fig. 3 is the flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 4 is the part flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 5 is another part flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 6 is the another part flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 7 is another part flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 8 is the part another again flow diagram of display location method of adjustment provided by the embodiments of the present application.
Fig. 9 is the application scenarios schematic diagram of display location method of adjustment provided by the embodiments of the present application.
Figure 10 is the another application schematic diagram of a scenario of display location method of adjustment provided by the embodiments of the present application.
Figure 11 is the another application scenarios schematic diagram of display location method of adjustment provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram of display location adjusting apparatus provided by the embodiments of the present application.
Figure 13 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 14 is the another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of not making the creative labor
Example, belongs to the protection domain of the application.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing etc.
(if present) is for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that this
The object of sample description can be interchanged in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning
Figure, which is to cover, non-exclusive includes.For example, containing the process of series of steps, method or containing a series of modules or list
The device of member, electronic equipment, system those of are not necessarily limited to clearly to list step or module or unit, can also include not having
The step of clearly listing or module or unit can also include for these processes, method, apparatus, electronic equipment or system
Intrinsic other steps or module or unit.
With reference to figure 1 and Fig. 2, Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application, and Fig. 2 is shown in Fig. 1
The structural schematic diagram of display screen in electronic equipment.
Electronic equipment 100 includes display screen 10.Display screen 10 formed electronic equipment 100 display surface, for show image,
The information such as text.Meanwhile display screen 10 has touch function.That is, display screen 10 is touching display screen, display screen 10 can be examined
Survey the touch operation of user.Wherein, display screen 10 can be liquid crystal display (Liquid Crystal Display, LCD) or
The display screen of the types such as organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
The one end 10A of display screen 10 forms jagged 13.The notch 13 can positioned at the end 10A middle part or
Person corner.Wherein, in the embodiment of the present application, the end 10A can be top when display screen 10 shows information.
Wherein, electronic equipment 100 further includes functional unit 20.The functional unit 20 is arranged to be lacked in the described of display screen 10
In mouth 13.The functional unit 20 includes but not limited to the functions such as camera, receiver, proximity sensor, ambient light sensor
Device.
Display screen 10 includes the first display area 11 and the second display area 12.First display area 11 is located at described
13 both sides of notch.Wherein, second display area 12 can be located at 13 lower section of the notch.Second display area 12 with
First display area 11 connects.
First display area 11 can be as the status bar of electronic equipment 100, or also referred to as notification bar.Described
One display area 11 is displayed for the various information such as time, electricity, signal condition, network type, applicative notifications.Described
Primary display area of two display areas 12 as display screen 10, for showing the information such as image, text.
It should be noted that in the embodiment of the present application, first display area 11, the second display area 12 function
It can be adjusted as needed.For example, second display area 12 can be used for the various shapes of display electronic equipment 100
State information or notification information.First display area 11 can be used for the information such as display image, text.
The embodiment of the present application provides a kind of display location method of adjustment, and the display location method of adjustment can be applied to
It states in electronic equipment 100.The electronic equipment 100 can be the equipment such as smart mobile phone, tablet computer.As shown in figure 3, described aobvious
Show location regulation method, may comprise steps of:
110, when the first display area shows presupposed information, obtains first display area detects first and touch behaviour
Make.
As described above, electronic equipment includes display screen.The display screen includes the first display area and the second display area.
First display area is displayed for presupposed information.The presupposed information may include the time, electricity, signal condition,
The information such as network type, applicative notifications.It should be understood that the presupposed information include electronic equipment various status informations and
The notification information etc. that application in electronic equipment is sent out.
Wherein, the display screen can detect the touch operation of user.When first display area shows described preset
When information, electronic equipment obtains the first touch operation that first display area detects.First touch operation is to use
Touch operation of the family to first display area.First touch operation may include short-press, long-press, double-click, sliding etc.
Operation.
120, when first touch operation is default touch operation, obtains the second display area detects second and touch
Touch operation.
After electronic equipment gets first touch operation, judge whether first touch operation is that default touch is grasped
Make.Wherein, default touch operation can be pre-set touch gestures.For example, default touch operation can be long-press 3s
(second), or continuously click 3 times, etc..
When first touch operation is the default touch operation, electronic equipment obtains the second display area inspection
The second touch operation measured.Second touch operation is touch operation of the user to second display area.Described
Two touch operations can also include the operations such as short-press, long-press, double-click, sliding.
When first touch operation is not the default touch operation, electronic equipment can be with termination process, Huo Zhesuo
State the touch operation that user is detected in the first display area again.
130, third display area is determined in second display area according to second touch operation, described
Three display areas are less than second display area.
After electronic equipment gets second touch operation, according to second touch operation in second viewing area
Third display area is determined in domain.Wherein, electronic equipment can be according to second touch operation in second viewing area
The position in domain determines third display area.The third display area is located in second display area, and described
Three display areas are less than second display area.
140, the presupposed information is switched into the third display area by first display area and is shown.
After electronic equipment determines third display area, you can switch the presupposed information by first display area
It is shown to the third display area.At this point, the third display area shows the presupposed information, first display
Region is displayed for other information.
It should be understood that during user uses electronic equipment, electronic equipment needs status information to be shown and leads to
Know that there are many information.And first display area positioned at the notch both sides of display screen namely the notch due to occupying display
The portion of screen, to first display area area it is smaller, the information content that the first display area can be shown also compared with
It is small.When first display area can not show the whole status informations and notification information of electronic equipment, user can be to institute
It states the first display area and the second display area to be operated, by the status information of electronic equipment and notification information by described
One display area switches to the third display area and is shown.And the third display area is located at second viewing area
In domain, the area of third display area can be adjusted according to demand, and third display area will not make the information content of display
At limitation.To which the third display area can show all status informations and notification information of electronic equipment, can improve
Electronic equipment shows the integrality of information.
In some embodiments, as shown in figure 4, step 120, when first touch operation is default touch operation,
The second touch operation that the second display area detects is obtained, is included the following steps:
121, when the sustained touch duration of first touch operation is more than preset duration, determine that described first touches behaviour
As default touch operation;
122, obtain the second touch operation that second display area detects.
Wherein, the first touch operation includes sustained touch operation.That is, the first touch operation includes long press operation, first
Touch operation is the operation of the first display area described in user's long-press.Electronic equipment can obtain holding for first touch operation
The continuous long-press duration for touching duration namely user.Then, judge whether the sustained touch duration is more than preset duration.
In the present embodiment, the default touch operation is that long-press duration reaches preset duration.Wherein, preset duration can be with
For a pre-set duration numerical value.For example, preset duration can be 3s (second).The preset duration is set for triggering electronics
It is standby to obtain second touch operation.
When the sustained touch duration is more than the preset duration, such as when sustained touch when a length of 4s, electronic equipment
Determine that first touch operation is default touch operation.Then, electronic equipment obtains what second display area detected
Second touch operation.
When sustained touch operation is less than or equal to the preset duration, electronic equipment can reacquire described the
The touch operation that one display area detects.
In some embodiments, as shown in figure 5, step 120, when first touch operation is default touch operation,
The second touch operation that the second display area detects is obtained, is included the following steps:
123, when the time interval of the clicking operation twice in succession in first touch operation is less than prefixed time interval
When, determine that first touch operation is default touch operation;
124, obtain the second touch operation that second display area detects.
Wherein, the first touch operation includes adopting consecutive click chemical reaction operation.That is, the first touch operation is described in user's adopting consecutive click chemical reaction
The operation of first display area.Electronic equipment can obtain in second touch operation per the time of clicking operation twice in succession
Interval.Then, judge whether that the time interval of adopting consecutive click chemical reaction operation twice is less than prefixed time interval.
In the present embodiment, the default touch operation is that the time interval of clicking operation twice in succession is less than preset time
Interval.Wherein, prefixed time interval can be a pre-set duration numerical value.For example, prefixed time interval is 0.5s
(second).The prefixed time interval obtains second touch operation for triggering electronic equipment.
When the time interval of the clicking operation twice in succession in first touch operation is less than the prefixed time interval
When, for example, when the time interval of clicking operation is 0.3s twice in succession, electronic equipment determines that first touch operation is default
Touch operation.Then, electronic equipment obtains the second touch operation that second display area detects.
When the time interval of the arbitrary operation of adopting consecutive click chemical reaction twice in first touch operation is both greater than or equal to described pre-
If when time interval, electronic equipment can reacquire the touch operation that first display area detects.
In some embodiments, as shown in fig. 6, step 130, according to second touch operation in second viewing area
Third display area is determined in domain, is included the following steps:
131, in the sliding process of slide, the 4th display is determined according to the touch point of the slide in real time
Region;
132, show the presupposed information in the 4th display area;
133, at the end of the slide, the 4th current display area is determined as third display area.
Wherein, second touch operation includes slide.Slide be user's sustained touch display screen simultaneously
The operation of mobile touch location.As shown in figure 9, in the sliding process of slide, electronic equipment is in real time according to the sliding
Determine the 4th display area in the touch point of operation.Touch point is the touch location of user on a display screen.When touch point is sent out
When raw change, the 4th display area also changes therewith.That is, during the slide, the 4th display area
It is dynamic, the 4th display area changes with the touch location of slide.
Meanwhile electronic equipment shows the presupposed information in the 4th display area.To which, user can execute the
The position of the 4th display area is observed during two touch operations in real time.When user thinks the position suitable of the 4th display area
When, slide can be terminated.At this point, at the end of the slide, electronic equipment is true by the 4th current display area
It is set to third display area.
In some embodiments, as shown in fig. 7, step 130, according to second touch operation in second viewing area
Third display area is determined in domain, is included the following steps:
134, it obtains the touch starting point of second touch operation and touches terminal;
135, by the touch starting point, touch terminal and the linearity sector touched between starting point and the touch terminal
Domain is determined as third display area.
Wherein, second touch operation may include slide or multiple clicking operation.Second touch operation
With touch starting point and touch terminal.For example, when the second touch operation is slide, the starting point of sliding trace is to touch
Starting point, the terminal of sliding trace are to touch midpoint.When the second touch operation is multiple clicking operation, the point of first time click
It is to touch starting point to hit position, and the click location that last time is clicked is to touch terminal.
As shown in Figure 10, electronic equipment can obtain the touch starting point of second touch operation and touch terminal, and will
Starting point, touch terminal and the linearity region touched between starting point and the touch terminal of touching is determined as third and shows
Show region.The shape of the third display area can be the shapes such as rectangle, round rectangle.
In some embodiments, as shown in figure 8, step 130, according to second touch operation in second viewing area
Third display area is determined in domain, is included the following steps:
136, obtain the touch location of second touch operation;
137, centered on the touch location third with preset shape is determined in second display area
Display area.
Wherein, second touch operation can be single-click operation.The position of user click display screen is described clicks
The touch location of operation.As shown in figure 11, electronic equipment can obtain the touch location of second touch operation, and with described
The third display area with preset shape is determined in second display area centered on touch location.The default shape
Shape is pre-set shape.For example, the preset shape can be the shapes such as rectangle, round rectangle, circle.
When it is implemented, the application is not limited by the execution sequence of described each step, conflict is not being generated
In the case of, certain steps can also use other sequences to carry out or be carried out at the same time.
From the foregoing, it will be observed that display location method of adjustment provided by the embodiments of the present application, including:First display area shows default
When information, the first touch operation that first display area detects is obtained;When first touch operation is default touches
When operation, the second touch operation that the second display area detects is obtained;It is aobvious described second according to second touch operation
Show and determine third display area in region, the third display area is less than second display area;By the default letter
Breath switches to the third display area by first display area and is shown.In the display location method of adjustment, electricity
Sub- equipment can determine third display area in the second display area of display screen, and presupposed information is switched to described
Three display areas are shown.The area of third display area can be adjusted according to demand, and third display area will not be right
The information content of display causes to limit.To which the third display area can show all status informations of electronic equipment and lead to
Know information, the integrality that electronic equipment shows information can be improved.
The embodiment of the present application also provides a kind of display location adjusting apparatus, and the display location adjusting apparatus can be integrated in
In above-mentioned electronic equipment 100.The electronic equipment 100 can be the equipment such as smart mobile phone, tablet computer.
As shown in figure 12, display location adjusting apparatus 200 may include:First acquisition module 201, the second acquisition module
202, determining module 203, handover module 204.
First acquisition module 201, for when the first display area shows presupposed information, obtaining first display area
The first touch operation detected.
Wherein, electronic equipment includes display screen.The display screen includes the first display area and the second display area.It is described
First display area is displayed for presupposed information.The presupposed information may include time, electricity, signal condition, network
The information such as type, applicative notifications.It should be understood that the presupposed information includes the various status informations and electronics of electronic equipment
The notification information etc. that application in equipment is sent out.
The display screen can detect the touch operation of user.When first display area shows the presupposed information
When, the first acquisition module 201 obtains the first touch operation that first display area detects.First touch operation is
Touch operation of the user to first display area.First touch operation may include short-press, long-press, double-click, sliding
Deng operation.
Second acquisition module 202, for when first touch operation is default touch operation, obtaining the second viewing area
The second touch operation that domain detects.
After first acquisition module 201 gets first touch operation, the second acquisition module 202 judges that described first touches
Touch whether operation is default touch operation.Wherein, default touch operation can be pre-set touch gestures.For example, default
Touch operation can be long-press 3s (second), or continuously click 3 times, etc..
When first touch operation is the default touch operation, it is aobvious that the second acquisition module 202 obtains described second
Show the second touch operation that region detection arrives.Second touch operation is that user grasps the touch of second display area
Make.Second touch operation can also include the operations such as short-press, long-press, double-click, sliding.
When first touch operation is not the default touch operation, can be shown with termination process or described first
Show that the touch operation of user is detected in region again.
Determining module 203, for determining that third is aobvious in second display area according to second touch operation
Show that region, the third display area are less than second display area.
After second acquisition module 202 gets second touch operation, determining module 203 is touched according to described second and is grasped
Work determines third display area in second display area.Wherein it is determined that module 203 can be touched according to described second
The position in second display area is operated to determine third display area.It is aobvious that the third display area is located at described second
Show in region, and the third display area is less than second display area.
Handover module 204, for the presupposed information to be switched to the third viewing area by first display area
Domain is shown.
After determining module 203 determines third display area, handover module 204 can be by the presupposed information by described
One display area switches to the third display area and is shown.At this point, the third display area shows the default letter
Breath, first display area is displayed for other information.
It should be understood that during user uses electronic equipment, electronic equipment needs status information to be shown and leads to
Know that there are many information.And first display area positioned at the notch both sides of display screen namely the notch due to occupying display
The portion of screen, to first display area area it is smaller, the information content that the first display area can be shown also compared with
It is small.When first display area can not show the whole status informations and notification information of electronic equipment, user can be to institute
It states the first display area and the second display area to be operated, by the status information of electronic equipment and notification information by described
One display area switches to the third display area and is shown.And the third display area is located at second viewing area
In domain, the area of third display area can be adjusted according to demand, and third display area will not make the information content of display
At limitation.To which the third display area can show all status informations and notification information of electronic equipment, can improve
Electronic equipment shows the integrality of information.
In some embodiments, the second acquisition module 202 is for executing following steps:
When the sustained touch duration of first touch operation is more than preset duration, determine that first touch operation is
Default touch operation;
Obtain the second touch operation that second display area detects.
Wherein, the first touch operation includes sustained touch operation.That is, the first touch operation includes long press operation, first
Touch operation is the operation of the first display area described in user's long-press.Second acquisition module 202 can obtain described first and touch
The sustained touch duration of operation namely the long-press duration of user.Then, when judging whether the sustained touch duration is more than default
It is long.
In the present embodiment, the default touch operation is that long-press duration reaches preset duration.Wherein, preset duration can be with
For a pre-set duration numerical value.For example, preset duration can be 3s (second).The preset duration obtains institute for triggering
State the second touch operation.
When the sustained touch duration is more than the preset duration, such as when sustained touch when a length of 4s, second obtains
Module 202 determines that first touch operation is default touch operation.Then, it is aobvious to obtain described second for the second acquisition module 202
Show the second touch operation that region detection arrives.
When sustained touch operation is less than or equal to the preset duration, the first acquisition module 201 can obtain again
The touch operation for taking first display area to detect.
In some embodiments, the second acquisition module 202 is for executing following steps:
When the time interval of the clicking operation twice in succession in first touch operation is less than prefixed time interval, really
Fixed first touch operation is default touch operation;
Obtain the second touch operation that second display area detects.
Wherein, the first touch operation includes adopting consecutive click chemical reaction operation.That is, the first touch operation is described in user's adopting consecutive click chemical reaction
The operation of first display area.Second acquisition module 202 can obtain in second touch operation per click behaviour twice in succession
The time interval of work.Then, judge whether that the time interval of adopting consecutive click chemical reaction operation twice is less than prefixed time interval.
In the present embodiment, the default touch operation is that the time interval of clicking operation twice in succession is less than preset time
Interval.Wherein, prefixed time interval can be a pre-set duration numerical value.For example, prefixed time interval is 0.5s
(second).The prefixed time interval obtains second touch operation for triggering.
When the time interval of the clicking operation twice in succession in first touch operation is less than the prefixed time interval
When, for example, when the time interval of clicking operation is 0.3s twice in succession, the second acquisition module 202 determines that described first touches behaviour
As default touch operation.Then, the second acquisition module 202 obtains second display area detects second and touches behaviour
Make.
When the time interval of the arbitrary operation of adopting consecutive click chemical reaction twice in first touch operation is both greater than or equal to described pre-
If when time interval, the first acquisition module 201 can reacquire the touch operation that first display area detects.
In some embodiments, determining module 203 is for executing following steps:
In the sliding process of slide, the 4th viewing area is determined according to the touch point of the slide in real time
Domain;
The presupposed information is shown in the 4th display area;
At the end of the slide, the 4th current display area is determined as third display area.
Wherein, second touch operation includes slide.Slide be user's sustained touch display screen simultaneously
The operation of mobile touch location.In the sliding process of slide, determining module 203 is in real time according to the tactile of the slide
It touches and a little determines the 4th display area.Touch point is the touch location of user on a display screen.When touch point changes,
4th display area also changes therewith.That is, during the slide, the 4th display area be it is dynamic,
4th display area changes with the touch location of slide.
Meanwhile electronic equipment shows the presupposed information in the 4th display area.To which, user can execute the
The position of the 4th display area is observed during two touch operations in real time.When user thinks the position suitable of the 4th display area
When, slide can be terminated.At this point, at the end of the slide, determining module 203 is by the 4th current display area
It is determined as third display area.
In some embodiments, determining module 203 is for executing following steps:
It obtains the touch starting point of second touch operation and touches terminal;
The touch starting point, touch terminal and the linearity region touched between starting point and the touch terminal is true
It is set to third display area.
Wherein, second touch operation may include slide or multiple clicking operation.Second touch operation
With touch starting point and touch terminal.For example, when the second touch operation is slide, the starting point of sliding trace is to touch
Starting point, the terminal of sliding trace are to touch midpoint.When the second touch operation is multiple clicking operation, the point of first time click
It is to touch starting point to hit position, and the click location that last time is clicked is to touch terminal.
Determining module 203 can obtain the touch starting point of second touch operation and touch terminal, and by the touch
Starting point, the linearity region touched between terminal and the touch starting point and the touch terminal are determined as third display area.
The shape of the third display area can be the shapes such as rectangle, round rectangle.
In some embodiments, determining module 203 is for executing following steps:
Obtain the touch location of second touch operation;
Determine to have the third of preset shape to show in second display area centered on the touch location
Region.
Wherein, second touch operation can be single-click operation.The position of user click display screen is described clicks
The touch location of operation.Determining module 203 can obtain the touch location of second touch operation, and with the touch location
Centered on the third display area with preset shape is determined in second display area.The preset shape is advance
The shape of setting.For example, the preset shape can be the shapes such as rectangle, round rectangle, circle.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities.
From the foregoing, it will be observed that display location adjusting apparatus 200 provided by the embodiments of the present application, is worked as by the first acquisition module 201
When first display area shows presupposed information, the first touch operation that first display area detects is obtained;Second obtains
Module 202 obtains the second display area detects second and touches behaviour when first touch operation is default touch operation
Make;Determining module 203 determines third display area according to second touch operation in second display area, described
Third display area is less than second display area;Handover module 204 is by the presupposed information by first display area
The third display area is switched to be shown.The display location adjusting apparatus can be in the second display area of display screen
It inside determines third display area, and presupposed information is switched into the third display area and is shown.Third display area
Area can be adjusted according to demand, third display area will not cause to limit to the information content of display.To described the
Three display areas can show all status informations and notification information of electronic equipment, can improve electronic equipment and show information
Integrality.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart mobile phone, tablet computer etc.
Equipment.As shown in figure 13, electronic equipment 300 includes processor 301 and memory 302.Wherein, processor 301 and memory 302
It is electrically connected.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the entire electronic equipment of connection
Various pieces, by running or calling the computer program being stored in memory 302, and calling to be stored in memory 302
Interior data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to following step, by one or one with
On the corresponding instruction of process of computer program be loaded into memory 302, and be stored in storage by processor 301 to run
Computer program in device 302, to realize various functions:
When first display area shows presupposed information, the first touch operation that first display area detects is obtained;
When first touch operation is default touch operation, obtains the second display area detects second and touch behaviour
Make;
Determine that third display area, the third are aobvious in second display area according to second touch operation
Show that region is less than second display area;
The presupposed information is switched to the third display area by first display area to show.
In some embodiments, second touch operation includes slide, according to second touch operation in institute
It states when determining third display area in the second display area, processor 301 executes following steps:
In the sliding process of the slide, the 4th display is determined according to the touch point of the slide in real time
Region;
The presupposed information is shown in the 4th display area;
At the end of the slide, the 4th current display area is determined as third display area.
In some embodiments, determine that third is shown in second display area according to second touch operation
When region, processor 301 executes following steps:
It obtains the touch starting point of second touch operation and touches terminal;
The touch starting point, touch terminal and the linearity region touched between starting point and the touch terminal is true
It is set to third display area.
In some embodiments, determine that third is shown in second display area according to second touch operation
When region, processor 301 executes following steps:
Obtain the touch location of second touch operation;
Determine to have the third of preset shape to show in second display area centered on the touch location
Region.
In some embodiments, first touch operation includes sustained touch operation, when first touch operation is
When default touch operation, when obtaining the second touch operation that second display area detects, processor 301 executes following step
Suddenly:
When the sustained touch duration of first touch operation is more than preset duration, determine that first touch operation is
Default touch operation;
Obtain the second touch operation that second display area detects.
In some embodiments, first touch operation includes adopting consecutive click chemical reaction operation, when first touch operation is
When default touch operation, when obtaining the second touch operation that second display area detects, processor 301 executes following step
Suddenly:
When the time interval of the clicking operation twice in succession in first touch operation is less than prefixed time interval, really
Fixed first touch operation is default touch operation;
Obtain the second touch operation that second display area detects.
Memory 302 can be used for storing computer program and data.Include in the computer program that memory 302 stores
The instruction that can be executed in the processor.Computer program can form various functions module.Processor 301 is stored in by calling
The computer program of memory 302, to perform various functions application and data processing.
In some embodiments, as shown in figure 14, electronic equipment 300 further includes:Radio circuit 303, display screen 304, control
Circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 respectively with penetrate
Frequency circuit 303, display screen 304, control circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309
It is electrically connected.
Radio circuit 303 is used for transceiving radio frequency signal, with by radio communication with the network equipment or other electronic equipments into
Row communication.
Display screen 304 can be used for showing information input by user or be supplied to user information and electronic equipment it is each
Kind graphical user interface, these graphical user interface can be made of image, text, icon, video and its arbitrary combination.
Control circuit 305 is electrically connected with display screen 304, and information is shown for control display screen 304.
Input unit 306 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Wherein,
Input unit 306 may include fingerprint recognition module.
Voicefrequency circuit 307 can provide the audio interface between user and electronic equipment by loud speaker, microphone.
Sensor 308 is for acquiring external environmental information.Sensor 308 may include ambient light sensor, acceleration
It is one or more in the sensors such as sensor, gyroscope.
All parts of the power supply 309 for electron equipment 300 are powered.In some embodiments, power supply 309 can pass through
Power-supply management system and processor 301 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
Although being not shown in Figure 14, electronic equipment 300 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment executes following steps:First
When display area shows presupposed information, the first touch operation that first display area detects is obtained;When described first touch
When touching operation to preset touch operation, the second touch operation that the second display area detects is obtained;It is touched according to described second
Operation determines that third display area, the third display area are less than second viewing area in second display area
Domain;The presupposed information is switched to the third display area by first display area to show.The electronics is set
It is standby that third display area can be determined in the second display area of display screen, and presupposed information is switched into the third and is shown
Show that region is shown.The area of third display area can be adjusted according to demand, and third display area will not be to display
Information content cause to limit.To which the third display area can show that all status informations of electronic equipment and notice are believed
Breath can improve the integrality that electronic equipment shows information.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described
When computer program is run on computers, the computer executes the display location adjustment side described in any of the above-described embodiment
Method.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter
In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Display location method of adjustment, device, storage medium and the electronic equipment that the embodiment of the present application is provided above into
It has gone and has been discussed in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (12)
1. a kind of display location method of adjustment is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen,
The one end of the display screen forms jagged, and the display screen includes the first display area and the second display area, and described the
One display area is located at the notch both sides, and second display area is connect with first display area, the display position
Setting method of adjustment includes:
When first display area shows presupposed information, the first touch operation that first display area detects is obtained;
When first touch operation is default touch operation, obtains second display area detects second and touch behaviour
Make;
Third display area, the third viewing area are determined in second display area according to second touch operation
Domain is less than second display area;
The presupposed information is switched to the third display area by first display area to show.
2. display location method of adjustment according to claim 1, which is characterized in that second touch operation includes sliding
Operation, described the step of determining third display area in second display area according to second touch operation, wrap
It includes:
In the sliding process of the slide, the 4th viewing area is determined according to the touch point of the slide in real time
Domain;
The presupposed information is shown in the 4th display area;
At the end of the slide, the 4th current display area is determined as third display area.
3. display location method of adjustment according to claim 1, which is characterized in that described according to second touch operation
The step of determining third display area in second display area include:
It obtains the touch starting point of second touch operation and touches terminal;
Linearity region between the touch starting point, touch terminal and the touch starting point and the touch terminal is determined as
Third display area.
4. display location method of adjustment according to claim 1, which is characterized in that described according to second touch operation
The step of determining third display area in second display area include:
Obtain the touch location of second touch operation;
The third display area with preset shape is determined in second display area centered on the touch location.
5. display location method of adjustment according to any one of claims 1 to 4, which is characterized in that described first touches behaviour
Work includes sustained touch operation, when first touch operation is default touch operation, obtains the second display area inspection
The second touch operation measured, including:
When the sustained touch duration of first touch operation is more than preset duration, determine that first touch operation is default
Touch operation;
Obtain the second touch operation that second display area detects.
6. display location method of adjustment according to any one of claims 1 to 4, which is characterized in that described first touches behaviour
Work includes adopting consecutive click chemical reaction operation, when first touch operation is default touch operation, obtains the second display area inspection
The second touch operation measured, including:
When the time interval of the clicking operation twice in succession in first touch operation is less than prefixed time interval, institute is determined
It is default touch operation to state the first touch operation;
Obtain the second touch operation that second display area detects.
7. a kind of display location adjusting apparatus is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen,
The one end of the display screen forms jagged, and the display screen includes the first display area and the second display area, and described the
One display area is located at the notch both sides, and second display area is connect with first display area, the display position
Setting adjusting apparatus includes:
First acquisition module, for when first display area shows presupposed information, obtaining the first display area inspection
The first touch operation measured;
Second acquisition module, for when first touch operation is default touch operation, obtaining second display area
The second touch operation detected;
Determining module, for determining third display area in second display area according to second touch operation,
The third display area is less than second display area;
Handover module is shown for the presupposed information to be switched to the third display area by first display area
Show.
8. display location adjusting apparatus according to claim 7, which is characterized in that second touch operation includes sliding
Operation, the determining module are used for:
In the sliding process of the slide, the 4th viewing area is determined according to the touch point of the slide in real time
Domain;
The presupposed information is shown in the 4th display area;
At the end of the slide, the 4th current display area is determined as third display area.
9. display location adjusting apparatus according to claim 7, which is characterized in that the determining module is used for:
It obtains the touch starting point of second touch operation and touches terminal;
Linearity region between the touch starting point, touch terminal and the touch starting point and the touch terminal is determined as
Third display area.
10. display location adjusting apparatus according to claim 7, which is characterized in that the determining module is used for:
Obtain the touch location of second touch operation;
The third display area with preset shape is determined in second display area centered on the touch location.
11. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey
When sequence is run on computers so that the computer perform claim requires 1 to 6 any one of them display location adjustment side
Method.
12. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory
Computer program is contained, the processor is used for right of execution by calling the computer program stored in the memory
Profit requires 1 to 6 any one of them display location method of adjustment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276970.2A CN108563390B (en) | 2018-03-30 | 2018-03-30 | Display position adjusting method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276970.2A CN108563390B (en) | 2018-03-30 | 2018-03-30 | Display position adjusting method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108563390A true CN108563390A (en) | 2018-09-21 |
CN108563390B CN108563390B (en) | 2021-02-19 |
Family
ID=63533559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810276970.2A Expired - Fee Related CN108563390B (en) | 2018-03-30 | 2018-03-30 | Display position adjusting method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108563390B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160313877A1 (en) * | 2015-04-23 | 2016-10-27 | Samsung Electronics Co., Ltd. | Electronic device and method for displaying message in electronic device |
CN106201310A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | The display packing of notification message, device and terminal |
CN106470275A (en) * | 2015-08-17 | 2017-03-01 | Lg电子株式会社 | Mobile terminal and its control method |
CN106775400A (en) * | 2016-12-12 | 2017-05-31 | 深圳Tcl新技术有限公司 | Button display method and system |
CN107797739A (en) * | 2017-10-11 | 2018-03-13 | 广东欧珀移动通信有限公司 | Mobile terminal and its display control method, device and computer-readable recording medium |
-
2018
- 2018-03-30 CN CN201810276970.2A patent/CN108563390B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160313877A1 (en) * | 2015-04-23 | 2016-10-27 | Samsung Electronics Co., Ltd. | Electronic device and method for displaying message in electronic device |
CN106470275A (en) * | 2015-08-17 | 2017-03-01 | Lg电子株式会社 | Mobile terminal and its control method |
CN106201310A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | The display packing of notification message, device and terminal |
CN106775400A (en) * | 2016-12-12 | 2017-05-31 | 深圳Tcl新技术有限公司 | Button display method and system |
CN107797739A (en) * | 2017-10-11 | 2018-03-13 | 广东欧珀移动通信有限公司 | Mobile terminal and its display control method, device and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN108563390B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10917515B2 (en) | Method for switching applications in split screen mode, computer device and computer-readable storage medium | |
CN106775420B (en) | Application switching method and device and graphical user interface | |
CN109062479B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
EP3617861A1 (en) | Method of displaying graphic user interface and electronic device | |
CN110709806A (en) | Multitasking operation method and electronic equipment | |
WO2020007147A1 (en) | Application switching method and apparatus for split screen, storage medium, and electronic device | |
CN107077295A (en) | A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen | |
EP3525075A1 (en) | Method for lighting up screen of double-screen terminal, and terminal | |
CN110968228B (en) | Display method of application program icon and electronic equipment | |
CN108845752A (en) | touch operation method, device, storage medium and electronic equipment | |
CN111459349B (en) | Application recommendation method and electronic equipment | |
CN109165033B (en) | Application updating method and mobile terminal | |
CN109634438A (en) | A kind of control method and terminal device of input method | |
CN108920055A (en) | touch operation method, device, storage medium and electronic equipment | |
CN108052258B (en) | Terminal task processing method, task processing device and mobile terminal | |
CN109144447A (en) | Split screen window adjusting method, device, storage medium and electronic equipment | |
CN113050863A (en) | Page switching method and device, storage medium and electronic equipment | |
CN108604160A (en) | The method and device of touch-screen gesture identification | |
CN108319407A (en) | A kind of recent task display method and mobile terminal | |
CN109684006B (en) | Terminal control method and device | |
CN108984097B (en) | Touch operation method and device, storage medium and electronic equipment | |
CN105373318A (en) | Information display method and apparatus | |
CN112162689B (en) | Input method and device and electronic equipment | |
CN117917627A (en) | Multitasking management method and electronic equipment | |
CN108563390A (en) | Display location method of adjustment, device, storage medium and electronic equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210219 |
|
CF01 | Termination of patent right due to non-payment of annual fee |