CN105677178A - Method for adjusting layer of control and mobile terminal - Google Patents

Method for adjusting layer of control and mobile terminal Download PDF

Info

Publication number
CN105677178A
CN105677178A CN201511033154.1A CN201511033154A CN105677178A CN 105677178 A CN105677178 A CN 105677178A CN 201511033154 A CN201511033154 A CN 201511033154A CN 105677178 A CN105677178 A CN 105677178A
Authority
CN
China
Prior art keywords
layer
target widget
force value
binding
adjusted
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
CN201511033154.1A
Other languages
Chinese (zh)
Other versions
CN105677178B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511033154.1A priority Critical patent/CN105677178B/en
Publication of CN105677178A publication Critical patent/CN105677178A/en
Application granted granted Critical
Publication of CN105677178B publication Critical patent/CN105677178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses a method for adjusting a layer of a control and a mobile terminal. The method comprises the steps that pressing parameters of the target control bound for layers displayed by an application program are detected, wherein the pressing parameters comprise the touch pressure value, and the application program comprises the displayed layer and at least one hidden layer; when the touch pressure value is within a first pressure value range corresponding to a layer switching mode, the binding relation between the target control and the displayed layer is removed, and the target control is bound with any of the hidden layers to form the layer to be adjusted; the laminating positions of the displayed layer and the layer to be adjusted are exchanged. By means of the method, the layer of the control can be quickly and conveniently switched.

Description

