CN108776572A - Window treatments method and device - Google Patents
Window treatments method and device Download PDFInfo
- Publication number
- CN108776572A CN108776572A CN201810524943.2A CN201810524943A CN108776572A CN 108776572 A CN108776572 A CN 108776572A CN 201810524943 A CN201810524943 A CN 201810524943A CN 108776572 A CN108776572 A CN 108776572A
- Authority
- CN
- China
- Prior art keywords
- window
- display window
- current display
- attribute information
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to window treatments method and devices.This method includes:Obtain the current location information of window touch operation;The attribute information of current display window is determined according to current location information, wherein attribute information includes:The size of current display window and/or position;According to the attribute information of current display window, current display window is handled, wherein processing includes:Mobile current display window and/or the current display window of scaling.Pass through the disclosure, when getting the current location information of the window touch operation, the attribute information of current display window can be automatically determined according to the current location information, and then according to the attribute information, automatically the current display window is moved and/or scaled, to follow gesture to move and/or scale real window during gesture operation, lead to operating delay, interim card to avoid zooming in and out and/or moving to sectional drawing in the related technology.
Description
Technical field
This disclosure relates to field of terminal technology more particularly to window treatments method and device.
Background technology
Currently, popularizing with comprehensive screen mobile phone, more and more Android manufacturers provide the scheme of screen gesture comprehensively.Have
Some manufacturers can design a kind of such interaction effect when using gesture operation:Visually, currently answering in foreground
Can be with the change of hand gesture location with window, and scaling and/or movement occur in real time.But this scheme in the prior art is simultaneously
So that real window is carried out scaling in real time and/or movement with hand gesture location, the mechanism of sectional drawing is utilized, i.e.,:?
When gesture operation starts, sectional drawing is carried out to current application window, is zoomed in and out repeatedly for the sectional drawing later, displacement operation, because
And the relevant technologies be by making a kind of such illusion, allow user be visually mistakenly considered real application widget with
With current scale and/or movement.
Invention content
The embodiment of the present disclosure provides window treatments method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of window treatments method is provided, including:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:
The size of the current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the place
Reason includes:The mobile current display window and/or the scaling current display window.
In one embodiment, the method further includes:
Before handling the current display window, forbid primary comprehensive screen layout behavior of window.
In one embodiment, the method further includes:
At the end of the window touch operation, allow primary comprehensive screen layout behavior.
In one embodiment, before the attribute information for determining current display window according to the current location information,
The method further includes:
Traversal it is current be not turned off window;
All application widgets are obtained in window from described be not turned off;
By there are the windows of figure layer object to be determined as the current display window in all application widgets.
In one embodiment, the attribute information that current display window is determined according to the current location information, packet
It includes:
When the startup operation position of the window touch operation falls into the sliding of predeterminable area and the window touch operation
After distance meets a threshold value, according to the current location information and the size for shielding window on current screen equipment comprehensively comprehensively, really
The fixed attribute information.
In one embodiment, the current location information for obtaining window touch operation, according to the present bit confidence
Breath determines the attribute information of current display window, including:
The current location information is obtained by the window treatments interface added in system service process, and is worked as according to described
Front position information determines the attribute information;Or
The current location information is obtained by the window treatments interface added in figure layer process process, and is worked as according to described
Front position information determines the attribute information.
In one embodiment, the attribute information according to the current display window, to the current display window
It is handled, including:
Determining the attribute information by the system service process, by interprocess communication to the figure layer process into
Journey sends the attribute information;
The current display window is moved and/or scaled by the figure layer process process;
Or
After the figure layer process process determines the attribute information, to the current display window carry out it is mobile and/or
Scaling.
According to the second aspect of the embodiment of the present disclosure, a kind of window treatments device is provided, including:
First processing module, the current location information for obtaining window touch operation, according to the current location information
Determine the attribute information of current display window, wherein the attribute information includes:The size of the current display window and/or
Position;
Second processing module, for according to the attribute information of the current display window, to the current display window into
Row processing, wherein the processing includes:The mobile current display window and/or the scaling current display window.
In one embodiment, described device further includes:
Disabled module, primary comprehensive screen cloth for before handling the current display window, forbidding window
Office's behavior.
In one embodiment, described device further includes:
Allow module, at the end of the window touch operation, allowing primary comprehensive screen layout behavior.
In one embodiment, described device further includes:
Spider module, for before the attribute information for determining current display window according to the current location information, time
It goes through and current is not turned off window;
Acquisition module, for obtaining all application widgets in window from described be not turned off;
Determining module, for by all application widgets there are the window of figure layer object be determined as it is described current aobvious
Show window.
In one embodiment, the first processing module includes:
Determination sub-module, for falling into predeterminable area and the window when the startup operation position of the window touch operation
After the sliding distance of touch operation meets a threshold value, shielded comprehensively on current screen equipment comprehensively according to the current location information
The size of window determines the attribute information.
In one embodiment, the first processing module includes:
First processing submodule obtains the present bit for the window treatments interface by being added in system service process
Confidence ceases, and determines the attribute information according to the current location information;Or
Second processing submodule obtains the present bit for the window treatments interface by being added in figure layer process process
Confidence ceases, and determines the attribute information according to the current location information.
In one embodiment, the Second processing module includes:
Sending submodule passes through interprocess communication for determining the attribute information by the system service process
The attribute information is sent to the figure layer process process;
Third handles submodule, for by the figure layer process process to the current display window carry out it is mobile and/
Or scaling;
Or
Fourth process submodule, for after the figure layer process process determines the attribute information, currently being shown to described
Show that window is moved and/or scaled.
According to the third aspect of the embodiment of the present disclosure, a kind of window treatments device is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:
The size of the current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the place
Reason includes:The mobile current display window and/or the scaling current display window.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with meter
Calculation machine instructs, when described instruction is executed by processor the step of realization first aspect embodiment the method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When getting the current location information of the window touch operation, it can be automatically determined and be worked as according to the current location information
The attribute information of preceding display window, and then according to the attribute information, automatically the current display window is moved and/or contracted
It puts, to follow gesture to move and/or scale real window during gesture operation, to avoid in the related technology
Sectional drawing is zoomed in and out and/or moves and leads to operating delay, interim card.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of window treatments method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another window treatments method shown according to an exemplary embodiment.
Fig. 3 is the flow chart according to another window treatments method shown in an exemplary embodiment.
Fig. 4 is a kind of block diagram of window treatments device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of another window treatments device shown according to an exemplary embodiment.
Fig. 6 is the block diagram according to another window treatments device shown in an exemplary embodiment.
Fig. 7 is the block diagram according to another window treatments device shown in an exemplary embodiment.
Fig. 8 is the block diagram according to another window treatments device shown in an exemplary embodiment.
Fig. 9 is a kind of block diagram suitable for window treatments device shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Currently, popularizing with comprehensive screen mobile phone, more and more Android manufacturers provide the scheme of screen gesture comprehensively.Have
Some manufacturers can design a kind of such interaction effect when using gesture operation:Visually, currently answering in foreground
Can be with the change of hand gesture location with window, and scaling and/or movement occur in real time.But this scheme in the prior art is simultaneously
So that real window is carried out scaling in real time and/or movement with hand gesture location, the mechanism of sectional drawing is utilized, i.e.,:?
When gesture operation starts, sectional drawing is carried out to current application window, is zoomed in and out repeatedly for the sectional drawing later, displacement operation, because
And the relevant technologies be by making a kind of such illusion, allow user be visually mistakenly considered real application widget with
With current scale and/or movement.
However, this scheme has the following disadvantages:
1. there is delay in operation:It is one than relatively time-consuming operation due to carrying out sectional drawing to system, sectional drawing is plotted in one
Similarly it is a time-consuming operation on the new window of block, and is required for when each gesture operation after first the two being waited to operate again
Continue subsequent flow (scaling and/or mobile), thus, gesture operation can carry obvious delay.
2. can only show in a static manner when dragging:What it is due to operation is sectional drawing, so in its scaling, mobile process
In its state be static always.Thus, if window interior there are the dynamic behaviours such as video, animation, in scaling, move
It will be unable to make the dynamic behaviour in window persistently to carry out when dynamic.
3. performance issue:There may be interim cards during gesture operation.Since a whole set of mechanism is needed based on resident system
The main thread of app processes (such as SystemUI processes, Home processes etc.) executes, during scaling and/or moving window constantly
Ground redraws operation, needs to ensure that its main thread is unobstructed.And resident system-level app would generally there are many component, maximum probabilities
Its main thread is occupied, this can cause the drafting operation during scaling and/or moving window to be obstructed, to which interim card occur.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of window treatments method, and this method can be used for
In window manipulation routine, system or device, and the corresponding executive agent of this method can be the terminals such as comprehensive screen mobile phone, such as Fig. 1
It is shown, the method comprising the steps of S101 to step S103:
In step S101, the current location information of window touch operation is obtained;
In step s 102, the attribute information of current display window is determined according to current location information, wherein attribute information
Including:The size of current display window and/or position;
Touch point of the current location information i.e. window touch operation on comprehensive screen is relative to the lateral coordinates shielded comprehensively
And longitudinal coordinate;And the touch point can be finger touch point or stylus touch point.
And the object that the window touch operation is directed to i.e. current display window.
In step s 103, according to the attribute information of current display window, current display window is handled, wherein
Processing includes:Mobile current display window and/or the current display window of scaling.
When getting the current location information of the window touch operation, it can be automatically determined and be worked as according to the current location information
The attribute information of preceding display window, and then according to the attribute information, automatically the current display window is moved and/or contracted
It puts, to follow gesture to move and/or scale real window during gesture operation, to avoid in the related technology
Sectional drawing is zoomed in and out and/or moves and leads to operating delay, interim card.
In addition, since the disclosure is that gesture is followed to move and/or scale real window, thus, even if window
There are the dynamic behaviours such as video, animation in inside, and the dynamic behaviour in scaling, moving window in window can continue to carry out, and
It will not be interrupted with the size of window, the change of position, so the dynamic behaviour of window interior is protected in operation
It stays, greatly the user experience is improved, allows user that can clearly experience oneself and is veritably operating this window.
In one embodiment, method further includes:
Before handling current display window, forbid primary comprehensive screen layout behavior of window.
Before handling current display window, primary comprehensive screen layout behavior of window should be forbidden, to avoid
When attribute information based on current display window handles current display window, which works as
The size of preceding display window and/or position, if as primary comprehensive screen layout behavior unlatching is likely to based on current aobvious
Show that the current display window automatic reduction is comprehensive in the process of processing to current display window by the attribute information of window
Shield window.
Primary comprehensive screen layout behavior is:What Android system was included when the manufacture of the terminals such as comprehensive screen mobile phone is by window layout
The behavior of screen window comprehensively.
In one embodiment, method further includes:
At the end of window touch operation, allow primary comprehensive screen layout behavior.
Since primary comprehensive screen layout behavior is the function call of a high frequency, so, at the end of window touch operation,
It needs to release the limitation to primary comprehensive screen layout behavior, system mode is restored immediately, prevents from causing the primary behavior of system
It influences.
As shown in Fig. 2, in one embodiment, executing step S102 shown in FIG. 1, i.e., it is true according to current location information
Before the attribute information of settled preceding display window, method further includes step S201 to step S203:
In step s 201, it traverses and current is not turned off window;
It may include the window opened by user in the application for operate in foreground and backstage to be not turned off window.
Wherein, it may include application widget, the system-level windows such as status bar, input method window to be not turned off window.
In step S202, all application widgets are obtained in window from being not turned off;
In step S203, by there are the windows of figure layer object to be determined as current display window in all application widgets.
It is not turned off window by traversal, can obtain and be not turned off application widget all in window, and due in application widget
If bottom there are figure layer object, illustrate the application widget it is current as it can be seen that thus, can be by there are figure layers pair in all application widgets
The window of elephant is accurately determined as current display window.
The embodiment can execute in the following way:
It is obtained in the system server processes (system service process) of system and indicates current main screen
DisplayContent objects (displaying content object), and then the whole windows being not turned off are traversed by the object
(WindowState objects), you can filter away sightless application widget, non-application widget filters away, only retains surplus
Under window, that is, current application window.And judge that the logic of current visible application widget is:Judge window (i.e.
WindowState objects) whether there are AppWindowToken objects (whether being application widget), and then judge application widget
Visibility (judges whether there are corresponding Layer objects in bottom), then will meet window (the i.e. current display of above-mentioned condition
Intended application window) save.
As shown in figure 3, in one embodiment, above-mentioned step S102 shown in FIG. 1 is determined according to current location information
The attribute information of current display window, may include step S301:
In step S301, when the startup operation position of window touch operation falls into predeterminable area and window touch operation
After sliding distance meets a threshold value, according to current location information and the size for shielding window on current screen equipment comprehensively comprehensively, really
Determine attribute information.
When the sliding distance that the startup operation position of window touch operation falls into predeterminable area and window touch operation meets
When one threshold value, it can be confirmed that user is to be expected that by the window touch operation current display window is moved and/or scaled,
Thus, attribute information can be determined, according to the size of the current location information and screen window comprehensively so as to later according to gesture operation
The attribute information determined in the process veritably carries out scaling in real time and/or movement to current display window.
Secondly, the predeterminable area is for intercepting the gesture that initial position is fallen into predeterminable area, as long as and gesture rise
Beginning position falls into the region, has tentatively illustrated that user may expect through the gesture to be the window shielded comprehensively to initial display state
Mouth, which is zoomed in and out and/or moved, (certainly, in order to avoid user misoperation, can carry the predeterminable area and its function in advance
Show, so that user is clear when it is desirable that zooming in and out and/or moving to shielding window comprehensively, then since the predeterminable area in execution
State gesture), as long as and the gesture initial position fall into the region, even if later in the lasting progress of the window touch operation,
Its current location information does not fall within the predeterminable area, still can obtain the current location information.Certainly, specifically, can pass through
The fully transparent interception window of predeterminable area top layer covering intercepts the window touch operation that initial position falls into the region, should
Intercepting window size can be with personal settings, such as the width of the interception window can be with the width of comprehensive screen mobile phone terminal screen
Unanimously, can be highly 50px or 54px etc..
In addition, since startup operation position falls into the predeterminable area it is merely meant that the gesture may be to be zoomed in and out to window
And/or mobile gesture can avoid accidentally being considered other more gestures or maloperation pair thus by the way that above-mentioned threshold value is arranged
The gesture that window is zoomed in and out and/or moved.Certainly, it determines above-mentioned current display window and forbids primary comprehensive screen of window
The operation of layout behavior can also fall into predeterminable area and window touch operation in the startup operation position of window touch operation
Sliding distance executes again when meeting a threshold value.
And the step of determining attribute information can it is following (it is assumed that:The predeterminable area is the terminals bottoms such as comprehensive screen mobile phone
A certain height is the entire transverse area of 54px, which is 20px):
Shield the height of terminal bottom comprehensively when detecting that the initial position of certain window touch operation is fallen into for the default of 54px
Region, and in certain time length, when longitudinal sliding motion distance reaches 20px, illustrate that user does want to touch by the window and grasp
Current display window of opposing is zoomed in and out and/or is moved, thus, can calculate the y (i.e. longitudinal coordinate) of current location information with it is complete
The range difference of (i.e. upper end on screen longitudinal direction comprehensively), then calculates the range difference and screen is entire comprehensively at the top of face terminal
The ratio of longitudinal length, you can the zoom factor of the current display window is obtained, and longitudinal direction is the direction at long place.
Further, shield the size of window in screen terminal comprehensively according to the zoom factor and comprehensively, you can it is current to obtain this
The current size of display window (size=zoom factor * shields the size of window comprehensively);Simultaneously using current location information as
The center of the current display window, you can determine the position on each vertex of current display window, certainly, in actual operation, in order to
Operation is reduced, the position (position of such as top left corner apex) on one vertex of current display window can be only calculated.
In one embodiment, the current location information for obtaining window touch operation is worked as according to current location information determination
The attribute information of preceding display window, including:
Current location information is obtained by the window treatments interface added in system service process, and according to present bit confidence
Breath determines attribute information;Or
Current location information is obtained by the window treatments interface added in figure layer process process, and according to present bit confidence
Breath determines attribute information.
When obtaining above-mentioned current operation position and attribute information, system service process (i.e. system server can be passed through
Process) it executes aforesaid operations or aforesaid operations is executed by figure layer process process (i.e. SurfaceFlinger processes), to
It is finally reached identical operating effect, also enriches the operation scheme of the disclosure.
In one embodiment, according to the attribute information of current display window, current display window is handled, is wrapped
It includes:
Attribute information is being determined by system service process, and attribute letter is sent to figure layer process process by interprocess communication
Breath;
Current display window is moved and/or scaled by figure layer process process;
Or
After figure layer process process determines attribute information, current display window is moved and/or scaled.
It, can be logical by establishing Binder with figure layer process process after determining above-mentioned attribute information by system service process
News, then send the category by interprocess communication (IPC, Inter-Process Communication) to figure layer process process
Property information, current display window is moved and/or be scaled by figure layer process process;Or if by figure layer process into
Journey determines above-mentioned attribute information, then current display window directly can be moved and/or be scaled by figure layer process process, thus
During gesture operation, as gesture is zoomed in and out and/or is moved to window.
Certainly, through this embodiment with upper one embodiment it is found that the disclosure can not striding course by figure layer process into
All embodiments of the disclosure are individually performed in journey, can improve window treatments efficiency, but due to may be with system service process
The window attribute information of middle preservation is inconsistent and there are potential risks;Or the disclosure can be with striding course by figure layer process
Process and system service process, which cooperate, executes above-mentioned all embodiments, and this mode can ensure that be preserved in two different processes
Window attribute information it is consistent.But regardless of whether striding course, is moved and/or is contracted to current display window according to attribute information
The step of putting is executed by figure layer process process.
In addition, the process that figure layer process process is moved and/or scaled to current display window can be:Figure layer process
According to the attribute information of the current display window received, layer (figure layer) corresponding to current display window sets process
It sets so that the size of the corresponding layer of current display window and/or the size and/or position phase of position and current display window
Together, to achieve the effect that window is veritably zoomed in and out and/or moved according to gesture.
Finally, due to which embodiment of the disclosure can be irrelevant by the completely self-contained thread execution being arranged in process
The main thread for the system app processes resided in technology executes, and the thread will not be blocked by other tasks, greatly reduce
The probability of interim card in operating process, to significantly improve the performance in gesture operation window this whole process.
Below in conjunction with specific embodiment, the technical solution of the disclosure is further illustrated:
The startup operation position of window touch operation fall into predeterminable area and monitor the sliding of window touch operation away from
After meeting a threshold value, following step is executed:
1. forbidding the layout behavior of current operation window
Size/position of system windows passes through system server processes (system service process)
WindowManagerService (window management service) assembly management, and primary comprehensive screen of window is laid out (Layout) behavior
The size and location that window can probably be changed, window is reduced to shield window comprehensively.Thus, when triggering window scales in real time
With before/mobile behavior, need first to forbid primary comprehensive screen layout behavior, prevent window scale in real time and/it is mobile during,
Its position, size, which are interfered, (during the size and location for preventing from real time changing according to gesture window, passes through the layout
Window is reduced to full frame state by behavior).The method of its layout behavior is forbidden to use the primary delay layout method of system,
It allows entire gesture operation process not influenced by the primary behavior of system, reduces and introduced in system system server processes
Other logics will produce the probability of risk.
2. inquiry currently needs the window changed
Scaling and/mobile target window are current visible application widget in real time, are needed
The non-application widget such as status bar, dummy keyboard, wallpaper is filtered out in WindowManagerService services, is only operated visible
Application widget.It is logically divided into following steps:
(1) the DisplayContent objects (displaying content object) for currently representing main screen are obtained
(2) DisplayContent objects are traversed, the WindowState objects for representing each window are obtained
(3) by sightless WindowState, not no WindowState (the i.e. non-application windows of AppWindowToken
Mouthful) filter away, only retain remaining window (current visible application widget).
3. receiving the position of current operation gesture
System UI processes call the receiving added in WindowManagerService services to scale in real time and/or mobile
Interface, to monitor the touch events reported each time (packet by interface notification WindowManagerService serviced components
Current location information containing gesture), and calculate the corresponding size of current window and position.
4. notifying underlying services, change the size and location of window
Really change window size and location place system SurfaceFlinger processes (i.e. figure layer process into
Journey) in, WindowManagerService serviced components are used by its SurfaceControl component (figure layer control assembly)
The transformation matrices of the size and location of current window are sent to SurfaceFlinger services by Binder communications, are changed to reach
Become the purpose of the size and location of window.Due to having saved (WindowState pairs of window object for needing to change before
As), and each WindowState object can be by SurfaceControl to SurfaceFlinger process requesteds
(i.e. WindowManagerService is notified that WindowState pairs after the size and location for calculating current display window
As if it is no zoom in and out and/or move, later WindowState objects will to WindowManagerService send ask
Ask, and then above-mentioned transformation matrices can be just sent to SurfaceFlinger services by WindowManagerService) change is certainly
Oneself position and size, to achieve the purpose that window really scaling and/or movement.
5. function terminates, state reduction
When entire window touch operation terminates (such as lift hand), needs to restore its system mode, that is, cancel to primary complete
Face is laid out the limitation of behavior.Since this is the function call of a high frequency, so need to restore immediately at the end of the function,
It prevents from impacting the original behavior of system.
Certainly, above-mentioned 5 steps can independently execute in SurfaceFlinger processes (does not need at striding course
Reason, certainly, the receiving that should be added in SurfaceFlinger processes in this case scales in real time and/or mobile interface),
To improve the treatment effeciency for following gesture to zoom in and out and/or move to window, but since this mode of operation may cause
The attribute information of SurfaceFlinger processes and the current display window preserved in system server processes is inconsistent and deposits
In potential risks.
Finally, it should be clear that:Those skilled in the art can carry out above-mentioned multiple embodiments certainly according to actual demand
By combining.
The above-mentioned window treatments method that the corresponding embodiment of the present disclosure provides, the embodiment of the present disclosure also provide a kind of window treatments
Device, as shown in figure 4, the device includes:
First processing module 401 is configured as obtaining the current location information of window touch operation, according to present bit confidence
Breath determines the attribute information of current display window, wherein attribute information includes:The size of current display window and/or position;
Second processing module 402 is configured as the attribute information according to current display window, is carried out to current display window
Processing, wherein processing includes:Mobile current display window and/or the current display window of scaling.
As shown in figure 5, in one embodiment, device further includes:
Disabled module 501 is configured as before handling current display window, forbids primary comprehensive screen of window
Layout behavior.
As shown in fig. 6, in one embodiment, device further includes:
Allow module 601, be configured as at the end of window touch operation, allows primary comprehensive screen layout behavior.
As shown in fig. 7, in one embodiment, device further includes:
Spider module 701 is configured as before the attribute information for determining current display window according to current location information,
Traversal it is current be not turned off window;
Acquisition module 702 is configured as obtaining all application widgets in window from being not turned off;
Determining module 703 is configured as there are the windows of figure layer object to be determined as currently showing in all application widgets
Show window.
As shown in figure 8, in one embodiment, first processing module 401 may include:
Determination sub-module 4011 is configured as falling into predeterminable area and window when the startup operation position of window touch operation
After the sliding distance of touch operation meets a threshold value, window is shielded according to current location information comprehensively on current screen equipment comprehensively
Size, determine attribute information.
In one embodiment, first processing module 401 may include:
First processing submodule is configured as obtaining present bit by the window treatments interface added in system service process
Confidence ceases, and determines attribute information according to current location information;Or
Second processing submodule is configured as obtaining present bit by the window treatments interface added in figure layer process process
Confidence ceases, and determines attribute information according to current location information.
In one embodiment, Second processing module 402 may include:
Sending submodule is configured as determining attribute information by system service process, by interprocess communication to figure
Layer treatment progress sends attribute information;
Third handles submodule, is configured as that current display window is moved and/or contracted by figure layer process process
It puts;
Or
Fourth process submodule is configured as after figure layer process process determines attribute information, to current display window into
Row is mobile and/or scales.
According to the embodiment of the present disclosure, a kind of window treatments device is additionally provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:
The size of the current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the place
Reason includes:The mobile current display window and/or the scaling current display window.
Above-mentioned processor is also configured to:
The method further includes:
Before handling the current display window, forbid primary comprehensive screen layout behavior of window.
Above-mentioned processor is also configured to:
The method further includes:
At the end of the window touch operation, allow primary comprehensive screen layout behavior.
Above-mentioned processor is also configured to:
Before the attribute information for determining current display window according to the current location information, the method further includes:
Traversal it is current be not turned off window;
All application widgets are obtained in window from described be not turned off;
By there are the windows of figure layer object to be determined as the current display window in all application widgets.
Above-mentioned processor is also configured to:
The attribute information that current display window is determined according to the current location information, including:
When the startup operation position of the window touch operation falls into the sliding of predeterminable area and the window touch operation
After distance meets a threshold value, according to the current location information and the size for shielding window on current screen equipment comprehensively comprehensively, really
The fixed attribute information.
Above-mentioned processor is also configured to:
The current location information for obtaining window touch operation, current display window is determined according to the current location information
The attribute information of mouth, including:
The current location information is obtained by the window treatments interface added in system service process, and is worked as according to described
Front position information determines the attribute information;Or
The current location information is obtained by the window treatments interface added in figure layer process process, and is worked as according to described
Front position information determines the attribute information.
Above-mentioned processor is also configured to:
The attribute information according to the current display window handles the current display window, including:
Determining the attribute information by the system service process, by interprocess communication to the figure layer process into
Journey sends the attribute information;
The current display window is moved and/or scaled by the figure layer process process;
Or
After the figure layer process process determines the attribute information, to the current display window carry out it is mobile and/or
Scaling.
Fig. 9 is a kind of block diagram for window treatments device 900 shown according to an exemplary embodiment, which is applicable in
In terminal device.For example, device 900 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game control
Platform processed, tablet device, Medical Devices, body-building equipment, a number assistant etc..
With reference to Fig. 9, device 900 may include with next or at least two components:Processing component 902, memory 904,
Power supply module 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor module 914, with
And communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 902 may include one or at least two processors 920 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or at least two
Module, convenient for the interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module,
To facilitate the interaction between multimedia component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown
Example includes instruction for any storage object or method that are operated on device 900, contacts user data, telephone book data,
Message, picture, video etc..Memory 904 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 906 provides power supply for the various assemblies of device 900.Power supply module 906 may include power management system
System, one or at least two power supplys and other generated with for device 900, management and the associated component of distribution power supply.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or at least two touch
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 908 includes a front camera and/or rear camera.When device 900 is in operation mode, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or at least two sensors, the state for providing various aspects for device 900
Assessment.For example, sensor module 914 can detect the state that opens/closes of device 900, the relative positioning of component, such as institute
The display and keypad that component is device 900 are stated, sensor module 914 can be with 900 1 groups of detection device 900 or device
The position change of part, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 may include proximity sensor, be configured to examine without any physical contact
Survey presence of nearby objects.Sensor module 914 can also include that optical sensor is used for such as CMOS or ccd image sensor
It is used in imaging applications.In some embodiments, which can also include acceleration transducer, and gyroscope passes
Sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be by one or at least two application specific integrated circuits (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by above-mentioned apparatus 900
When processor executes so that above-mentioned apparatus 900 is able to carry out a kind of window treatments method, including:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:
The size of the current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the place
Reason includes:The mobile current display window and/or the scaling current display window.
In one embodiment, the method further includes:
Before handling the current display window, forbid primary comprehensive screen layout behavior of window.
In one embodiment, the method further includes:
At the end of the window touch operation, allow primary comprehensive screen layout behavior.
In one embodiment, before the attribute information for determining current display window according to the current location information,
The method further includes:
Traversal it is current be not turned off window;
All application widgets are obtained in window from described be not turned off;
By there are the windows of figure layer object to be determined as the current display window in all application widgets.
In one embodiment, the attribute information that current display window is determined according to the current location information, packet
It includes:
When the startup operation position of the window touch operation falls into the sliding of predeterminable area and the window touch operation
After distance meets a threshold value, according to the current location information and the size for shielding window on current screen equipment comprehensively comprehensively, really
The fixed attribute information.
In one embodiment, the current location information for obtaining window touch operation, according to the present bit confidence
Breath determines the attribute information of current display window, including:
The current location information is obtained by the window treatments interface added in system service process, and is worked as according to described
Front position information determines the attribute information;Or
The current location information is obtained by the window treatments interface added in figure layer process process, and is worked as according to described
Front position information determines the attribute information.
In one embodiment, the attribute information according to the current display window, to the current display window
It is handled, including:
Determining the attribute information by the system service process, by interprocess communication to the figure layer process into
Journey sends the attribute information;
The current display window is moved and/or scaled by the figure layer process process;
Or
After the figure layer process process determines the attribute information, to the current display window carry out it is mobile and/or
Scaling.
Art technology user person will readily occur to the disclosure after considering specification and putting into practice disclosure disclosed herein
Other embodiments.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes
Or adaptive change follow the general principles of this disclosure and include the disclosure it is undocumented in the art it is known often
Knowledge or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim point out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (16)
1. a kind of window treatments method, which is characterized in that including:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:It is described
The size of current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the processing packet
It includes:The mobile current display window and/or the scaling current display window.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Before handling the current display window, forbid primary comprehensive screen layout behavior of window.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
At the end of the window touch operation, allow primary comprehensive screen layout behavior.
4. according to the method described in claim 1, it is characterized in that, determining current display window according to the current location information
Before the attribute information of mouth, the method further includes:
Traversal it is current be not turned off window;
All application widgets are obtained in window from described be not turned off;
By there are the windows of figure layer object to be determined as the current display window in all application widgets.
5. according to the method described in claim 1, it is characterized in that,
The attribute information that current display window is determined according to the current location information, including:
When the startup operation position of the window touch operation falls into predeterminable area and the sliding distance of the window touch operation
After meeting a threshold value, according to the current location information and the size for shielding window on current screen equipment comprehensively comprehensively, institute is determined
State attribute information.
6. the method according to any one of claims 1 to 5, it is characterized in that,
The current location information for obtaining window touch operation, current display window is determined according to the current location information
Attribute information, including:
The current location information is obtained by the window treatments interface added in system service process, and according to the present bit
Confidence breath determines the attribute information;Or
The current location information is obtained by the window treatments interface added in figure layer process process, and according to the present bit
Confidence breath determines the attribute information.
7. according to the method described in claim 6, it is characterized in that,
The attribute information according to the current display window handles the current display window, including:
The attribute information is being determined by the system service process, is being sent out to the figure layer process process by interprocess communication
Send the attribute information;
The current display window is moved and/or scaled by the figure layer process process;
Or
After the figure layer process process determines the attribute information, the current display window is moved and/or scaled.
8. a kind of window treatments device, which is characterized in that including:
First processing module, the current location information for obtaining window touch operation are determined according to the current location information
The attribute information of current display window, wherein the attribute information includes:The size of the current display window and/or position;
Second processing module, for the attribute information according to the current display window, at the current display window
Reason, wherein the processing includes:The mobile current display window and/or the scaling current display window.
9. device according to claim 8, which is characterized in that described device further includes:
Disabled module, primary comprehensive screen layout rows for before handling the current display window, forbidding window
For.
10. device according to claim 9, which is characterized in that described device further includes:
Allow module, at the end of the window touch operation, allowing primary comprehensive screen layout behavior.
11. device according to claim 8, which is characterized in that described device further includes:
Spider module, for before the attribute information for determining current display window according to the current location information, traversal to be worked as
Preceding is not turned off window;
Acquisition module, for obtaining all application widgets in window from described be not turned off;
Determining module, for by there are the windows of figure layer object to be determined as the current display window in all application widgets
Mouthful.
12. device according to claim 8, which is characterized in that
The first processing module includes:
Determination sub-module, for falling into predeterminable area and window touch when the startup operation position of the window touch operation
After the sliding distance of operation meets a threshold value, window is shielded according to the current location information comprehensively on current screen equipment comprehensively
Size, determine the attribute information.
13. the device according to any one of claim 8 to 12, which is characterized in that
The first processing module includes:
First processing submodule obtains the present bit confidence for the window treatments interface by being added in system service process
Breath, and the attribute information is determined according to the current location information;Or
Second processing submodule obtains the present bit confidence for the window treatments interface by being added in figure layer process process
Breath, and the attribute information is determined according to the current location information.
14. device according to claim 13, which is characterized in that
The Second processing module includes:
Sending submodule, for determining the attribute information by the system service process, by interprocess communication to institute
It states figure layer process process and sends the attribute information;
Third handles submodule, for the current display window to be moved and/or contracted by the figure layer process process
It puts;
Or
Fourth process submodule, for after the figure layer process process determines the attribute information, to the current display window
Mouth is moved and/or is scaled.
15. a kind of window treatments device, which is characterized in that including:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the current location information of window touch operation;
The attribute information of current display window is determined according to the current location information, wherein the attribute information includes:It is described
The size of current display window and/or position;
According to the attribute information of the current display window, the current display window is handled, wherein the processing packet
It includes:The mobile current display window and/or the scaling current display window.
16. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the journey
The step of any one of claim 1 to 7 the method is realized when sequence is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524943.2A CN108776572A (en) | 2018-05-28 | 2018-05-28 | Window treatments method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524943.2A CN108776572A (en) | 2018-05-28 | 2018-05-28 | Window treatments method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108776572A true CN108776572A (en) | 2018-11-09 |
Family
ID=64027894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810524943.2A Pending CN108776572A (en) | 2018-05-28 | 2018-05-28 | Window treatments method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108776572A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209319A (en) * | 2019-05-21 | 2019-09-06 | 掌阅科技股份有限公司 | The display methods of page info calculates equipment and computer storage medium |
CN111045775A (en) * | 2019-12-10 | 2020-04-21 | 北京恒泰实达科技股份有限公司 | Method for efficiently integrating third-party application program in large-screen visualization system |
CN111552424A (en) * | 2020-04-24 | 2020-08-18 | 北京小米移动软件有限公司 | Small window dragging method, device, equipment and storage medium |
CN114911383A (en) * | 2022-06-02 | 2022-08-16 | 亿咖通(湖北)技术有限公司 | Window display method and vehicle-mounted terminal |
WO2022247542A1 (en) * | 2021-05-26 | 2022-12-01 | 华为技术有限公司 | Dynamic effect calculating method and apparatus |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164164A (en) * | 2013-04-10 | 2013-06-19 | 天津三星光电子有限公司 | Display control method of touch terminal application program and touch terminal thereof |
CN103294346A (en) * | 2013-06-20 | 2013-09-11 | 锤子科技(北京)有限公司 | Window moving method for mobile equipment and device thereof |
US20140015781A1 (en) * | 2012-07-12 | 2014-01-16 | Samsung Electronics Co. Ltd. | Method and mobile device for adjusting size of touch input window |
US20150033125A1 (en) * | 2013-07-29 | 2015-01-29 | Samsung Electronics Co., Ltd. | Method and apparatus for operating window of electronic device with touch screen |
CN105511795A (en) * | 2015-12-17 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method for operating user interface and mobile terminal |
CN105549871A (en) * | 2015-10-23 | 2016-05-04 | 东莞酷派软件技术有限公司 | Regulation method and device of interface area |
CN107179875A (en) * | 2017-06-26 | 2017-09-19 | 深圳传音通讯有限公司 | The method and apparatus of window adjustment |
-
2018
- 2018-05-28 CN CN201810524943.2A patent/CN108776572A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140015781A1 (en) * | 2012-07-12 | 2014-01-16 | Samsung Electronics Co. Ltd. | Method and mobile device for adjusting size of touch input window |
CN103164164A (en) * | 2013-04-10 | 2013-06-19 | 天津三星光电子有限公司 | Display control method of touch terminal application program and touch terminal thereof |
CN103294346A (en) * | 2013-06-20 | 2013-09-11 | 锤子科技(北京)有限公司 | Window moving method for mobile equipment and device thereof |
US20150033125A1 (en) * | 2013-07-29 | 2015-01-29 | Samsung Electronics Co., Ltd. | Method and apparatus for operating window of electronic device with touch screen |
CN105549871A (en) * | 2015-10-23 | 2016-05-04 | 东莞酷派软件技术有限公司 | Regulation method and device of interface area |
CN105511795A (en) * | 2015-12-17 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method for operating user interface and mobile terminal |
CN107179875A (en) * | 2017-06-26 | 2017-09-19 | 深圳传音通讯有限公司 | The method and apparatus of window adjustment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209319A (en) * | 2019-05-21 | 2019-09-06 | 掌阅科技股份有限公司 | The display methods of page info calculates equipment and computer storage medium |
CN111045775A (en) * | 2019-12-10 | 2020-04-21 | 北京恒泰实达科技股份有限公司 | Method for efficiently integrating third-party application program in large-screen visualization system |
CN111045775B (en) * | 2019-12-10 | 2023-10-27 | 北京恒泰实达科技股份有限公司 | Method for efficiently integrating third party application program in large screen visualization system |
CN111552424A (en) * | 2020-04-24 | 2020-08-18 | 北京小米移动软件有限公司 | Small window dragging method, device, equipment and storage medium |
WO2022247542A1 (en) * | 2021-05-26 | 2022-12-01 | 华为技术有限公司 | Dynamic effect calculating method and apparatus |
CN114911383A (en) * | 2022-06-02 | 2022-08-16 | 亿咖通(湖北)技术有限公司 | Window display method and vehicle-mounted terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10691285B2 (en) | Method and device for displaying floating window | |
CN108776572A (en) | Window treatments method and device | |
US10969942B2 (en) | Method and device for displaying interface | |
EP3098701B1 (en) | Method and apparatus for managing terminal application | |
US10942616B2 (en) | Multimedia resource management method and apparatus, and storage medium | |
EP3099040B1 (en) | Button operation processing method in single-hand mode, apparatus and electronic device | |
CN104503689B (en) | Application interface display methods and device | |
CN102147701B (en) | For showing the apparatus and method of the lock-screen of the terminal of provided with touch screen | |
EP3232340A1 (en) | Method for operating a display device and display device for displaying pages of an application program | |
EP3171554B1 (en) | Method and device for displaying a message | |
EP3046016A1 (en) | Method and apparatus for switching display mode | |
US20170060320A1 (en) | Method for controlling a mobile terminal using a side touch panel | |
EP3249505B1 (en) | Method and electronic device for controlling a state of a touch screen | |
EP3901751A1 (en) | Method, apparatus, device, and storage medium for controlling display of floating window | |
EP2921969A1 (en) | Method and apparatus for centering and zooming webpage and electronic device | |
CN103927101A (en) | Method and device for controlling ActiveX | |
EP3015968B1 (en) | Method for image deletion and device thereof | |
EP3995939A1 (en) | Method and device for touch operation, and storage medium | |
CN106527919A (en) | Method and device for adjusting screen display | |
CN108804187A (en) | The setting method and device of interfaces windows | |
CN105373318A (en) | Information display method and apparatus | |
CN112954215B (en) | Control method and device, electronic equipment and storage medium | |
CN115543064A (en) | Interface display control method, interface display control device and storage medium | |
EP4134798A1 (en) | Small window exit method, electronic device and storage medium | |
CN114690983A (en) | Content sharing method and device, equipment 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 |