CN114489920A - Input method of android application on Linux platform - Google Patents

Input method of android application on Linux platform Download PDF

Info

Publication number
CN114489920A
CN114489920A CN202210401564.0A CN202210401564A CN114489920A CN 114489920 A CN114489920 A CN 114489920A CN 202210401564 A CN202210401564 A CN 202210401564A CN 114489920 A CN114489920 A CN 114489920A
Authority
CN
China
Prior art keywords
application view
edit box
application
view
android
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210401564.0A
Other languages
Chinese (zh)
Other versions
CN114489920B (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.)
Beijing Linzhuo Information Technology Co Ltd
Original Assignee
Beijing Linzhuo Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Linzhuo Information Technology Co Ltd filed Critical Beijing Linzhuo Information Technology Co Ltd
Priority to CN202210401564.0A priority Critical patent/CN114489920B/en
Publication of CN114489920A publication Critical patent/CN114489920A/en
Application granted granted Critical
Publication of CN114489920B publication Critical patent/CN114489920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an input method of an android application on a Linux platform, which is characterized in that whether an application view is an edit box control or not is judged in the construction process of the application view, whether member variables of edit box classes are dynamically created or not is judged in the drawing process of the application view, so that the identification of a default edit box of an android system and a user self-built edit box is realized, and on the basis, the application view is drawn in a mode that text contents are not drawn in the application view when the application view obtains a focus, so that the application range of the input method of the android application in the Linux system is effectively enlarged.

Description

Input method of android application on Linux platform
Technical Field
The invention belongs to the technical field of development of running mobile applications on a desktop operating system, and particularly relates to an input method of android applications on a Linux platform.
Background
The Linux system android compatible environment (hereinafter abbreviated as android compatible environment) is a technology for running android applications (apps) on a Linux system, and has important significance for enriching the Linux system application ecology. At present, a typical android compatible environment mainly comprises an android application display unit and an android application compatible service, the android application display unit is used for realizing a user interface of the android application on a Linux system, the android application compatible service is used for providing the android compatible environment running on the Linux system, and the effective running of the android application on the Linux system is realized through the mutual cooperation of the android application display unit and the android application compatible service, for example, the realization xDroid of the existing android compatible environment comprises an xDroid UI and an xDroid Server, the xDroid UI is the android application display unit, and the xDroid Server is the android application compatible service.
Skia is an open-source two-dimensional rendering engine, which includes function libraries such as fonts, coordinate transformations, and dot diagrams, and the conventional android system performs drawing processing using the Skia library, and for example, the android system draws text using a canvas. When a user uses an android application, the user generally has a need to input content, and typical application scenarios are as follows: when a user uses the WPS Office App, the user needs to edit the file input content in the window of the WPS Office App, and at the moment, the characters input by the user are drawn and presented in the application window by a canvas.
When a user uses an android application in an android compatible environment, the user also has a requirement for inputting content, the android application interface is created by calling a standard Linux library through an android application display unit in the existing android compatible environment, the user inputs the android application interface and then transmits data to the android application compatible service, and further the efficiency of android application interface synchronization is improved in a mode of creating an agent editing box in a Linux system.
Disclosure of Invention
In view of this, the invention provides an input method of an android application on a Linux platform, which can realize effective input of the android application in an android compatible environment.
The invention provides an input method of android application on a Linux platform, which specifically comprises the following steps:
when an application view is created in an android compatible environment, sequentially judging whether the application view is an edit box control in the construction and drawing processes of the application view, if so, sending an application view registration message to an android application display unit, storing the characteristic information of the application view to an application view list, and if not, processing the application view; when the application view obtains a focus, if the application view exists in the application view list, the application view does not draw text content when refreshing and drawing, and sends a proxy edit box creation message to the android application display unit, and if the application view does not exist, the application view is not processed; when the application view loses focus, if the application view exists in the application view list, sending a proxy edit box destruction message to an android application display unit, and if the application view does not exist, not processing the application view;
the application View registration message is a message containing the belonged class name, the View _ ID, the Activity _ ID and the packageName of the application View; the agent edit box creating message comprises a View _ ID, an Activity _ ID, a focus enable, a View upper left corner coordinate, a View size, current display content, a cursor position, an edit box characteristic member function and a View attribute of an application View, wherein the edit box characteristic member function is a function which an edit box control in an android system must have; the agent edit box destruction message comprises a View _ ID, an Activity _ ID and an out-of-focus of the application View;
when the android application display unit receives the application view registration message, adding the information in the application view registration message as a record into an edit box queue; when the agent edit box creation message is received, modifying corresponding entries in the edit box queue according to the information in the agent edit box creation message, creating a self-drawn agent edit box, and if the belonging class name in the entries is an android system edit box class or an edit box feature member function is not empty, synchronously transmitting the acquired user input to an android application compatible service by the agent edit box to be drawn in an application view, or else, not processing; and when the agent edit box destroying message is received, modifying corresponding information in the edit box queue according to the information in the agent edit box destroying message, transmitting the text in the agent edit box to an android application compatible service to be drawn in an application view, and destroying the agent edit box.
Further, the method for enabling the application view not to draw the text content during the refresh drawing includes the following steps when the application view is the application view self-built by the user:
the android application compatible service determines the relation between the coordinate position of the text in the application view and the coordinate position of the application view by adopting a drawText function of the current Canvas object, takes the text in the application view as an internal text, prohibits the internal text from being rendered into the application view, and combines the internal text and a Paint object in the drawText function into a proxy edit box creating message.
Further, when the agent edit box creation message is received, modifying the corresponding entry in the edit box queue according to the information in the message, and in the process of creating the self-drawn agent edit box, when the application view is the application view created by the user, the manner of creating the self-drawn agent edit box is as follows: and creating a self-drawing proxy edit box, and drawing the proxy edit box by adopting the Skia library according to the obtained attributes in the Paint object.
Further, the agent edit box sets background full transparency to display text only.
Further, the sequentially judging whether the application view is an edit box control in the process of constructing and drawing the application view comprises the following steps:
step 5.1, when the application view is constructed, if the application view inherits the edit box class of the android system, determining the application view as an edit box control, and ending the process; otherwise, executing step 5.2;
step 5.2, if the member mark field of the application view sets that the focus is available, executing step 5.3; otherwise, determining that the application view is not the edit box control, and ending the process;
step 5.3, if the member functions of the application view contain the edit box feature member functions, the application view is an edit box control, and the process is ended; otherwise, executing step 5.4;
step 5.4, if the member variables inheriting the edit box class of the android system exist in the member variables of the application view and the interface area of the member variables is larger than the area threshold, the application view is an edit box control, and the process is ended; otherwise, executing step 5.5;
step 5.5, if member variables inheriting the view of the android system and meeting any judgment condition exist in the member variables of the application view, and the interface area of the view corresponding to the member variables is larger than or equal to an area threshold value, the application view is an edit box control, and the process is ended; otherwise, executing step 5.6; the judgment condition includes: the focus enable bit in the member mark field is set to be available for the focus and the member function comprises an edit box characteristic member function;
and 5.6, when the application view is drawn, if the application view dynamically creates an edit box control and the interface area of the edit box control is larger than or equal to the area threshold, the application view is the edit box control, otherwise, the application view is not the edit box control.
Further, the area threshold is set to two-thirds of the interface area of the application view.
Has the advantages that:
1. according to the android application input method, whether the application view is an edit box control or not is judged in the construction process of the application view, whether the application view dynamically creates member variables of edit box types or not is judged in the drawing process of the application view, the identification of the android system default edit box and the user self-built edit box is achieved, on the basis, the application view is drawn in a mode that text content is not drawn inside the application view when the application view obtains a focus, and therefore the application range of the android application input method in the Linux system is effectively enlarged.
2. The invention adopts a mode of determining the display of the text according to the position relation between the text and the application view in the application view aiming at the application view of the edit box class established by the user, thereby effectively avoiding the problem of possible control failure and improving the usability and the reliability of the invention.
3. According to the invention, the drawing information of the application view is acquired aiming at the application view of the edit box class self-built by the user, the proxy edit box is directly drawn in the Linux system based on the Skia library by adopting the drawing information, the consistency of the proxy edit box and the application view is effectively kept while the data communication between the android application display unit and the android application compatible service is further reduced, and the data synchronism between the proxy edit box and the application view is improved.
4. According to the method and the device, the proxy edit box is set to be in a display mode that the background is transparent and only the characters are displayed, so that the adjustment content of the proxy edit box can be effectively reduced when the android application display interface changes, and the synchronism of the proxy edit box and the android application window is further improved.
Drawings
Fig. 1 is a flowchart of an input method for an android application on a Linux platform according to the present invention.
Detailed Description
The invention is described in detail below by way of example with reference to the accompanying drawings.
The invention provides an input method of android application on a Linux platform, which has the following basic ideas: judging whether the application view is an edit box control or not in the construction process of the application view, judging whether the application view dynamically creates member variables of the edit box class or not in the drawing process of the application view, judging whether the application view is the edit box control or not according to the process, enabling the interior of the application view of the edit box class not to draw text contents when the application view obtains a focus, and informing an android application display unit to create an agent edit box to obtain user input.
The flow of the android application input method on the Linux platform provided by the invention is shown in FIG. 1, and the method comprises the following steps:
in one aspect, in an android compatible environment, an android application compatible service:
when the application view is created, sequentially judging whether the application view is an edit box control in the construction and drawing processes of the application view, if so, sending an application view registration message to an android application display unit, and storing the characteristic information of the application view into an application view list; otherwise, the android application compatible service does not process the application view. When the application view obtains a focus, judging whether the application view exists in an application view list, if so, enabling the application view not to draw text content during refreshing drawing, and sending an agent edit box creation message to an android application display unit; and if not, the android application compatible service does not process the application view. When the application view loses focus, judging whether the application view exists in an application view list, if so, sending a proxy editing frame destroy message to an android application display unit; and if not, the android application compatible service does not process the application view.
In the invention, the edit box control refers to a control for editing a text, and comprises a control inherited from EditText and a user-defined control.
The application view registration message is a message containing the characteristic information of the newly-built application view in the current android compatible environment. The characteristic information comprises the name of the class to which the application View belongs, View _ ID, Activity _ ID and PackageName. The name of the belonging class is the name of the class inherited by the application view, and the belonging class comprises standard edit box classes of an android system, such as EditText, AutoCompleteTextView and the like.
The agent edit box creation message is a message containing focus identification information of the application view which obtains the focus in the current android compatible environment. The focus identification information comprises a View _ ID, an Activity _ ID, focus enable, a View upper left corner coordinate, a View size, current display content, a cursor position, an edit box feature member function and a View attribute. The edit box feature member functions refer to functions which an edit box control in the android system must have, and include textChangedListener, beforeTextChanged, onTextChanged, and afterTextChanged; the View attribute is a View general attribute including an input type inputType, a hinting text hit, a font textStyle, a font size textSize, and the like.
The agent edit box destroy message is a message containing the identification information of the focus lost of the application view of which the focus is lost in the current android compatible environment. The lost focus identification information includes View _ ID, Activity _ ID, and lost focus.
The invention discloses a process for judging whether an application view is an edit box control or not, which comprises the following steps:
step 1-1, when the application view is constructed, judging whether the application view is an edit box control, if so, ending the process, otherwise, executing the step 1-2. The purpose of this step is to determine whether the application view itself is an edit box control.
Specifically, when the application view is constructed, judging whether the application view is an edit box control includes the following steps:
step 1-1.1, judging whether the application view inherits from an edit box class of the android system, if so, taking the application view as an edit box, and ending the process; if not, steps 1-1.2 are performed.
Step 1-1.2, judging whether the member mark field of the application view is set with focus enabling, if the member mark field is set with focus available, executing step 1-1.3; if the focus is not set to be available, the application view is not an edit box control, and the flow is ended.
In the android system, whether focus enable is set in a member flag field or NOT, wherein FOCUSABLE _ MASK indicates that a FOCUSABLE attribute occupies a bit position of mViewFlags, it can be seen that 1 st and 5 th bits in the mViewFlags are used for jointly indicating a focus mode of View, three focus modes of FOCUSABLE, NOT _ FOCUSABLE and FOCUSABLE _ AUTO exist, the 1 st bit controls FOCUSABLE, NOT _ FOCUSABLE, and the 5 th bit controls FOCUSABLE _ AUTO independently.
Step 1-1.3, traversing all member functions of the application view based on a Java reflection mechanism, and if the member functions contain edit box feature member functions, taking the application view as an edit box control and ending the process; if there is no edit box feature member function in the member functions, then steps 1-1.4 are performed.
Step 1-1.4, traversing member variables of the application view, if the member variables inherit from an android system edit box class exist and the interface area of the member variables is larger than or equal to an area threshold, taking the application view as an edit box control, and ending the process; otherwise, executing the step 1-1.5.
Step 1-1.5, if the member variables inheriting the view class of the android system exist in the member variables of the application view, if the member variables meet any judgment condition and the interface area of the corresponding view is larger than or equal to an area threshold value, the application view is an edit box control, and the process is ended; otherwise, executing step 1-2.
The judgment conditions include: 1. the focus enable bit in the member flags field of the member variable is set to be available for focus; 2. the member functions of the member variables comprise edit box characteristic member functions.
Step 1-2, when the application view is drawn, judging whether the application view dynamically creates an edit box control, if the edit box control is dynamically created and the interface area of the edit box control is larger than or equal to an area threshold, considering the application view as the edit box control, otherwise, returning a judgment result, and ending the process. The purpose of this step is to determine whether the application view dynamically creates a member variable of the edit box class that satisfies the condition during the drawing process.
Specifically, when the application view is drawn, the process of determining whether the application view is an edit box control is as follows: simulating the operation of enabling the application view to acquire the focus, dynamically creating a member variable after the application view acquires the focus, and if the member variable simultaneously meets two conditions that the inheritance self-android system edit box class and the interface area thereof are larger than or equal to an area threshold, taking the application view as an edit box control; otherwise, the application view is not an edit box control.
Typically, the area threshold is set to two-thirds of the interface area of the application view.
In addition, in the process of changing the drawing process of the application view to enable the application view not to draw the text content when the drawing is refreshed, the problem of control failure may occur when the application view built by the user adopts the existing mode to enable the application view not to draw the text, therefore, in order to further improve the usability and reliability of the invention, the application view customized by the android application developer can also be realized in a more optimized mode.
In the prior art, in the process of developing an android application, a developer of the android application often needs to implement an onDraw function of a view provided by an android system again, and call a Canvas object of the android system to implement a customized application view. In the android system, a Canvas can be understood as a method provided by the android system for the android application to operate on an internal memory area, namely, an API of the Canvas. Therefore, in order to change the drawing process of the application view of the android application without modifying the existing android application, the invention can select to modify the drawText function of the android system Canvas object, and the structure is drawText (String, float x, float y, Paint point), wherein the text is a String type text, x is the x-axis coordinate of the text, y is the y-axis coordinate of the text, and the Paint is the Paint object to be rendered.
The method adopts a mode of modifying the drawText function of the Canvas object of the android system to change the drawing process of the application view so that the application view does not draw text content when refreshing the drawing, and specifically comprises the following steps:
judging the position relation between the text and the corresponding view of the application view or the member variable according to the relation between the coordinate position of the text in the drawText function and the position of the corresponding view of the application view or the member variable, namely whether the text is all in the corresponding view of the application view or the member variable or is partially in the corresponding view of the application view or the member variable; regarding part of content in the text, which is located in the application view or the view corresponding to the member variable, as an internal text, stopping rendering the internal text to the application view or the view corresponding to the member variable, merging the internal text and the Paint object in the drawText function into a proxy edit box creation message, and transmitting the proxy edit box creation message to an android application display unit; and rendering the part of the content of the text, which is positioned outside the corresponding view of the application view or the member variable, according to the corresponding coordinates.
At this time, the agent edit box creation message includes focus identification information, internal text, and a Paint object, where the Paint object includes information such as a font name, a font size, a font color, and a font effect.
On the other hand, in the Linux system, the android application display unit performs the following processing:
when the android application display unit receives the application View registration message, the application View registration message is analyzed, and the characteristic information in the message, including the application View belonging class name, the View _ ID, the Activity _ ID and the packageName, is added to the edit box queue as a record.
When the android application display unit receives the agent edit box creating message, analyzing the agent edit box creating message, searching corresponding information in an edit box queue according to the message content, and creating an agent edit box after modifying corresponding entries in the edit box queue, wherein the agent edit box is a self-drawn edit box; if the class name in the corresponding entry belongs to the standard edit box class or the edit box characteristic member function in the proxy edit box creating message is not empty, the user input content acquired by the proxy edit box is synchronously transmitted to the android application compatible service and is displayed to the application view by the android application compatible service; otherwise, it is not processed.
When the android application display unit receives the agent edit box destroying message, the agent edit box destroying message is analyzed, corresponding information is searched in an edit box queue according to the message content, the content in the edit box queue is modified, the text in the agent edit box is transmitted to the android application compatible service, the android application compatible service displays the android application compatible service in an application view, and the agent edit box is destroyed.
The mode for destroying the agent edit box provided by the invention comprises the following steps:
step 2-1, when the android application compatible service receives an input completion event, disabling a vsync signal of an android system and informing an android application display unit of hiding an agent edit box;
step 2-2, after the agent edit box is hidden by the android application display unit, informing the android application compatible service to recover the vsync signal, and after the vsync signal is recovered by the android application compatible service, informing the android application display unit to destroy the agent edit box;
and 2-3, destroying the proxy edit box by the android application display unit, and deleting the edit box from the edit box queue.
In order to further improve the creating efficiency of the agent edit box, the font consistency of the drawing of the agent edit box view and the data synchronism between the agent edit box and the application view, when the creating message of the agent edit box comprises the internal text and the Paint object, the android application display unit in the Linux system draws the agent edit box in the same creating mode as the application view, namely the Skia drawing agent edit box is adopted in the Linux system. At this time, the process of creating the proxy edit box by the android application display unit is as follows:
when the android application display unit receives the agent edit box creating message, analyzing the agent edit box creating message, searching corresponding information in an edit box queue according to the message content, after modifying corresponding entries in the edit box queue, drawing the agent edit box by adopting Skia according to the obtained attributes in the Paint object, wherein the agent edit box is a self-drawn edit box; if the name of the corresponding entry belongs to the standard edit box class or the edit box characteristic member function in the proxy edit box creating message is not empty, the user input content acquired by the proxy edit box is synchronously transmitted to the android application compatible service and is displayed to the application view by the android application compatible service; otherwise, it is not processed.
In order to further improve the synchronism of the agent edit box and the android application window, the agent edit window only displays the text and does not draw any background, namely the background of the agent edit box is set to be completely transparent.
Further, only the text is displayed in the proxy edit box, so that the text does not change when the android application window moves, and the new position of the proxy edit box is calculated according to the position of the android application window and displayed at the new position; similarly, when the android application window is zoomed, the android application display unit obtains the current size and font size of the android application window from the android application compatible service, and displays the android application window after adjusting the font in the proxy edit box.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. An input method of android application on a Linux platform is characterized by specifically comprising the following steps:
when an application view is created in an android compatible environment, sequentially judging whether the application view is an edit box control in the construction and drawing processes of the application view, if so, sending an application view registration message to an android application display unit, storing the characteristic information of the application view to an application view list, and if not, processing the application view; when the application view obtains a focus, if the application view exists in the application view list, the application view does not draw text content when refreshing and drawing, and sends a proxy edit box creation message to the android application display unit, and if the application view does not exist, the application view is not processed; when the application view loses focus, if the application view exists in the application view list, sending a proxy edit box destruction message to an android application display unit, and if the application view does not exist, not processing the application view;
the application View registration message is a message containing the belonged class name, the View _ ID, the Activity _ ID and the packageName of the application View; the agent edit box creating message comprises a View _ ID, an Activity _ ID, a focus enable, a View upper left corner coordinate, a View size, current display content, a cursor position, an edit box characteristic member function and a View attribute of an application View, wherein the edit box characteristic member function is a function which an edit box control in an android system must have; the agent edit box destruction message comprises a View _ ID, an Activity _ ID and an out-of-focus of the application View;
when the android application display unit receives the application view registration message, adding the information in the application view registration message as a record into an edit box queue; when the agent edit box creation message is received, modifying corresponding entries in the edit box queue according to the information in the agent edit box creation message, creating a self-drawn agent edit box, and if the belonging class name in the entries is an android system edit box class or an edit box feature member function is not empty, synchronously transmitting the acquired user input to an android application compatible service by the agent edit box to be drawn in an application view, or else, not processing; and when the agent edit box destroying message is received, modifying corresponding information in the edit box queue according to the information in the agent edit box destroying message, transmitting the text in the agent edit box to an android application compatible service to be drawn in an application view, and destroying the agent edit box.
2. The input method according to claim 1, wherein the manner of making the application view not draw the text content when refreshing the drawing comprises the following steps when the application view is the application view self-created by the user:
the android application compatible service determines the relation between the coordinate position of the text in the application view and the coordinate position of the application view by adopting a drawText function of the current Canvas object, takes the text in the application view as an internal text, prohibits the internal text from being rendered into the application view, and combines the internal text and a Paint object in the drawText function into a proxy edit box creating message.
3. The input method according to claim 2, wherein when the agent edit box creation message is received, the corresponding entry in the edit box queue is modified according to the information in the message, and in the process of creating the self-drawn agent edit box, when the application view is an application view created by a user, the manner of creating the self-drawn agent edit box is as follows: and creating a self-drawing proxy edit box, and drawing the proxy edit box by adopting the Skia library according to the obtained attributes in the Paint object.
4. An input method according to claim 1 or 3, characterized in that the proxy edit box sets background full transparency to display text only.
5. The input method according to claim 1, wherein the sequentially judging whether the application view is an edit box control in the process of constructing and drawing the application view comprises the following steps:
step 5.1, when the application view is constructed, if the application view inherits the edit box class of the android system, determining the application view as an edit box control, and ending the process; otherwise, executing step 5.2;
step 5.2, if the member mark field of the application view sets that the focus is available, executing step 5.3; otherwise, determining that the application view is not the edit box control, and ending the process;
step 5.3, if the member functions of the application view comprise the edit box characteristic member functions, the application view is an edit box control, and the process is ended; otherwise, executing step 5.4;
step 5.4, if the member variables inheriting the edit box class of the android system exist in the member variables of the application view and the interface area of the member variables is larger than the area threshold, the application view is an edit box control, and the process is ended; otherwise, executing step 5.5;
step 5.5, if the member variables inheriting the view class of the android system and meeting any judgment condition exist in the member variables of the application view, and the interface area of the view corresponding to the member variables is larger than or equal to an area threshold, the application view is an edit box control, and the process is ended; otherwise, executing step 5.6; the judgment condition includes: the focus enable bit in the member mark field is set to be available for the focus and the member function comprises an edit box characteristic member function;
and 5.6, when the application view is drawn, if the application view dynamically creates an edit box control and the interface area of the edit box control is larger than or equal to the area threshold, the application view is the edit box control, otherwise, the application view is not the edit box control.
6. The input method according to claim 5, wherein the area threshold is set to two thirds of the interface area of the application view.
CN202210401564.0A 2022-04-18 2022-04-18 Input method of android application on Linux platform Active CN114489920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210401564.0A CN114489920B (en) 2022-04-18 2022-04-18 Input method of android application on Linux platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210401564.0A CN114489920B (en) 2022-04-18 2022-04-18 Input method of android application on Linux platform

Publications (2)

Publication Number Publication Date
CN114489920A true CN114489920A (en) 2022-05-13
CN114489920B CN114489920B (en) 2022-07-05

Family

ID=81489381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210401564.0A Active CN114489920B (en) 2022-04-18 2022-04-18 Input method of android application on Linux platform

Country Status (1)

Country Link
CN (1) CN114489920B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115599275A (en) * 2022-11-27 2023-01-13 北京麟卓信息科技有限公司(Cn) Implicit rendering-based textView free scaling method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220391A (en) * 2021-04-27 2021-08-06 北京麟卓信息科技有限公司 Analysis method and device for android application button function implementation mechanism
CN113238687A (en) * 2021-04-27 2021-08-10 北京麟卓信息科技有限公司 Method and device for realizing android application button function on desktop platform
WO2022028494A1 (en) * 2020-08-06 2022-02-10 华为技术有限公司 Multi-device data collaboration method and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022028494A1 (en) * 2020-08-06 2022-02-10 华为技术有限公司 Multi-device data collaboration method and electronic device
CN113220391A (en) * 2021-04-27 2021-08-06 北京麟卓信息科技有限公司 Analysis method and device for android application button function implementation mechanism
CN113238687A (en) * 2021-04-27 2021-08-10 北京麟卓信息科技有限公司 Method and device for realizing android application button function on desktop platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115599275A (en) * 2022-11-27 2023-01-13 北京麟卓信息科技有限公司(Cn) Implicit rendering-based textView free scaling method
CN115599275B (en) * 2022-11-27 2023-03-10 北京麟卓信息科技有限公司 Implicit rendering-based TextView free scaling method

Also Published As

Publication number Publication date
CN114489920B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US6795089B2 (en) Dynamic, live surface and model elements for visualization and modeling
US8140610B2 (en) Bitmap-based display remoting
US8072433B2 (en) Ink editing architecture
CN105511873B (en) User interface control display method and device
US9804767B2 (en) Light dismiss manager
JP2006106729A (en) Simplification of complex characters without impairing legibility
JP2008170939A (en) Electronic device, information processing device, image revision method and information processing method
CN114489920B (en) Input method of android application on Linux platform
EP2328097A2 (en) Program generation device, program generation method, and program
EP2447885B1 (en) A font file with graphic images
EP3066550B1 (en) Two step content selection
CN114840290A (en) Method for adapting vertical screen android application to PC display
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN114490140B (en) Low-delay input method for android application on Linux platform
CN108021567B (en) Method and device for self-adaptively customizing fonts of browser
CN112052063A (en) Watermark filling method, system, terminal and storage medium for application program
WO2023131314A1 (en) Window interaction method and electronic device
CN116456018A (en) Window interaction method and electronic device
CN117873414B (en) X11-based linux program appointed display method and device
EP4325340A1 (en) Display method and terminal device
KR20130098755A (en) Font service apparauts and method, font management apparatus and method
CN115904142A (en) Method and device for displaying instant communication message
CN116456020A (en) Window interaction method and electronic device
CN113778386A (en) Component generation method and device, storage medium and electronic equipment
CN113713375A (en) Interface element display method and device, terminal and storage medium

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