A kind of method adjusting figure layer belonging to control and mobile terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method adjusting figure layer belonging to control and mobile terminal.
Background technology
Along with quickly popularizing of the mobile terminal such as mobile phone, panel computer, increasing user uses image class application program editor's image such as MicrosoftOfficeVisio, beautiful figure elegant show, poster factory on mobile terminals. Such as; when user uses MicrosoftOfficeVisio on mobile terminals; often use various control (Graphics Control, ink marks control etc.) that image is edited; user can use Graphics Control to add variously-shaped figure in the picture, uses ink marks control to add various ink marks scribble in the picture. In image class application program, display interface can show multiple figure layer, same control can be used respectively different figure layers to be edited, same control may belong to multiple figure layer, when using same control respectively difference figure layer to be edited, enter figure layer and select menu, choose figure layer to be edited, so that this control belongs to this figure layer to be edited, utilize this control that this figure layer to be edited is edited, when the layer count that same control is corresponding is more, it is impossible to the figure layer belonging to toggle control quickly and easily.
Summary of the invention
The embodiment of the present invention provides a kind of method adjusting figure layer belonging to control and mobile terminal, it is possible to the figure layer belonging to toggle control quickly and easily.
Embodiment of the present invention first aspect, it is provided that a kind of adjust the method for figure layer belonging to control, including:
Detecting the pressing parameter of the target widget that figure layer show for application program is bound, described pressing parameter includes touching force value, and described application program includes the figure layer of described display and at least one hides Layers;
When described touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, release the binding relationship of the figure layer of described target widget and described display, by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted;
The stratification position of the figure layer of described display Yu described figure layer to be adjusted is interchangeable.
In the first possible implementation of embodiment of the present invention first aspect, described by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted, including:
By described target widget is adjacent with the figure layer of described display the binding that hides Layers to form figure layer to be adjusted.
The first possible implementation in conjunction with embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, described figure layer switch mode includes the pattern that switches up and downward switch mode, described first range of pressure values switches up, described in being divided into, the second force value subrange that the first force value subrange corresponding to pattern is corresponding with described downward switch mode, described described target widget is adjacent with the figure layer of the described display binding that hides Layers to form figure layer to be adjusted, including:
When described touch force value fall into described in switch up described first force value subrange corresponding to pattern time, by the upper binding that hides Layers adjacent with the figure layer of described display for described target widget to form figure layer to be adjusted;
When described touch force value fall into described second force value subrange corresponding to described downward switch mode time, the binding that hidden Layers by the next one that described target widget is adjacent with the figure layer of described display is to form figure layer to be adjusted.
In conjunction with embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention first aspect, described pressing parameter also include pressing duration, described by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted, including:
When described pressing duration exceedes preset duration, search, according to the corresponding lists between pressing duration and figure layer, the target figure layer that described pressing duration is corresponding;
Described target widget is bound with described target figure layer to form figure layer to be adjusted.
In conjunction with the first of embodiment of the present invention first aspect or embodiment of the present invention first aspect to any one possible implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described method also includes:
When described touch force value fall into the second range of pressure values corresponding to control input mode time, trigger described target widget enter can dragging state, described first range of pressure values and described second range of pressure values are mutually without occuring simultaneously;
Receive the dragging instruction for described target widget, drag described target widget.
Embodiment of the present invention second aspect, it is provided that a kind of mobile terminal, including:
Detection unit, for detecting the pressing parameter of the target widget that figure layer show for application program is bound, described pressing parameter includes touching force value, and described application program includes the figure layer of described display and at least one hides Layers;
Unbind unit, for when described touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, release the binding relationship of described target widget and the figure layer of described display;
Binding unit, for by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted;
Crosspoint, for being interchangeable the figure layer of described display and the stratification position of described figure layer to be adjusted.
In the first possible implementation of embodiment of the present invention second aspect, described binding unit by described target widget with described at least one hide Layers in arbitrary figure layer binding in the way of forming figure layer to be adjusted particularly as follows:
Described binding unit by described target widget is adjacent with the figure layer of described display the binding that hides Layers to form figure layer to be adjusted.
The first possible implementation in conjunction with embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described figure layer switch mode includes the pattern that switches up and downward switch mode, described first range of pressure values switches up, described in being divided into, the second force value subrange that the first force value subrange corresponding to pattern is corresponding with described downward switch mode, described binding unit by described target widget is adjacent with the figure layer of described display one hide Layers binding in the way of forming figure layer to be adjusted particularly as follows:
When described touch force value fall into described in switch up described first force value subrange corresponding to pattern time, described binding unit by the upper binding that hides Layers adjacent with the figure layer of described display for described target widget to form figure layer to be adjusted;
When described touch force value fall into described second force value subrange corresponding to described downward switch mode time, the next one that described target widget is adjacent with the figure layer of described display is hidden Layers binding to form figure layer to be adjusted by described binding unit.
In conjunction with embodiment of the present invention second aspect, in the third possible implementation of embodiment of the present invention second aspect, described pressing parameter also includes pressing duration, and described binding unit includes:
Search subelement, for when described pressing duration exceedes preset duration, searching, according to the corresponding lists between pressing duration and figure layer, the target figure layer that described pressing duration is corresponding;
Binding subelement, for binding described target widget to form figure layer to be adjusted with described target figure layer.
In conjunction with the first of embodiment of the present invention second aspect or embodiment of the present invention second aspect to any one possible implementation in the third, described mobile terminal also includes:
Trigger element, when described touch force value fall into the second range of pressure values corresponding to control input mode time, trigger described target widget enter can dragging state, described first range of pressure values and described second range of pressure values are mutually without occuring simultaneously;
Tug unit, for receiving the dragging instruction for described target widget, drags described target widget.
Compared with prior art, the embodiment of the present invention has the advantages that
In the embodiment of the present invention, when using control editor to scheme layer, detecting the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers; When touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, releasing the binding relationship of target widget and the figure layer of display, the arbitrary figure layer binding in target widget being hidden Layers with at least one is to form figure layer to be adjusted; The stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable. Implementing the embodiment of the present invention, user, can figure layer belonging to toggle control quickly and easily by pressing control.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 a kind of disclosed in the embodiment of the present invention adjusts the flow chart of the method for figure layer belonging to control;
Fig. 2 is the flow chart of the method for figure layer belonging to the disclosed another kind of adjustment control of the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of mobile terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of the disclosed another kind of mobile terminal of the embodiment of the present invention;
Fig. 5 is the structural representation of the disclosed another kind of mobile terminal of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described. Obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, all should belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method adjusting figure layer belonging to control and mobile terminal, it is possible to the figure layer belonging to toggle control quickly and easily. It is described in detail individually below.
Present invention image class application program on the mobile terminal such as mobile phone, panel computer, it is possible to use control that figure layer is edited quickly and easily on mobile terminals, adjust the figure layer belonging to control flexibly, adjust the display position of control.
Refer to Fig. 1, Fig. 1 and a kind of disclosed in the embodiment of the present invention adjust the flow chart of the method for figure layer belonging to control. As it is shown in figure 1, the method adjusting figure layer belonging to control described in the present embodiment, including step:
101, detect the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers.
In the embodiment of the present invention, it is possible to use figure layer is edited by multiple controls, for instance Graphics Control, ink marks control etc., control is generally shown in application program, and target widget refers to the control needing to adjust. when using the figure layer shown in target widget application programs to edit on mobile terminals, user presses the target widget of display in application program, pressing parameter can be generated, the pressing parameter of the target widget of the figure layer binding that mobile terminal detection shows for application program, pressing parameter includes touching force value, application program include display figure layer and at least one hide Layers, application program can include multiple figure layer, the figure layer that only one of which shows, all hiding Layers of other, the figure layer of display and the mutual stacking that hides Layers, the figure layer of target widget and display is bound, target widget belongs to the figure layer of display, can use target widget that the figure layer of display is edited.
102, when touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, release the binding relationship of target widget and the figure layer of display, the arbitrary figure layer binding in target widget being hidden Layers with at least one is to form figure layer to be adjusted.
In the embodiment of the present invention, figure layer switch mode is corresponding with the first range of pressure values, when touching force value and falling into the first range of pressure values, enter figure layer switch mode, releasing the binding relationship of target widget and the figure layer of display, the arbitrary figure layer in target widget being hidden Layers with at least one is bound to form figure layer to be adjusted. The parameter that first range of pressure values can be passed through to arrange in application program is modified, for instance, the first range of pressure values can be 0.5~1N (including 0.5N, do not include 1N).
In the embodiment that some are feasible, the arbitrary figure layer binding in target widget being hidden Layers with at least one in step 102 may include that forming figure layer to be adjusted
(11), by target widget is adjacent with the figure layer of display the binding that hides Layers to form figure layer to be adjusted.
In the embodiment of the present invention, can by target widget is adjacent with the figure layer of display the binding that hides Layers to form figure layer to be adjusted, figure layer and the mutual stacking that hides Layers due to display, among the figure layer of display may be located at and hides Layers, the figure layer of display can hide Layers adjacent with next layer of the figure layer that the last layer of the figure layer of display hides Layers and shows.
Optionally, figure layer switch mode includes the pattern that switches up and downward switch mode, first range of pressure values is divided into the second force value subrange that the first force value subrange corresponding to the pattern of switching up is corresponding with downward switch mode, and step (11) may include that
When touching force value and falling into the first force value subrange corresponding to the pattern of switching up, by the upper binding that hides Layers adjacent with the figure layer of display for target widget to form figure layer to be adjusted;
When touching force value and falling into the second force value subrange corresponding to downward switch mode, the binding that hidden Layers by the next one that target widget is adjacent with the figure layer of display is to form figure layer to be adjusted.
In the embodiment of the present invention, first force value subrange and the second force value subrange are mutually without occuring simultaneously, such as, first force value subrange is that 0.5N~0.75N (includes 0.5N, do not include 0.75N), second force value subrange is 0.75N~1N (including 0.75N, do not include 1N).
In the embodiment that some are feasible, pressing parameter also includes pressing duration, and the arbitrary figure layer in target widget being hidden Layers with at least one in step 102 is bound and be may include that forming figure layer to be adjusted
(21), when length exceedes preset duration when pushed, search, according to the corresponding lists between pressing duration and figure layer, the target figure layer that pressing duration is corresponding;
(22), target widget is bound with target figure layer to form figure layer to be adjusted.
In the embodiment of the present invention, pressing parameter can also include pressing duration, touch force value to fall into the duration of the first range of pressure values and be pressing duration, when length exceedes preset duration when pushed, the target figure layer that pressing duration is corresponding is searched according to the corresponding lists between pressing duration and figure layer, corresponding lists between pressing duration and figure layer can be: pressing duration is more long, and the number of plies that target figure layer switches up is more many; Or, pressing duration is more long, and the number of plies that target figure layer switches downwards is more many. Such as, if the first range of pressure values is 0.5~1N (includes 0.5N, do not include 1N), fall into 0.5N~0.75N (include 0.5N when touching force value, do not include 0.75N) duration more than 1 second, then using the last layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.5N~0.75N (including 0.5N, do not include 0.75N) more than 2 seconds when touching force value, using the upper two-layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.5N~0.75N (including 0.5N, do not include 0.75N) more than 3 seconds when touching force value, using the upper three layers figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer. Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 1 second when touching force value, then using next layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 2 seconds when touching force value, using the lower two-layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 3 seconds when touching force value, using the lower three layers figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer. Implementing the embodiment of the present invention, user can pass through to press duration, switching figure layer belonging to target widget quickly and easily.
103, the stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable.
In the embodiment of the present invention, the arbitrary figure layer in target widget being hidden Layers with at least one is bound, after forming figure layer to be adjusted, to be interchangeable by the stratification position of the figure layer of display Yu figure layer to be adjusted, and target widget belongs to figure layer to be adjusted.
In the embodiment of the present invention, detecting the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers; When touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, releasing the binding relationship of target widget and the figure layer of display, the arbitrary figure layer binding in target widget being hidden Layers with at least one is to form figure layer to be adjusted; The stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable. Implementing the embodiment of the present invention, user, by pressing control, generates pressing parameter, when press in parameter touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, can figure layer belonging to toggle control quickly and easily.
Refer to Fig. 2, Fig. 2 and a kind of disclosed in the embodiment of the present invention adjust the flow chart of the method for figure layer belonging to control.As in figure 2 it is shown, the method adjusting figure layer belonging to control described in the present embodiment, including step:
201, detect the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers.
202, when touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, release the binding relationship of target widget and the figure layer of display, the arbitrary figure layer binding in target widget being hidden Layers with at least one is to form figure layer to be adjusted.
203, the stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable.
204, when touching force value and falling into the second range of pressure values corresponding to control input mode, trigger target control enter can dragging state, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously.
In the embodiment of the present invention, when touching force value and falling into the second range of pressure values corresponding to control input mode, trigger target control enter can dragging state, wherein, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously. Such as, if the first range of pressure values is 0.5~1N (including 0.5N, do not include 1N), the second range of pressure values is 1~1.5N (including 1N, do not include 1.5N). Target widget enter can dragging state time, it is possible to producing voice message message, or the display effect of target widget changes, being used for pointing out ownership goal control to enter can dragging state.
205, receive the dragging instruction for target widget, drag target control.
In the embodiment of the present invention, when target widget enters can after dragging state, user can pass through to pin target widget and carry out dragging generating and drag instruction, it is possible to target widget drags to the optional position of application program. Implement the embodiment of the present invention, when target widget Occlusion Map layer, need not reduce or dragging figure layer, directly drag control, it is possible to conveniently drag control, change the display position of control.
In the embodiment that some are feasible, the embodiment of the present invention can also comprise the steps:
(31), when touching force value and falling into three range of pressure values corresponding to control zoom mode, trigger target control enters scalable state, and wherein, the first range of pressure values, the second range of pressure values and the 3rd range of pressure values are mutually without occuring simultaneously;
(32), receive the convergent-divergent instruction for target widget, zoom in or out target widget.
Implement the embodiment of the present invention, it is possible to arbitrarily zoom in or out the size of target widget, adjust the size of target widget flexibly.
Step 201 in the embodiment of the present invention~step 203 may refer to the step 101 shown in Fig. 1~step 103, and the embodiment of the present invention repeats no more.
In the embodiment of the present invention, detecting the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers; When touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, releasing the binding relationship of target widget and the figure layer of display, the arbitrary figure layer binding in target widget being hidden Layers with at least one is to form figure layer to be adjusted; The stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable; When touching force value and falling into the second range of pressure values corresponding to control input mode, trigger target control enter can dragging state, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously;Receive the dragging instruction for target widget, drag target control. Implement the embodiment of the present invention, user is by pressing control, generate pressing parameter, when press in parameter touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, get final product the figure layer quickly and easily belonging to toggle control, can also conveniently drag control simultaneously, change the display position of control.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of mobile terminal disclosed in the embodiment of the present invention. As it is shown on figure 3, the mobile terminal described in the present embodiment, including detection unit 301, unbind unit 302, binding unit 303 and crosspoint 304, wherein:
Detection unit 301, for detecting the pressing parameter of the target widget of figure layer binding show for application program, pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers.
In the embodiment of the present invention, it is possible to use figure layer is edited by multiple controls, for instance Graphics Control, ink marks control etc., control is generally shown in application program, and target widget refers to the control needing to adjust. when using the figure layer shown in target widget application programs to edit on mobile terminals, user presses the target widget of display in application program, pressing parameter can be generated, detection unit 301 detects the pressing parameter of the target widget that figure layer show for application program is bound, pressing parameter includes touching force value, application program include display figure layer and at least one hide Layers, application program can include multiple figure layer, the figure layer that only one of which shows, all hiding Layers of other, the figure layer of display and the mutual stacking that hides Layers, the figure layer of target widget and display is bound, target widget belongs to the figure layer of display, can use target widget that the figure layer of display is edited.
Unbind unit 302, for when touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, releasing the binding relationship of target widget and the figure layer of display.
Binding unit 303, binds for the arbitrary figure layer in target widget being hidden Layers with at least one to form figure layer to be adjusted.
In the embodiment of the present invention, figure layer switch mode is corresponding with the first range of pressure values, when touching force value and falling into the first range of pressure values, enter figure layer switch mode, unbind the binding relationship that unit 302 releases the figure layer of target widget and display, binding unit 303 target widget is hidden Layers with at least one in the binding of arbitrary figure layer to form figure layer to be adjusted. The parameter that first range of pressure values can be passed through to arrange in application program is modified, for instance, the first range of pressure values can be 0.5~1N (including 0.5N, do not include 1N).
Optionally, binding unit 303 target widget is hidden Layers with at least one in arbitrary figure layer binding in the way of forming figure layer to be adjusted particularly as follows:
Binding unit 303 by target widget is adjacent with the figure layer of display the binding that hides Layers to form figure layer to be adjusted.
In the embodiment of the present invention, binding unit 303 can by target widget is adjacent with the figure layer of display the binding that hides Layers to form figure layer to be adjusted, figure layer and the mutual stacking that hides Layers due to display, among the figure layer of display may be located at and hides Layers, the figure layer of display can hide Layers adjacent with next layer of the figure layer that the last layer of the figure layer of display hides Layers and shows.
Optionally, figure layer switch mode includes the pattern that switches up and downward switch mode, first range of pressure values is divided into the second force value subrange that the first force value subrange corresponding to the pattern of switching up is corresponding with downward switch mode, binding unit 303 by target widget is adjacent with the figure layer of display one hide Layers binding in the way of forming figure layer to be adjusted particularly as follows:
When touching force value and falling into the first force value subrange corresponding to the pattern of switching up, binding unit 303 by the upper binding that hides Layers adjacent with the figure layer of display for target widget to form figure layer to be adjusted;
When touching force value and falling into the second force value subrange corresponding to downward switch mode, the next one that target widget is adjacent with the figure layer of display is hidden Layers binding to form figure layer to be adjusted by binding unit 303.
In the embodiment of the present invention, first force value subrange and the second force value subrange are mutually without occuring simultaneously, such as, first force value subrange is that 0.5N~0.75N (includes 0.5N, do not include 0.75N), second force value subrange is 0.75N~1N (including 0.75N, do not include 1N).
Optionally, pressing parameter also includes pressing duration, and as shown in Figure 4, binding unit 303 includes:
Search subelement 3031, for, when length exceedes preset duration when pushed, searching, according to the corresponding lists between pressing duration and figure layer, the target figure layer that pressing duration is corresponding;
Binding subelement 3032, for binding target widget to form figure layer to be adjusted with target figure layer.
In the embodiment of the present invention, pressing parameter can also include pressing duration, touch force value to fall into the duration of the first range of pressure values and be pressing duration, when length exceedes preset duration when pushed, searching subelement 3031 and search, according to the corresponding lists between pressing duration and figure layer, the target figure layer that pressing duration is corresponding, target widget is bound to form figure layer to be adjusted by binding subelement 3032 with target figure layer. Corresponding lists between pressing duration and figure layer can be: pressing duration is more long, and the number of plies that target figure layer switches up is more many; Or, pressing duration is more long, and the number of plies that target figure layer switches downwards is more many. Such as, if the first range of pressure values is 0.5~1N (includes 0.5N, do not include 1N), fall into 0.5N~0.75N (include 0.5N when touching force value, do not include 0.75N) duration more than 1 second, then using the last layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.5N~0.75N (including 0.5N, do not include 0.75N) more than 2 seconds when touching force value, using the upper two-layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.5N~0.75N (including 0.5N, do not include 0.75N) more than 3 seconds when touching force value, using the upper three layers figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer. Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 1 second when touching force value, then using next layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 2 seconds when touching force value, using the lower two-layer figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer; Fall into the duration of 0.75N~1N (including 0.75N, do not include 1N) more than 3 seconds when touching force value, using the lower three layers figure layer of the figure layer of display as target figure layer, target widget is belonged to target figure layer.Implementing the embodiment of the present invention, user can pass through to press duration, switching figure layer belonging to target widget quickly and easily.
Crosspoint 304, for being interchangeable the figure layer of display and the stratification position of figure layer to be adjusted.
In the embodiment of the present invention, crosspoint 304 target widget is hidden Layers with at least one in arbitrary figure layer bind with after forming figure layer to be adjusted, the stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable, target widget is belonged to figure layer to be adjusted.
In the embodiment of the present invention, detection unit 301 detects the pressing parameter of the target widget of figure layer binding show for application program, and pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers; When touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, unbind the binding relationship that unit 302 releases the figure layer of target widget and display, binding unit 303 target widget is hidden Layers with at least one in the binding of arbitrary figure layer to form figure layer to be adjusted; The stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable by crosspoint 304. Implementing the embodiment of the present invention, user, by pressing control, generates pressing parameter, when press in parameter touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, can figure layer belonging to toggle control quickly and easily.
Referring to the structural representation that Fig. 5, Fig. 5 are the disclosed another kind of mobile terminals of the embodiment of the present invention, Fig. 5 is optimized to obtain on the basis of Fig. 4. As it is shown in figure 5, the mobile terminal described in the present embodiment, except including the detection unit 301 shown in Fig. 4, unbind unit 302, except binding unit 303 and crosspoint 304, also include trigger element 305 and tug unit 306, wherein:
Trigger element 305, when touching force value and falling into the second range of pressure values corresponding to control input mode, trigger target control enter can dragging state, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously.
In the embodiment of the present invention, when detect unit 301 detection touch force value fall into the second range of pressure values corresponding to control input mode time, trigger element 305 trigger target control enter can dragging state, wherein, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously. Such as, if the first range of pressure values is 0.5~1N (including 0.5N, do not include 1N), the second range of pressure values is 1~1.5N (including 1N, do not include 1.5N). Target widget enter can dragging state time, it is possible to producing voice message message, or the display effect of target widget changes, being used for pointing out ownership goal control to enter can dragging state.
Tug unit 306, for receiving the dragging instruction for target widget, drag target control.
In the embodiment of the present invention, when target widget enters can after dragging state, user can pass through to pin target widget and carry out dragging generation dragging instruction, tug unit 306 receives the dragging instruction for target widget, drag target control, target widget can be dragged to the optional position of application program by tug unit 306. Implement the embodiment of the present invention, when target widget Occlusion Map layer, need not reduce or dragging figure layer, directly drag control, it is possible to conveniently drag control, change the display position of control.
In the embodiment of the present invention, detection unit 301 detects the pressing parameter of the target widget of figure layer binding show for application program, and pressing parameter includes touching force value, and application program includes the figure layer that shows and at least one hides Layers;When touching force value and falling into the first range of pressure values corresponding to figure layer switch mode, unbind the binding relationship that unit 302 releases the figure layer of target widget and display, binding unit 303 target widget is hidden Layers with at least one in the binding of arbitrary figure layer to form figure layer to be adjusted; The stratification position of the figure layer of display Yu figure layer to be adjusted is interchangeable by crosspoint 304; When touching force value and falling into the second range of pressure values corresponding to control input mode, trigger element 305 trigger target control enter can dragging state, the first range of pressure values and the second range of pressure values are mutually without occuring simultaneously; Tug unit 306 receives the dragging instruction for target widget, drag target control. Implement the embodiment of the present invention, user is by pressing control, generate pressing parameter, when press in parameter touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, get final product the figure layer quickly and easily belonging to toggle control, can also conveniently drag control simultaneously, change the display position of control.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, storage medium includes read only memory (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable read only memory (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other disk storages CD-ROM), disk memory, magnetic tape storage, or can be used in carrying or storing any other medium computer-readable of data.
What above the embodiment of the present invention is provided a kind of adjusts the method scheming layer belonging to control and mobile terminal is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. one kind adjusts the method for figure layer belonging to control, it is characterised in that including:
Detecting the pressing parameter of the target widget that figure layer show for application program is bound, described pressing parameter includes touching force value, and described application program includes the figure layer of described display and at least one hides Layers;
When described touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, release the binding relationship of the figure layer of described target widget and described display, by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted;
The stratification position of the figure layer of described display Yu described figure layer to be adjusted is interchangeable.
2. method according to claim 1, it is characterised in that described by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted, including:
By described target widget is adjacent with the figure layer of described display the binding that hides Layers to form figure layer to be adjusted.
3. method according to claim 2, it is characterized in that, described figure layer switch mode includes the pattern that switches up and downward switch mode, described first range of pressure values switches up, described in being divided into, the second force value subrange that the first force value subrange corresponding to pattern is corresponding with described downward switch mode, described described target widget is adjacent with the figure layer of the described display binding that hides Layers to form figure layer to be adjusted, including:
When described touch force value fall into described in switch up described first force value subrange corresponding to pattern time, by the upper binding that hides Layers adjacent with the figure layer of described display for described target widget to form figure layer to be adjusted;
When described touch force value fall into described second force value subrange corresponding to described downward switch mode time, the binding that hidden Layers by the next one that described target widget is adjacent with the figure layer of described display is to form figure layer to be adjusted.
4. method according to claim 1, it is characterised in that described pressing parameter also include pressing duration, described by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted, including:
When described pressing duration exceedes preset duration, search, according to the corresponding lists between pressing duration and figure layer, the target figure layer that described pressing duration is corresponding;
Described target widget is bound with described target figure layer to form figure layer to be adjusted.
5. the method according to any one of Claims 1 to 4, it is characterised in that described method also includes:
When described touch force value fall into the second range of pressure values corresponding to control input mode time, trigger described target widget enter can dragging state, described first range of pressure values and described second range of pressure values are mutually without occuring simultaneously;
Receive the dragging instruction for described target widget, drag described target widget.
6. a mobile terminal, it is characterised in that including:
Detection unit, for detecting the pressing parameter of the target widget that figure layer show for application program is bound, described pressing parameter includes touching force value, and described application program includes the figure layer of described display and at least one hides Layers;
Unbind unit, for when described touch force value fall into the first range of pressure values corresponding to figure layer switch mode time, release the binding relationship of described target widget and the figure layer of described display;
Binding unit, for by described target widget with described at least one hide Layers in arbitrary figure layer bind to form figure layer to be adjusted;
Crosspoint, for being interchangeable the figure layer of described display and the stratification position of described figure layer to be adjusted.
7. mobile terminal according to claim 6, it is characterised in that described binding unit by described target widget with described at least one hide Layers in arbitrary figure layer binding in the way of forming figure layer to be adjusted particularly as follows:
Described binding unit by described target widget is adjacent with the figure layer of described display the binding that hides Layers to form figure layer to be adjusted.
8. mobile terminal according to claim 7, it is characterized in that, described figure layer switch mode includes the pattern that switches up and downward switch mode, described first range of pressure values switches up, described in being divided into, the second force value subrange that the first force value subrange corresponding to pattern is corresponding with described downward switch mode, described binding unit by described target widget is adjacent with the figure layer of described display one hide Layers binding in the way of forming figure layer to be adjusted particularly as follows:
When described touch force value fall into described in switch up described first force value subrange corresponding to pattern time, described binding unit by the upper binding that hides Layers adjacent with the figure layer of described display for described target widget to form figure layer to be adjusted;
When described touch force value fall into described second force value subrange corresponding to described downward switch mode time, the next one that described target widget is adjacent with the figure layer of described display is hidden Layers binding to form figure layer to be adjusted by described binding unit.
9. mobile terminal according to claim 6, it is characterised in that described pressing parameter also includes pressing duration, and described binding unit includes:
Search subelement, for when described pressing duration exceedes preset duration, searching, according to the corresponding lists between pressing duration and figure layer, the target figure layer that described pressing duration is corresponding;
Binding subelement, for binding described target widget to form figure layer to be adjusted with described target figure layer.
10. the mobile terminal according to any one of claim 6~9, it is characterised in that described mobile terminal also includes:
Trigger element, when described touch force value fall into the second range of pressure values corresponding to control input mode time, trigger described target widget enter can dragging state, described first range of pressure values and described second range of pressure values are mutually without occuring simultaneously;
Tug unit, for receiving the dragging instruction for described target widget, drags described target widget.
CN201511033154.1A 2015-12-30 2015-12-30 A kind of method and mobile terminal adjusting the affiliated figure layer of control Active CN105677178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511033154.1A CN105677178B (en) 2015-12-30 2015-12-30 A kind of method and mobile terminal adjusting the affiliated figure layer of control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511033154.1A CN105677178B (en) 2015-12-30 2015-12-30 A kind of method and mobile terminal adjusting the affiliated figure layer of control

Publications (2)

Publication Number Publication Date
CN105677178A true CN105677178A (en) 2016-06-15
CN105677178B CN105677178B (en) 2019-02-05

Family

ID=56298599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511033154.1A Active CN105677178B (en) 2015-12-30 2015-12-30 A kind of method and mobile terminal adjusting the affiliated figure layer of control

Country Status (1)

Country Link
CN (1) CN105677178B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019015347A1 (en) * 2017-07-21 2019-01-24 中兴通讯股份有限公司 3d picture editing method, computer device and storage medium
CN109313531A (en) * 2016-06-30 2019-02-05 华为技术有限公司 A kind of graphic user interface that checking application program, method and terminal
CN113641288A (en) * 2021-10-10 2021-11-12 北京易言科技有限公司 Chinese character splicing and adjusting method and device based on Chinese character composition units
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method of translation control and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446059A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and control method of the mobile terminal
CN102449593A (en) * 2010-01-22 2012-05-09 电子部品研究院 Method for providing a user interface based on touch pressure, and electronic device using same
US20130027572A1 (en) * 2011-07-27 2013-01-31 Google Inc. Head-Mounted Display That Displays A Visual Representation Of Physical Interaction With An Input Interface Located Outside Of The Field Of View
CN103164518A (en) * 2013-03-06 2013-06-19 杭州九树网络科技有限公司 Mobile terminal (MT) augmented reality application system and method
CN103577065A (en) * 2012-07-30 2014-02-12 三星电子株式会社 A method and apparatus for controlling a drag of an object moving on a display unit
CN105159530A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application display object switching method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102449593A (en) * 2010-01-22 2012-05-09 电子部品研究院 Method for providing a user interface based on touch pressure, and electronic device using same
CN102446059A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and control method of the mobile terminal
US20130027572A1 (en) * 2011-07-27 2013-01-31 Google Inc. Head-Mounted Display That Displays A Visual Representation Of Physical Interaction With An Input Interface Located Outside Of The Field Of View
CN103577065A (en) * 2012-07-30 2014-02-12 三星电子株式会社 A method and apparatus for controlling a drag of an object moving on a display unit
CN103164518A (en) * 2013-03-06 2013-06-19 杭州九树网络科技有限公司 Mobile terminal (MT) augmented reality application system and method
CN105159530A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application display object switching method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109313531A (en) * 2016-06-30 2019-02-05 华为技术有限公司 A kind of graphic user interface that checking application program, method and terminal
US11314388B2 (en) 2016-06-30 2022-04-26 Huawei Technologies Co., Ltd. Method for viewing application program, graphical user interface, and terminal
WO2019015347A1 (en) * 2017-07-21 2019-01-24 中兴通讯股份有限公司 3d picture editing method, computer device and storage medium
CN109285203A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of edit methods, computer equipment and the storage medium of 3D picture
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method of translation control and electronic equipment
CN113641288A (en) * 2021-10-10 2021-11-12 北京易言科技有限公司 Chinese character splicing and adjusting method and device based on Chinese character composition units

Also Published As

Publication number Publication date
CN105677178B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US9395899B2 (en) Method and apparatus for editing screen of mobile device having touch screen
CN108509115B (en) Page operation method and electronic device thereof
US9916060B2 (en) System and method for rearranging icons displayed in a graphical user interface
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
CN102364428B (en) Electronic equipment and page processing method thereof
US20140310638A1 (en) Apparatus and method for editing message in mobile terminal
KR101381484B1 (en) Mobile device having a graphic object floating function and execution method using the same
KR101857571B1 (en) Method and apparatus for moving items using touchscreen
CN101211250A (en) Method to provide menu, using menu set and multimedia device using the same
CN102707888B (en) Terminal control method and terminal
US20090158149A1 (en) Menu control system and method
JP2013033330A (en) Information processing device, information processing method, and program
CN105677178A (en) Method for adjusting layer of control and mobile terminal
KR20130052743A (en) Method for selecting menu item
CN105573740A (en) Split-screen display mode operation method and terminal
CN103294337A (en) Electronic apparatus and control method
KR20120121149A (en) Method arranging icon in touch screen terminal and the device therof
CN102843460A (en) Method and apparatus for providing multi-tasking interface
JP6022807B2 (en) Information processing program, information processing apparatus, information processing system, and information processing control method
CN102736903A (en) Method and device for managing widgets based on intelligent terminal desktop
CN102609178A (en) Electronic apparatus with touch screen and page processing method thereof
CN106095227A (en) Desktop wallpaper changing method and device
CN103279263B (en) The method and system that a kind of file quickly creates and edits
CN105843940A (en) Folder combination method and device
CN103927110B (en) Display control apparatus, display control method and computer readable recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant