CN106775634A - One kind displaying block display method and device - Google Patents
One kind displaying block display method and device Download PDFInfo
- Publication number
- CN106775634A CN106775634A CN201611033456.3A CN201611033456A CN106775634A CN 106775634 A CN106775634 A CN 106775634A CN 201611033456 A CN201611033456 A CN 201611033456A CN 106775634 A CN106775634 A CN 106775634A
- Authority
- CN
- China
- Prior art keywords
- block
- displaying block
- displaying
- grid
- show
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention is applied to Dynamic Distribution field, there is provided one kind displaying block display method and device, the displaying block display method include:Gridding displayed page, the line number and columns of grid are taken by record display block, obtain showing the layout information of block;Obtain the operation focus on the displayed page;If the operation focus moves to the region beyond the displaying block, then according to the layout information of the displaying block, on the displayed page, be polymerized the displaying block, generates display area.The present invention has the beneficial effect that:On the one hand, according to the layout information of displaying block, the distance of each displaying block movement is obtained, without directly shrinking the interval between displaying block, therefore the complexity that the logical sum of algorithm is calculated is simplified, the development difficulty that displaying block shrinks is reduced, on the other hand, without parsing script, recompiled without to layout, reducing needs data to be processed, has saved process time, improves the contraction efficiency of displaying block.
Description
Technical field
The invention belongs to Dynamic Distribution field, more particularly to a kind of displaying block display method and device.
Background technology
It is now many to apply in order to the quick effect for changing presentation layer, all using Dynamic Distribution, to produce displaying block
Size and the diversified effect of layout type.There is the related application of many and displaying block all to use this dynamic cloth on TV
Office, such as be accomplished by being shown the entrance of many film posters, shopping, music to user as launcher.
However, showing that the process that block shows is complicated in existing Dynamic Distribution, it is unfavorable for improving the contraction efficiency of displaying block, its
Reason is, in order to adapt to the effect of Dynamic Distribution, the mode of layout is varied, shows that the size of block is not fixed, if will
The contraction of displaying block is realized, it is necessary to directly shrink the interval between displaying block, or parsing script again, layout is recompiled
And repaint, therefore processing data amount is big, the consuming time is long, is unfavorable for that improving displaying block shrinks efficiency.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of displaying block display method, it is intended to solve to be opened up in existing Dynamic Distribution
Show that the process that block shows is complicated, be unfavorable for improving the problem that displaying block shrinks efficiency.
The embodiment of the present invention is achieved in that a kind of displaying block display method, including:
Gridding displayed page, the line number and columns of grid are taken by record display block, obtain showing the layout letter of block
Breath;
Obtain the operation focus on the displayed page;
If the operation focus moves to the region beyond the displaying block, then according to the layout letter of the displaying block
Breath, on the displayed page, be polymerized the displaying block, generates display area.
The another object of the embodiment of the present invention is to provide a kind of displaying block display device, including:
Gridding module, for gridding displayed page, the line number and columns of grid is taken by record display block, is obtained
Show the layout information of block;
Operation focus acquisition module, for obtaining the operation focus on the displayed page;
Display area generation module, if moving to the region beyond the displaying block, then root for the operation focus
According to the layout information of the displaying block, on the displayed page, be polymerized the displaying block, generates display area.
In embodiments of the present invention, according to the layout information of displaying block, on the displayed page, be polymerized the displaying
Block, generates display area.Solve to show that the process that block shows is complicated in existing Dynamic Distribution, be unfavorable for that improving displaying block shrinks effect
The problem of rate.Have the beneficial effect that:On the one hand, according to the layout information of displaying block, the distance of each displaying block movement, nothing are obtained
The interval between displaying block need to be directly shunk, therefore simplifies the complexity that the logical sum of algorithm is calculated, reduced displaying block and receive
The development difficulty of contracting, on the other hand, without parsing script, recompiles without to layout, and reducing needs data to be processed,
Process time has been saved, the contraction efficiency of displaying block has been improve.
Brief description of the drawings
Fig. 1 is that displaying block display method provided in an embodiment of the present invention realizes flow chart;
Fig. 2 is that displaying block display method step S103 provided in an embodiment of the present invention realizes flow chart;
Fig. 3 is the implementing procedure figure that display area provided in an embodiment of the present invention is moved to center;
Fig. 4 is that displaying block display method step S201 provided in an embodiment of the present invention realizes flow chart;
Fig. 5 is the schematic diagram that the embodiment of the present invention provides displayed page grid layout;
Fig. 6 is poster provided in an embodiment of the present invention layout within a grid;
Fig. 7 is the design sketch that displaying block provided in an embodiment of the present invention shrinks;
Fig. 8 is the comparison diagram before and after displaying block scaling provided in an embodiment of the present invention.
Fig. 9 is that the embodiment of the present invention provides the design sketch that poster moves to screen center;
Figure 10 is the sample figure before the embodiment of the present invention provides poster scaling;
Figure 11 is after embodiment of the present invention offer poster is scaled and the sample figure of hatched effect;
Figure 12 is the structured flowchart of displaying block display device provided in an embodiment of the present invention;
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
It should be appreciated that ought use in this specification and in the appended claims, then term " including " and "comprising" indicate
The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole
The presence or addition of body, step, operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more in the associated item listed and be possible to combination, and including these combinations.
As in this specification and in the appended claims as use, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if " or " if
[if described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to determining " or " one
Denier is detected [described condition or event] " or " in response to detecting [described condition or event] ".
Embodiment one
Fig. 1 is that displaying block display method provided in an embodiment of the present invention realizes flow chart, and details are as follows:
In step S101, gridding displayed page takes the line number and columns of grid by record display block, is opened up
Show the layout information of block;
Wherein, displaying block is the figure module of presentation layer, including but not limited to film poster, the entrance of shopping, music
Entrance.
Wherein, displayed page is divided into size identical grid, realizes the gridding of displayed page.
In step S102, the operation focus on the displayed page is obtained;
In step S103, if the operation focus moves to the region beyond the displaying block, then according to the displaying
The layout information of block, on the displayed page, be polymerized the displaying block, generates display area.
Wherein, detect whether the operation focus on the displayed page moves to the region beyond poster;
If the operation focus moves to the region beyond poster, then according to the layout information of the displaying block, in institute
State on displayed page, be polymerized the displaying block, generates display area.
Wherein, the interval between grid and grid is eliminated, using pre-set zoom proportional zoom grid, according to the cloth of displaying block
Office information and scaling after grid, obtain show block movement distance, on the displayed page, using show block move away from
From be polymerized the displaying block, and the scattered multiple displaying block is shrunk into an entirety, generates display area.
In embodiments of the present invention, according to the layout information of displaying block, the distance of each displaying block movement is obtained, without solution
Analysis script, recompiles without to layout, and reducing needs data to be processed, while have receiving scattered multiple displaying blocks
Shorten a technique effect for entirety into, both reduce the development difficulty that displaying block shrinks, also achieve the animation that displaying block shrinks
Effect.
Embodiment two
Fig. 2 is that displaying block display method step S103 provided in an embodiment of the present invention realizes flow chart, and details are as follows:
In step s 201, if the operation focus on the displayed page moves to the region beyond the displaying block,
Then according to the layout information of the displaying block, the corresponding displacement of the displaying block is generated;
In step S202, control each described displaying block that displacement corresponding thereto is moved along direction of polymerization, it is raw
Into display area.
Wherein, direction of polymerization is preset direction, including but not limited to level is upward, level downwards, level to the left, level to
Right, oblique 45 degree upward, oblique 45 degree downward, oblique 45 degree to the left, oblique 45 degree to the right in either direction.
In embodiments of the present invention, the distance for being moved according to each displaying block, controls the movement of each displaying block, both reduces
The development difficulty that displaying block shrinks, also achieves the animation effect that displaying block shrinks.
Embodiment three
Fig. 3 is the implementing procedure figure that display area provided in an embodiment of the present invention is moved to center, and details are as follows:
In step S301, the central point of the display area and the central point of screen are obtained;
In step s 302, the central point of the control display area shifts to the central point of the screen, until the exhibition
Show that the central point in region and the central point of the screen overlap.
In embodiments of the present invention, when displaying block is poster, can realize that poster is imitated to the animation that the central point of screen shrinks
Really.
Example IV
The embodiment of the present invention describes to draw shade realizes flow, and details are as follows:
The adjacent border of displaying block described in positioning each two, to adjacent boundary mapping shade.
In embodiments of the present invention, to adjacent boundary mapping shade so that adjacent displaying block can realize superposition
Animation effect.
Embodiment five
Fig. 4 is that displaying block display method step S201 provided in an embodiment of the present invention realizes flow chart, and details are as follows:
In step S401, if the operation focus on the displayed page moves to the region beyond the displaying block,
Then using the coordinate position generation model shown before block movement, the length of grid before the origin coordinates shown according to displaying block, scaling
The starting and ending position of interval and the displaying block between wide, grid on grid, before generating the displaying block movement
Coordinate position;
In step S402, using the coordinate position generation model shown after block movement, shown according to the displaying block
Starting and ending position of the length and width and the displaying block of grid on grid, generates the displaying after origin coordinates, scaling
Coordinate position after block movement;
Wherein, the interval between grid is eliminated, according to the length and width and default scaling of grid before scaling, generation contracting
Put the length and width of rear grid.
In step S403, according to the coordinate position before the displaying block movement and the coordinate after displaying block movement
Position, generates the corresponding displacement of the displaying block;
Wherein, the coordinate position generation model before the displaying block movement, specially:
Viewleft1=startX+ (blocksize1+space) * (end-start+1);
StartX is to show the origin coordinates that block shows, blocksize1 is the length and width of grid before scaling, and space is grid
Between interval, start and end is to show starting and ending position of the block on grid, before viewleft1 is for displaying block movement
Coordinate position;
Wherein, the coordinate position generation model after the displaying block movement, specially:
Viewleft2=startX+blocksize2* (end-start+1);
Blocksize2 is the length and width of grid after scaling, and viewleft2 is to show the coordinate position after block movement.
In embodiments of the present invention, according to the layout information of displaying block, each displaying block movement can be readily derived
Distance, reduces the development difficulty that displaying block shrinks.
Embodiment six
When the embodiment of the present invention describes displaying block for poster, displaying block display method preferably application scheme is described in detail such as
Under:
Fig. 5 is the schematic diagram that the embodiment of the present invention provides displayed page grid layout, and details are as follows:
The page division that will show is the big small grid of N x N, there is interval before grid and grid, and network is square.
Fig. 6 is poster provided in an embodiment of the present invention layout within a grid, and poster can take several networks, sea
Report can take any number of networks, and the effect of the page is as shown in Figure 6.
Fig. 7 is the design sketch that displaying block provided in an embodiment of the present invention shrinks, when the focus operated on TV is not in poster
When upper, when focus moves to the region of non-poster, these posters to central reduction, shown in the design sketch 7 of contraction.
Embodiment seven
The embodiment of the present invention describe displaying block be poster when, using show block display method realize poster shrink mistake
Journey, details are as follows:
The computing formula of each network size is in grid layout:
Blocksize=height/row-space;
Space is the interval between grid, and row is the line number of grid, and height is the height of display area before scaling,
Blocksize1 is the wide and height of each grid, and each grid is square.
The layout information of each poster accounts for the grid of several line numbers and columns for poster.
Show that the coordinate position generation model before block movement is:
Viewleft1=startX+ (blocksize1+space) * (end-start+1)
StartX is to show the origin coordinates that block shows, blocksize1 is the length and width of grid before scaling, and space is grid
Between interval, start and end is to show starting and ending position of the block on grid, before viewleft1 is for displaying block movement
Coordinate position, as shown in Figure 8.
Fig. 8 is the comparison diagram before and after displaying block scaling provided in an embodiment of the present invention.
Wherein, for purposes of illustration only, when displaying block is poster, displaying block display method is comprised the following steps that:
1) space is set to 0, eliminates the interval between two grids.
2), it is necessary to specify a scaling when scaling.
The length and width computing formula of grid after scaling in grid layout is:
Blocksize2=newheight*n%/row,
Newheight is the height of display area after scaling, and blocksize2 is the length and width of grid after scaling.
Coordinate position generation model after displaying block movement, specially:
Viewleft2=startX+blocksize2* (end-start+1);
Blocksize2 is the length and width of grid after scaling, and viewleft2 is to show the coordinate position after block movement;
The line number and columns that each displaying block takes be continuing with before information, therefore by viewleft1 and
Viewleft2 makes the difference, and obtaining poster needs mobile distance.
3) central point and center's point of screen of display area are made the difference, computing formula is:
Scrollx=center-screencenter
Wherein, center is the central point of display area after cancellation space, and screencenter is the central point of screen,
Scrollx is the difference between the central point and the central point of screen of display area.
According to difference, the central point of the display area is moved along the direction of the central point of the screen, until described
The central point of the central point of display area and the screen overlaps, so that
The computing formula that poster is moved to central point is:
OffsetX=viewleft2-viewleft1-scrollx;
Viewleft1 is the coordinate position before poster movement, and viewleft1 is the coordinate position after poster movement,
Scrollx is the difference between the central point and the central point of screen of display area, and offsetX needs for the coordinate position of poster
Mobile distance.
According to the computing formula that poster is moved, can realize that poster is imitated as an entirety to the technology that screen center moves
Really.For purposes of illustration only, with reference to Fig. 9, Fig. 9 is that the embodiment of the present invention provides the design sketch that poster moves to screen center.
4) top shadow effect is drawn in the left margin of each poster and coboundary, the border of display should not draw shade effect
Really, the effect of so display directly has the effect of superposition just as poster.
With reference to Figure 10, Figure 10 is the sample figure before the embodiment of the present invention provides poster scaling.
Wherein, Figure 10 includes multiple scattered posters in display area, and scattered poster is respectively body-sensing general mobilization, learned
Chess and card, my game, Backkom, there are happy fighting landlord, Embarrassing Embarrassing rabbits, game classification and soldier to face the poster in the world.
With reference to Figure 11, Figure 11 is after embodiment of the present invention offer poster is scaled and the sample figure of hatched effect.
Wherein, scattered poster is by after contraction, in body-sensing general mobilization, learned chess and card, my game, Backkom, has pleasure
Fighting landlord, Embarrassing Embarrassing rabbits, game classification and soldier face boundary mapping shade adjacent all over the world.
Embodiment eight
Figure 12 is the structured flowchart of displaying block display device provided in an embodiment of the present invention, and the device can run on this end
In end.This terminal is the electronic equipment for possessing screen, including but not limited to household electrical appliances, medicine equipment, mobile phone, desk-top calculating
The equipment of machine, laptop computer or tablet PC etc.For convenience of description, illustrate only portion related to the present embodiment
Point.
Reference picture 12, the displaying block display device, including:
Gridding module 121, for gridding displayed page, the line number and columns of grid is taken by record display block,
Obtain showing the layout information of block;
Operation focus acquisition module 122, for obtaining the operation focus on the displayed page;
Display area generation module 123, if moving to the region beyond the displaying block for the operation focus, then
According to the layout information of the displaying block, on the displayed page, be polymerized the displaying block, generates display area.
Used as a kind of implementation pattern of the present embodiment, in the displaying block display device, the display area generates mould
Block, including:
Displacement generation unit, if for the operation focus on the displayed page move to it is described displaying block beyond
Region, then according to the layout information of the displaying block, generate the displaying corresponding displacement of block;
Display area generation unit, for controlling each described displaying block that movement corresponding thereto is moved along direction of polymerization
Distance, generates display area.
Used as a kind of implementation pattern of the present embodiment, the displaying block display device also includes:
Center mobile module, for obtaining the central point of the display area and the central point of screen, controls the exhibition
Show that the central point in region shifts to the central point of the screen, until the central point of the central point of the display area and the screen
Overlap.
Used as a kind of implementation pattern of the present embodiment, the displaying block display device also includes:
Shaded block is drawn, show described in each two the adjacent border of block for positioning, to adjacent boundary mapping shade.
Used as a kind of implementation pattern of the present embodiment, in the displaying block display device, the displacement generation is single
Unit includes:
First coordinate position subelement, if for the operation focus on the displayed page move to it is described displaying block with
Outer region, then using the coordinate position generation model shown before block movement, before the origin coordinates shown according to displaying block, scaling
The starting and ending position of interval and the displaying block between length and width, the grid of grid on grid, generates the displaying
Coordinate position before block movement;
Second coordinate position subelement, for using the coordinate position generation model shown after block movement, according to the exhibition
Show the starting and ending position of the length and width and the displaying block of grid after the origin coordinates, scaling that block shows on grid, it is raw
Coordinate position into after the displaying block movement;
Displacement generates subelement, for being moved according to the coordinate position and the displaying block before the displaying block movement
Coordinate position after dynamic, generates the corresponding displacement of the displaying block;
Wherein, the coordinate position generation model before the displaying block movement, specially:
Viewleft1=startX+ (blocksize1+space) * (end-start+1);
StartX is to show the origin coordinates that block shows, blocksize1 is the length and width of grid before scaling, and space is grid
Between interval, start and end is to show starting and ending position of the block on grid, before viewleft1 is for displaying block movement
Coordinate position;
Wherein, the coordinate position generation model after the displaying block movement, specially:
Viewleft2=startX+blocksize2* (end-start+1);
Blocksize2 is the length and width of grid after scaling, and viewleft2 is to show the coordinate position after block movement.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Unit in embodiment of the present invention device and device can according to actual needs be merged, divides and deleted.
Device provided in an embodiment of the present invention can be applied in foregoing corresponding embodiment of the method, and details are referring to above-mentioned reality
The description of example is applied, be will not be repeated here.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be borrowed
Software is helped to add the mode of required common hardware to realize.Described program can be stored in read/write memory medium, described
Storage medium, such as random access memory, flash memory, read-only storage, programmable read only memory, electrically erasable programmable storage
Device, register etc..The storage medium is located at memory, and processor reads the information in memory, this hair is performed with reference to its hardware
Method described in bright each embodiment.
The above, specific implementation pattern only of the invention then but protection scope of the present invention is not limited thereto, is appointed
What those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all
Should be included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. it is a kind of to show block display method, it is characterised in that including:
Gridding displayed page, the line number and columns of grid are taken by record display block, obtain showing the layout information of block;
Obtain the operation focus on the displayed page;
If the operation focus moves to the region beyond the displaying block, then according to the layout information of the displaying block,
On the displayed page, be polymerized the displaying block, generates display area.
2. it is as claimed in claim 1 to show block display method, it is characterised in that if the operation focus moves to the exhibition
Show the region beyond block, then according to the layout information of the displaying block, on the displayed page, be polymerized the displaying block, raw
Into display area, specially:
If the operation focus on the displayed page moves to the region beyond the displaying block, then according to the displaying block
Layout information, generates the corresponding displacement of the displaying block;
Control each described displaying block that displacement corresponding thereto is moved along direction of polymerization, generate display area.
3. it is as claimed in claim 1 or 2 to show block display method, it is characterised in that if being moved in the operation focus
Region beyond the displaying block, then according to the layout information of the displaying block, on the displayed page, be polymerized the displaying
Block, after generation display area, the displaying block display method also includes:
Obtain the central point of the display area and the central point of screen;
The central point of the display area is controlled to shift to the central point of the screen, until the central point of the display area and institute
The central point for stating screen overlaps.
4. it is as claimed in claim 1 or 2 to show block display method, it is characterised in that if being moved in the operation focus
Region beyond the displaying block, then according to the layout information of the displaying block, on the displayed page, be polymerized the displaying
Block, after generation display area, the displaying block display method also includes:
The adjacent border of displaying block described in positioning each two, to adjacent boundary mapping shade.
5. it is as claimed in claim 2 to show block display method, it is characterised in that if the operation focus on the displayed page
The region beyond the displaying block is moved to, then according to the layout information of the displaying block, generates the corresponding shifting of the displaying block
Dynamic distance, specially:
If the operation focus on the displayed page move to it is described displaying block beyond region, then using show block move before
Coordinate position generation model, according to displaying block show origin coordinates, scale before grid length and width, grid between interval with
And starting and ending position of the displaying block on grid, generate the coordinate position before the displaying block movement;
Using the coordinate position generation model shown after block movement, according to net after origin coordinates, scaling that the displaying block shows
The starting and ending position of the length and width of lattice and the displaying block on grid, generates the coordinate bit after the displaying block movement
Put;
According to the coordinate position before the displaying block movement and the coordinate position after displaying block movement, the displaying is generated
The corresponding displacement of block;
Wherein, the coordinate position generation model before the displaying block movement, specially:
Viewleft1=startX+ (blocksize1+space) * (end-start+1);
StartX is to show the origin coordinates that block shows, blocksize1 is the length and width of grid before scaling, and space is between grid
Interval, start and end is to show starting and ending position of the block on grid, and viewleft1 is to show the seat before block movement
Cursor position;
Wherein, the coordinate position generation model after the displaying block movement, specially:
Viewleft2=startX+blocksize2* (end-start+1);
Blocksize2 is the length and width of grid after scaling, and viewleft2 is to show the coordinate position after block movement.
6. it is a kind of to show block display device, it is characterised in that including:
Gridding module, for gridding displayed page, the line number and columns of grid is taken by record display block, is shown
The layout information of block;
Operation focus acquisition module, for obtaining the operation focus on the displayed page;
Display area generation module, if moving to the region beyond the displaying block for the operation focus, then according to institute
The layout information of displaying block is stated, on the displayed page, be polymerized the displaying block, generates display area.
7. it is as claimed in claim 6 to show block display device, it is characterised in that the display area generation module, including:
Displacement generation unit, if moving to the area beyond the displaying block for the operation focus on the displayed page
Domain, then according to the layout information of the displaying block, generate the corresponding displacement of the displaying block;
Display area generation unit, for control each described displaying block along direction of polymerization move movement corresponding thereto away from
From generation display area.
8. displaying block display device as claimed in claims 6 or 7, it is characterised in that the displaying block display device, also wraps
Include:
Center mobile module, for obtaining the central point of the display area and the central point of screen, controls the show area
The central point in domain shifts to the central point of the screen, until the central point weight of the central point of the display area and the screen
Close.
9. displaying block display device as claimed in claims 6 or 7, it is characterised in that the displaying block display device, also wraps
Include:
Shaded block is drawn, show described in each two the adjacent border of block for positioning, to adjacent boundary mapping shade.
10. it is as claimed in claim 7 to show block display device, it is characterised in that the displacement generation unit includes:
First coordinate position subelement, if for the operation focus on the displayed page move to it is described displaying block beyond
Region, then using the coordinate position generation model shown before block movement, grid before the origin coordinates shown according to displaying block, scaling
Length and width, grid between starting and ending position on grid of interval and the displaying block, generate the displaying block and move
Coordinate position before dynamic;
Second coordinate position subelement, for using the coordinate position generation model shown after block movement, according to the displaying block
Starting and ending position of the length and width and the displaying block of grid on grid, generates institute after origin coordinates, the scaling of display
State the coordinate position after displaying block movement;
Displacement generates subelement, after according to the coordinate position before the displaying block movement and displaying block movement
Coordinate position, generate the displaying corresponding displacement of block;
Wherein, the coordinate position generation model before the displaying block movement, specially:
Viewleft1=startX+ (blocksize1+space) * (end-start+1);
StartX is to show the origin coordinates that block shows, blocksize1 is the length and width of grid before scaling, and space is between grid
Interval, start and end is to show starting and ending position of the block on grid, and viewleft1 is to show the seat before block movement
Cursor position;
Wherein, the coordinate position generation model after the displaying block movement, specially:
Viewleft2=startX+blocksize2* (end-start+1);
Blocksize2 is the length and width of grid after scaling, and viewleft2 is to show the coordinate position after block movement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611033456.3A CN106775634B (en) | 2016-11-16 | 2016-11-16 | Display block display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611033456.3A CN106775634B (en) | 2016-11-16 | 2016-11-16 | Display block display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775634A true CN106775634A (en) | 2017-05-31 |
CN106775634B CN106775634B (en) | 2021-11-19 |
Family
ID=58971698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611033456.3A Active CN106775634B (en) | 2016-11-16 | 2016-11-16 | Display block display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775634B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463324A (en) * | 2017-06-26 | 2017-12-12 | 努比亚技术有限公司 | A kind of image display method, mobile terminal and computer-readable recording medium |
CN109254985A (en) * | 2017-07-11 | 2019-01-22 | 阿里巴巴集团控股有限公司 | Method for exhibiting data and device, the electronic equipment of database |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261642A (en) * | 2008-04-10 | 2008-09-10 | 深圳市迅雷网络技术有限公司 | Method and device for regulating internet page layout |
CN102549539A (en) * | 2009-09-25 | 2012-07-04 | 汤姆森特许公司 | Apparatus and method for grid navigation |
US20140368547A1 (en) * | 2013-06-13 | 2014-12-18 | Blikiling Enterprises Llc | Controlling Element Layout on a Display |
CN104516880A (en) * | 2013-09-26 | 2015-04-15 | Sap欧洲公司 | Block-based graphics layout |
CN105763920A (en) * | 2015-01-05 | 2016-07-13 | 三星电子株式会社 | Display Apparatus And Display Method |
-
2016
- 2016-11-16 CN CN201611033456.3A patent/CN106775634B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261642A (en) * | 2008-04-10 | 2008-09-10 | 深圳市迅雷网络技术有限公司 | Method and device for regulating internet page layout |
CN102549539A (en) * | 2009-09-25 | 2012-07-04 | 汤姆森特许公司 | Apparatus and method for grid navigation |
US20140368547A1 (en) * | 2013-06-13 | 2014-12-18 | Blikiling Enterprises Llc | Controlling Element Layout on a Display |
CN104516880A (en) * | 2013-09-26 | 2015-04-15 | Sap欧洲公司 | Block-based graphics layout |
CN105763920A (en) * | 2015-01-05 | 2016-07-13 | 三星电子株式会社 | Display Apparatus And Display Method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463324A (en) * | 2017-06-26 | 2017-12-12 | 努比亚技术有限公司 | A kind of image display method, mobile terminal and computer-readable recording medium |
CN109254985A (en) * | 2017-07-11 | 2019-01-22 | 阿里巴巴集团控股有限公司 | Method for exhibiting data and device, the electronic equipment of database |
Also Published As
Publication number | Publication date |
---|---|
CN106775634B (en) | 2021-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8423914B2 (en) | Selection user interface | |
JP5030833B2 (en) | A technique for displaying collection hierarchy information | |
CN109844816A (en) | System and method for showing presentation graphics | |
KR20140030098A (en) | Animated page turning | |
AU2015315608B2 (en) | Layout engine | |
CN109144384A (en) | Display methods, device, hardware device and computer readable storage medium | |
CN104142776A (en) | Icon processing method and device | |
CN106775634A (en) | One kind displaying block display method and device | |
CN111290680A (en) | List display method, device, terminal and storage medium | |
US10387547B2 (en) | Layout engine for creating a visual layout tree for a document | |
CN104346046B (en) | Three-dimensional artificial page turning method and system | |
CN109388306A (en) | Information display method and device | |
CN107015726A (en) | A kind of multidate information methods of exhibiting and device | |
US10387540B2 (en) | Generating a visual layout tree using caching techniques | |
US10430500B2 (en) | Detecting and animating a change in position of a visual layout node of a visual layout tree | |
US20170364482A9 (en) | Generating a visual layout tree based on a named point within a visual description node | |
US10353991B2 (en) | Generating a visual description tree based on a layout interruption record | |
CN116883563B (en) | Method, device, computer equipment and storage medium for rendering annotation points | |
US20170364483A9 (en) | Generating visual layout nodes to fill a display area based on an anchor point | |
US10402478B2 (en) | Linking visual layout nodes of a visual layout tree using positioning pointers | |
US11003833B2 (en) | Adding visual description nodes to a visual description tree during layout | |
CN115169311A (en) | Document configuration method, device, computer equipment and computer program product | |
CN118069003A (en) | Display method of terminal desktop, terminal and computer readable medium | |
KR101363280B1 (en) | Method for directly accessing a page based on digit order sequential touch operations in E-book terminals, and computer-readable recording medium for the same |
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: 516006 TCL science and technology building, No. 17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant after: TCL Technology Group Co.,Ltd. Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District Applicant before: TCL Corp. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |