CN106371696A - Interface display method and device - Google Patents
Interface display method and device Download PDFInfo
- Publication number
- CN106371696A CN106371696A CN201610786860.1A CN201610786860A CN106371696A CN 106371696 A CN106371696 A CN 106371696A CN 201610786860 A CN201610786860 A CN 201610786860A CN 106371696 A CN106371696 A CN 106371696A
- Authority
- CN
- China
- Prior art keywords
- interface
- terminal
- skew
- deviation angle
- offset
- 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.)
- Pending
Links
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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- 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/0484—Interaction 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
-
- 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
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
The invention relates to an interface display method. The interface display method comprises: detecting whether an interface is wholly displayed in a display window or not; when the interface is not wholly displayed in the display window, detecting whether the position of a terminal is changed or not; when the position of the terminal is changed, detecting an angular speed of deviation of the terminal; calculating an offset of the interface according to the angular speed of the deviation of the terminal; moving the interface according to the offset and displaying content of the moved interface in the display window. According to the interface display method provided by the invention, operation of a traditional interface display method that a user needs to frequently slide or drag the interface when viewing a display interface of amplified pictures, videos or applications and the like is omitted; the operation is simple and rapid and the user can utilize very conveniently. Furthermore, the invention further provides an interface display device.
Description
Technical field
The present invention relates to intelligent terminal's technical field, more particularly to a kind of interface display method and device.
Background technology
With the development of network technology, mobile terminal device has become one of people's life important tool, Ren Menjing
Usually through mobile terminal device viewing picture, video, or operate various applications.
Typically, check for convenience or operate, the display interface of picture, video or application etc. is often amplified aobvious by user
Show.After the amplification of interface, user needs to check to needs by the operation moving boundary such as slide, drag traditional interface display packing
Or the position being operated, during user operation, often occur degree of being moved through or mobile phenomenon not in place so that needing
Endless to enter line slip or drag operation, Interface Moving could be arrived the position needing to check or be operated, not only
Troublesome poeration, also wastes user time.Therefore, traditional interface display packing makes user check that the interface of amplification is very inconvenient.
Content of the invention
Based on this it is necessary to after the amplification of interface, the technology of inconvenient user operation is asked for traditional interface display packing
Topic, provides a kind of interface display method and device.
A kind of interface display method, comprising:
Whether detection interface is all shown in display window;
When interface is not all shown in display window, whether detection terminal position changes;
When terminal location changes, the angular velocity of detection terminal skew;
The side-play amount at the angular speed calculation interface according to terminal skew;
According to side-play amount moving boundary, show the content at the interface after moving in display window.
Wherein in an embodiment, the side-play amount at the angular speed calculation interface according to terminal skew, comprising:
Terminal deviation angle is obtained according to the angular speed calculation of terminal skew;
Calculate the offset distance at interface according to terminal deviation angle, determine the mobile side at interface according to terminal deviation angle
To, and the moving direction at the offset distance according to interface and interface obtains side-play amount.
Wherein in an embodiment, before the offset distance at interface is calculated according to terminal deviation angle, comprising:
Judge whether terminal deviation angle exceedes default bias angle threshold, if terminal deviation angle exceedes default bias angle
Degree threshold value, then calculate the offset distance at interface according to default bias angle threshold;If terminal deviation angle is not less than default bias
Angle threshold, then the step executing the offset distance calculating interface according to terminal deviation angle.
Wherein in an embodiment, the moving direction at interface is contrary with the offset direction of terminal.
Wherein in an embodiment, before the side-play amount at the angular speed calculation interface according to terminal skew, comprising:
The linear acceleration of detection terminal skew, judges whether the linear acceleration of terminal skew exceedes predetermined acceleration threshold value,
If the linear acceleration of terminal skew, not less than predetermined acceleration threshold value, executes the angular speed calculation interface offseting according to terminal
The step of side-play amount;Otherwise, do not process.
A kind of interface display apparatus, comprising:
Memory module, for storing predetermined angle threshold value and predetermined acceleration threshold value;
Display detection module, for detecting whether interface is all shown in display window;
Inertia measuring module, for when interface is not all shown in display window, whether detection terminal position occurs
Change, and the angular velocity of detection terminal skew;
Calculations of offset module, the side-play amount at the angular speed calculation interface for being offset according to terminal;
Interface Moving module, for according to side-play amount moving boundary.
Wherein in an embodiment, calculations of offset module includes:
Deviation angle calculating sub module, the angular speed calculation for being offset according to terminal obtains terminal deviation angle;
Side-play amount calculating sub module, for calculating the offset distance at interface according to terminal deviation angle, offsets according to terminal
The moving direction at angle-determining interface, and the moving direction at the offset distance according to interface and interface obtains side-play amount.
Wherein in an embodiment, side-play amount calculating sub module is additionally operable to judge whether terminal deviation angle exceedes default
Deviation angle threshold value, if terminal deviation angle exceedes default bias angle threshold, calculates boundary according to default bias angle threshold
The offset distance in face;If terminal deviation angle, not less than default bias angle threshold, calculates interface according to terminal deviation angle
Offset distance.
Wherein in an embodiment, the moving direction at interface is contrary with the offset direction of terminal.
Wherein in an embodiment, inertia measuring module is additionally operable to the linear acceleration of detection terminal skew;Interface display
Device also includes:
Skew judge module, whether the linear acceleration for judging terminal skew exceedes predetermined acceleration threshold value, if terminal
The linear acceleration of skew not less than predetermined acceleration threshold value, then sends move to calculations of offset module, is counted by calculating skew
Calculate module and calculate side-play amount;Otherwise, do not process.
Above-mentioned interface display method and device, after display is amplified at interface, are calculated by the change in location of detection terminal
The side-play amount at interface, thus according to interface side-play amount moving boundary, adjust position in display window for the interface it is achieved that passing through
Change terminal location and operation is moved to the interface after amplifying.User checks the display of picture, video or the application of amplification etc.
During interface, only need to adjust the putting position of mobile terminal, eliminate traditional interface display packing and frequently slide or drag boundary
The operation in face, simple to operate quick, significantly facilitate user and use.
Brief description
Fig. 1 is the process principle figure of an embodiment median surface display packing;
Fig. 2 is the interface schematic diagram that in a concrete application scene, terminal shows the picture not amplified;
Fig. 3 is the interface schematic diagram of the picture shown in Fig. 2 after terminal display amplification in a concrete application scene;
Fig. 4 is that in a concrete application scene, terminal moves up the interface signal that rear terminal shows the picture shown in Fig. 3
Figure;
Fig. 5 is the structure principle chart of an embodiment median surface display device.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and
It is not used in the restriction present invention.
Refer to Fig. 1, a kind of interface display method, comprising:
Step 102: whether detection interface is all shown in display window.
Specifically, in the present embodiment, the content of interface display includes the multimedia files such as picture, video.But not only limit
In multimedia file, display interface can also include supporting the app display interface amplifying display or support to amplify the webpage of display
Browser display interface etc..
General, when picture, video or panoramic pictures that terminal display is amplified etc., the display interface of terminal can be beyond display
The scope of window, is only able to display part interface content in display window, the interface content beyond display window scope cannot show.
When terminal display interface, detect the coordinate position of interface edge first and obtain the coordinate at the edge of display window
Position;Afterwards, the coordinate position of the coordinate position of the interface edge detecting and the edge of display window is compared, if boundary
The coordinate position at face edge is less than or equal to the coordinate position at the edge of display window, then interface display, in display window, does not have
There is the scope beyond display window, now do not process.If the coordinate position of interface edge is more than the edge of display window
Coordinate position, then interface content exceed the scope of display window, execution step 104.
Step 104: when interface is not all shown in display window, whether detection terminal position changes.
Specifically, when interface content exceedes display window scope, that is, interface is not all shown in display window scope
Interior, illustrate to be exaggerated display to picture, if not shown image content will be checked, need mobile picture.Now, examine
Survey whether terminal location changes, if terminal location does not change, do not process;If terminal location occurs, hold
Row step 106 moves picture to step 110, the change in location according to terminal.
Step 106: when terminal location changes, the angular velocity of detection terminal skew.
Specifically, when terminal location changes, by the angular velocity of the inertia measuring module detection terminal in terminal,
Inertia measuring module includes gyroscope and accelerometer, and gyroscope is used for the angular velocity of detection terminal skew.Further, inertia
Measurement module is multi-shaft inertial measurement module, such as 3 axle inertia measuring modules or 6 axle inertia measuring modules etc..
Step 108: the side-play amount at the angular speed calculation interface according to terminal skew.
Specifically, the angle of terminal skew, further root can be calculated according to the angular velocity of the end skew detecting
According to the side-play amount at the angle calculation interface of terminal skew, determine moving direction and the displacement at interface.
Step 110: according to side-play amount moving boundary, show the content at the interface after moving in display window.
Above-mentioned interface display method, after display is amplified at interface, calculates interface by the change in location of detection terminal
Side-play amount, thus according to interface side-play amount moving boundary, adjust position in display window for the interface it is achieved that passing through to change eventually
End position moves operation to the interface after amplifying.When user checks the display interface of picture, video or the application of amplification etc.,
The putting position of mobile terminal only need to be adjusted, eliminate the behaviour that traditional interface display packing is frequently slided or dragged interface
Make, simple to operate quick, significantly facilitate user and use.
In one embodiment, step 108 comprises the following steps:
First, terminal deviation angle is obtained according to the angular speed calculation of terminal skew.
Afterwards, calculate the offset distance at interface according to terminal deviation angle, determine the shifting at interface according to terminal deviation angle
Dynamic direction, and the moving direction at the offset distance according to interface and interface obtains side-play amount.
Specifically, angle is vector signal, has direction and size, determines terminal after obtaining the deviation angle of terminal
Offset direction and the angular dimension offseting in this direction, in the present embodiment, determine Interface Moving according to the offset direction of terminal
Direction, and the angular dimension being offset on offset direction according to terminal calculates the offset distance of several times, according to the offset distance at interface
Obtain side-play amount from the moving direction with interface.
Further, in one embodiment, also include before the offset distance calculating interface according to terminal deviation angle:
Judge whether terminal deviation angle exceedes default bias angle threshold, if terminal deviation angle exceedes default bias angle threshold,
The offset distance at interface is then calculated according to default bias angle threshold;If terminal deviation angle is not less than default bias angle threshold
Value, then the step executing the offset distance calculating interface according to terminal deviation angle.
Default bias angle is the maximum virtual value of terminal deviation angle, when terminal deviation angle exceedes default bias angle
During threshold value, calculate the offset distance at interface according to default bias angle threshold, it is right that interface is directly moved to by current display position
Answer the interface edge of offset direction, that is, on corresponding offset direction, interface edge and display window coincident.Specifically,
Default bias angle threshold is more than 0 °, less than 90 °.In one embodiment, default bias angle threshold is 30 °~60 °.One
In individual preferred embodiment, carry out terminal offset operation for the convenience of the user and check the interface after moving, default bias angle threshold
It is worth for 45 °.
Before the offset distance at interface is calculated according to terminal deviation angle, first judge whether terminal deviation angle exceedes default
Deviation angle threshold value.As so that default bias angle is 45 ° as a example, if terminal actual shifts angle is 50 °, exceeded 45 °, then
Calculate the offset distance at interface according to default bias angle threshold, interface corresponding skew side will be moved to by current display position
To interface edge, make interface edge and display window coincident, Interface Moving peak excursion distance.If terminal deviation angle
It is not above default bias angle threshold, such as terminal deviation angle is 30 °, then execute and interface is calculated according to terminal deviation angle
The step of offset distance, obtains the offset direction of terminal, the offset distance at the mobile 30 ° of interfaces of computing terminal.
In the present embodiment, it should be noted that due to being provided with default bias angle threshold, terminal is only extremely default at 0 °
Effectively, therefore, under different amplification, terminal offsets identical angle, boundary to deviation angle in deviation angle threshold range
The offset distance in face can difference.As default bias angle threshold is 45 °, puts by five times of displays of interface amplification with by interface
Three times greater display is compared it is assumed that interface is in initial amplification display location, when five times of displays are amplified at interface, if terminal skew
Interface edge after 45 °, then interface is moved on corresponding offset direction by initial display position, and movement and display window
Coincident, Interface Moving moves to display window edge by initial position, and the distance of Interface Moving is the initial of interface edge
The distance between position to display window edge.In the same manner, when three times display is amplified at interface, the distance of Interface Moving is also interface
Edge initial position is the distance between to display window edge.However, putting because the size that five times of displays are amplified at interface is much larger than
The size of three times greater display, when putting five times greater when interface, interface edge initial position to the distance between display window edge is more than
When three times display is amplified at interface, interface edge initial position is the distance between to display window edge.I.e. when terminal offsets same angular
When spending, when five times of displays are amplified at interface, the offset distance at interface is more than the offset distance at interface when three times display is amplified at interface, boundary
Face amplification is bigger, and the offset distance at skew equal angular interface is bigger, therefore, in the present embodiment, with specific reference to terminal
Deviation angle and the offset distance at interface amplification calculating interface.
Further, in one embodiment, the moving direction at interface and the offset direction of terminal are contrary.
Specifically, the moving direction at interface and the offset direction of terminal are contrary, and terminal moves to which direction, just checks this
The interface content in direction, in display window, display interface is in the content of terminal moving direction side.As, terminal left shift, then
Interface moves right, the content on the left of corresponding display interface.If terminal is offset by left from left to right, that is, terminal offsets to the right, then boundary
Move towards left side, the content on the right side of display interface.However, the moving direction above interface is contrary with the moving direction of terminal only
It is an embodiment, in other embodiments, the moving direction at interface can also be identical with the offset direction of terminal, e.g., terminal
Offset to the right, interface also moves right, the content on the left of display interface in display window.
In one embodiment, include before step 108: the linear acceleration of detection terminal skew, judge terminal skew
Whether linear acceleration exceedes predetermined acceleration threshold value, if the linear acceleration of terminal skew, not less than predetermined acceleration threshold value, is held
The step of the side-play amount at the angular speed calculation interface according to terminal skew for the row;Otherwise, do not process.
Specifically, by the linear acceleration of the inertia measuring module detection terminal skew in terminal.Offset according to terminal
The side-play amount at angular speed calculation interface before, judge whether terminal movement is maloperation according to the acceleration that detects first.
Specifically preset predetermined acceleration threshold value, the linear acceleration of the terminal detecting skew is compared with predetermined acceleration threshold value
Relatively, if the linear acceleration of terminal skew is not above predetermined acceleration threshold value, terminal offsets and operates for effective, execution step
108.If the linear acceleration of terminal skew has exceeded predetermined acceleration threshold value, terminal offsets as maloperation, does not process.
General, if the linear acceleration of terminal skew is larger, that is, the offset amplitude of terminal is larger, then be likely to be eventually
End there occurs the maloperations such as upset or landing, and the simultaneously offset operation to terminal for the non-user, those operate as invalid operation.As,
In one embodiment, predetermined acceleration threshold value is free-fall acceleration, if the linear acceleration of terminal skew is equal to default adding
Threshold speed, that is, equal to free-fall acceleration, terminal does the movement of falling object to the linear acceleration of terminal skew, then terminal may
There is landing, and be not the offset operation that user is done to terminal, the skew of terminal is maloperation, enters without to interface
Row moves.Therefore, the present embodiment first judged that before carrying out interface side-play amount calculating the situation of change of linear acceleration can be effective
Avoid maloperation it is ensured that Interface Moving is accurate.
It is exemplified below concrete application embodiment above-mentioned interface display method is described in detail, for convenience of description, with
Lower embodiment, to show multimedia file, is specifically illustrated to above-mentioned interface display method with showing picture file.
A kind of interface display method, comprises the following steps:
First, whether detection interface is all shown in display window.
Specifically, in the present embodiment, the picture of display is portrait picture, is not amplified display processing, normal displaying ratio
Under picture display interface as shown in Fig. 2 picture is all shown in display window.When according to user instruction by picture amplify 2
After showing again, as shown in figure 3, picture only mid portion is shown in display window, picture is not complete for the display interface of terminal
Portion is shown in display window.
Secondly, when interface is not all shown in display window, whether detection terminal position changes.
Afterwards, when terminal location changes, the angular velocity of detection terminal skew.
Then, the side-play amount at the angular speed calculation interface according to terminal skew.
Specifically, obtain the angle of terminal skew according to the angular speed calculation of the end skew detecting, determine the inclined of terminal
Move the angular dimension that direction and terminal offset in this direction.In the present embodiment, terminal upward deflects 45 °.Obtain terminal
Determine moving direction and the offset distance of picture after deviation angle according to the deviation angle of terminal, obtain the side-play amount of picture.
Specifically, in the present embodiment, the offset direction of picture is contrary with the offset direction of terminal, and therefore, picture is to moving down
Dynamic, show the content on picture top after moving.Accordingly, image amplifies 2 times, according to image magnification and image shift angle
Offset distance for 45 ° of calculating images.Further, in the present embodiment, for purposes of illustration only, default bias angle threshold is 45 °,
Therefore, the offset distance of picture is skew maximum, and that is, the offset distance of picture is the top edge of picture apart from display window
The distance of top edge.Therefore, in this enforcement, the side-play amount of picture is: the top edge moving down picture is upper apart from display window
The distance at edge.
Finally, in display window, according to side-play amount moving boundary, show the content at the interface after moving.
Specifically, picture is moved according to above-mentioned side-play amount, picture initial position as shown in Figure 3 moves down, until
Till the top edge of picture is overlapped with the top edge of display window, the display of the picture after display is mobile in display window after moving
As shown in figure 4, picture moves down, in display window, the image on display picture top, is particularly shown personage in picture at interface
Head image.
Refer to Fig. 5, a kind of interface display apparatus, comprising:
Memory module 502, for storing predetermined angle threshold value and predetermined acceleration threshold value.
Display detection module 504, for detecting whether interface is all shown in display window.
Inertia measuring module 506, for when interface is not all shown in display window, whether detection terminal position is sent out
Changing, and the angular velocity of detection terminal skew.
Calculations of offset module 508, the side-play amount at the angular speed calculation interface for being offset according to terminal.
Interface Moving module 510, for according to side-play amount moving boundary.
In one embodiment, calculations of offset module 508 includes deviation angle calculating sub module and side-play amount calculates submodule
Block.Wherein, deviation angle calculating sub module is used for obtaining terminal deviation angle according to the angular speed calculation of terminal skew;Side-play amount
Calculating sub module is used for calculating the offset distance at interface according to terminal deviation angle, determines the shifting at interface according to terminal deviation angle
Dynamic direction, and the moving direction at the offset distance according to interface and interface obtains side-play amount.
In one embodiment, above-mentioned side-play amount calculating sub module is additionally operable to judge whether terminal deviation angle exceedes pre-
If deviation angle threshold value, if terminal deviation angle exceedes default bias angle threshold, calculated according to default bias angle threshold
The offset distance at interface;If terminal deviation angle, not less than default bias angle threshold, calculates boundary according to terminal deviation angle
The offset distance in face.
In one embodiment, the moving direction at above-mentioned interface and the offset direction of terminal are contrary.
In one embodiment, inertia measuring module 506 is additionally operable to the linear acceleration of detection terminal skew;Interface display fills
Put and also include: skew judge module, whether the linear acceleration for judging terminal skew exceedes predetermined acceleration threshold value, if terminal
The linear acceleration of skew not less than predetermined acceleration threshold value, then sends move to calculations of offset module, is counted by calculating skew
Calculate module and calculate side-play amount;Otherwise, do not process.
Each technical characteristic of embodiment described above can arbitrarily be combined, for making description succinct, not to above-mentioned reality
The all possible combination of each technical characteristic applied in example is all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all it is considered to be the scope of this specification record.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously
Can not therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
Say, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be defined by claims.
Claims (10)
1. a kind of interface display method is it is characterised in that include:
Whether detection interface is all shown in display window;
When described interface is not all shown in described display window, whether detection terminal position changes;
When described terminal location changes, the angular velocity of detection described terminal skew;
The side-play amount at the interface described in angular speed calculation according to the skew of described terminal;
Described interface is moved according to described side-play amount, shows the content at the described interface after moving in described display window.
2. interface display method according to claim 1 it is characterised in that described according to described terminal skew angular velocity
Calculate the side-play amount at described interface, comprising:
Terminal deviation angle is obtained according to the angular speed calculation of described terminal skew;
Calculate the offset distance at described interface according to described terminal deviation angle, described boundary is determined according to described terminal deviation angle
The moving direction in face, and the moving direction at the offset distance according to described interface and described interface obtains described side-play amount.
3. interface display method according to claim 2 is it is characterised in that described calculate according to described terminal deviation angle
Before the offset distance at described interface, comprising:
Judge whether described terminal deviation angle exceedes default bias angle threshold, if described terminal deviation angle exceed described pre-
The offset distance at described interface if deviation angle threshold value, is then calculated according to described default bias angle threshold;If described terminal is inclined
Move angle not less than described default bias angle threshold, then execute the skew calculating described interface according to described terminal deviation angle
The step of distance.
4. interface display method according to claim 2 is it is characterised in that the moving direction at described interface and described terminal
Offset direction contrary.
5. interface display method according to claim 1 it is characterised in that described according to described terminal skew angular velocity
Before calculating the side-play amount at described interface, comprising:
Detect the linear acceleration of described terminal skew, judge whether the linear acceleration of described terminal skew exceedes predetermined acceleration threshold
Value, if the linear acceleration of described terminal skew, not less than described predetermined acceleration threshold value, executes described inclined according to described terminal
The step of the side-play amount at interface described in angular speed calculation moved;Otherwise, do not process.
6. a kind of interface display apparatus are it is characterised in that include:
Memory module, for storing predetermined angle threshold value and predetermined acceleration threshold value;
Display detection module, for detecting whether interface is all shown in display window;
Inertia measuring module, for when described interface is not all shown in described display window, whether detection terminal position
Change, and detect the angular velocity of described terminal skew;
Calculations of offset module, the side-play amount at the interface described in angular speed calculation for being offset according to described terminal;
Interface Moving module, for moving described interface according to described side-play amount.
7. interface display apparatus according to claim 6 are it is characterised in that described calculations of offset module includes:
Deviation angle calculating sub module, for obtaining terminal deviation angle according to the angular speed calculation that described terminal offsets;
Side-play amount calculating sub module, for calculating the offset distance at described interface according to described terminal deviation angle, according to described
Terminal deviation angle determines the moving direction at described interface, and the mobile side at the offset distance according to described interface and described interface
To obtaining described side-play amount.
8. interface display apparatus according to claim 7 are it is characterised in that described side-play amount calculating sub module is additionally operable to sentence
Whether the described terminal deviation angle that breaks exceedes default bias angle threshold, if described terminal deviation angle exceedes described default bias
Angle threshold, then calculate the offset distance at described interface according to described default bias angle threshold;If described terminal deviation angle
Not less than described default bias angle threshold, then calculate the offset distance at described interface according to described terminal deviation angle.
9. interface display apparatus according to claim 7 are it is characterised in that the moving direction at described interface and described terminal
Offset direction contrary.
10. interface display apparatus according to claim 6 are it is characterised in that described inertia measuring module is additionally operable to detect
The linear acceleration of described terminal skew;Described interface display apparatus also include:
Skew judge module, whether the linear acceleration for judging described terminal skew exceedes predetermined acceleration threshold value, if described
The linear acceleration of terminal skew not less than described predetermined acceleration threshold value, then sends move to described calculations of offset module,
Calculate described side-play amount by calculating described calculations of offset module;Otherwise, do not process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610786860.1A CN106371696A (en) | 2016-08-31 | 2016-08-31 | Interface display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610786860.1A CN106371696A (en) | 2016-08-31 | 2016-08-31 | Interface display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371696A true CN106371696A (en) | 2017-02-01 |
Family
ID=57899658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610786860.1A Pending CN106371696A (en) | 2016-08-31 | 2016-08-31 | Interface display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371696A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783704A (en) * | 2017-09-27 | 2018-03-09 | 北京小米移动软件有限公司 | Method of adjustment, device and the terminal of picture effect |
CN109558550A (en) * | 2018-10-10 | 2019-04-02 | 广州优视网络科技有限公司 | The display processing method and device of picture calculate equipment and readable medium |
CN111836093A (en) * | 2019-04-16 | 2020-10-27 | 百度在线网络技术(北京)有限公司 | Video playing method, device, equipment and medium |
CN112534388A (en) * | 2019-07-19 | 2021-03-19 | 京东方科技集团股份有限公司 | Image display device, method, medium and electronic device based on mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147659A (en) * | 2011-03-21 | 2011-08-10 | 中兴通讯股份有限公司 | Terminal and display content processing method thereof |
CN103257812A (en) * | 2012-02-17 | 2013-08-21 | 联想(北京)有限公司 | Display output adjusting method and electronic equipment |
CN103425402A (en) * | 2013-08-28 | 2013-12-04 | 紫光股份有限公司 | Detection method and device for mobile terminal posture |
US20140181669A1 (en) * | 2012-12-20 | 2014-06-26 | Mstar Semiconductor, Inc. | Electronic device and method for controlling the same |
CN104216634A (en) * | 2014-08-27 | 2014-12-17 | 小米科技有限责任公司 | Method and device for displaying manuscript |
CN104699439A (en) * | 2015-03-30 | 2015-06-10 | 三星电子(中国)研发中心 | Mobile terminal, and image display method and image display device for mobile terminal |
-
2016
- 2016-08-31 CN CN201610786860.1A patent/CN106371696A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147659A (en) * | 2011-03-21 | 2011-08-10 | 中兴通讯股份有限公司 | Terminal and display content processing method thereof |
CN103257812A (en) * | 2012-02-17 | 2013-08-21 | 联想(北京)有限公司 | Display output adjusting method and electronic equipment |
US20140181669A1 (en) * | 2012-12-20 | 2014-06-26 | Mstar Semiconductor, Inc. | Electronic device and method for controlling the same |
CN103425402A (en) * | 2013-08-28 | 2013-12-04 | 紫光股份有限公司 | Detection method and device for mobile terminal posture |
CN104216634A (en) * | 2014-08-27 | 2014-12-17 | 小米科技有限责任公司 | Method and device for displaying manuscript |
CN104699439A (en) * | 2015-03-30 | 2015-06-10 | 三星电子(中国)研发中心 | Mobile terminal, and image display method and image display device for mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783704A (en) * | 2017-09-27 | 2018-03-09 | 北京小米移动软件有限公司 | Method of adjustment, device and the terminal of picture effect |
CN107783704B (en) * | 2017-09-27 | 2021-07-23 | 北京小米移动软件有限公司 | Picture effect adjusting method and device and terminal |
CN109558550A (en) * | 2018-10-10 | 2019-04-02 | 广州优视网络科技有限公司 | The display processing method and device of picture calculate equipment and readable medium |
CN111836093A (en) * | 2019-04-16 | 2020-10-27 | 百度在线网络技术(北京)有限公司 | Video playing method, device, equipment and medium |
CN112534388A (en) * | 2019-07-19 | 2021-03-19 | 京东方科技集团股份有限公司 | Image display device, method, medium and electronic device based on mobile terminal |
CN112534388B (en) * | 2019-07-19 | 2025-01-10 | 京东方科技集团股份有限公司 | Image display device, method, medium and electronic device based on mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106371696A (en) | Interface display method and device | |
KR100552688B1 (en) | Attitude compensation method and apparatus of inertial navigation system, method and apparatus for calculating position of inertial navigation system using same | |
WO2015124098A1 (en) | Screen content display method and system | |
US8253795B2 (en) | Egomotion speed estimation on a mobile device | |
US9303982B1 (en) | Determining object depth information using image data | |
CN103176623B (en) | Mobile terminal reads anti-fluttering method, device and mobile terminal | |
TWI428804B (en) | Optical screen touch system and method thereof | |
US20130002661A1 (en) | Stereoscopic image display apparatus and method of controlling same | |
KR102643425B1 (en) | A method, an apparatus an electronic device, a storage device, a roadside instrument, a cloud control platform and a program product for detecting vehicle's lane changing | |
TW529309B (en) | Displacement measuring method of image sensor | |
US20140228073A1 (en) | Automatic presentation of an image from a camera responsive to detection of a particular type of movement of a user device | |
CN105892841A (en) | Application search callout method and apparatus as well as system | |
CN105979209A (en) | Monitoring video display method and monitoring video display device | |
US11379961B2 (en) | Information processing apparatus, information processing method, and program | |
CN105955623A (en) | Display method and apparatus | |
JP2006323255A (en) | Display apparatus | |
CN102314263B (en) | Optical touch screen system and optical distance judgment device and method | |
US20200280623A1 (en) | Display screen switching method and mobile terminal | |
US11714496B2 (en) | Apparatus, method and computer program for controlling scrolling of content | |
CN109426405A (en) | Display methods and display device in portable terminal | |
KR101148233B1 (en) | Method and device for estimating touch pressure using image, recording medium for the same, and mobile device comprising the same | |
US10698576B2 (en) | Device and method for displaying layers of cartoon data based on detected conditions | |
US20120038750A1 (en) | Apparatus and method for displaying three-dimensional (3d) object | |
WO2012108273A1 (en) | Image display device, image display method, and program | |
KR102120196B1 (en) | Camera shooting control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |