摘要:
A method and mobile terminal for enabling a screen-switching animation The method comprises the following steps of: setting color values for all the pixel points in a first and a second training image, wherein the colors values are different from one another; generating a training sequence with the color values of all the pixel points in the first and the second training image according to the conversion rule of each frame in a screen-switching animation; and playing a screen-switching animation between the current screen and the next screen according to the training sequence. The present invention increases the smoothness of a screen-switching animation and improves user experience.
摘要:
The present invention discloses a method and mobile terminal for enabling a screen-switching animation. The method comprises the following steps of: setting color values for all the pixel points in a first and a second training image, wherein the colors values are different from one another; generating a training sequence with the color values of all the pixel points in the first and the second training image according to the conversion rule of each frame in a screen-switching animation; and playing a screen-switching animation between the current screen and the next screen according to the training sequence. The present invention increases the smoothness of a screen-switching animation and improves user experience.
摘要:
The present invention discloses a mobile terminal data refreshing method and a mobile terminal. The above method comprises: updating interface image data of a HOME User Interface (HOME UI) and/or a local top bar, synthesizing interface image of the HOME UI and the local top bar into top bar image data with transparency; and displaying the top bar image data in the top bar window of the desktop of the mobile terminal. According to the technical solution provided in the present invention, the local top bar can be easily integrated into the HOME UI to implement translucent display style, and all functions of the top bar of the HOME UI can not be affected.
摘要:
The present invention discloses a mobile terminal data refreshing method and a mobile terminal. The above method comprises: updating interface image data of a HOME User Interface (HOME UI) and/or a local top bar, synthesizing interface image of the HOME UI and the local top bar into top bar image data with transparency; and displaying the top bar image data in the top bar window of the desktop of the mobile terminal. According to the technical solution provided in the present invention, the local top bar can be easily integrated into the HOME UI to implement translucent display style, and all functions of the top bar of the HOME UI can not be affected.
摘要:
The present invention discloses a method and an apparatus for rendering fonts of a user interface, both of which can establish a font cache table to cache fonts needed to be rendered, searches a font needed to be rendered in the font cache table and returns that font, and renders the founded font needed to be rendered. The method and the apparatus of the present invention pre-cache the fonts needed to be rendered by establishing the font cache table, so that the font rendering efficiency of the user interface can be improved significantly, especially the fluency of a dynamic user interface which contains plenty of font rendering is not reduced following the plenty of font rendering. In addition, the present invention further proposes a font supplementary scheme and a maintenance scheme of the font cache table, so as to make the present invention have more practical value.
摘要:
The present application discloses a method and device for an electronic terminal to realize desktop switching, and the electronic terminal thereof to avoid monotonous desktop switching through screen sliding and to enrich the functions of the electronic terminal. The method includes that: a current motion state of an electronic terminal is acquired by way of an acceleration sensor arranged in the electronic terminal; a primary desktop switching mode corresponding to the current motion state is determined according to a stored corresponding relation between a motion state and a desktop switching mode; and desktop switching is performed according to the primary desktop switching mode.
摘要:
The present invention discloses a method and an apparatus for rendering fonts of a user interface, both of which can establish a font cache table to cache fonts needed to be rendered, searches a font needed to be rendered in the font cache table and returns that font, and renders the founded font needed to be rendered. The method and the apparatus of the present invention pre-cache the fonts needed to be rendered by establishing the font cache table, so that the font rendering efficiency of the user interface can be improved significantly, especially the fluency of a dynamic user interface (such as sliding of user interface, dragging of icon) which contains plenty of font rendering is not reduced following the plenty of font rendering. In addition, the present invention further proposes a font supplementary scheme and a maintenance scheme of the font cache table, so as to make the present invention have more practical value.