CN106909393B - Display adjustment method of input method panel and mobile terminal - Google Patents

Display adjustment method of input method panel and mobile terminal Download PDF

Info

Publication number
CN106909393B
CN106909393B CN201710117381.5A CN201710117381A CN106909393B CN 106909393 B CN106909393 B CN 106909393B CN 201710117381 A CN201710117381 A CN 201710117381A CN 106909393 B CN106909393 B CN 106909393B
Authority
CN
China
Prior art keywords
input method
frame
panel
method panel
display position
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.)
Active
Application number
CN201710117381.5A
Other languages
Chinese (zh)
Other versions
CN106909393A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710117381.5A priority Critical patent/CN106909393B/en
Publication of CN106909393A publication Critical patent/CN106909393A/en
Application granted granted Critical
Publication of CN106909393B publication Critical patent/CN106909393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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

Landscapes

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

Abstract

The embodiment of the invention provides a display adjustment method of an input method panel and a mobile terminal, wherein the method comprises the following steps: when the input method panel is determined to be called, calling the current display configuration parameters of the input method panel; determining the display position range of the input method panel on a screen according to the current display configuration parameters; and drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards on the screen every time the input method panel is drawn, until the input method panel is drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range. The embodiment of the invention can ensure the smooth switching of the input method panel state.

Description

Display adjustment method of input method panel and mobile terminal
Technical Field
The invention relates to the technical field of input methods, in particular to a display adjustment method of an input method panel and a mobile terminal.
Background
The input method panel is a panel for inputting information in an input method, and a virtual keyboard for inputting information is generally provided in the panel. When the input method is used on mobile terminals such as smart phones and tablet computers, the state switching of an input method panel is involved, namely the input method panel is switched between a calling state and a hidden state; specifically, when the input method needs to be used, the input method panel can be called, the input method panel is loaded and displayed on a screen, and meanwhile, the layout of a user interface is adjusted, so that a user can operate the input method panel to realize information input; when the input method is quitted, the input method panel can be hidden and the user interface can be displayed.
For example, a mobile terminal equipped with an operating system such as android and the like, at present, mainly uses an input method calling mode provided by the operating system to realize the switching between the calling and hiding states of an input method panel, and the layout of a user interface needs to be adjusted every time the calling and hiding of the input method panel are switched, if the state switching of the input method panel cannot be accurately controlled, the shaking of the user interface is possibly caused when the state of the input method panel is switched, so that the normal use of a user is influenced; therefore, how to smoothly realize the state switching of the input method panel (i.e. realize the smooth switching of the state of the input method panel) becomes a problem to be considered by those skilled in the art.
Disclosure of Invention
In view of this, embodiments of the present invention provide a display adjustment method for an input method panel and a mobile terminal, so as to ensure smooth switching of states of the input method panel.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
an input method panel display adjustment method includes:
when the input method panel is determined to be called, calling the current display configuration parameters of the input method panel;
determining the display position range of the input method panel on a screen according to the current display configuration parameters;
and drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards on the screen every time the input method panel is drawn, until the input method panel is drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range.
The embodiment of the invention also provides an input method panel display adjusting method, which comprises the following steps:
when the hidden input method panel is determined, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
and hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen until the input method panels are completely hidden every time one frame of input method panel is hidden, and moving the content corresponding to the size of the display position range downwards on the screen.
The embodiment of the invention also provides an input method panel display adjusting method, which comprises the following steps:
when the input method panel is determined to be switched to the expression panel, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly filling the expression panel in the display position range when hiding one frame of input method panel until the input method panel is completely hidden and the expression panel is completely filled in the display position range.
An embodiment of the present invention further provides a mobile terminal, including:
the first parameter calling module is used for calling the current display configuration parameters of the input method panel when the input method panel is determined to be called;
the first position range determining module is used for determining the display position range of the input method panel on the screen according to the current display configuration parameters;
and the panel call-up execution module is used for drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards on the screen correspondingly when drawing one frame of input method panel until the input method panel is completely drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range.
An embodiment of the present invention further provides a mobile terminal, including:
the second parameter calling module is used for calling the current display configuration parameters of the input method panel when the hidden input method panel is determined;
the second position range determining module is used for determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
and the panel hiding execution module is used for hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen until the input method panels are completely hidden every time one frame of input method panel is hidden, and moving the content corresponding to the size of the display position range downwards on the screen by the user interface.
An embodiment of the present invention further provides a mobile terminal, including:
the third parameter calling module is used for calling the current display configuration parameters of the input method panel when the input method panel is determined to be switched to the expression panel;
the third position range determining module is used for determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
and the panel switching execution module is used for keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, correspondingly filling the expression panel in the display position range when the input method panel is hidden for each frame until the input method panel is completely hidden and the expression panel is completely filled in the display position range.
Based on the technical scheme, the input method panel display adjustment method provided by the embodiment of the invention can call the current display configuration parameters of the input method panel when the input method panel is determined to be called, determine the display position range of the input method panel on the screen according to the current display configuration parameters, further draw the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and correspondingly move the user interface on the screen up until the input method panel is completely drawn in the display position range after drawing the input method panel one frame each time, and move the user interface up on the screen according to the content corresponding to the size of the display position range. Therefore, in the embodiment of the invention, the layout of the user interface can be adjusted according to the drawing linkage of each frame of the input method panel, so that the layout adjustment of the user interface on the screen is linked with the drawing of each frame of the input method panel, the smoothness of loading and displaying the input method panel on the screen is improved, and the smooth switching of the states of the input method panel is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an input method panel display adjustment method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for drawing an input method panel according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a panel for drawing an input method;
FIG. 4 is a flowchart of another method for drawing an input method panel according to an embodiment of the present invention;
FIG. 5 is another schematic diagram of a panel depicting an input method;
FIG. 6 is a flowchart of a method for terminating rendering of a current frame of an input method panel;
FIG. 7 is another flowchart of a method for adjusting a display of an input method panel according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a hidden input method panel;
FIG. 9 is another diagram of a hidden input method panel;
FIG. 10 is a flowchart illustrating a method for adjusting a display of an input method panel according to an embodiment of the present invention;
FIG. 11 is a diagram illustrating switching an input method panel to an expression panel;
FIG. 12 is another diagram illustrating switching an input method panel to an expression panel;
fig. 13 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 14 is another block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 15 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 16 is a block diagram of another structure of a mobile terminal according to an embodiment of the present invention;
fig. 17 is a block diagram of another structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The display adjustment method for the input method panel provided by the embodiment of the invention can be divided into an input method panel call display adjustment method (namely, the input method panel display adjustment method used when the input method panel is called) and an input method panel hidden display adjustment method (namely, the input method panel display adjustment method used when the input method panel is hidden). The following description will be made of the input method panel display adjustment method from the perspective of calling up the input method panel and hiding the input method panel, respectively.
It should be noted that the following relates to the concepts of the input method panel, the screen and the user interface, and these concepts are described and explained herein; the screen can be regarded as a display screen of electronic equipment such as a mobile terminal and the like, and is a carrier for displaying content, and an input method panel and a user interface are displayed on the screen; the input method panel is a panel for inputting information in an input method, such as a commonly used Sudoku keyboard (virtual keyboard) panel, a full spelling keyboard (virtual keyboard) panel and the like; the user interface can be regarded as a human-computer interaction interface of an Application (APP), an input box for calling an input method panel is arranged in the user interface, the content input through the input method panel is related to the input box of the user interface, if the input box is activated in the user interface displayed on the screen, the input method panel is displayed on the screen, and the layout of the user interface on the screen is correspondingly adjusted due to the display of the input method panel.
The following first introduces the input method panel display adjustment method provided by the embodiment of the present invention from the perspective of invoking the input method panel. Fig. 1 is a flowchart illustrating a method for adjusting display of an input method panel, which is applicable to a mobile terminal and may include, in accordance with fig. 1:
and step S100, when the input method panel is determined to be called up, calling the current display configuration parameters of the input method panel.
Optionally, the embodiment of the present invention may determine whether to invoke the input method panel by determining whether to detect an input method panel invocation instruction, for example, when detecting the input method panel invocation instruction, determining to invoke the input method panel; the input method panel evoking instruction can be generated by user operation, for example, a user can click an input box of a user interface to generate the input method panel evoking instruction.
Further, since an operating system such as android is not completely open to an API (Application programming interface) related to an input method, and a calling method of the input method is basically a black box for a developer (that is, the calling method of the input method is unknown for the developer), when an input method panel call instruction is detected, it is not guaranteed that the operating system such as android will call the input method panel certainly, and there may be a case where the input method panel is not called although the input method panel call instruction is generated based on a user operation;
based on this, the embodiment of the invention can add a detection component in the user interface, and when the detection component detects that the input method panel calls the instruction, the detection component judges whether the operating system calls the input method panel;
specifically, when the input method panel is called, the user interface is rearranged, and the user interface is squeezed to move upwards, at the moment, the input method applies for the display space of the input method panel on the screen from the operating system; in the embodiment of the invention, the detection component can detect whether the operating system receives the command of applying for the display space transmitted by the input method when detecting the input method panel call command so as to judge whether the operating system can call the input method panel; that is, if the detection component detects that the operating system receives an instruction for applying for a display space transmitted by an input method when detecting an input method panel call instruction, the input method panel can be determined to be called, otherwise, the input method panel is determined not to be called.
After the input method panel is determined to be called up, the embodiment of the invention can call the current display configuration parameters of the input method panel, and the current display configuration parameters can record the current panel display parameters (such as the width, the height and the like of the input method panel) of the input method panel and the current display environment parameters (such as the version of an operating system, the size of a screen, whether the screen is full, whether a navigation bar exists, whether a soft key exists and the like) of the input method panel; optionally, the display environment parameters may be obtained by collecting system data, and the panel display parameters may be initial width, high height parameters of the input method panel; after the user adjusts the setting of the input method panel (such as adjusting the width and high-level parameters of the input method panel) on the setting interface, the panel display parameters and/or the display environment parameters of the input method panel need to be adjusted.
And step S110, determining the display position range of the input method panel on the screen according to the current display configuration parameters.
After the current display configuration parameters of the input method panel are determined, the coordinate range of the input method panel displayed on the screen can be determined according to the panel display parameters and the display environment parameters of the input method panel, and the display position range of the input method panel on the screen is obtained;
specifically, the displaying environment parameters may include: screen parameters (such as screen size, whether the screen is full and the like), and correction parameters (such as operating system version, whether a navigation bar exists, whether a soft key exists and the like); the embodiment of the invention can determine the displayable coordinate range of the screen according to the screen parameters in the display environment parameters, further determine the initial coordinate range of the input method panel in the displayable coordinate range of the screen according to the panel display parameters (such as the width, the height and the like of the input method panel) of the input method panel, then correct the initial coordinate range according to the correction parameters in the display environment parameters, and determine the coordinate range of the input method panel in the screen, thereby obtaining the display position range of the input method panel in the screen.
For example, a full-screen with a size of 1080 × 1920 is taken as an example, the upper left corner of the screen is a coordinate origin (0, 0), the lower right corner is a maximum value of coordinates (1080, 1920), 4 vertex coordinates of the screen are (0, 0), (0, 1080), (0, 1920) and (1080, 1920), and a coordinate range formed by the 4 vertex coordinates of the screen is a displayable coordinate range of the screen;
since the input method panel is generally popped up from the bottom of the screen, the coordinate range of the input method panel on the screen needs to be calculated from the coordinate position of (1080, 1920); taking the panel display parameters with the height of 920 and the width of 1080 as an example, the vertex coordinates of the input method panel on the screen are (0, 1000), (1080, 1000), (0, 1920) and (1080, 1920), respectively, and the coordinate range formed by the 4 vertex coordinates can be regarded as the initial coordinate range of the input method panel in the displayable coordinate range of the screen; after the initial coordinate range of the input method panel is obtained, the initial coordinate range of the input method panel can be corrected by considering correction parameters such as the version of an operating system, whether a navigation bar exists, whether a soft key exists and the like, and the coordinate range of the input method panel on a screen is obtained. This paragraph illustrates the situation mainly based on the full screen display of the screen, and if the screen is half screen display, the displayable coordinate range of the screen needs to be adjusted accordingly.
And step S120, starting from the initial position of the display position range, drawing the input method panel in the display position range of the screen frame by frame, and moving the user interface upwards on the screen every time one frame of input method panel is drawn until the input method panel is completely drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range.
Optionally, in order to implement smooth switching of the states of the input method panel, the input method panel can be drawn by setting a plurality of frames, and in the drawing process, the layout adjustment of the user interface on the screen needs corresponding linkage, that is, the user interface needs to adjust the layout according to the drawing of each frame of the input method panel; specifically, in the embodiment of the present invention, the input method panel may be drawn in the display position range of the screen frame by frame from a starting position of the display position range (generally, the bottom of the display position range), and when one frame of the input method panel is drawn, according to a drawing range of the input method panel in a current frame of the screen, a content corresponding to a size of the drawing range at the top of the user interface may be moved up and hidden on the screen until the input method panel is drawn in the display position range for a set number of frames, and the user interface moves up on the screen according to the content corresponding to the size of the display position range.
Optionally, after the user interface moves up and down the screen, the content of the user interface beyond the screen is hidden.
Alternatively, the number of the setting number frames may be designated or set in advance.
Alternatively, after determining the display position range of the input method panel on the screen, the embodiment of the invention may draw the input method panel within the display position range of the screen by setting a number of frames, such as drawing a predetermined number of pixels of the input method panel each frame starting from the start position of the display position range, to draw all the pixels of the input method panel within the display position range by setting the number of frames; meanwhile, every time the input method panel is drawn for one frame, the content corresponding to the preset number of pixels at the top of the user interface is moved upwards and hidden on the screen.
Optionally, in the embodiment of the present invention, the display position range may also be divided into reference display position ranges corresponding to the number of the set number of frames according to the number of the set number of frames; in the process of drawing the input method panel, starting from the initial position of the display position range, drawing the content of the input method panel corresponding to the reference display position range in each frame, so as to draw the input method panel in the display position range by setting a plurality of frames; and simultaneously, moving up and hiding the content corresponding to the reference display position range on the top of the user interface on the screen when drawing one frame of input method panel.
The input method panel display adjustment method provided by the embodiment of the invention can call the current display configuration parameters of the input method panel when the input method panel is determined to be called, determine the display position range of the input method panel on the screen according to the current display configuration parameters, further draw the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and correspondingly move a user interface upwards on the screen until the input method panel is drawn in the display position range by setting a plurality of frames every time the input method panel is drawn, and move the user interface upwards on the screen by the content corresponding to the size of the display position range. Therefore, in the embodiment of the invention, the layout of the user interface can be adjusted according to the drawing linkage of each frame of the input method panel, so that the layout adjustment of the user interface on the screen is linked with the drawing of each frame of the input method panel, the smoothness of loading and displaying the input method panel on the screen is improved, and the smooth switching of the states of the input method panel is ensured.
Optionally, in the embodiment of the present invention, when each frame of the input method panel is drawn, a drawing range of the input method panel on the screen is determined, and the layout of the user interface on the screen is correspondingly adjusted according to the drawing range (for example, the content corresponding to the size of the drawing range on the top of the user interface is moved upwards and hidden on the screen), and after the layout of the user interface on the screen is correspondingly adjusted according to the drawing range, the next frame of the input method panel is continuously drawn within the display position range of the screen, so that the process is repeated until the input method panel is drawn within the display position range of the screen, and the layout of the user interface is also correspondingly adjusted on the screen.
In one aspect, the input method panel may draw a predetermined number of pixels per frame, and the user interface may hide the contents having the top corresponding to the predetermined number of pixels from moving up on the screen as the input method panel is drawn per frame.
Optionally, fig. 2 shows a flow of a method for drawing an input method panel according to an embodiment of the present invention, and referring to fig. 2, the flow may include:
and step S200, drawing a frame of input method panel, and drawing a preset number of pixels corresponding to the current frame of the input method panel in the display position range.
Optionally, the step S200 may be performed to draw a first frame of the input method panel, and accordingly, the embodiment of the present invention may draw the first frame of the input method panel from the start position of the display position range, that is, fill a predetermined number of pixels of the first frame of the input method panel from the start position, and simultaneously perform the step S210;
optionally, the frame drawn in step S200 may also be a non-first frame of the input method panel, and accordingly, in the embodiment of the present invention, on the basis of the drawing result of the previous frame of the display position range, the predetermined number of pixels corresponding to the current frame of the input method panel may be filled, and simultaneously, step S210 is executed;
therefore, when the input method panel of one frame is drawn, after the predetermined number of pixels corresponding to the frame is filled in the display position range, the content corresponding to the predetermined number of pixels on the top of the user interface at present needs to be moved upwards and hidden on the screen according to the predetermined number of pixels.
And step S210, moving up and hiding the content corresponding to the preset number of pixels on the top of the user interface on the screen.
Step S220, determining whether the input method panel is completely drawn in the display position range, if not, drawing the input method panel of the next frame, and executing step S200, and if so, executing step S230.
And step S230, ending the drawing.
Taking the example that 10 pixels are drawn by one frame of the input method panel, and if the total number of pixels of the input method panel is 50, the input method panel can be drawn in the display position range through drawing of 5 frames; referring to fig. 3, a is a display position range of the input method panel on the screen, starting from a start position of the display position range (generally, the bottom of the display position range), a first frame of the input method panel may be drawn, pixel contents of the input method panels 1 to 10 are drawn, and at the same time, starting from the top of the current display of the user interface on the screen, 10 pixel contents at the top of the user interface are moved up and hidden on the screen; then drawing a second frame of the input method panel, drawing 11-20 pixel contents on the basis of 1-10 pixel contents, and simultaneously moving up and hiding 10 pixel contents at the top of the user interface on a screen, so as to circulate until the input method panel finishes drawing all 50 pixel contents in the display position range, and correspondingly moving up and hiding 50 pixel contents on the user interface; alternatively, as shown in fig. 3, the size of the range drawn by each frame of the input method panel is the same, but this is merely an example, and it is also possible that the size of the drawing range is different although the input method panel draws the same number of pixels per frame.
On the other hand, the display position range can be divided into a reference display position range corresponding to the number of the set number of frames, namely, the display position range is divided into a plurality of reference display position ranges, the input method panel can draw the content of one reference display position range in one frame, and the content corresponding to the reference display position range on the top of the user interface can be moved upwards and hidden on the screen along with the drawing of each frame of the input method panel.
Optionally, fig. 4 shows a flowchart of another method for drawing an input method panel according to an embodiment of the present invention, and referring to fig. 4, the flowchart may include:
and step S300, drawing a frame of input method panel, and drawing corresponding contents of the input method panel in a reference display position range corresponding to the current frame in the display position range.
Optionally, the frame drawn in step S300 may be a first frame of the input method panel, and accordingly, in the embodiment of the present invention, the first frame of the input method panel may be drawn from the start position of the display position range, that is, the first frame of the input method panel is filled in the range from the start position to the first reference display position, and at the same time, step S310 is executed;
optionally, the frame drawn in step S300 may also be a non-first frame of the input method panel, and accordingly, in the embodiment of the present invention, on the basis of the drawing result of the previous frame of the display position range, the content of the input method panel corresponding to the reference display position range corresponding to the current frame may be filled, and at the same time, step S310 is executed.
And S310, moving up and hiding the content corresponding to the reference display position range on the top of the user interface on the screen according to the reference display position range.
Step S320, determining whether the input method panel is completely drawn in the display position range, if not, drawing the input method panel of the next frame, and executing step S300, and if so, executing step S330.
And step S330, ending the drawing.
With the set number of frames as 5 frames, referring to fig. 5, a is a display position range of the input method panel on the screen, which is uniformly divided into 5 reference display position ranges, respectively a1, a2, A3, a4, and a 5; in the process of drawing the input method panel, the first frame of the input method panel can be drawn from the reference display position range of A1, the corresponding content of the input method panel is filled in A1, and meanwhile, the corresponding content at the current top of the user interface is moved to the screen to be hidden according to the range size of A1; then when a second frame of the input method panel is drawn, filling the corresponding content of the input method panel at A2, and simultaneously moving the corresponding content at the current top of the user interface upwards and hiding the corresponding content on the screen according to the range size of A2; and circulating the steps until the input method panel finishes drawing in the display position range A, and correspondingly moving the user interface upwards to hide the content corresponding to the size of the display position range.
Optionally, in the process of drawing the input method panel, in order to avoid the occurrence of a condition that the user interface shakes due to the occurrence of an abnormal frame, where the abnormal frame refers to a drawing frame whose drawing position exceeds the display position range, in the embodiment of the present invention, a detection component of the user interface is added, so as to detect drawing data corresponding to an API of an operating system when each frame of the input method panel is drawn, and determine whether a current frame is an abnormal frame by analyzing whether the drawing position in the drawing data exceeds the display position range, thereby terminating the drawing of the current frame when the current frame is an abnormal frame;
optionally, fig. 6 shows a flow of a method for terminating drawing of a current frame of an input method panel when an abnormal frame occurs, and referring to fig. 6, the method may include:
and S400, detecting the drawing data of the current frame of the input method panel through a detection component.
Optionally, the detection component may detect the drawing data of each frame of the drawing input method panel through an API of the operating system, so as to detect the drawing data of the current frame of the drawing input method panel; the rendering data of the current frame of the input method panel may include: and inputting the drawing position of the current frame of the method panel.
Step S410, comparing the drawing position indicated in the drawing data of the current frame with the display position range, and determining whether the current frame is an abnormal frame whose drawing position exceeds the display position range, if so, executing step S420, and if not, executing step S430.
And step S420, intercepting a drawing callback corresponding to the current frame, terminating the drawing of the current frame and maintaining the drawing result of the previous frame.
Optionally, before drawing each frame of the input method panel, the operating system may output a corresponding drawing callback indicating that the operating system is to draw one frame of the input method panel; when the current frame is determined to be an abnormal frame, intercepting a corresponding drawing callback of the current frame, informing an operating system to terminate the drawing of the abnormal frame, and maintaining the drawing result of the previous frame;
optionally, after intercepting the corresponding drawing callback of the current frame, a callback result for terminating the drawing may be returned to the operating system, for example, a predetermined value indicating termination of the drawing is set in the callback result to notify the operating system to terminate the drawing of the abnormal frame; and if a callback result with the preset value of 0 is returned, default drawing is carried out, and if a callback result with the preset value of 1 is returned, default drawing is not carried out.
And step S430, drawing the current frame of the input method panel.
Optionally, when the current frame of the input method panel is drawn, the layout of the user interface on the screen may be adjusted by the method shown in fig. 2 or fig. 4.
Optionally, the current display configuration parameters of the input method panel may be detected by the detection component, and the detection component may collect the locally stored initial display configuration parameters of the input method panel after joining the user interface; the initial display configuration parameters can be loaded in a local database after the initial display environment parameters of the system and the initial panel display parameters of the input method panel are collected by the operating system; the detection component can acquire initial display configuration parameters from the local database;
when the user does not set and adjust the input method panel (for example, the width, height, etc. of the input method panel are adjusted on the input method setting interface, or the width, height, etc. of the input method panel are manually adjusted in the display process of the input method panel), the initial display configuration parameters can be used as the current display configuration parameters for determining the display position range of the input method panel;
if the user sets and adjusts the input method panel, the detection component can acquire adjustment parameters of the input method panel (the adjustment parameters may be display environment parameters of the input method panel and/or panel display parameters) through an API of the operating system, and adjust the panel display parameters and/or display environment parameters of the input method panel through the adjustment parameters, so that the current display configuration parameters of the input method panel are updated to be used when the display position range of the input method panel is determined;
obviously, the current display configuration parameters can be dynamically changed according to the setting adjustment of the user on the input method panel; specifically, each time the user sets the corresponding adjustment parameter for the adjustment of the input method panel, the adjustment parameter may be detected by the detection component through the API of the operating system, and the stored display configuration parameter is adjusted according to the detected adjustment parameter, so as to obtain the current display configuration parameter that can determine the display position range of the input method panel.
It can be seen that, after the detection component is added to the user interface, on one hand, the display configuration parameters of the input method panel can be detected through the API of the operating system, and on the other hand, the detection of the input method state switching can be realized by detecting whether the operating system receives the instruction for applying for the display space transmitted by the input method.
Optionally, the detection component may be used as an element of the user interface to implement adding the detection component into the user interface, for example, the detection component is used as an xml element node of the user interface and added into the user interface;
optionally, in the embodiment of the present invention, the user interface may also be added to the root rootview of the operating system, and the detection component is added to the user interface by associating the monitoring component with the root rootview of the operating system; when the user interface works, the user interface add is added to the root rootview of the operating system, and then a detection component rootview.
Optionally, the embodiment of the present invention may add the detection component to the user interface when the application, such as instant messaging, generally has a requirement for calling an input method to input information, exits and re-enters; meanwhile, acquiring locally stored initial display configuration parameters of the input method panel through the detection assembly, and correcting the initial display configuration parameters based on the adjustment parameters of the input method panel in the last use to obtain the current display configuration parameters of the input method panel; the current display configuration parameters may be used to determine a range of display positions of the input method panel in the screen when the input method panel is invoked on the user interface.
Optionally, the detection component may be subdivided into a detection component panel (pannel) interacting with the user interface, and a tool (IMMHelp) interacting with an API of the operating system, where the detection component panel may interact with the user interface, and when there is an input method panel call instruction on the user interface, detect whether the operating system receives an instruction for applying for a display space transmitted by an input method through the IMMHelp; optionally, similarly, under the condition that the input method panel is hidden, the detection component panel may interact with the user interface, and when an input method panel hiding instruction exists on the user interface, whether the operating system receives an instruction for releasing the display space transmitted by the input method is detected through the IMMHelp;
meanwhile, IMMHelp may obtain the initial display configuration parameters of the input method panel stored locally, and obtain the adjustment parameters when the input method panel is adjusted and set through the API of the operating system.
Optionally, in the embodiment of the present invention, after the current display configuration parameter of the input method panel is called, the detection component may also determine the display position range of the input method panel on the screen according to the current display configuration parameter, and output the drawing instruction by detecting the drawing logic of the detection component to the input method panel frame by frame, so as to achieve the purpose of drawing the input method panel frame by frame in the display position range of the screen by setting a number of frames.
The embodiment of the invention can lead the user interface to be in linkage adjustment layout according to the drawing of each frame of the input method panel; the layout adjustment of the user interface on the screen is realized, the layout adjustment is linked with the drawing of each frame of the input method panel, the smoothness of loading and displaying the input method panel on the screen is improved, and the smooth switching of the states of the input method panel is guaranteed.
The following describes a display adjustment method for an input method panel according to an embodiment of the present invention from the perspective of hiding the input method panel. The input method panel display adjustment method described below is similar in principle to the input method panel display adjustment method described above that is performed when the input method panel is invoked; when the input method panel is hidden, the input method panel can be hidden frame by setting a plurality of frames, and the layout of the user interface on the screen is correspondingly adjusted when the input method panel is hidden every frame.
Fig. 7 is another flowchart of an input method panel display adjustment method according to an embodiment of the present invention, where the method is applicable to a mobile terminal, and referring to fig. 7, the method may include:
step S500, when the hidden input method panel is determined, the current display configuration parameters of the input method panel are called.
Because the user may adjust the settings of the input method panel after the input method panel is loaded on the screen, the display configuration parameters when the input method panel is called are used as the display configuration parameters for hiding the input method panel, which may not be accurate; when the input method panel is determined to be hidden, the updated latest display configuration parameters can be used as the current display configuration parameters of the input method panel by calling the detection component added to the user interface;
specifically, when the input method panel is displayed on a screen, the adjustment parameters of the input method panel can be acquired from an API (application program interface) of an operating system through a detection component added in a user interface, and the adjustment parameters correspond to the setting adjustment operation of the input method panel; when the input method panel is displayed on the screen, if the setting adjustment of the input method panel occurs, the display configuration parameters of the input method panel can be adjusted based on the corresponding adjustment parameters; the adjusted display configuration parameters can be used and called as the current display configuration parameters when the input method panel is determined to be hidden; optionally, if the input method panel is not set and adjusted in the process of displaying on the screen, the current display configuration parameters used when the input method panel is called may be used as the current display configuration parameters of the input method panel when the input method panel is determined to be hidden.
The specific content of the current display configuration parameters may be similar to the content of the current display configuration parameters introduced in step S100 of fig. 1, and may be referred to each other; the detailed description of the detection assembly is also cross-referenced with the above description.
Optionally, the embodiment of the present invention may determine whether to hide the input method panel by determining whether to detect the input method panel hiding instruction; the input method panel hiding instruction can be generated by user operation, such as clicking an exit icon of the input method panel by a user and hiding the input method panel by exiting the input method.
Further, when the input method panel is hidden, the user interface is rearranged and moved down, and at the moment, the input method requests the operating system to release the display space of the input method panel on the screen; in the embodiment of the invention, the detection component can detect whether the operating system receives the instruction of releasing the display space transmitted by the input method when detecting the hidden instruction of the input method panel so as to judge whether the input method panel can be hidden; namely, if the detection component detects that the operating system receives an instruction of releasing the display space transmitted by the input method when detecting the input method panel hiding instruction, the input method panel can be determined to be hidden, otherwise, the input method panel is determined not to be hidden.
And step S510, determining the current display position range of the input method panel on the screen according to the current display configuration parameters.
Optionally, after obtaining the current display configuration parameters of the input method panel, the panel display parameters and the display environment parameters of the input method panel may be determined; and then, correcting the initial coordinate range according to the correction parameters in the display environment parameters to obtain the current coordinate range displayed on the screen by the input method panel, namely obtaining the current position range displayed on the screen by the input method panel.
And S520, hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen until the input method panels are completely hidden every time one frame of input method panel is hidden, and moving the user interface downwards on the screen according to the size of the display position range.
Optionally, in the embodiment of the present invention, each frame of the input method panel may be hidden, and the user interface is correspondingly moved down on the screen according to the hidden range of the input method panel in the current frame of the screen; namely, when the input method panel is hidden once, the content hidden at the top of the user interface and corresponding to the hidden range can be displayed on the screen downwards according to the hidden range of the input method panel in the current frame of the screen.
Optionally, the embodiment of the present invention may hide a predetermined number of pixels of the input method panel from the start position of the display position range for each frame, so as to hide all pixels of the input method panel by setting a number of frames; meanwhile, when the input method panel is hidden every frame, the content corresponding to the preset number of pixels hidden at the top of the user interface can be displayed on the screen in a downward moving mode;
optionally, as shown in fig. 8, a is a display position range of the input method panel currently on the screen, starting from a start position of the display position range, a first frame of the input method panel may be hidden, for example, pixel contents of the input method panels 1 to 10 are hidden, and at the same time, 10 pixel contents are correspondingly displayed downward at the top of the user interface, so that when the input method panel is displayed, the hidden contents of the user interface are displayed downward on the screen; when the second frame of the input method panel is hidden, the pixel contents of the input method panels 11 to 20 can be hidden, and meanwhile, the user interface is correspondingly downwards moved to display the 10 pixel contents, so that the process is circulated until the input method panel is completely hidden and the layout of the user interface is restored to the state when the input method panel is not called.
Optionally, in the embodiment of the present invention, the display position range is also divided into reference display position ranges corresponding to the number of the setting number frames according to the setting number frames; starting from the initial position of the display position range, hiding the content of the input method panel corresponding to the reference display position range in each frame, so as to hide the input method panel by setting a plurality of frames; meanwhile, when the input method panel is hidden every frame, the content hidden at the top of the user interface and corresponding to the reference display position range can be displayed on the screen in a downward moving mode according to the reference display position range;
alternatively, as shown in fig. 9, a is a display position range of the input method panel on the screen, and the display position range is uniformly divided into 5 reference display position ranges, which are a1, a2, A3, a4 and a5, respectively; hiding the content of the input method panel of A1 when the first frame of the input method panel is hidden, and moving the user interface down on the screen according to the corresponding range size of A1, so that the content hidden by the user interface is moved down on the screen when the input method panel is displayed; when the second frame of the input method panel is hidden, the content of the input method panel of A2 can be hidden, and simultaneously, the user interface is moved down on the screen according to the corresponding range size of A2, so that the process is circulated until the input method panel is completely hidden and the layout of the user interface is restored to the state when the input method panel is not called.
It can be seen that the input method panel display adjustment method provided in the embodiments of the present invention may call a current display configuration parameter of the input method panel when determining to hide the input method panel, determine a display position range of the input method panel on the screen according to the current display configuration parameter, and further hide the input method panel frame by frame from an initial position of the display position range, and each frame of hidden input method panel moves the user interface down on the screen until the input method panel is completely hidden, and the user interface moves down on the screen by contents corresponding to the size of the display position range. The embodiment of the invention can lead the user interface to adjust the layout according to the hidden linkage of each frame of the input method panel; the layout adjustment of the user interface on the screen is realized, the user interface can be linked with the hiding of each frame of the input method panel, the smoothness of the hiding of the input method panel on the screen is improved, and the smooth switching of the states of the input method panel is guaranteed.
Optionally, hiding the input method panel may also occur when the input method panel is switched to an expression panel, where the expression panel records a plurality of expressions, and it is noted that the expression panel is not an expression panel in which the input method is embedded, but an expression panel embedded in an application such as instant messaging; when the input method panel is switched to the expression panel, the embodiment of the invention can keep the user interface still, and correspondingly fills the expression panel in the display position range of the input method panel on the screen at present according to the hiding range of each frame of the input method panel;
optionally, fig. 10 shows a further flowchart of a method for adjusting display of an input method panel, where the method is applicable to a mobile terminal, and referring to fig. 10, the method may include:
step S600, when the input method panel is determined to be switched to the expression panel, the current display configuration parameters of the input method panel are called.
Optionally, in the embodiment of the present invention, when the input method panel is displayed, the expression panel call instruction is detected, and the input method panel is determined to be switched to the expression panel.
Optionally, the current display configuration parameters retrieved in step S600 may correspond to the current display configuration parameters retrieved in step S500.
And step S610, determining the current display position range of the input method panel on the screen according to the current display configuration parameters.
And S620, keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly filling the expression panel in the display position range when the input method panel is hidden for each frame until the input method panel is completely hidden and the expression panel is completely filled in the display position range.
Optionally, in the embodiment of the present invention, each frame of the input method panel may be hidden, and according to a hidden range of the input method panel in a current frame of the screen, the expression panel content corresponding to the hidden range is filled in the display position range.
Optionally, in the embodiment of the present invention, a predetermined number of pixels of the input method panel may be hidden in each frame from the start position of the display position range, so that all pixels of the input method panel are hidden frame by setting a number of frames; meanwhile, when hiding one frame of input method panel, the content of the expression panel with a preset number of pixels can be correspondingly filled in the display position range;
optionally, as shown in fig. 11, a is a display position range of the input method panel currently on the screen, when the input method panel is switched to the expression panel, the user interface may be kept still, and starting from the start position of the display position range, a first frame of the input method panel may be hidden, for example, pixel contents of the input method panels 1 to 10 are hidden, and simultaneously, starting from the start position of the display position range, pixel contents of the expression panels 1 to 10 are filled in the display position range; when the second frame of the input method panel is hidden, the pixel contents of the input method panels 11 to 20 can be hidden, and meanwhile, the pixel contents of the expression panels 11 to 20 are filled in the display position range, so that the process is circulated until the input method panel is completely hidden and the expression panels are completely filled in the display position range.
Optionally, in the embodiment of the present invention, the display position range may also be divided into reference display position ranges corresponding to the number of the set number of frames according to the set number of frames; when the input method panel is switched to the expression panel, the user interface can be kept still, and the content of the input method panel corresponding to the reference display position range is hidden in each frame from the initial position of the display position range, so that the input method panel is hidden in the display position range frame by frame through setting a plurality of frames; meanwhile, when hiding one frame of input method panel, filling the expression panel content corresponding to the reference display position range in the display position range;
alternatively, as shown in fig. 12, a is a display position range of the input method panel on the screen, and the display position range is uniformly divided into 5 reference display position ranges, which are a1, a2, A3, a4, and a5, respectively; when the input method panel is switched to the expression panel, the user interface can be kept still, the first frame of the input method panel is hidden, the content of the input method panel A1 is hidden, and meanwhile, the content of the expression panel is correspondingly filled in the display position range A according to the size of the corresponding range A1; when the second frame of the input method panel is hidden, the content of the input method panel of a2 can be hidden, and meanwhile, the content of the expression panel is correspondingly filled in the display position range of a according to the size of the corresponding range of a2, so that the process is circulated until the input method panel is completely hidden in the display position range and the expression panel is filled in the display position range.
It can be seen that the input method panel display adjustment method provided by the embodiment of the present invention can keep the user interface still when determining to switch the input method panel into the expression panel, and hide the input method panel frame by setting a number of frames from the starting position of the display position range of the input method panel, and correspondingly fill the expression panel in the display position range with the hidden range of the input method panel in one frame on the screen every time the input method panel is hidden, so that the expression panel can be loaded in the display position range according to the hidden linkage of each frame of the input method panel; the smoothness of hiding the input method panel on the screen is improved, and the smooth switching of the state of the input method panel is guaranteed.
In the following, the mobile terminal provided by the embodiment of the present invention is introduced, and the content of the mobile terminal described below may be regarded as a functional module architecture that is required to be set by the mobile terminal to implement the input method panel display adjustment method provided by the embodiment of the present invention.
Fig. 13 is a block diagram of a mobile terminal according to an embodiment of the present invention, and referring to fig. 13, the mobile terminal may include:
the first parameter calling module 100 is configured to call a current display configuration parameter of the input method panel when the input method panel is determined to be called;
a first position range determining module 110, configured to determine, according to the current display configuration parameter, a display position range of the input method panel on a screen;
and the panel call-up executing module 120 is configured to draw the input method panel in the display position range of the screen frame by setting a number of frames from the starting position of the display position range, and move the user interface up on the screen every time an input method panel is drawn, until the input method panel is completely drawn in the display position range, and move the user interface up on the screen by the content corresponding to the size of the display position range.
Optionally, the panel call-out executing module 120 is configured to, every time a frame of input method panel is drawn, correspondingly move the user interface upward on the screen, and specifically includes:
and when the input method panel is drawn for one frame, moving up and hiding the content corresponding to the drawing range at the top of the user interface on the screen according to the drawing range of the input method panel on the current frame of the screen.
Optionally, the panel call-up executing module 120 is configured to draw the input method panel in the display position range of the screen frame by frame, and specifically includes:
drawing a predetermined number of pixels of the input method panel every frame from a start position of the display position range to draw all pixels of the input method panel within the display position range by a set number of frames;
correspondingly, the panel call-up executing module 120 is configured to, when drawing an input method panel for each frame, move up and hide content on the screen, where the content corresponds to the size of the drawing range, at the top of the user interface according to the drawing range of the input method panel on the current frame of the screen, and specifically includes:
and moving up and hiding the content corresponding to the preset number of pixels at the top of the user interface on the screen every time the input method panel is drawn.
Optionally, the panel call-up executing module 120 is configured to draw the input method panel in the display position range of the screen frame by frame, and specifically includes:
dividing the display position range into reference display position ranges corresponding to the number of the set number of frames;
starting from the starting position of the display position range, drawing the content of the input method panel corresponding to the reference display position range in each frame so as to draw the input method panel in the display position range by setting a plurality of frames;
correspondingly, the panel call-up executing module 120 is configured to, when drawing an input method panel for each frame, move up and hide content on the screen, where the content corresponds to the size of the drawing range, at the top of the user interface according to the drawing range of the input method panel on the current frame of the screen, and specifically includes:
and moving up and hiding the content corresponding to the reference display position range on the top of the user interface on the screen every time one frame of input method panel is drawn.
Optionally, fig. 14 shows another structural block diagram of the mobile terminal provided in the embodiment of the present invention, and in combination with fig. 13 and fig. 14, the mobile terminal may further include:
a termination drawing module 130, configured to detect drawing data of a current frame of the input method panel by adding a detection component of the user interface; comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range; if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, terminating the drawing of the current frame and maintaining the drawing result of the previous frame.
Optionally, the termination drawing module 130 is configured to terminate drawing of the current frame, and specifically includes:
and returning a callback result for terminating the drawing to the operating system, wherein a preset value for indicating termination of the drawing is set in the callback result.
Optionally, as shown in fig. 14, the mobile terminal provided in the embodiment of the present invention may further include:
the call-out detection module 140 is configured to detect whether the operating system receives an instruction for applying a display space transmitted by an input method by adding a detection component of the user interface when detecting that the input method panel calls out the instruction; and if the operating system receives the command of applying for displaying the space transmitted by the input method, obtaining a detection result for determining to call up the input method panel.
Optionally, the current display configuration parameters include: the panel display parameters of the input method panel and the display environment parameters; the display environment parameters include: screen parameters and correction parameters;
correspondingly, the first position range determining module 110 is configured to determine the display position range of the input method panel on the screen according to the current display configuration parameter, and specifically includes:
determining a displayable coordinate range of a screen according to the screen parameters;
determining an initial coordinate range of the input method panel in the displayable coordinate range according to the panel display parameters;
and correcting the initial coordinate range according to the correction parameters, and determining the coordinate range of the input method panel on the screen to obtain the display position range of the input method panel on the screen.
Optionally, as shown in fig. 14, the mobile terminal provided in the embodiment of the present invention may further include:
a first parameter adjusting module 150, configured to obtain, through the detection component, an adjustment parameter of the input method panel from an API of the operating system, where the adjustment parameter corresponds to a setting adjustment operation of the input method panel; adjusting the current display configuration parameters according to the adjustment parameters;
a component joining module 160 for using the detection component as an element of the user interface to join the detection component into the user interface; alternatively, the user interface is added to the root of the operating system, and the detection component is added to the user interface by associating the monitoring component in the root of the operating system.
The functional module framework which is required to be set by the mobile terminal for realizing the display adjustment of the input method panel when the input method panel is called is described above; the functions of the functional modules can be realized by executing corresponding program files by the mobile terminal, and the program files can be stored in the memory of the mobile terminal and called by the processor of the mobile terminal for execution.
Alternatively, fig. 15 shows a hardware configuration block diagram of a mobile terminal, and referring to fig. 15, the mobile terminal may include: a processor 1, a communication interface 2, a memory 3 and a communication bus 4;
wherein, the processor 1, the communication interface 2 and the memory 3 complete the communication with each other through the communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
a processor 1 for executing a program;
a memory 3 for storing a program;
the program may include program code including computer operating instructions.
The processor 1 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the procedure can be specifically used for:
when the input method panel is determined to be called, calling the current display configuration parameters of the input method panel;
determining the display position range of the input method panel on a screen according to the current display configuration parameters;
and drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards on the screen every time the input method panel is drawn, until the input method panel is drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range.
The following description is a functional module architecture that needs to be set for realizing display adjustment of an input method panel when the input method panel is hidden, and the following description can be mutually referred to the above.
Fig. 16 is a further structural block diagram of a mobile terminal according to an embodiment of the present invention, and referring to fig. 16, the mobile terminal may include:
the second parameter calling module 200 is configured to, when it is determined that the input method panel is hidden, call a current display configuration parameter of the input method panel;
a second position range determining module 210, configured to determine, according to the current display configuration parameter, a display position range of the input method panel on a screen currently;
and a panel hiding executing module 220, configured to hide the input method panels frame by frame from the start position of the display position range, and correspondingly move the user interface downward on the screen until the input method panel is completely hidden when hiding one frame of input method panel, and move the user interface downward on the screen according to the size of the display position range.
Optionally, the panel hiding performing module 220 is configured to hide a frame of input method panel every time, and correspondingly move the user interface down on the screen, specifically including:
and when the input method panel is hidden one frame at a time, according to the hidden range of the input method panel in the current frame of the screen, the content hidden at the top of the user interface and corresponding to the hidden range is displayed on the screen in a downward moving mode.
Optionally, the panel hiding performing module 220 is configured to hide the input method panel frame by frame, and specifically includes:
hiding a predetermined number of pixels of the input method panel every frame starting from a start position of the display position range to hide all pixels of the input method panel by a set number of frames;
correspondingly, the panel hiding executing module 220 is configured to hide a frame of input method panel every time, and perform downward shift display on the content hidden at the top of the user interface and corresponding to a current frame of the screen according to a hiding range of the input method panel on the screen, and specifically includes:
and displaying the content corresponding to the preset number of pixels hidden at the top of the user interface on the screen in a downward moving mode every time the input method panel is hidden.
Optionally, the panel hiding performing module 220 is configured to hide the input method panel frame by frame, and specifically includes:
dividing the display position range into reference display position ranges corresponding to the number of the set number of frames;
hiding the content of the input method panel corresponding to the reference display position range from the initial position of the display position range in each frame so as to hide the input method panel by setting a plurality of frames;
correspondingly, the panel hiding executing module 220 is configured to hide a frame of input method panel every time, and perform downward shift display on the content hidden at the top of the user interface and corresponding to a current frame of the screen according to a hiding range of the input method panel on the screen, and specifically includes:
and when the input method panel is hidden one frame each time, according to the reference display position range, downwards moving and displaying the content which is hidden at the top of the user interface and corresponds to the reference display position range on the screen.
Optionally, as shown in fig. 16, the mobile terminal provided in the embodiment of the present invention may further include: a second parameter adjusting module 230, configured to obtain, when the input method panel is displayed on the screen, an adjustment parameter of the input method panel from an API of the operating system through a detection component added to the user interface, where the adjustment parameter corresponds to a setting adjustment operation of the input method panel; adjusting display configuration parameters of an input method panel according to the adjustment parameters;
correspondingly, the second parameter invoking module 200 is configured to invoke the current display configuration parameter of the input method panel, and specifically includes:
and taking the adjusted display configuration parameters of the input method panel as the current display configuration parameters and calling the current display configuration parameters.
The functional module architecture of the mobile terminal, which is required to be set for realizing display adjustment of the input method panel when the input method panel is hidden, is described above; the functions of the functional modules can be realized by executing corresponding program files by the mobile terminal, and the program files can be stored in a memory of the mobile terminal and called and executed by a processor of the mobile terminal;
alternatively, the hardware structure of the mobile terminal may be as shown in fig. 15, and in the embodiment of the present invention, the program stored in the memory of the mobile terminal may be used to:
when the hidden input method panel is determined, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
and hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen until the input method panels are completely hidden every time one frame of input method panel is hidden, and moving the content corresponding to the size of the display position range downwards on the screen.
The following description is a functional module architecture that needs to be set for realizing display adjustment of the input method panel when the input method panel is switched to the expression panel, and the following description may refer to the above.
Fig. 17 is a block diagram of another structure of a mobile terminal according to an embodiment of the present invention, and referring to fig. 17, the mobile terminal may include:
the third parameter calling module 300 is configured to, when it is determined that the input method panel is switched to the expression panel, call a current display configuration parameter of the input method panel;
a third position range determining module 310, configured to determine, according to the current display configuration parameter, a current display position range of the input method panel on the screen;
and the panel switching execution module 320 is configured to keep the user interface still, hide the input method panels frame by frame from the starting position of the display position range, and correspondingly fill the expression panel in the display position range every time an input method panel is hidden until the input method panel is completely hidden and the expression panel is completely filled in the display position range.
Optionally, the panel switching executing module 320 is configured to hide one frame of input method panel every time, and correspondingly fill the expression panel in the display position range, and specifically includes:
and when the input method panel is hidden one frame at a time, filling the expression panel content corresponding to the hidden range in the display position range in the hidden range of the input method panel in the current frame of the screen.
Optionally, the panel switching executing module 320 is configured to hide one frame of input method panel every time, fill, in the display position range, an expression panel content corresponding to a current frame of a screen with a hidden range of the input method panel, and specifically include:
hiding one frame of input method panel every time, correspondingly filling the expression panel content of a preset number of pixels in the display position range, wherein the preset number of pixels of the input method panel is hidden in each frame;
or dividing the display position range into reference display position ranges corresponding to the number of the set number of frames, and filling the expression panel content corresponding to the reference display position ranges in the display position range every time when hiding one frame of input method panel, wherein the input method panel content corresponding to the reference display position ranges is hidden in each frame.
The functional module architecture of the mobile terminal, which is required to be set for realizing display adjustment of the input method panel when the input method panel is switched to the expression panel, is described above; the functions of the functional modules can be realized by executing corresponding program files by the mobile terminal, and the program files can be stored in a memory of the mobile terminal and called and executed by a processor of the mobile terminal;
alternatively, the hardware structure of the mobile terminal may be as shown in fig. 15, and in the embodiment of the present invention, the program stored in the memory of the mobile terminal may be used to:
when the input method panel is determined to be switched to the expression panel, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly filling the expression panel in the display position range when hiding one frame of input method panel until the input method panel is completely hidden and the expression panel is completely filled in the display position range.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (22)

1. An input method panel display adjustment method is characterized by comprising the following steps:
when the input method panel is determined to be called, calling the current display configuration parameters of the input method panel;
determining the display position range of the input method panel on a screen according to the current display configuration parameters;
drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards on the screen every time the input method panel is drawn, until the input method panel is drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range;
in the process of drawing the input method panel, the method further comprises the following steps:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
2. The input method panel display adjustment method of claim 1, wherein the corresponding moving up of the user interface on the screen every time the input method panel is drawn for one frame comprises:
and when the input method panel is drawn for one frame, moving up and hiding the content corresponding to the drawing range at the top of the user interface on the screen according to the drawing range of the input method panel on the current frame of the screen.
3. The input method panel display adjustment method according to claim 2, wherein the drawing the input method panel frame by frame within the display position range of a screen includes:
drawing a predetermined number of pixels of the input method panel every frame from a start position of the display position range to draw all pixels of the input method panel within the display position range by a set number of frames;
when the input method panel is drawn for one frame, moving up and hiding the content corresponding to the drawing range at the top of the user interface on the screen according to the drawing range of the input method panel on the current frame of the screen comprises the following steps:
and moving up and hiding the content corresponding to the preset number of pixels at the top of the user interface on the screen every time the input method panel is drawn.
4. The input method panel display adjustment method according to claim 2, wherein the drawing the input method panel frame by frame within the display position range of a screen includes:
dividing the display position range into a reference display position range corresponding to the number of the set number of frames;
starting from the starting position of the display position range, drawing the content of the input method panel corresponding to the reference display position range in each frame so as to draw the input method panel in the display position range by setting a plurality of frames;
when the input method panel is drawn for one frame, moving up and hiding the content corresponding to the drawing range at the top of the user interface on the screen according to the drawing range of the input method panel on the current frame of the screen comprises the following steps:
and moving up and hiding the content corresponding to the reference display position range on the top of the user interface on the screen every time one frame of input method panel is drawn.
5. The input method panel display adjustment method of claim 1, wherein the terminating the rendering of the current frame comprises:
and returning a callback result for terminating the drawing to the operating system, wherein a preset value for indicating termination of the drawing is set in the callback result.
6. The input method panel display adjustment method of any one of claims 1 to 5, further comprising:
when an input method panel call instruction is detected, whether an operating system receives an instruction for applying a display space transmitted by an input method is detected through a detection component added in a user interface;
and if the operating system receives the command of applying for displaying the space transmitted by the input method, obtaining a detection result for determining to call up the input method panel.
7. The input method panel display adjustment method of claim 6, wherein the current display configuration parameters include: the panel display parameters of the input method panel and the display environment parameters; the display environment parameters include: screen parameters and correction parameters;
the determining the display position range of the input method panel on the screen according to the current display configuration parameters comprises:
determining a displayable coordinate range of a screen according to the screen parameters;
determining an initial coordinate range of the input method panel in the displayable coordinate range according to the panel display parameters;
and correcting the initial coordinate range according to the correction parameters, and determining the coordinate range of the input method panel on the screen to obtain the display position range of the input method panel on the screen.
8. The input method panel display adjustment method of claim 7, further comprising:
acquiring an adjustment parameter of an input method panel from an API of an operating system through the detection component, wherein the adjustment parameter corresponds to the setting adjustment operation of the input method panel;
and adjusting the current display configuration parameters according to the adjustment parameters.
9. The input method panel display adjustment method of claim 6, further comprising:
using the detection component as an element of the user interface to add the detection component to the user interface;
alternatively, the user interface is added to the root of the operating system, and the detection component is added to the user interface by associating the monitoring component in the root of the operating system.
10. An input method panel display adjustment method is characterized by comprising the following steps:
when the hidden input method panel is determined, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen when the input method panels are hidden one frame at a time until the input method panels are completely hidden, and moving the content corresponding to the size of the display position range downwards on the screen;
in the process of drawing the input method panel, the method further comprises the following steps:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
11. The method for adjusting the display of an input method panel according to claim 10, wherein hiding the input method panel every frame and correspondingly shifting down the user interface on the screen comprises:
and when the input method panel is hidden one frame at a time, according to the hidden range of the input method panel in the current frame of the screen, the content hidden at the top of the user interface and corresponding to the hidden range is displayed on the screen in a downward moving mode.
12. The input method panel display adjustment method of claim 10, wherein the hiding the input method panel frame by frame comprises:
hiding a predetermined number of pixels of the input method panel every frame starting from a start position of the display position range to hide all pixels of the input method panel by a set number of frames;
the step of displaying the content hidden at the top of the user interface and corresponding to the hidden range on the screen downwards according to the hidden range of the input method panel in the current frame of the screen includes:
and displaying the content corresponding to the preset number of pixels hidden at the top of the user interface on the screen in a downward moving mode every time the input method panel is hidden.
13. The input method panel display adjustment method of claim 10, wherein the hiding the input method panel frame by frame comprises:
dividing the display position range into a reference display position range corresponding to the number of the set number of frames;
hiding the content of the input method panel corresponding to the reference display position range from the initial position of the display position range in each frame so as to hide the input method panel by setting a plurality of frames;
the step of displaying the content hidden at the top of the user interface and corresponding to the hidden range on the screen downwards according to the hidden range of the input method panel in the current frame of the screen includes:
and when the input method panel is hidden one frame each time, according to the reference display position range, downwards moving and displaying the content which is hidden at the top of the user interface and corresponds to the reference display position range on the screen.
14. The input method panel display adjustment method of claim 10, further comprising:
when the input method panel is displayed on a screen, acquiring an adjustment parameter of the input method panel from an API (application program interface) of an operating system through a detection component added in a user interface, wherein the adjustment parameter corresponds to the setting adjustment operation of the input method panel;
adjusting display configuration parameters of an input method panel according to the adjustment parameters;
the calling of the current display configuration parameters of the input method panel comprises the following steps:
and taking the adjusted display configuration parameters of the input method panel as the current display configuration parameters and calling the current display configuration parameters.
15. An input method panel display adjustment method is characterized by comprising the following steps:
when the input method panel is determined to be switched to the expression panel, calling current display configuration parameters of the input method panel;
determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly filling the expression panel in the display position range until the input method panel is completely hidden and the expression panel is completely filled in the display position range when the input method panel is hidden for each frame;
in the process of drawing the input method panel, the method further comprises the following steps:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
16. The method of claim 15, wherein hiding one frame of input method panel each time, filling the corresponding emoticon panel in the display position range comprises:
and when the input method panel is hidden one frame at a time, filling the expression panel content corresponding to the hidden range in the display position range in the hidden range of the input method panel in the current frame of the screen.
17. The method according to claim 16, wherein the hiding the input method panel for each frame, and filling the expression panel content corresponding to the hidden range in the display position range with the hidden range of the input method panel in the current frame of the screen comprises:
hiding one frame of input method panel every time, correspondingly filling the expression panel content of a preset number of pixels in the display position range, wherein the preset number of pixels of the input method panel is hidden in each frame;
or dividing the display position range into reference display position ranges corresponding to the number of the set number of frames, and filling the expression panel content corresponding to the reference display position range in the display position range every time when hiding one frame of input method panel, wherein the input method panel content corresponding to the reference display position range is hidden in each frame.
18. A mobile terminal, comprising:
the first parameter calling module is used for calling the current display configuration parameters of the input method panel when the input method panel is determined to be called;
the first position range determining module is used for determining the display position range of the input method panel on the screen according to the current display configuration parameters;
the panel call-up execution module is used for drawing the input method panel in the display position range of the screen frame by frame from the initial position of the display position range, and moving the user interface upwards correspondingly on the screen when drawing one frame of input method panel until the input method panel is completely drawn in the display position range, and moving the user interface upwards on the screen according to the content of the display position range;
in the process of drawing the input method panel, the mobile terminal is further configured to:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
19. A mobile terminal, comprising:
the second parameter calling module is used for calling the current display configuration parameters of the input method panel when the hidden input method panel is determined;
the second position range determining module is used for determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
the panel hiding execution module is used for hiding the input method panels frame by frame from the initial position of the display position range, and correspondingly moving the user interface downwards on the screen until the input method panels are completely hidden when the input method panels are hidden by one frame, and moving the content corresponding to the size of the display position range downwards on the screen;
in the process of drawing the input method panel, the mobile terminal is further configured to:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
20. A mobile terminal, comprising:
the third parameter calling module is used for calling the current display configuration parameters of the input method panel when the input method panel is determined to be switched to the expression panel;
the third position range determining module is used for determining the current display position range of the input method panel on the screen according to the current display configuration parameters;
the panel switching execution module is used for keeping the user interface still, hiding the input method panels frame by frame from the initial position of the display position range, correspondingly filling the expression panel in the display position range when the input method panel is hidden for each frame until the input method panel is completely hidden and the expression panel is completely filled in the display position range;
in the process of drawing the input method panel, the mobile terminal is further configured to:
detecting the drawing data of the current frame of the input method panel by adding a detection component of a user interface;
comparing the drawing position indicated in the drawing data of the current frame with the display position range, and judging whether the current frame is an abnormal frame of which the drawing position exceeds the display position range, wherein the user interface is shaken due to the abnormal frame;
if the current frame is an abnormal frame of which the drawing position exceeds the display position range, intercepting a drawing callback corresponding to the current frame, informing an operating system to terminate the drawing of the current frame, and maintaining the drawing result of the previous frame; the drawing callback is used for indicating that the operating system is about to draw the input method panel by one frame.
21. A mobile terminal comprising a processor and a memory;
the memory is used for storing program files;
the processor is used for calling the program file stored in the memory to execute the steps of the input method panel display adjustment method according to any one of claims 1 to 17.
22. A storage medium having a software module stored therein;
the software module is used for executing the steps of the input method panel display adjustment method according to any one of claims 1 to 17.
CN201710117381.5A 2017-03-01 2017-03-01 Display adjustment method of input method panel and mobile terminal Active CN106909393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710117381.5A CN106909393B (en) 2017-03-01 2017-03-01 Display adjustment method of input method panel and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710117381.5A CN106909393B (en) 2017-03-01 2017-03-01 Display adjustment method of input method panel and mobile terminal

Publications (2)

Publication Number Publication Date
CN106909393A CN106909393A (en) 2017-06-30
CN106909393B true CN106909393B (en) 2020-06-05

Family

ID=59186034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710117381.5A Active CN106909393B (en) 2017-03-01 2017-03-01 Display adjustment method of input method panel and mobile terminal

Country Status (1)

Country Link
CN (1) CN106909393B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678565A (en) * 2017-10-31 2018-02-09 广州市千钧网络科技有限公司 A kind of method and device of object switching
CN110020299B (en) * 2017-11-06 2021-09-14 北京嘀嘀无限科技发展有限公司 Display position adjusting method and device
CN108563485B (en) * 2018-04-20 2021-05-04 科大讯飞股份有限公司 Input panel display method and device
CN108595020A (en) * 2018-04-28 2018-09-28 程爱云 A kind of intelligent switch method of input method, device and its readable storage medium storing program for executing machine terminal equipment
CN111782095B (en) * 2020-06-15 2022-02-25 网易(杭州)网络有限公司 Switching display method and device for display objects in visual area

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336650A (en) * 2013-06-05 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for adjusting input method panel of mobile terminal
CN104281318A (en) * 2013-07-08 2015-01-14 三星显示有限公司 Method and apparatus to reduce display lag of soft keyboard presses
US9176668B2 (en) * 2013-10-24 2015-11-03 Fleksy, Inc. User interface for text input and virtual keyboard manipulation
CN105930195A (en) * 2016-05-20 2016-09-07 百度在线网络技术(北京)有限公司 Method and device for starting input method panel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336650A (en) * 2013-06-05 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for adjusting input method panel of mobile terminal
CN104281318A (en) * 2013-07-08 2015-01-14 三星显示有限公司 Method and apparatus to reduce display lag of soft keyboard presses
US9176668B2 (en) * 2013-10-24 2015-11-03 Fleksy, Inc. User interface for text input and virtual keyboard manipulation
CN105930195A (en) * 2016-05-20 2016-09-07 百度在线网络技术(北京)有限公司 Method and device for starting input method panel

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"[iOS] 实现键盘弹出视图上移";张翔宇;《http://blog.qiji.tech/archives/10736》;20160510;1-9 *
"android高仿微信表情输入与键盘输入详解-解决跳闪与表情切换问题";zejian_;《https://blog.csdn.net/javazejian/article/details/50542912》;20160119;1-13 *
"两种自定义系统弹出键盘上方的view";TommyYaphetS;《https://blog.csdn.net/hmt20130412/article/details/38685861》;20140819;1-3 *

Also Published As

Publication number Publication date
CN106909393A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106909393B (en) Display adjustment method of input method panel and mobile terminal
US8907990B2 (en) Display system, display method, program, and recording medium
KR102197517B1 (en) Display method and terminal
CN108376094B (en) Notification message display method, apparatus, computer equipment and storage medium
US8711152B2 (en) Animation control apparatus, animation control method, and non-transitory computer readable recording medium
CN111580917A (en) Information display method and device, electronic equipment and storage medium
CN109542304B (en) Display content loading method, device, equipment and storage medium
CN110442267B (en) Touch operation response method, device, mobile terminal and storage medium
CN106648281B (en) Screenshot method and device
CN112269515A (en) Multi-window processing method and device on mobile terminal, mobile terminal and medium
CN107566632A (en) Input method interface display method, device and terminal
CN110688308A (en) Memory storage redundancy detection method and device, electronic equipment and readable storage medium
TW201344557A (en) Automatic control device and method for displaying screen density
CN110471700B (en) Graphics processing method, device, storage medium and electronic device
CN111857857B (en) Interface display method, device and equipment
CN104978118B (en) A kind of graphical interface of user display methods, device and terminal device
US8963854B2 (en) Data processing device, and computer program and data processing method thereof
CN106445269B (en) Status bar display method of mobile terminal and mobile terminal
US20150293652A1 (en) Creating an interaction area for listing user-selectable items
US20150234543A1 (en) Information processing method and electronic device
CN111782095B (en) Switching display method and device for display objects in visual area
CN115756466A (en) View checking method and device, electronic equipment and storage medium
US20130227497A1 (en) Apparatus and method for generating standby screen
CN108089792A (en) A kind of application icon lookup method and relevant device
CN108519844B (en) Menu display method and device, storage medium, processor and terminal

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
GR01 Patent grant
GR01 Patent grant