CN105677178B - A kind of method and mobile terminal adjusting the affiliated figure layer of control - Google Patents

A kind of method and mobile terminal adjusting the affiliated figure layer of control Download PDF

Info

Publication number
CN105677178B
CN105677178B CN201511033154.1A CN201511033154A CN105677178B CN 105677178 B CN105677178 B CN 105677178B CN 201511033154 A CN201511033154 A CN 201511033154A CN 105677178 B CN105677178 B CN 105677178B
Authority
CN
China
Prior art keywords
layer
pressure value
target widget
display
adjusted
Prior art date
Application number
CN201511033154.1A
Other languages
Chinese (zh)
Other versions
CN105677178A (en
Inventor
冯飞
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
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

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses a kind of methods and mobile terminal for adjusting the affiliated figure layer of control, this method comprises: the pressing parameter for the target widget that detection is bound for the figure layer that application program is shown, pressing parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers;When touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, release the binding relationship of the figure layer of target widget and display, by target widget and at least one hide Layers in the binding of any figure layer to form figure layer to be adjusted;The figure layer of display and the stratification position of figure layer to be adjusted are interchangeable.Implement the embodiment of the present invention, it can quickly and easily figure layer belonging to toggle control.

Description

A kind of method and mobile terminal adjusting the affiliated figure layer of control

Technical field

The present invention relates to fields of communication technology, and in particular to a kind of method and mobile terminal for adjusting the affiliated figure layer of control.

Background technique

Quick with mobile terminals such as mobile phone, tablet computers is popularized, and more and more users use on mobile terminals Images class application program editor's image such as Microsoft Office Visio, Meitu Xiu Xiu, poster factory.For example, user exists When using Microsoft Office Visio on mobile terminal, various controls (Graphics Control, ink marks are often used Control etc.) image is edited, user can be used Graphics Control and add figure of various shapes in the picture, use ink marks Control adds various ink marks scribbles in the picture.In image class application program, display interface can show multiple figure layers, can be with Different figure layers is edited respectively using the same control, same control may belong to multiple figure layers, use same control When being edited respectively to different figure layers, menu is selected into figure layer, figure layer to be edited is chosen, so that the control belongs to this wait compile Figure layer is collected, the figure layer to be edited is edited using the control, it, can not when the corresponding layer count of the same control is more Quickly and easily figure layer belonging to toggle control.

Summary of the invention

The embodiment of the present invention provides a kind of method and mobile terminal for adjusting the affiliated figure layer of control, can quickly and easily cut Change figure layer belonging to control.

The embodiment of the present invention is in a first aspect, provide a kind of method for adjusting the affiliated figure layer of control, comprising:

The pressing parameter of the target widget for the figure layer binding that detection is shown for application program, the pressing parameter include touching And pressure value, the application program include the display figure layer and at least one hide Layers;

When it is described touch pressure value and fall into figure layer switch mode corresponding first pressure value range when, release the target control The binding relationship of the figure layer of part and the display, by the target widget and it is described at least one hide Layers in any figure layer Binding is to form figure layer to be adjusted;

The figure layer of the display and the stratification position of the figure layer to be adjusted are interchangeable.

It is described by the target widget and institute in the first possible implementation of first aspect of the embodiment of the present invention State at least one hide Layers in any figure layer bind to form figure layer to be adjusted, comprising:

By the target widget a hide Layers binding adjacent with the figure layer of the display to form figure layer to be adjusted.

In conjunction with the first possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention Second of possible implementation in, the figure layer switch mode include switch up mode and downward switch mode, it is described First pressure value range switches up the corresponding first pressure value subrange of mode and the downward switching mould described in being divided into The corresponding second pressure value subrange of formula, it is described that one adjacent with the figure layer of the display of the target widget hides Layers Binding is to form figure layer to be adjusted, comprising:

When it is described touch pressure value fall into it is described switch up the mode corresponding first pressure value subrange when, by institute Target widget upper one the hide Layers binding adjacent with the figure layer of the display is stated to form figure layer to be adjusted;

When it is described touch pressure value and fall into the downward switch mode corresponding second pressure value subrange when, by institute Target widget next the hide Layers binding adjacent with the figure layer of the display is stated to form figure layer to be adjusted.

In conjunction with the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the third possible implementation In, the pressing parameter further include pressing duration, it is described by the target widget and it is described at least one hide Layers in appoint One figure layer is bound to form figure layer to be adjusted, comprising:

When the pressing duration is more than preset duration, according to the corresponding lists lookup between pressing duration and figure layer Press the corresponding target figure layer of duration;

The target widget and the target figure layer are bound to form figure layer to be adjusted.

It is any into the third in conjunction with the first of first aspect of the embodiment of the present invention or first aspect of the embodiment of the present invention The possible implementation of kind, in the 4th kind of possible implementation of first aspect of the embodiment of the present invention, the method is also wrapped It includes:

When it is described touch pressure value and fall into control input mode corresponding second pressure value range when, trigger the target control Part enter can dragging state, the first pressure value range and the second pressure value range are mutually without intersection;

The dragging received for the target widget instructs, and drags the target widget.

Second aspect of the embodiment of the present invention provides a kind of mobile terminal, comprising:

Detection unit, it is described for detecting the pressing parameter for being directed to the target widget for the figure layer binding that application program is shown Pressing parameter includes touching pressure value, the application program include the display figure layer and at least one hide Layers;

Unbind unit, for when it is described touch pressure value and fall into figure layer switch mode corresponding first pressure value range when, Release the binding relationship of the figure layer of the target widget and the display;

Binding unit, for by the target widget and it is described at least one hide Layers in any figure layer bind with shape At figure layer to be adjusted;

Crosspoint, for the figure layer of the display and the stratification position of the figure layer to be adjusted to be interchangeable.

In the first possible implementation of second aspect of the embodiment of the present invention, the binding unit is by the target Control and it is described at least one hide Layers in any figure layer bind in a manner of forming figure layer to be adjusted specifically:

The binding unit is by the target widget a hide Layers binding adjacent with the figure layer of the display with shape At figure layer to be adjusted.

In conjunction with the first possible implementation of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention Second of possible implementation in, the figure layer switch mode include switch up mode and downward switch mode, it is described First pressure value range switches up the corresponding first pressure value subrange of mode and the downward switching mould described in being divided into The corresponding second pressure value subrange of formula, the binding unit is by one adjacent with the figure layer of the display of the target widget Binding hide Layers in a manner of forming figure layer to be adjusted specifically:

When it is described touch pressure value fall into it is described switch up the mode corresponding first pressure value subrange when, it is described Binding unit is by the target widget upper one the hide Layers binding adjacent with the figure layer of the display to form figure to be adjusted Layer;

When it is described touch pressure value and fall into the downward switch mode corresponding second pressure value subrange when, it is described Binding unit is by the target widget next the hide Layers binding adjacent with the figure layer of the display to form figure to be adjusted Layer.

In conjunction with second aspect of the embodiment of the present invention, in the third possible implementation of second aspect of the embodiment of the present invention In, the pressing parameter further includes pressing duration, and the binding unit includes:

Subelement is searched, is used for when the pressing duration is more than preset duration, according between pressing duration and figure layer Corresponding lists search the corresponding target figure layer of the pressing duration;

Subelement is bound, for binding the target widget and the target figure layer to form figure layer to be adjusted.

It is any into the third in conjunction with the first of second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention The possible implementation of kind, the mobile terminal further include:

Trigger unit, when it is described touch pressure value and fall into control input mode corresponding second pressure value range when, triggering The target widget enter can dragging state, the first pressure value range and the second pressure value range are mutually without intersection;

Tug unit drags the target widget for receiving the dragging instruction for being directed to the 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's figure layer, the mesh for the figure layer binding that detection is shown for application program The pressing parameter of control is marked, pressing parameter includes touching pressure value, and application program includes the figure layer shown and at least one is hidden Hide figure layer;When touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, target widget and display are released Figure layer binding relationship, by target widget at least one hide Layers in any figure layer bind to form figure to be adjusted Layer;The figure layer of display and the stratification position of figure layer to be adjusted are interchangeable.Implement the embodiment of the present invention, user passes through by voltage-controlled Part, can quickly and easily figure layer belonging to toggle control.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.

Fig. 1 is a kind of flow chart of method for adjusting the affiliated figure layer of control disclosed by the embodiments of the present invention;

Fig. 2 is the flow chart of the method for another adjustment affiliated figure layer of control disclosed by the embodiments of the present invention;

Fig. 3 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;

Fig. 4 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention;

Fig. 5 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention.

Specific embodiment

Below in conjunction with the attached drawing in embodiment of the present invention, the technical solution in embodiment of the present invention is carried out clear Chu is fully described by.Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiment party Formula.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained without making creative work The every other embodiment obtained, all should belong to the scope of protection of the invention.

The embodiment of the present invention provides a kind of method and mobile terminal for adjusting the affiliated figure layer of control, can quickly and easily cut Change figure layer belonging to control.It is described in detail separately below.

The present invention, can be with rapid and convenient the image class application program on the mobile terminals such as mobile phone, tablet computer Figure layer is edited using control on mobile terminals, figure layer belonging to control is adjusted flexibly, adjusts the display position of control It sets.

Referring to Fig. 1, Fig. 1 is a kind of flow chart of method for adjusting the affiliated figure layer of control disclosed by the embodiments of the present invention. As shown in Figure 1, the method for the adjustment affiliated figure layer of control as described in this embodiment, comprising steps of

101, the pressing parameter for the target widget that detection is bound for the figure layer that application program is shown, pressing parameter includes touching And pressure value, application program includes the figure layer shown and at least one hides Layers.

In the embodiment of the present invention, multiple controls can be used, figure layer is edited, such as Graphics Control, ink marks control Deng control is generally shown in application program, and target widget refers to needing the control that adjusts.Target is used on mobile terminals When control edits the figure layer shown in application program, user presses the target widget shown in application program, Ji Kesheng At pressing parameter, the pressing parameter for the target widget that mobile terminal detection is bound for the figure layer that application program is shown, pressing ginseng Number includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers, and be can wrap in application program Include multiple figure layers, the figure layer that only one of them is shown, others all hide Layers, and the figure layer of display and hide Layers mutually The figure layer of stacking, target widget and display is bound, and target widget belongs to the figure layer of display, target widget can be used to display Figure layer edited.

102, when touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, release target widget with The binding relationship of the figure layer of display, by target widget at least one hide Layers in any figure layer binding it is to be adjusted to be formed Figure layer.

In the embodiment of the present invention, figure layer switch mode is corresponding with first pressure value range, falls into first when touching pressure value When range of pressure values, into figure layer switch mode, release the binding relationship of the figure layer of target widget and display, by target widget with At least one hide Layers in any figure layer bind to form figure layer to be adjusted.First pressure value range can be answered by setting It is modified with the parameter in program, for example, first pressure value may range from 0.5~1N (including 0.5N, do not include 1N).

In some possible embodiments, in step 102 by target widget at least one hide Layers in appoint One figure layer is bound to form figure layer to be adjusted

(11), by target widget a hide Layers binding adjacent with the figure layer of display to form figure layer to be adjusted.

It, can be by target widget a hide Layers binding adjacent with the figure layer of display to be formed in the embodiment of the present invention Figure layer to be adjusted, since the figure layer of display is layered on top of each other with hiding Layers, the figure layer of display can be located at hide Layers among, show The figure layer shown can hide Layers adjacent with next layer of upper one layer of figure layer for hiding Layers and showing of the figure layer of display.

Optionally, figure layer switch mode includes switching up mode and downward switch mode, and first pressure value range is drawn It is divided into the corresponding first pressure value subrange of the mode of switching up and the corresponding second pressure value subrange of downward switch mode, walks Suddenly (11) may include:

When touching pressure value and falling into the corresponding first pressure value subrange of the mode of switching up, by target widget and display Adjacent upper one of figure layer hide Layers binding to form figure layer to be adjusted;

When touching pressure value and falling into the corresponding second pressure value subrange of downward switch mode, by target widget and display Adjacent next of figure layer hide Layers binding to form figure layer to be adjusted.

In the embodiment of the present invention, first pressure value subrange and second pressure value subrange are mutually without intersection, for example, the first pressure Force value subrange is 0.5N~0.75N (including 0.5N, do not include 0.75N), and second pressure value subrange is 0.75N~1N (packet 0.75N is included, does not include 1N).

In some possible embodiments, pressing parameter further includes pressing duration, in step 102 by target widget with At least one hide Layers in any figure layer bind and to form figure layer to be adjusted may include:

(21), it when length is more than preset duration when pushed, is pressed according to the corresponding lists lookup between pressing duration and figure layer Press the corresponding target figure layer of duration;

(22), target widget and target figure layer are bound to form figure layer to be adjusted.

In the embodiment of the present invention, pressing parameter can also include pressing duration, touch pressure value and fall into first pressure value model The duration enclosed is to press duration, when length is more than preset duration when pushed, according to the respective column between pressing duration and figure layer Table searches the corresponding target figure layer of pressing duration, and pressing corresponding lists between duration and figure layer can be with are as follows: and pressing duration is longer, The number of plies that target figure layer switches up is more;Alternatively, pressing duration is longer, the number of plies that target figure layer switches downwards is more.For example, If first pressure value range be 0.5~1N (including 0.5N, do not include 1N), when touch pressure value fall into 0.5N~0.75N (including 0.5N does not include 0.75N) duration be more than 1 second, then using upper one layer of figure layer of the figure layer of display as target figure layer, by target Control belongs to target figure layer;When touch pressure value fall into 0.5N~0.75N (including 0.5N, do not include 0.75N) duration it is super 2 seconds are spent, using upper two layers of figure layer of the figure layer of display as target figure layer, target widget is belonged into target figure layer;It is pressed when touching The duration that force value falls into 0.5N~0.75N (including 0.5N, do not include 0.75N) is more than 3 seconds, by upper three layers of figure of the figure layer of display Layer is used as target figure layer, and target widget is belonged to target figure layer.When touch pressure value fall into 0.75N~1N (including 0.75N, Do not include 1N) duration be more than 1 second, then using next layer of figure layer of the figure layer of display as target figure layer, target widget is belonged to In target figure layer;It is more than 2 seconds when touching pressure value to fall into the duration of 0.75N~1N (including 0.75N, do not include 1N), will shows Figure layer lower two layers of figure layer as target figure layer, target widget is belonged into target figure layer;0.75N is fallen into when touching pressure value The duration of~1N (including 0.75N, do not include 1N) is more than 3 seconds, will using lower three layers of figure layer of the figure layer of display as target figure layer Target widget belongs to target figure layer.Implement the embodiment of the present invention, user can quickly and easily switch mesh by pressing duration Mark figure layer belonging to control.

103, the figure layer of display and the stratification position of figure layer to be adjusted are interchangeable.

In the embodiment of the present invention, by target widget at least one hide Layers in any figure layer bind to be formed wait adjust After whole figure layer, the figure layer of display and the stratification position of figure layer to be adjusted are interchangeable, target widget is belonged into figure to be adjusted Layer.

In the embodiment of the present invention, the pressing parameter for the target widget that detection is bound for the figure layer that application program is shown is pressed Pressure parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers;When touching pressure value When falling into the corresponding first pressure value range of figure layer switch mode, the binding relationship of the figure layer of target widget and display is released, it will Target widget at least one hide Layers in any figure layer bind to form figure layer to be adjusted;By the figure layer of display with wait adjust The stratification position of whole figure layer is interchangeable.Implement the embodiment of the present invention, user generates pressing parameter, when pressing by pressing control In pressure parameter when touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, can quickly and easily switch Figure layer belonging to control.

Referring to Fig. 2, Fig. 2 is a kind of flow chart of method for adjusting the affiliated figure layer of control disclosed by the embodiments of the present invention. As shown in Fig. 2, the method for the adjustment affiliated figure layer of control as described in this embodiment, comprising steps of

201, the pressing parameter for the target widget that detection is bound for the figure layer that application program is shown, pressing parameter includes touching And pressure value, application program includes the figure layer shown and at least one hides Layers.

202, when touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, release target widget with The binding relationship of the figure layer of display, by target widget at least one hide Layers in any figure layer binding it is to be adjusted to be formed Figure layer.

203, the figure layer of display and the stratification position of figure layer to be adjusted are interchangeable.

204, when touching pressure value and falling into the corresponding second pressure value range of control input mode, triggering target widget into Enter can dragging state, first pressure value range and second pressure value range are mutually without intersection.

In the embodiment of the present invention, when touching pressure value and falling into the corresponding second pressure value range of control input mode, touching Sending out that target widget enters can dragging state, wherein first pressure value range and second pressure value range are mutually without intersection.For example, if First pressure value range is 0.5~1N (including 0.5N, do not include 1N), second pressure value range be 1~1.5N (including 1N, no Including 1.5N).Target widget enter can dragging state when, can produce the display effect of voice prompting message or target widget Fruit changes, can dragging state for prompting ownership goal control to enter.

205, the dragging received for target widget instructs, drag target control.

In the embodiment of the present invention, when target widget enter can dragging state after, user can by pin target widget into Row dragging generates dragging instruction, and target widget can be dragged to any position of application program.Implement the embodiment of the present invention, When target widget blocks figure layer, do not have to reduce or drag figure layer, directly dragging control, can be convenient and efficiently drag control, change Become the display position of control.

In some possible embodiments, the embodiment of the present invention can also include the following steps:

(31), when touching pressure value and falling into the corresponding third range of pressure values of control zoom mode, target widget is triggered Into scalable state, wherein first pressure value range, second pressure value range and third range of pressure values are mutually without intersection;

(32), the scaling received for target widget instructs, and zooms in or out target widget.

Implement the embodiment of the present invention, can arbitrarily zoom in or out the size of target widget, flexibly adjustment target widget Size.

Step 201~step 203 in the embodiment of the present invention may refer to step 101~step 103 shown in FIG. 1, this Inventive embodiments repeat no more.

In the embodiment of the present invention, the pressing parameter for the target widget that detection is bound for the figure layer that application program is shown is pressed Pressure parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers;When touching pressure value When falling into the corresponding first pressure value range of figure layer switch mode, the binding relationship of the figure layer of target widget and display is released, it will Target widget at least one hide Layers in any figure layer bind to form figure layer to be adjusted;By the figure layer of display with wait adjust The stratification position of whole figure layer is interchangeable;When touching pressure value and falling into the corresponding second pressure value range of control input mode, Trigger target widget enter can dragging state, first pressure value range and second pressure value range are mutually without intersection;It receives and is directed to mesh Mark the dragging instruction of control, drag target control.Implementing the embodiment of the present invention, user generates pressing parameter by pressing control, When press in parameter when touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, can be quickly and easily Figure layer belonging to toggle control, while control can also be conveniently dragged, change the display position of control.

Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention.As shown in figure 3, Mobile terminal as described in this embodiment, including detection unit 301, unbundlings unit 302, binding unit 303 and crosspoint 304, in which:

Detection unit 301 is pressed for detecting the pressing parameter for being directed to the target widget for the figure layer binding that application program is shown Pressure parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers.

In the embodiment of the present invention, multiple controls can be used, figure layer is edited, such as Graphics Control, ink marks control Deng control is generally shown in application program, and target widget refers to needing the control that adjusts.Target is used on mobile terminals When control edits the figure layer shown in application program, user presses the target widget shown in application program, Ji Kesheng At pressing parameter, the pressing parameter for the target widget that the detection of detection unit 301 is bound for the figure layer that application program is shown, pressing Parameter includes touching pressure value, application program include display figure layer and at least one hide Layers, can be in application program Including multiple figure layers, the figure layer that only one of them is shown, others all hide Layers, figure layer and the phase that hides Layers of display The figure layer of mutually stacking, target widget and display is bound, and target widget belongs to the figure layer of display, and target widget can be used to aobvious The figure layer shown is edited.

Unit 302 is unbinded, for when touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, solution Except the binding relationship of target widget and the figure layer of display.

Binding unit 303, for by target widget at least one hide Layers in any figure layer bind with formed to Adjust figure layer.

In the embodiment of the present invention, figure layer switch mode is corresponding with first pressure value range, falls into first when touching pressure value When range of pressure values, into figure layer switch mode, the binding relationship that unit 302 releases the figure layer of target widget and display is unbinded, Binding unit 303 by target widget at least one hide Layers in any figure layer bind to form figure layer to be adjusted.First Range of pressure values can be modified by the parameter in setting application program, for example, first pressure value may range from 0.5~ 1N (including 0.5N, do not include 1N).

Optionally, binding unit 303 by target widget at least one hide Layers in any figure layer bind to be formed The mode of figure layer to be adjusted specifically:

Binding unit 303 is by target widget a hide Layers binding adjacent with the figure layer of display to form figure to be adjusted Layer.

In the embodiment of the present invention, binding unit 303 can hide figure for target widget adjacent with the figure layer of display one Layer binding is to form figure layer to be adjusted, and since the figure layer of display is layered on top of each other with hiding Layers, the figure layer of display can be located at hidden It hides among figure layer, the figure layer of display can be hidden with next layer of upper one layer of figure layer for hiding Layers and showing of the figure layer of display Figure layer is adjacent.

Optionally, figure layer switch mode includes switching up mode and downward switch mode, and first pressure value range is drawn It is divided into the corresponding first pressure value subrange of the mode of switching up and the corresponding second pressure value subrange of downward switch mode, ties up Order member 303 has target widget a hide Layers binding adjacent with the figure layer of display in a manner of forming figure layer to be adjusted Body are as follows:

When touching pressure value and falling into the corresponding first pressure value subrange of the mode of switching up, binding unit 303 is by mesh Upper one the hide Layers binding adjacent with the figure layer of display of mark control is to form figure layer to be adjusted;

When touching pressure value and falling into the corresponding second pressure value subrange of downward switch mode, binding unit 303 is by mesh Next the hide Layers binding adjacent with the figure layer of display of mark control is to form figure layer to be adjusted.

In the embodiment of the present invention, first pressure value subrange and second pressure value subrange are mutually without intersection, for example, the first pressure Force value subrange is 0.5N~0.75N (including 0.5N, do not include 0.75N), and second pressure value subrange is 0.75N~1N (packet 0.75N is included, does not include 1N).

Optionally, pressing parameter further includes pressing duration, as shown in figure 4, binding unit 303 includes:

Search subelement 3031, for when pushed it is long be more than preset duration when, according between pressing duration and figure layer Corresponding lists search the corresponding target figure layer of pressing duration;

Subelement 3032 is bound, for binding target widget and 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 pressure value and fall into first pressure value model The duration enclosed is to press duration, when length is more than preset duration when pushed, searches subelement 3031 according to pressing duration and schemes Corresponding lists between layer search the corresponding target figure layer of pressing duration, bind subelement 3032 for target widget and target figure layer Binding is to form figure layer to be adjusted.Pressing corresponding lists between duration and figure layer can be with are as follows: pressing duration is longer, target figure layer The number of plies switched up is more;Alternatively, pressing duration is longer, the number of plies that target figure layer switches downwards is more.For example, if the first pressure Force value range is 0.5~1N (including 0.5N, do not include 1N), when touch pressure value fall into 0.5N~0.75N (including 0.5N, no Including 0.75N) duration be more than 1 second, then using upper one layer of figure layer of the figure layer of display as target figure layer, target widget is belonged to In target figure layer;It is more than 2 seconds when touching pressure value to fall into the duration of 0.5N~0.75N (including 0.5N, do not include 0.75N), it will Target widget is belonged to target figure layer as target figure layer by upper two layers of figure layer of the figure layer of display;It is fallen into when touching pressure value The duration of 0.5N~0.75N (including 0.5N, do not include 0.75N) is more than 3 seconds, using upper three layers of figure layer of the figure layer of display as mesh It marks on a map layer, target widget is belonged into target figure layer.0.75N~1N (including 0.75N, do not include 1N) is fallen into when touching pressure value Duration be more than 1 second, then using next layer of figure layer of the figure layer of display as target figure layer, target widget is belonged into target figure Layer;It is more than 2 seconds when touching pressure value to fall into the duration of 0.75N~1N (including 0.75N, do not include 1N), by the figure layer of display Lower two layers of figure layer belongs to target figure layer as target figure layer, by target widget;0.75N~1N (packet is fallen into when touching pressure value Include 0.75N, do not include 1N) duration be more than 3 seconds, using lower three layers of figure layer of the figure layer of display as target figure layer, by target control Part belongs to target figure layer.Implement the embodiment of the present invention, user can quickly and easily switch target widget by pressing duration Affiliated figure layer.

Crosspoint 304, for the figure layer of display and the stratification position of figure layer to be adjusted to be interchangeable.

In the embodiment of the present invention, crosspoint 304 by target widget at least one hide Layers in any figure layer tie up After determining to form figure layer to be adjusted, the figure layer of display and the stratification position of figure layer to be adjusted are interchangeable, target widget is returned Belong to figure layer to be adjusted.

In the embodiment of the present invention, the detection of detection unit 301 is directed to the target widget for the figure layer binding that application program is shown Parameter is pressed, pressing parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers;When When touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, unbundlings unit 302 releases target widget and aobvious The binding relationship for the figure layer shown, binding unit 303 by target widget at least one hide Layers in any figure layer bind with Form figure layer to be adjusted;The figure layer of display and the stratification position of figure layer to be adjusted are interchangeable by crosspoint 304.Implement this hair Bright embodiment, user generate pressing parameter by pressing control, when the pressure value of touching in pressing parameter falls into figure layer switching mould It, can quickly and easily figure layer belonging to toggle control when the corresponding first pressure value range of formula.

Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention, Fig. 5 is to scheme It is optimized on the basis of 4.As shown in figure 5, mobile terminal as described in this embodiment, in addition to including shown in Fig. 4 Detection unit 301, unbundlings unit 302, except binding unit 303 and crosspoint 304, further include trigger unit 305 and drag Moving cell 306, in which:

Trigger unit 305 triggers mesh when touching pressure value and falling into the corresponding second pressure value range of control input mode Mark control enter can dragging state, first pressure value range and second pressure value range are mutually without intersection.

In the embodiment of the present invention, control input mode corresponding second is fallen into when the detection of detection unit 301 touches pressure value When range of pressure values, trigger unit 305 triggers that target widget enters can dragging state, wherein first pressure value range and second Range of pressure values is mutually without intersection.For example, if first pressure value range is 0.5~1N (including 0.5N, do not include 1N), second pressure Value range is 1~1.5N (including 1N, do not include 1.5N).Target widget enter can dragging state when, can produce voice prompting The display effect of message or target widget changes, can dragging state for prompting ownership goal control to enter.

Tug unit 306, for receiving the dragging instruction for being directed to target widget, drag target control.

In the embodiment of the present invention, when target widget enter can dragging state after, user can by pin target widget into Row dragging generation dragging instructs, and tug unit 306 receives the dragging instruction for target widget, drag target control, dragging list Target widget can be dragged to any position of application program by member 306.Implement the embodiment of the present invention, in target widget Occlusion Map When layer, do not have to reduce or drag figure layer, directly dragging control, can be convenient and efficiently drag control, change the display position of control It sets.

In the embodiment of the present invention, the detection of detection unit 301 is directed to the target widget for the figure layer binding that application program is shown Parameter is pressed, pressing parameter includes touching pressure value, and application program includes the figure layer shown and at least one hides Layers;When When touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, unbundlings unit 302 releases target widget and aobvious The binding relationship for the figure layer shown, binding unit 303 by target widget at least one hide Layers in any figure layer bind with Form figure layer to be adjusted;The figure layer of display and the stratification position of figure layer to be adjusted are interchangeable by crosspoint 304;It is pressed when touching When force value falls into control input mode corresponding second pressure value range, trigger unit 305 triggers target widget into can drag State, first pressure value range and second pressure value range are mutually without intersection;Tug unit 306 receives the dragging for being directed to target widget Instruction, drag target control.Implement the embodiment of the present invention, user generates pressing parameter by pressing control, when in pressing parameter When touching pressure value and falling into the corresponding first pressure value range of figure layer switch mode, can be quickly and easily belonging to toggle control Figure layer, while can also conveniently drag control, change the display position of control.

Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.

Be provided for the embodiments of the invention above it is a kind of adjust the affiliated figure layer of control method and mobile terminal carry out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as limiting the invention.

Claims (11)

1. a kind of method for adjusting the affiliated figure layer of control characterized by comprising
The pressing parameter of the target widget for the figure layer binding that detection is shown for application program, the pressing parameter include touching pressure Force value, the application program include the display figure layer and at least one hide Layers, the figure layer of the display with it is described At least one, which hides Layers, is layered on top of each other;
When it is described touch pressure value and fall into figure layer switch mode corresponding first pressure value range when, release the target widget with The binding relationship of the figure layer of the display, by the target widget and it is described at least one hide Layers in any figure layer bind To form figure layer to be adjusted, the target widget is for editing the figure layer bound with it;
The figure layer of the display and the stratification position of the figure layer to be adjusted are interchangeable.
2. the method according to claim 1, wherein it is described by the target widget with it is described at least one hide Any figure layer in figure layer is bound to form figure layer to be adjusted, comprising:
By the target widget a hide Layers binding adjacent with the figure layer of the display to form figure layer to be adjusted.
3. according to the method described in claim 2, it is characterized in that, the figure layer switch mode include switch up mode and to Lower switch mode, the first pressure value range be divided into it is described switch up the corresponding first pressure value subrange of mode and The corresponding second pressure value subrange of the downward switch mode is described adjacent with the figure layer of the display by the target widget One hide Layers binding to form figure layer to be adjusted, comprising:
When it is described touch pressure value fall into it is described switch up the mode corresponding first pressure value subrange when, by the mesh Upper one the hide Layers binding adjacent with the figure layer of the display of mark control is to form figure layer to be adjusted;
When it is described touch pressure value and fall into the downward switch mode corresponding second pressure value subrange when, by the mesh Next the hide Layers binding adjacent with the figure layer of the display of mark control is to form figure layer to be adjusted.
4. the method according to claim 1, wherein the pressing parameter further include pressing duration, it is described by institute State target widget and it is described at least one hide Layers in any figure layer bind to form figure layer to be adjusted, comprising:
When the pressing duration is more than preset duration, the pressing is searched according to the corresponding lists between pressing duration and figure layer The corresponding target figure layer of duration;
The target widget and the target figure layer are bound to form figure layer to be adjusted.
5. method according to any one of claims 1 to 4, which is characterized in that the method also includes:
When it is described touch pressure value and fall into control input mode corresponding second pressure value range when, trigger the target widget into Enter can dragging state, the first pressure value range and the second pressure value range are mutually without intersection;
The dragging received for the target widget instructs, and drags the target widget.
6. a kind of mobile terminal characterized by comprising
Detection unit, for detecting the pressing parameter for being directed to the target widget for the figure layer binding that application program is shown, the pressing Parameter includes touching pressure value, the application program include the display figure layer and at least one hide Layers, it is described aobvious The figure layer shown with it is described at least one hide Layers and be layered on top of each other;
Unbind unit, for when it is described touch pressure value and fall into figure layer switch mode corresponding first pressure value range when, release The binding relationship of the target widget and the figure layer of the display;
Binding unit, for by the target widget and it is described at least one hide Layers in any figure layer bind with formed to Figure layer is adjusted, the target widget is for editing the figure layer bound with it;
Crosspoint, for the figure layer of the display and the stratification position of the figure layer to be adjusted to be interchangeable.
7. mobile terminal according to claim 6, which is characterized in that the binding unit by the target widget with it is described At least one hide Layers in any figure layer bind in a manner of forming figure layer to be adjusted specifically:
The binding unit one adjacent with the figure layer of the display of the target widget hidden Layers into binding with formed to Adjust figure layer.
8. mobile terminal according to claim 7, which is characterized in that the figure layer switch mode includes switching up mode With downward switch mode, the first pressure value range, which is divided into, described switches up the corresponding sub- model of first pressure value of mode Enclose second pressure value subrange corresponding with the downward switch mode, the binding unit is by the target widget and described aobvious Adjacent one of the figure layer shown hides Layers binding in a manner of forming figure layer to be adjusted specifically:
When it is described touch pressure value fall into it is described switch up the mode corresponding first pressure value subrange when, the binding Unit is by the target widget upper one the hide Layers binding adjacent with the figure layer of the display to form figure layer to be adjusted;
When it is described touch pressure value and fall into the downward switch mode corresponding second pressure value subrange when, the binding Unit is by the target widget next the hide Layers binding adjacent with the figure layer of the display to form figure layer to be adjusted.
9. mobile terminal according to claim 6, which is characterized in that the pressing parameter further includes pressing duration, described Binding unit includes:
Subelement is searched, is used for when the pressing duration is more than preset duration, according to corresponding between pressing duration and figure layer The corresponding target figure layer of pressing duration described in list lookup;
Subelement is bound, for binding the target widget and the target figure layer to form figure layer to be adjusted.
10. according to the described in any item mobile terminals of claim 6~9, which is characterized in that the mobile terminal further include:
Trigger unit, when it is described touch pressure value and fall into control input mode corresponding second pressure value range when, described in triggering Target widget enter can dragging state, the first pressure value range and the second pressure value range are mutually without intersection;
Tug unit drags the target widget for receiving the dragging instruction for being directed to the target widget.
11. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing electron number According to the computer program of exchange, wherein it is as described in any one in claim 1-5 that the computer program executes computer Method.
CN201511033154.1A 2015-12-30 2015-12-30 A kind of method and mobile terminal adjusting the affiliated figure layer of control 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 CN105677178A (en) 2016-06-15
CN105677178B true CN105677178B (en) 2019-02-05

Family

ID=56298599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511033154.1A 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109285203A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of edit methods, computer equipment and the storage medium of 3D picture

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8217856B1 (en) * 2011-07-27 2012-07-10 Google Inc. Head-mounted display that displays a visual representation of physical interaction with an input interface located outside of the field of view

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN105677178A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
KR102025291B1 (en) User interface for camera effects
US10768806B2 (en) Information processing device, information processing method, and program for displaying list items and changing hierarchical level of display
AU2018256616B2 (en) Device, method, and graphical user interface for providing feedback for changing activation states of a user interface object
CN205427823U (en) Electronic equipment and device that is used for carrying out text select?an?action
CN205665680U (en) Electronic equipment and be arranged in adjusting device of electronic equipment's setting
US20170371536A1 (en) Information processing device, information processing method, and program
CN104077027B (en) Show the device and method of the implementing result of application
CN103916535B (en) Mobile terminal and its control method
CN103677985B (en) Device and method for switching split view in portable terminal
US8910079B2 (en) Method of adjusting an UI and user terminal using the same
KR101885655B1 (en) Mobile terminal
KR102024422B1 (en) Method for opening file in file folder and terminal
KR101450231B1 (en) Touch gestures for remote control operations
US9626094B2 (en) Communication device and electronic device
CN102821193B (en) A kind of method of prompt operation file of smart mobile phone and smart mobile phone
EP2701054B1 (en) Method and apparatus for constructing a home screen in a terminal having a touch screen
KR101899819B1 (en) Mobile terminal and method for controlling thereof
CN103019592B (en) A kind of method of selection interface mark, device and mobile terminal
US9122388B2 (en) Method and apparatus for controlling touch screen using timeline bar, recording medium with program for the same recorded therein, and user terminal having the same
CN104360798B (en) The method and terminal of a kind of desktop layouts
EP2592542B1 (en) User interface providing method and apparatus for mobile terminal
JP5784944B2 (en) electronics
CN108363526A (en) Device and method for navigating between user interface
CN103218143B (en) A kind of classification page switching method and mobile device
US9535503B2 (en) Methods and devices for simultaneous multi-touch input

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant