[go: up one dir, main page]

CN105843604A - Animation playing method and device - Google Patents

Animation playing method and device Download PDF

Info

Publication number
CN105843604A
CN105843604A CN201610153571.8A CN201610153571A CN105843604A CN 105843604 A CN105843604 A CN 105843604A CN 201610153571 A CN201610153571 A CN 201610153571A CN 105843604 A CN105843604 A CN 105843604A
Authority
CN
China
Prior art keywords
animation
color value
interface element
application
generated
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
Application number
CN201610153571.8A
Other languages
Chinese (zh)
Inventor
李涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kylin Hesheng Network Technology Co Ltd
Original Assignee
Beijing Kylin Hesheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kylin Hesheng Network Technology Co Ltd filed Critical Beijing Kylin Hesheng Network Technology Co Ltd
Priority to CN201610153571.8A priority Critical patent/CN105843604A/en
Publication of CN105843604A publication Critical patent/CN105843604A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an animation playing method and device which are used for solving the problem that the application unloading process can not be displayed to a user in the prior art. The method comprises the steps of receiving an instruction specific to the application, wherein the instruction includes an application unloading instruction which is used for indicating unloading of the application or a simulation application unloading instruction which is used for indicating simulation of the unloading process of the application in a user graphic interface before the unloading of the application; generating the animation in response to the specific instruction in a way that the color value of the picture included by the to-be-generated animation is determined by the color value of an icon; and displaying the animation. The invention also discloses an animation playing device.

Description

A kind of animation playing method and device
Technical field
The application relates to field of computer technology, particularly relates to a kind of animation playing method and device.
Background technology
The most different application programs (Application, APP) is often installed on the mobile phone of user, when with When family need not certain application program, user can by the application icon of this APP is performed assigned operation with Reach to unload the purpose of this APP.
And current, user to mobile phone input specify APP unloading command after, this APP on mobile phone desktop Icon will be removed, the most unloaded to represent this APP, and in this case, user only can be led to Cross and check on mobile phone desktop, whether the icon of this APP is removed, the most unloaded to determine this APP.And Along with the continually developing of function of mobile phone, the APP that user mobile phone is installed also gets more and more, thus mobile phone APP icons different on desktop the most just becomes more and more, and now user has a large amount of APP icon in displaying Desktop on, it is desirable to by the way of checking on mobile phone desktop, whether APP icon is deleted, determine certain APP is the most unloaded also will become more and more inconvenient.
Thus, when APP is unloaded, how by showing the unloading of this APP intuitively to user Process, in order to user confirm this APP with unloaded, prior art does not provide more ripe solution.
Summary of the invention
The embodiment of the present application provides a kind of animation playing method, cannot be directly perceived in order to solve that prior art exists The problem showing application uninstall process to user.
The embodiment of the present application also provides for a kind of moving-image playback device, cannot be straight in order to solve that prior art exists See the problem showing application uninstall process to user.
The embodiment of the present application employing following technical proposals:
A kind of animation playing method, including:
Receive the designated order for application;Described designated order, including application unloading command or simulation application Unloading command;Wherein, described application unloading command, for instruction, described application is unloaded;Described mould Intend application unloading command, for instruction before described application is unloaded, at graphical interface of user to described The uninstall process of application is simulated;
In response to described designated order, determine that animation to be generated comprises according to according to the color value of described icon The mode of color value of picture, generate animation;
Play described animation.
A kind of moving-image playback device, including:
Instruction reception unit, for receiving the designated order for application;Described designated order, including application Unloading command or simulation application unloading command;Wherein, described application unloading command, answer described for instruction With unloading;Described simulation application unloading command, for instruction before described application is unloaded, The uninstall process of described application is simulated by graphical interface of user;
Animation producing unit, in response to described designated order, true according to the color value according to described icon The mode of the color value of the picture that fixed animation to be generated comprises, generates animation;
Animation broadcast unit, is used for playing described animation.
At least one technical scheme above-mentioned that the embodiment of the present application uses can reach following beneficial effect:
Due to when receiving the designated order for application, in response to described designated order, will be according to basis The color value of described icon determines the mode of the color value of the picture that animation to be generated comprises, and generates animation, And play described animation, such that it is able to during application unloading, by the form of animation, the most intuitively The uninstall process showing APP to user.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used for explaining the application, is not intended that to the application not Work as restriction.In the accompanying drawings:
The schematic flow sheet of a kind of animation playing method that Fig. 1 provides for the embodiment of the present application;
The schematic diagram of a kind of mobile phone desktop that Fig. 2 provides for the embodiment of the present application;
The schematic diagram of a kind of suspended window for playing animation that Fig. 3 provides for the embodiment of the present application;
The idiographic flow signal of the player method of a kind of application unloading animation that Fig. 4 provides for the embodiment of the present application Figure;
A kind of operational order inputting interface schematic diagram that Fig. 5 provides for the embodiment of the present application;
The schematic diagram of a kind of animation effect that Fig. 6 provides for the embodiment of the present application;
The schematic diagram of a kind of animation effect that Fig. 7 provides for the embodiment of the present application;
The schematic diagram of a kind of animation effect that Fig. 8 provides for the embodiment of the present application;
A kind of interface signal being confirmed whether to delete this application for user that Fig. 9 provides for the embodiment of the present application Figure;
The concrete structure schematic diagram of a kind of moving-image playback device that Figure 10 provides for the embodiment of the present application.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of the application protection.
Below in conjunction with accompanying drawing, describe the technical scheme that each embodiment of the application provides in detail.
Embodiment 1
The embodiment of the present application provides a kind of animation playing method, cannot be directly perceived in order to solve that prior art exists The problem showing application uninstall process to user.
The executive agent of the animation playing method that the embodiment of the present application provides, can be, but not limited to as mobile phone, puts down Plate computer, PC (Personal Computer, PC), intelligent television and any can installation should By at least one in the terminal unit of program.
For ease of describing, the embodiment as a example by executive agent the most in this way is mobile phone, to the method It is introduced.Be appreciated that the executive agent of the method be mobile phone be a kind of exemplary explanation, not It is interpreted as the restriction to the method.
The method implement schematic flow sheet as it is shown in figure 1, mainly comprise the steps:
Step 11, receives the designated order for application;
Described designated order, including application unloading command or simulation application unloading command.
Wherein, described application unloading command, for instruction, described application is unloaded;Described simulation application Unloading command, for instruction before unloading described application, at graphical interface of user to described application Uninstall process is simulated.
The described designated order for application, can be that user is by holding this APP icon on mobile phone desktop Row specific operation and trigger, described specific operation can include at least one in operations described below: clicks on behaviour Work, slide and long pressing operate, etc..
Step 12, in response to the designated order received, according to determining to be generated according to the color value of described icon The mode of the color value of the picture that the animation become comprises, generates animation;
Usually, in the installation kit of application, often preserve the picture as this application icon, then can be from In application installation kit, it is thus achieved that the picture of this application icon.
Wherein, described color value, such as may refer in software for representing six hexadecimal numbers of color Value, six bit digital are divided into 3 groups, often group two, represent the intensity of three kinds of colors of red, green, blue successively, i.e. RGB (Red Green Blue, RGB) color mode.Different colors can by red, green, Blue three kinds of basic colors superpositions are formed, then the first color value of different colours can by show redness, green, Three numeric representations of blue each ingredient intensity.
It should be noted that the color value of application icon often also needs to reflect this icon in the embodiment of the present application Transparency relevant information, thus in the embodiment of the present application, the color value of icon can use transparency+RGB (Alpha+Red Green Blue, ARGB) color mode represents, i.e. the color value of application icon by 32-bit number represents, wherein reflects the numeral of transparency and the numeral of reflection three kinds of color intensities of red, green, blue Respectively account for 8 in 32-bit number.
In order to make user by generate animation and can the relatively straightforward icon associating APP of ratio, permissible Color value according to application icon determines the color value of different interface elements in animation to be generated, and this just makes The interface element comprised in the animation that must generate has the color characteristic of this APP icon, and then is moved by this Drawing the color of median surface element, user can have the APP icon of same color than relatively straightforward associating, In one embodiment, the specific implementation of step 12 includes: according to the color value of described icon, Determine the color value of interface element in the picture that animation to be generated comprises;According to the described interface determined The color value of element, generates animation.
Usually, in APP icon, zones of different often has different color value, thus how according to APP The color value of each interface element that the color value of zones of different comprises in determining animation to be generated in icon, In one embodiment, the method that the embodiment of the present application provides specifically may include that according to predetermined bitmap Cutting mode, determines and the bitmap that described icon is corresponding cuts the sub-bitmap obtained;According to described sub-position The color value of figure, determines the color value of described interface element.
It should be noted that user can be according to the difference of the size of different APP icons, or root According to the difference of APP type, the cutting mode of different APP icon is set flexibly.
Such as, the area of " APP1 icon " more than the area of " APP2 icon ", then can arrange APP1 The cutting mode of icon is for cutting into 400 subgraphs, and arranges the cutting mode of APP2 icon for cutting into 100 subgraphs.The most such as, the cutting mode of " news category APP " icon can be set for cutting into triangle The subgraph of shape, the cutting mode of setting " music class APP " icon is for cutting into square, and arranges The cutting mode of " social class APP " icon is that cut growth is square, etc..
It should be noted that the icon of described application can be the appointment image pre-set, it is also possible to in advance The assignment graph first arranged, the icon of the most described application can be that bitmap (bitmap) can also be for vectogram (vector)。
Usually, the color value that bitmap is possessed is the color value of each pixel in this bitmap, therefore may be used With according in this bitmap, be in the color value of the pixel of diverse location, determine this bitmap zones of different Color value.And vectogram can be had different colours and the generation of difform graphics combine by multiple (such as, being overlapped combination by having the figure of different colours to two kinds, the new figure obtained is permissible Present other colors being different from above two color), in the picture file of vectogram, general preservation is Constitute the information of each picture of this vectogram, in this case, when the icon of APP is vectogram, Possibly cannot determine the color value of zones of different in APP icon according to this vectogram.
Thus, when the picture as APP icon is vectogram, can first described vectogram be converted For bitmap, and then determine this APP according to the color value converting APP icon that obtain, bitmap format The color value of zones of different in icon.
It should be noted that after by the bitmap that APP icon is corresponding is cut, the sub-bitmap obtained It is likely to there is different color value, in one embodiment, it may be necessary to comprised not from sub-bitmap With color value determines a certain color value color value as described sub-bitmap, in one embodiment, can By following two mode, to obtain the color value of sub-bitmap after determining cutting, specifically to may include that
Mode 1: determine the color value of the pixel being in described sub-bitmap specified location, as described sub-position The color value of figure;
For example, it is possible to the color value being in sub-bitmap center pixel to be defined as the color of described sub-bitmap Value.
Mode 2: determine the color value corresponding to dominant hue of described sub-bitmap, as the face of described sub-bitmap Colour;
Wherein, above-mentioned " dominant hue " the basic tendency representing color appearance.Specifically, though piece image So use multiple color, but image generally had a kind of tendency at color, be such as the most blue or the reddest, Being partially to warm up or colder etc., the basic tendency of color appearance is exactly the dominant hue of piece image.Generally, mass-tone Adjust and divide in terms of changes in temperature, can have " warm tones ", " cool tone " and " semi-tone ".Typically Ground, red, orange, yellow is expression warm tones;Green, blue, black represents cool tone;And Lycoperdon polymorphum Vitt, Purple, white then represent semi-tone.The brightness of cool tone is the highest, and its overall sensation is the warmest, warm tones Brightness the highest, its entirety feels the most colder.
For example, it is possible to the color value of major part pixel in sub-bitmap is defined as the color of described sub-bitmap Value.
Employing mode 2 provides the method for stator bitmap color value really, and the color value of the sub-bitmap determined is The color value corresponding to dominant hue of described sub-bitmap is true, in this case, determines the sub-bitmap that obtains Color value the most more can represent the color value that this sub-bitmap is had.
In order to so that the animation generated has different animation effects, in one embodiment, this Shen Please embodiment provide method may include that according to described interface element in animation to be generated animation effect The information of fruit, and the color value of the described interface element determined, generate and possess the dynamic of described animation effect Draw.
Wherein, the information of described interface element animation effect in animation to be generated, such as can include At least one in following information:
Information 1: the calculation of described interface element movement locus in animation to be generated;
According to the start position information of the interface element comprised in animation to be generated, and interface element is to be generated The calculation of the movement locus in the animation become, can calculate interface element institute in each frame animation picture The position at place, and then may determine that interface element movement locus in animation.
Information 2: described interface element color variation pattern in animation to be generated;
Wherein, described color variation pattern includes: the change of interface element color value and the change of color value Speed, then according to described interface element color variation pattern in animation to be generated, it may be determined that interface Element color value in each frame picture of animation to be generated.Such as, according to described color variation pattern be " by Blueness becomes red ", then may determine that in animation to be generated, color value is blue interface element Color will become red, so animation to be generated can be determined according to described color variation pattern and color The animation effect that change is relevant.
Information 3: described interface element area change mode in animation to be generated;
At the beginning of described interface element area change mode in animation to be generated and interface element Beginning area, it may be determined that interface element size in each frame picture of animation to be generated.
Information 4: described interface element change of shape mode in animation to be generated;
Wherein, at least one during the shape of described interface element can include but are not limited to following shape:
Circle, square, triangle, rectangle, etc..
For example, it is assumed that change of shape mode is " being become round by square ", then may determine that to be generated Animation in, being shaped as foursquare interface element will become round, and then can be according to described change of shape Mode determines the animation effect relevant to change of shape of animation to be generated.
Information 5: described interface element transparency change mode in animation to be generated;
It should be noted that the animation of described generation is to show, to user, the process that application is unloaded, because of And in animation, represent that the interface element of APP icon can present the animation effect faded out until disappearing, i.e. The transparency of the interface element in animation is become transparent from opaque.
Information 6: described interface element brightness flop mode in animation to be generated.
Owing to the animation of described generation is to show unloaded process of applying to user, thus described interface Element brightness flop mode in animation to be generated can be typically: " by bright dimmed ".
It is determined by the information of the interface element above-mentioned animation effect in animation to be generated, tool can be generated There is the animation of different animation effect, such that it is able to bring preferable visual experience for user.
Step 13, plays described animation.
The animation generated by performing step 12 is played out, to show the uninstall process of application to user.
It should be noted that the specific implementation of step 13 may include that display is outstanding in current interface Floating window, plays described animation in suspended window.
Such as, mobile phone receives the unloading command for certain APP of user's input, and plays this APP of expression The animation of uninstall process, it is assumed that displaying interface that mobile phone is current as in figure 2 it is shown, then when playing animation, hands Machine will show the suspended window as shown in Fig. 3 dotted line frame, and playing animation in described suspended window.
Also, it should be noted the designated order for APP that mobile phone can receive user's input is permissible Including two kinds, it is respectively as follows: application unloading command and simulation application unloading command, in response to different instructions, Mobile phone is after playing animation, and the operation that can perform is the most different, specifically can include two kinds of feelings Condition:
Situation 1: when described designated order includes described application unloading command;
Mobile phone is after playing by performing the animation that step 12 generates, by the table from described application icon place In face, delete described icon.
Situation 2: when described designated order includes described simulation application unloading command;
Displaying, after playing by performing the animation that step 12 generates, is confirmed whether to delete by mobile phone for user The interface of described application, and receive confirmation that user is inputted, that confirm to delete described application by described interface Instruction;Confirm instruction in response to described, from the desktop at described icon place, delete described icon.
Under the scene described in situation 2, for imitate application uninstall process animation finish playing after, hands Machine will prompt the user whether to unload this application again, confirm " to delete by animation simulation application unloading and ejection Except interface " mode, can allow user that the application that will unload repeatedly is confirmed, such that it is able to from one Determine to avoid in degree the unloading application of the maloperation due to user and mistake.
Use the embodiment of the present application 1 provide method, due to receive for application designated order time, In response to described designated order, will determine what animation to be generated comprised according to according to the color value of described icon The mode of the color value of picture, generates animation, and plays described animation, such that it is able in the mistake of application unloading Cheng Zhong, by the form of animation, shows the uninstall process of APP the most intuitively to user.
Embodiment 2
The embodiment of the present application provides the player method of a kind of application unloading animation, deposits in order to solve prior art Cannot intuitively to user show application uninstall process problem.The method implement schematic flow sheet As shown in Figure 4, mainly comprise the steps:
Step 21, user presses APP icon on desktop by long, to trigger cell phone display as shown in Figure 5 Operational order inputting interface;
Step 22: user by clicking on " Uninstall " button in described operational order inputting interface, with Trigger unloading dummy instruction;
It should be noted that described operational order inputting interface also includes: " APP Information " presses Key, user, by clicking on this button, can trigger mobile phone and be shown the relevant information of this APP.
Step 23: the unloading dummy instruction that mobile phone inputs in response to user, generates unloading animation, and broadcasting should Animation, the result of broadcast of unloading animation is as shown in Figure 6 to 8;
Concrete, about the associated description in the generating mode detailed in Example 1 of unloading animation, the most no longer Repeat.
Step 24: mobile phone, after playing unloading animation, is confirmed whether to delete this application for user by showing Interface, as shown in Figure 9.
Step 25: user is by clicking on " OK " button in interface as shown in Figure 9, to trigger confirmation Deleting the confirmation instruction of described application, mobile phone confirms instruction, from the desktop at described icon place in response to described In, delete described icon.
When " Cancel " button during user clicks on interface as shown in Figure 9, triggering is cancelled deletion institute Stating the instruction of application, mobile phone, in response to this instruction, will retain the icon of this application at desktop.
Use the embodiment of the present application 2 provide method, due to receive for application designated order time, In response to described designated order, will determine what animation to be generated comprised according to according to the color value of described icon The mode of the color value of picture, generates animation, and plays described animation, such that it is able in the mistake of application unloading Cheng Zhong, by the form of animation, shows the uninstall process of APP the most intuitively to user.
Embodiment 3
The embodiment of the present application provides a kind of moving-image playback device, cannot be straight in order to solve that prior art exists See the problem showing application uninstall process to user.The concrete structure schematic diagram of this device as shown in Figure 10, Including: instruction reception unit 31, animation producing unit 32 and animation broadcast unit 33.
Wherein, instruction reception unit 31, for receiving the designated order for application;Described designated order, Including application unloading command or simulation application unloading command;Wherein, described application unloading command, it is used for indicating Described application is unloaded;Described simulation application unloading command, is unloading described application for instruction Before load, at graphical interface of user, the uninstall process of described application is simulated;
Animation producing unit 32, in response to described designated order, according to the color value according to described icon Determine the mode of the color value of the picture that animation to be generated comprises, generate animation;
Animation broadcast unit 33, is used for playing described animation.
In one embodiment, animation producing unit 32, it is used for: according to the color value of described icon, really The color value of the interface element in the picture that fixed animation to be generated comprises;According to the described Interface Element determined The color value of element, generates animation.
In one embodiment, animation producing unit 32, it is used for: according to predetermined bitmap cutting mode, Determine and the bitmap that described icon is corresponding is cut the sub-bitmap obtained;Color according to described sub-bitmap Value, determines the color value of described interface element.
In one embodiment, the color value of described sub-bitmap, including following at least one: be in described The color value of the pixel of sub-bitmap specified location;The color value corresponding to dominant hue of described sub-bitmap.
In one embodiment, animation producing unit 32, it is used for: according to described interface element to be generated Animation in the information of animation effect, and the color value of the described interface element determined, generation possesses The animation of described animation effect.
In one embodiment, the information of described interface element animation effect in animation to be generated, Including following at least one: the calculation of described interface element movement locus in animation to be generated; Described interface element color variation pattern in animation to be generated;Described interface element moves to be generated Area change mode in picture;Described interface element change of shape mode in animation to be generated;Described Interface element transparency change mode in animation to be generated;Described interface element is at animation to be generated In brightness flop mode.
In one embodiment, animation broadcast unit 33, it is additionally operable to: when described designated order includes described During application unloading command, after playing described animation, from the desktop at described icon place, delete described icon.
In one embodiment, animation broadcast unit 33, it is additionally operable to: when described designated order includes described During simulation application unloading command, after playing described animation, show and be confirmed whether to delete described application for user Interface, and receive confirmation instruction that user is inputted, that confirm to delete described application by described interface;Response Confirm instruction in described, from the desktop at described icon place, delete described icon.
In one embodiment, the shape of described interface element, including following at least one: circular, just Square, triangle.
In one embodiment, animation broadcast unit 33, it is used for: in current interface, show suspended window, Described animation is play in suspended window.
Use the embodiment of the present application 3 provide device, due to receive for application designated order time, In response to described designated order, will determine what animation to be generated comprised according to according to the color value of described icon The mode of the color value of picture, generates animation, and plays described animation, such that it is able in the mistake of application unloading Cheng Zhong, by the form of animation, shows the uninstall process of APP the most intuitively to user.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM). Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non- Comprising of exclusiveness, so that include that the process of a series of key element, method, commodity or equipment not only wrap Include those key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM, Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.

Claims (20)

1. an animation playing method, it is characterised in that including:
Receive the designated order for application;Described designated order, including application unloading command or simulation application Unloading command;Wherein, described application unloading command, for instruction, described application is unloaded;Described mould Intend application unloading command, for instruction before described application is unloaded, at graphical interface of user to described The uninstall process of application is simulated;
In response to described designated order, determine that animation to be generated comprises according to according to the color value of described icon The mode of color value of picture, generate animation;
Play described animation.
2. the method for claim 1, it is characterised in that according to the color value according to described icon Determine the mode of the color value of the picture that animation to be generated comprises, generate animation, including:
According to the color value of described icon, determine the face of interface element in the picture that animation to be generated comprises Colour;
According to the color value of the described interface element determined, generate animation.
3. method as claimed in claim 2, it is characterised in that according to the color value of described icon, really The color value of the interface element in the picture that fixed animation to be generated comprises, including:
According to predetermined bitmap cutting mode, determine and the bitmap that described icon is corresponding is cut the son obtained Bitmap;
According to the color value of described sub-bitmap, determine the color value of described interface element.
4. method as claimed in claim 3, it is characterised in that the color value of described sub-bitmap, including Following at least one:
It is in the color value of the pixel of described sub-bitmap specified location;
The color value corresponding to dominant hue of described sub-bitmap.
5. method as claimed in claim 2, it is characterised in that according to the described interface element determined Color value, generate animation, including:
According to the information of described interface element animation effect in animation to be generated, and the institute determined State the color value of interface element, generate the animation possessing described animation effect.
6. method as claimed in claim 5, it is characterised in that described interface element moves to be generated The information of the animation effect in picture, including following at least one:
The calculation of described interface element movement locus in animation to be generated;
Described interface element color variation pattern in animation to be generated;
Described interface element area change mode in animation to be generated;
Described interface element change of shape mode in animation to be generated;
Described interface element transparency change mode in animation to be generated;
Described interface element brightness flop mode in animation to be generated.
7. the method for claim 1, it is characterised in that when described designated order includes described answering When using unloading command, after playing described animation, described method also includes:
From the desktop at described icon place, delete described icon.
8. the method for claim 1, it is characterised in that when described designated order includes described mould When intending application unloading command, after playing described animation, described method also includes:
Show and be confirmed whether to delete the interface of described application for user, and receive user and inputted by described interface , confirm delete described application confirmation instruction;
Confirm instruction in response to described, from the desktop at described icon place, delete described icon.
9. method as claimed in claim 2, it is characterised in that the shape of described interface element, including Following at least one:
Circular, square, triangle.
10. the method for claim 1, it is characterised in that play described animation, including:
Current interface shows suspended window, suspended window is play described animation.
11. 1 kinds of moving-image playback devices, it is characterised in that including:
Instruction reception unit, for receiving the designated order for application;Described designated order, including application Unloading command or simulation application unloading command;Wherein, described application unloading command, answer described for instruction With unloading;Described simulation application unloading command, for instruction before described application is unloaded, The uninstall process of described application is simulated by graphical interface of user;
Animation producing unit, in response to described designated order, true according to the color value according to described icon The mode of the color value of the picture that fixed animation to be generated comprises, generates animation;
Animation broadcast unit, is used for playing described animation.
12. devices as claimed in claim 11, it is characterised in that animation producing unit, are used for:
According to the color value of described icon, determine the face of interface element in the picture that animation to be generated comprises Colour;
According to the color value of the described interface element determined, generate animation.
13. devices as claimed in claim 12, it is characterised in that animation producing unit, are used for:
According to predetermined bitmap cutting mode, determine and the bitmap that described icon is corresponding is cut the son obtained Bitmap;
According to the color value of described sub-bitmap, determine the color value of described interface element.
14. devices as claimed in claim 13, it is characterised in that the color value of described sub-bitmap, bag Include following at least one:
It is in the color value of the pixel of described sub-bitmap specified location;
The color value corresponding to dominant hue of described sub-bitmap.
15. devices as claimed in claim 12, it is characterised in that animation producing unit, are used for:
According to the information of described interface element animation effect in animation to be generated, and the institute determined State the color value of interface element, generate the animation possessing described animation effect.
16. devices as claimed in claim 15, it is characterised in that described interface element is to be generated The information of the animation effect in animation, including following at least one:
The calculation of described interface element movement locus in animation to be generated;
Described interface element color variation pattern in animation to be generated;
Described interface element area change mode in animation to be generated;
Described interface element change of shape mode in animation to be generated;
Described interface element transparency change mode in animation to be generated;
Described interface element brightness flop mode in animation to be generated.
17. devices as claimed in claim 11, it is characterised in that animation broadcast unit, are additionally operable to:
When described designated order includes described application unloading command, after playing described animation, from described icon In the desktop at place, delete described icon.
18. devices as claimed in claim 11, it is characterised in that animation broadcast unit, are additionally operable to:
When described designated order includes described simulation application unloading command, after playing described animation, show and supply User is confirmed whether to delete the interface of described application, and receive that user is inputted by described interface, confirm to delete Except the confirmation of described application instructs;
Confirm instruction in response to described, from the desktop at described icon place, delete described icon.
19. devices as claimed in claim 12, it is characterised in that the shape of described interface element, bag Include following at least one:
Circular, square, triangle.
20. devices as claimed in claim 11, it is characterised in that animation broadcast unit, are used for:
Current interface shows suspended window, suspended window is play described animation.
CN201610153571.8A 2016-03-17 2016-03-17 Animation playing method and device Pending CN105843604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610153571.8A CN105843604A (en) 2016-03-17 2016-03-17 Animation playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610153571.8A CN105843604A (en) 2016-03-17 2016-03-17 Animation playing method and device

Publications (1)

Publication Number Publication Date
CN105843604A true CN105843604A (en) 2016-08-10

Family

ID=56587167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610153571.8A Pending CN105843604A (en) 2016-03-17 2016-03-17 Animation playing method and device

Country Status (1)

Country Link
CN (1) CN105843604A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106504303A (en) * 2016-09-13 2017-03-15 广州华多网络科技有限公司 A kind of method and apparatus for playing frame animation
CN108762867A (en) * 2018-05-18 2018-11-06 麒麟合盛网络技术股份有限公司 Suspension menu setting method and device
CN110134527A (en) * 2019-04-09 2019-08-16 阿里巴巴集团控股有限公司 Data processing method, client and electronic equipment
CN111324407A (en) * 2020-01-23 2020-06-23 努比亚技术有限公司 Animation display method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237402A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Method for managing application and electronic device thereof
CN104898924A (en) * 2015-05-22 2015-09-09 小米科技有限责任公司 Elimination method and device for pictures of application programs
CN105117245A (en) * 2015-08-04 2015-12-02 小米科技有限责任公司 Method and apparatus for uninstalling application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237402A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Method for managing application and electronic device thereof
CN104898924A (en) * 2015-05-22 2015-09-09 小米科技有限责任公司 Elimination method and device for pictures of application programs
CN105117245A (en) * 2015-08-04 2015-12-02 小米科技有限责任公司 Method and apparatus for uninstalling application program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106504303A (en) * 2016-09-13 2017-03-15 广州华多网络科技有限公司 A kind of method and apparatus for playing frame animation
CN106504303B (en) * 2016-09-13 2019-11-26 广州华多网络科技有限公司 A kind of method and apparatus playing frame animation
CN108762867A (en) * 2018-05-18 2018-11-06 麒麟合盛网络技术股份有限公司 Suspension menu setting method and device
CN110134527A (en) * 2019-04-09 2019-08-16 阿里巴巴集团控股有限公司 Data processing method, client and electronic equipment
CN111324407A (en) * 2020-01-23 2020-06-23 努比亚技术有限公司 Animation display method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106873863B (en) Method and device for setting interface switching animation
US7146573B2 (en) Automatic window representation adjustment
CN104781850B (en) The graphic user interface layout of automation
CN106855797A (en) The method to set up and device of a kind of interface element color
CN109785410A (en) Layer merging method, device and related components
KR20170078651A (en) Authoring tools for synthesizing hybrid slide-canvas presentations
CN105843604A (en) Animation playing method and device
CN109408177A (en) Method and device for configuring color of characters in picture and electronic equipment
CN105955754A (en) Method and device for displaying characters of user interface
CN114020394B (en) Image display method, device and electronic equipment
CN109410295A (en) Color setting method, device, equipment and computer readable storage medium
CN106330678A (en) Application message reminding method and system
CN107438835A (en) Realize the method, apparatus and electronic equipment to the operation of another operating system
CN106022010A (en) File display method and device
CN110174984B (en) Information processing method and electronic equipment
CN107563177A (en) Cipher processing method, device and computer-readable recording medium
US20160253828A1 (en) Display control system, and graph display method
CN107294835A (en) Document sending method and device in a kind of instant messaging
US8843840B2 (en) Custom user interface presentation
CN104238889A (en) Display method and electronic equipment
CN106445501A (en) Display method of notification bar, and terminal
CN111061480B (en) Method and device for rendering multi-layer material based on NGUI
CN112541955B (en) Image processing method, device and equipment
CN110119630A (en) Control method and device of electronic equipment, storage medium and processor
CN108763882A (en) Authority setting method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160810