CN110399069A - Image display method and device - Google Patents
Image display method and device Download PDFInfo
- Publication number
- CN110399069A CN110399069A CN201810379507.0A CN201810379507A CN110399069A CN 110399069 A CN110399069 A CN 110399069A CN 201810379507 A CN201810379507 A CN 201810379507A CN 110399069 A CN110399069 A CN 110399069A
- Authority
- CN
- China
- Prior art keywords
- list item
- target column
- column list
- picture
- target
- 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
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- 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
- G06F3/04845—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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- 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
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 embodiment of the present application discloses image display method and device.One specific embodiment of this method includes: to detect the slide of user on the screen;In response to detecting slide, the location information for controlling the target column list item of the list control of screen display content is obtained;According to location information, the display area of the picture to be shown in target column list item is determined;It controls target column list item and shows display area.The embodiment is realized with list items position difference, and the region of the picture to be shown of display is different.
Description
Technical field
The invention relates to field of computer technology, and in particular to image display method and device.
Background technique
Currently, mainstream applications generally use the form of list to show information.When need to larger-size picture carry out
When display, usually there are two types of processing modes.One is cut or compressed to picture.Another way is to picture according to reality
Border size is completely shown.
Summary of the invention
The embodiment of the present application proposes image display method and device.
In a first aspect, the embodiment of the present application provides a kind of image display method, this method comprises: detection user is in screen
On slide;In response to detecting slide, the target column for controlling the list control of screen display content is obtained
The location information of list item;According to location information, the display area of the picture to be shown in target column list item is determined;Control target column
List item shows display area.
In some embodiments, this method further include: obtain the dimension information of target column list item;And believed according to position
Breath, determines the display area of the picture to be shown in target column list item, comprising: according to location information and dimension information, determine mesh
Mark the display area of the picture to be shown in list items.
In some embodiments, the position letter of the target column list item for controlling the list control of screen display content is obtained
Breath, comprising: obtain the distance between target column list item and screen edge and be determined as first distance.
In some embodiments, the dimension information of target column list item is obtained, comprising: obtain the height of target column list item.
In some embodiments, according to location information and dimension information, the picture to be shown in target column list item is determined
Display area, comprising: the target area in picture to be shown is determined as display area, wherein target area and figure to be shown
The distance between piece edge is equal with first distance, and the height of target area is equal with the height of target column list item.
Second aspect, the embodiment of the present application provide a kind of image display apparatus, which includes: detection unit, are matched
It is set to the slide of detection user on the screen;Location information acquiring unit is configured in response to detect slide,
Obtain the location information for controlling the target column list item of the list control of screen display content;Determination unit is configured to root
According to location information, the display area of the picture to be shown in target column list item is determined;Control unit is configured to control target column
List item shows display area.
In some embodiments, device further include: dimension information acquiring unit is configured to obtain target column list item
Dimension information;And determination unit is further configured to: according to location information and dimension information, being determined in target column list item
The display area of picture to be shown.
In some embodiments, location information acquiring unit is further configured to: obtaining target column list item and screen side
The distance between edge is simultaneously determined as first distance.
In some embodiments, dimension information acquiring unit is further configured to: obtaining the height of target column list item.
In some embodiments, determination unit is further configured to: the target area in picture to be shown is determined as
Display area, wherein the distance between target area and image edge to be shown and first distance are equal, the height of target area
It is equal with the height of target column list item.
The third aspect, the embodiment of the present application provide a kind of terminal device, which includes: one or more processing
Device;Storage device is stored thereon with one or more programs;When said one or multiple programs are by said one or multiple processing
Device executes, so that said one or multiple processors realize the method as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, on
State the method realized as described in implementation any in first aspect when program is executed by processor.
Image display method and device provided by the embodiments of the present application can obtain list when detecting slide
The current location information of item.To determine the display area of picture to be shown according to current location information.Therefore, display area
It can change with the variation of location information.Finally, control target column list item shows display area.Finally realize with column
List item position is different, and the region of the picture to be shown of display is different.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the image display method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the image display method of the application;
Fig. 4 is the flow chart according to another embodiment of the image display method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the image display apparatus of the application;
Fig. 6 is adapted for the structural schematic diagram for the system for realizing the terminal device of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can showing using the embodiment of the image display method or image display apparatus of the embodiment of the present application
Example property system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103
With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, can be the various electronic equipments with touch screen, including but not limited to smart phone, tablet computer, public inquiry machine,
Intelligentized Furniture etc..When terminal device 101,102,103 is software, may be mounted in above-mentioned cited electronic equipment.
Multiple softwares or software module (such as providing Distributed Services) may be implemented into it, also may be implemented into single software or
Software module.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103
Content provides the background server supported.
It should be noted that image display method provided by the embodiment of the present application generally by terminal device 101,102,
103 execute, and correspondingly, image display apparatus is generally positioned in terminal device 101,102,103.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
To be implemented as multiple softwares or software module (such as providing Distributed Services), single software or software also may be implemented into
Module.It is not specifically limited herein.
With continued reference to Fig. 2, the process 200 of one embodiment of the image display method according to the application is shown.The figure
Piece display methods, comprising the following steps:
Step 201, the slide of detection user on the screen.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1 101,102,103) of image display method
The slide of user on the screen can be detected by various methods.As an example, can by comparing finger down point and
Coordinate value a little is lifted to detect slide.In addition, slide detection is widely used at present in various operating systems.
In such a case, it is possible to by calling internal interface to realize slide detection.As an example, by using in Android system
Gesture Detector (gestures detection class) realize slide detection.As an example, by using iOS (iPhone
Operation System, mobile phone operating system) in Scroll View (roll view) realize slide detection.
Wherein, screen can be the liquid crystal display device for supporting to receive the signals of inputs such as contact, finger.As an example,
It can be capacitance plate, touch screens etc..Slide can be the contact point under the holdings such as contact, finger and screen contact state
It is mobile.
Step 202, the location information for controlling the target column list item of the list control of screen display content is obtained.
In the present embodiment, in response to detecting slide, above-mentioned executing subject is available aobvious for controlling screen
Show the location information of the target column list item of the list control of content.
Wherein, list control can be UI (the User Interface, Yong Hujie for showing content with tabular form
Face) control.The title of the list control in homologous ray is not different.As an example, the list control in Android operation system includes
List View control.As an example, the list control in iOS includes Table View control.
In practice, list control can show content by multiple list items.The not title of the list items in homologous ray
It is different.As an example, the list items of List View control can be Item.As an example, the list items of Table View control
It can be Cell.
In general, single list items are for showing associated content.For example, the application of mainstream news class is usually by one
Title, text and the figure of news are shown by a list items.A plurality of news is usually shown by multiple list items.
In the present embodiment, target column list item can be specified by technical staff, can also be according to preset condition (such as wherein
The dimension of picture of display is greater than preset threshold) it is screened.
In practice, the position of above-mentioned target column list item can change with the operation of user.For example, when user is clear
Look at news when, will do it sliding.To which the position of target column list item can change.The location information of target column list item can be
Characterize the information of position of the target column list item in screen.As an example, can be the coordinate value under screen two-dimensional coordinate system.
As an example, being also possible to the distance between target column list item and screen edge.
Step 203, according to location information, the display area of the picture to be shown in target column list item is determined.
In the present embodiment, above-mentioned executing subject location information according to obtained in step 202, using a variety of methods
Determine the display area of the picture to be shown in target column list item.As an example, can according to the location information that pre-establishes with
The mapping table of display area searches corresponding display area according to location information.As an example, can be according to target column
The coordinate value of list item intercepts the region of same coordinate value on picture to be shown as display area.
Wherein, picture to be shown can be the picture for intending showing in target column list item.In practice, picture to be shown can be with
It shows, can also be only shown partial region completely in target column list item.At this point, shown partial region is figure to be shown
The display area of piece.
Step 204, control target column list item shows above-mentioned display area.
In the present embodiment, above-mentioned executing subject can control target column list item and show above-mentioned display area.In practice, make
For example, above-mentioned display area can be shown by the association attributes (such as Icons attribute) of list control.As an example,
It can show that control shows above-mentioned display area by relevant picture.
With continued reference to the schematic diagram that Fig. 3, Fig. 3 are according to the application scenarios of the image display method of the present embodiment.In
In the application scenarios 300 of Fig. 3, user uses the news category Client browse news on mobile phone.Mobile phone is detected by internal interface
The slide of user.When user slides upward sliding screen, mobile phone can detecte user and slide behavior.Later, mobile phone
The position of the available target column list item (list items that number is 4 in figure) for controlling the list control of screen display content
Information.301,302,303 and 304 respectively illustrate the situation for numbering the list items for being 4 position different in screen in figure.Its
In, the list items lower edge and the distance between screen top edge that location information can be respectively 4 with number indicate, that is, distinguish
Are as follows: 4,3,2,1.It is thus possible to search the mapping table of the location information and display area that pre-establish (for example, will be to aobvious
Diagram piece 305 is equally divided into four display areas (such as in figure 3051,3052,3053,3054) along the vertical direction, four displays
Region is corresponded with four location informations).In this way, corresponding display area can be searched according to location information.By searching for
It is found that 301 corresponding display area 3051 in figure.302 corresponding display area 3052 in figure.303 corresponding display area 3053 in figure.
304 corresponding display area 3054 in figure.Finally, mobile phone controls target column list item shows above-mentioned each display in different location respectively
Region.
The method provided by the above embodiment of the application it is current can to obtain list items when detecting slide
Location information.To determine the display area of picture to be shown according to current location information.Therefore, display area can be with
The variation of location information and change.Finally, control target column list item shows display area.Finally realize with list items position
Difference is set, the region of the picture to be shown of display is different.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of image display method.The picture is shown
The process 400 of method, comprising the following steps:
Step 401, the slide of detection user on the screen.
Step 402, the location information for controlling the target column list item of the list control of screen display content is obtained.
Step 401, the specific processing of step 402 and its bring technical effect can be corresponding with reference to Fig. 2 in the present embodiment
Embodiment in step 201, step 202, details are not described herein.
In some optional implementations of the present embodiment, the list control for controlling screen display content is obtained
The location information of target column list item, comprising: obtain the distance between target column list item and screen edge and be determined as first distance.
In these implementations, the edge of screen can be chosen according to the moving direction of target column list item to determine first
Distance.As an example, list items slide up and down, any edge up and down can be chosen.As an example, list items horizontally slip, it can
To choose left and right any edge.For target column list item, can according to need selection wherein any reference line with determine first away from
From it is not limited here.
Step 403, the dimension information of target column list item is obtained.
In the present embodiment, above-mentioned executing subject can obtain the dimension information of target column list item by various methods.Wherein,
The dimension information of target column list item may include the width and/or height of target column list item.The dimension information of target column list item can
It, can also be by receiving the input acquisition of information from technical staff to be obtained by caller internal interface.
In some optional implementations of the present embodiment, the dimension information of target column list item is obtained, comprising: obtain mesh
Mark the height of list items.
Step 404, according to location information and dimension information, the viewing area of the picture to be shown in target column list item is determined
Domain.
In the present embodiment, above-mentioned executing subject can be according to the location information and ruler obtained in step 402 and step 403
Very little information determines the display area of the picture to be shown in target column list item.
In the present embodiment, size corresponding with the position of target column list item and mesh can be chosen on picture to be shown
The region that the size of mark list items matches is determined as display area.
As an example, can by size, position identical with the size of target column list item and target column list item position phase
Same region is determined as display area.
As an example, firstly, determine target column list item size and screen size ratio, by the ratio with it is to be shown
The size of picture is multiplied, and determines the size of display area.Secondly, determining the coordinate value of target column list item and the ratio of screen size
Value, is multiplied with the size of picture to be shown by the ratio, determines the position of display area.Finally determine the aobvious of picture to be shown
Show region.
In some optional implementations of the present embodiment, according to location information and dimension information, object listing is determined
The display area of picture to be shown in, comprising: the target area in picture to be shown is determined as display area, wherein
The distance between target area and image edge to be shown and first distance are equal, the height of target area and target column list item
It is highly equal.
Step 405, control target column list item shows above-mentioned display area.
In the present embodiment, the specific processing of step 405 and its bring technical effect can refer to the corresponding embodiment of Fig. 2
In step 204, details are not described herein.
Figure 4, it is seen that compared with the corresponding embodiment of Fig. 2, the process of the image display method in the present embodiment
400 not only obtain the location information of target column list item, but also obtain the dimension information of target column list item.To according to target
The location information and dimension information of list items determine the display area of the picture to be shown in target column list item.This implementation as a result,
The scheme of example description realizes the display area of picture to be shown and the size of target column list item matches.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of displays of picture to fill
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, the image display apparatus 500 of the present embodiment includes: detection unit 501, location information acquiring unit
502, determination unit 503 and control unit 504.Detection unit 501 is configured to detect the slide of user on the screen;Position
It sets information acquisition unit 502 to be configured in response to detect slide, obtains the list for controlling screen display content
The location information of the target column list item of control;Determination unit 503 is configured to be determined in target column list item according to location information
The display area of picture to be shown;Control unit 504 is configured to control target column list item and shows display area.
Detection unit 501, location information acquiring unit 502, determining list in the present embodiment, in image display apparatus 500
The specific processing of member 503 and control unit 504 and its brought technical effect can be respectively with reference to the steps in Fig. 2 corresponding embodiment
Rapid 201, step 202, the related description of step 203 and step 204, details are not described herein.
In some optional implementations of the present embodiment, device 500 can also include: dimension information acquiring unit
(not shown).Dimension information acquiring unit is configured to obtain the dimension information of target column list item;And determination unit into
One step is configured to determine the display area of the picture to be shown in target column list item according to location information and dimension information.
In some optional implementations of the present embodiment, location information acquiring unit 502 can be further configured
At acquisition the distance between target column list item and screen edge and it is determined as first distance.
In some optional implementations of the present embodiment, dimension information acquiring unit (not shown) further by
It is configured to obtain the height of target column list item.
In some optional implementations of the present embodiment, determination unit 503 can be further configured to will be to aobvious
Target area in diagram piece is determined as display area, wherein the distance between target area and image edge to be shown and
One is equidistant, and the height of target area is equal with the height of target column list item.
In this embodiment, location information acquiring unit 502 can be obtained when detection unit 501 detects slide
The current location information of list items.So that it is determined that unit 503 determines the viewing area of picture to be shown according to current location information
Domain.Therefore, display area can change with the variation of location information.Finally, control unit 504 controls target column list item
Show display area.It finally realizes with list items position difference, the region of the picture to be shown of display is different.
Below with reference to Fig. 6, it illustrates the structures of the system 600 for the terminal device for being suitable for being used to realize the embodiment of the present application
Schematic diagram.Terminal device shown in Fig. 6 is only an example, should not function to the embodiment of the present application and use scope bring
Any restrictions.
As shown in fig. 6, system 600 includes central processing unit (CPU) 601, it can be according to being stored in read-only memory
(ROM) it the program in 602 or is executed respectively from the program that storage section 608 is loaded into random access storage device (RAM) 603
Kind movement appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU
601, ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus
604。
I/O interface 605 is connected to lower component: the importation including touch screen, camera, electrical distance inductor etc.
606;Output par, c 607 including liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section including memory (SD) card etc.
608;And the communications portion 609 of the network interface card including LAN card, SIM card etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Semiconductor memory etc. is mounted on as needed on driver 610, in order to from the computer program read thereon according to need
It is mounted into storage section 608.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the application can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this application, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In application, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include detection unit, location information acquiring unit, determination unit and control unit.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself, for example, detection unit is also described as the " cunning of detection user on the screen
The unit of dynamic operation ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in computer described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.On
It states computer-readable medium and carries one or more program, when the computer is held by one for said one or multiple programs
When row, so that the computer: the slide of detection user on the screen;In response to detecting slide, obtain for controlling
The location information of the target column list item of the list control of screen display content processed;According to location information, determine in target column list item
Picture to be shown display area;It controls target column list item and shows display area.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of image display method, comprising:
Detect the slide of user on the screen;
In response to detecting the slide, the object listing for controlling the list control of the screen display content is obtained
The location information of item;
According to the positional information, the display area of the picture to be shown in the target column list item is determined;
It controls the target column list item and shows the display area.
2. according to the method described in claim 1, wherein, the method also includes:
Obtain the dimension information of the target column list item;And
It is described according to the positional information, determine the display area of the picture to be shown in the target column list item, comprising:
According to the positional information with the dimension information, the viewing area of the picture to be shown in the target column list item is determined
Domain.
3. according to the method described in claim 2, wherein, the list control obtained for controlling the screen display content
Target column list item location information, comprising:
It obtains the distance between the target column list item and the screen edge and is determined as first distance.
4. according to the method described in claim 3, wherein, the dimension information for obtaining the target column list item, comprising:
Obtain the height of the target column list item.
5. it is described according to the positional information with the dimension information according to the method described in claim 4, wherein, determine institute
State the display area of the picture to be shown in target column list item, comprising:
Target area in the picture to be shown is determined as the display area, wherein the target area and it is described to
Show that the distance between image edge is equal with the first distance, the height of the target area and the target column list item
It is highly equal.
6. a kind of image display apparatus, comprising:
Detection unit is configured to detect the slide of user on the screen;
Location information acquiring unit is configured in response to detect the slide, obtains aobvious for controlling the screen
Show the location information of the target column list item of the list control of content;
Determination unit is configured to determine the display of the picture to be shown in the target column list item according to the positional information
Region;
Control unit is configured to control the target column list item and shows the display area.
7. device according to claim 6, wherein described device further include:
Dimension information acquiring unit is configured to obtain the dimension information of the target column list item;And
The determination unit is further configured to:
According to the positional information with the dimension information, the viewing area of the picture to be shown in the target column list item is determined
Domain.
8. device according to claim 7, wherein the location information acquiring unit is further configured to:
It obtains the distance between the target column list item and the screen edge and is determined as first distance.
9. device according to claim 8, wherein the dimension information acquiring unit is further configured to:
Obtain the height of the target column list item.
10. device according to claim 9, wherein the determination unit is further configured to:
Target area in the picture to be shown is determined as the display area, wherein the target area and it is described to
Show that the distance between image edge is equal with the first distance, the height of the target area and the target column list item
It is highly equal.
11. a kind of terminal device, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor
Now such as method as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810379507.0A CN110399069A (en) | 2018-04-25 | 2018-04-25 | Image display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810379507.0A CN110399069A (en) | 2018-04-25 | 2018-04-25 | Image display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110399069A true CN110399069A (en) | 2019-11-01 |
Family
ID=68319474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810379507.0A Pending CN110399069A (en) | 2018-04-25 | 2018-04-25 | Image display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110399069A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114675911A (en) * | 2021-05-06 | 2022-06-28 | 腾讯云计算(北京)有限责任公司 | View display method, device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999568A (en) * | 2012-11-09 | 2013-03-27 | 北京京东世纪贸易有限公司 | Method and device for displaying list on mobile terminal |
CN103870175A (en) * | 2012-12-11 | 2014-06-18 | 联想(北京)有限公司 | Display method and electronic device |
US20160231894A1 (en) * | 2015-02-09 | 2016-08-11 | Flipboard, Inc. | Parallax Discrete Page Scrolling |
US20170011541A1 (en) * | 2014-07-10 | 2017-01-12 | Shahar NAOR | Method for creating animated advertisements using parallax scrolling |
CN107608731A (en) * | 2017-09-15 | 2018-01-19 | 广州优视网络科技有限公司 | A kind of picture loading method and device |
-
2018
- 2018-04-25 CN CN201810379507.0A patent/CN110399069A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999568A (en) * | 2012-11-09 | 2013-03-27 | 北京京东世纪贸易有限公司 | Method and device for displaying list on mobile terminal |
CN103870175A (en) * | 2012-12-11 | 2014-06-18 | 联想(北京)有限公司 | Display method and electronic device |
US20170011541A1 (en) * | 2014-07-10 | 2017-01-12 | Shahar NAOR | Method for creating animated advertisements using parallax scrolling |
US20160231894A1 (en) * | 2015-02-09 | 2016-08-11 | Flipboard, Inc. | Parallax Discrete Page Scrolling |
CN107608731A (en) * | 2017-09-15 | 2018-01-19 | 广州优视网络科技有限公司 | A kind of picture loading method and device |
Non-Patent Citations (4)
Title |
---|
BABY_HUA: ""滑动tableView表单时cell图片的视差效果实现分析"", 《HTTPS://BLOG.CSDN.NET/BABY_HUA/ARTICLE/DETAILS/50378138》 * |
NIKNOWZCD: ""仿知乎广告效果"", 《HTTPS://WWW.JIANSHU.COM/P/1BA270DCDEDA》 * |
达峰A: ""Android知乎广告效果"", 《HTTPS://WWW.JIANSHU.COM/P/5B3D8FF8AB64》 * |
鸿洋_: ""Android仿知乎创意广告 广告还能这么玩?"", 《HTTPS://BLOG.CSDN.NET/LMJ623565791/ARTICLE/DETAILS/78714705》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114675911A (en) * | 2021-05-06 | 2022-06-28 | 腾讯云计算(北京)有限责任公司 | View display method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7488333B2 (en) | Video search method, device, terminal, and storage medium | |
US9996759B2 (en) | Method and apparatus for recognizing fingerprint | |
CN106911697B (en) | Access rights setting method, device, server and storage medium | |
CN109726343A (en) | Image carousel method and device | |
CN109242801A (en) | Image processing method and device | |
CN109063653A (en) | Image processing method and device | |
CN109118456A (en) | Image processing method and device | |
US10838612B2 (en) | Apparatus and method for processing drag and drop | |
CN109255337A (en) | Face critical point detection method and apparatus | |
KR102213897B1 (en) | A method for selecting one or more items according to an user input and an electronic device therefor | |
CN109669617A (en) | Method and apparatus for switching the page | |
CN108961165A (en) | Method and apparatus for load image | |
US20150346989A1 (en) | User interface for application and device | |
CN109901988A (en) | A kind of page elements localization method and device for automatic test | |
CN108776692A (en) | Method and apparatus for handling information | |
JP2023502610A (en) | Target object display method, apparatus, electronics, and computer readable medium | |
CN108646972A (en) | Method and apparatus for showing information, searching information | |
CN108595448A (en) | Information-pushing method and device | |
US9429447B2 (en) | Method of utilizing image based on location information of the image in electronic device and the electronic device thereof | |
KR20160035865A (en) | Apparatus and method for identifying an object | |
CN111310086A (en) | Page jump method and device and electronic equipment | |
JP6099788B1 (en) | Product data registration terminal, product data registration method, and product data registration program | |
CN107291235B (en) | Control method and device | |
CN110399069A (en) | Image display method and device | |
CN109064464A (en) | Method and apparatus for detecting battery pole piece burr |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191101 |
|
RJ01 | Rejection of invention patent application after publication |