CN109254823B - Method for switching multi-level nested paging view elements, memory and terminal - Google Patents

Method for switching multi-level nested paging view elements, memory and terminal Download PDF

Info

Publication number
CN109254823B
CN109254823B CN201811110746.2A CN201811110746A CN109254823B CN 109254823 B CN109254823 B CN 109254823B CN 201811110746 A CN201811110746 A CN 201811110746A CN 109254823 B CN109254823 B CN 109254823B
Authority
CN
China
Prior art keywords
touch event
touch
level
action
ordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811110746.2A
Other languages
Chinese (zh)
Other versions
CN109254823A (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.)
Wuhan Huazhong Shixun Technology Co ltd
Original Assignee
Wuhan Huazhong Shixun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Huazhong Shixun Technology Co ltd filed Critical Wuhan Huazhong Shixun Technology Co ltd
Priority to CN201811110746.2A priority Critical patent/CN109254823B/en
Publication of CN109254823A publication Critical patent/CN109254823A/en
Application granted granted Critical
Publication of CN109254823B publication Critical patent/CN109254823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The invention relates to a method, a memory and a terminal for switching multi-level nested paging view elements, wherein the method comprises the following steps: associating the multi-level nested paging view elements and creating a level indicator for indicating a target level to be currently slid; monitoring a touch event of a paging view element, and calculating the vertical coordinate offset of a touch point in the touch event; and modifying the indication position of the level indicator according to the ordinate offset. According to the method, on the basis of the original system paging tool, the gesture operation is monitored, the function of the gesture operation is expanded, the target level to be slid at present is indicated by drawing the indicator on the label of the paging level, the target level paging content is slid through the gesture touch sliding operation, and the experience of a user in sliding the multi-level nested paging elements is greatly improved.

Description

Method for switching multi-level nested paging view elements, memory and terminal
Technical Field
The invention relates to the technical field of computer application, in particular to a method for switching paging view elements through multi-point touch sliding operation in multi-level nested paging view elements on a mobile terminal (android and IOS equipment), a memory and a terminal.
Background
The technical noun explains:
the view element application displays visible view elements such as characters, pictures, buttons and the like on the screen of the mobile terminal device. These things often represent some specific functionality, such as operations such as "confirm", "cancel", etc. by clicking on "button" view elements.
Paginated view elements a view element that can accommodate multiple view elements (see fig. 2, 3), different content can be slide-shown by a right-left slide of a gesture.
When a user touches the screen of the device, the mobile terminal device responds to the touch and informs the running application program displayed on the screen in the form of a touch event. The actions of the touch event are roughly classified into "press", "move", "lift", "cancel", and the like. "Press" - > "move" - > "Lift" is a standard cycle of touch events
At present, most mobile terminal equipment hardware supports the recognition of 'multi-point touch', and when a user touches an equipment screen with one finger, two fingers or even a plurality of fingers at the same time, the user can trigger events such as 'pressing down', 'moving', 'lifting up' and the like which are independent of each other aiming at each finger
The developer of the listening touch event can learn the touch event of the user in the application program through a system function (ontouch event for android and touchbesan for ios). The "press", "lift", and "cancel" actions may be triggered only once during a cycle of a finger touch event, while the "move" action may be triggered multiple times, representing feedback from the user that the finger is sliding
After a touch event is intercepted, the touch event can be selected whether to directly 'consume' the event, namely, the subsequent transmission process of the event is directly interrupted, and the touch event is not transmitted to any other place
Touch event attributes each touch event contains two attributes, "action name (action)" and "trigger coordinates (eventY )". By reading action names and starting coordinates, a developer can determine where the user is and what operation is specifically performed
Touch threshold the minimum movement distance that the system can recognize when a "move" action is triggered, i.e. the user's finger has moved a small distance across the screen of the device, which the system can recognize as a "move" action only if this distance is greater than the touch threshold. The touch threshold (TouchSlop) is a device-specific property that varies across devices of different resolutions. For a cell phone with a resolution of 1080 x 1920, 24 pixels are typical.
The coordinates are on the screen of the mobile terminal equipment, and the coordinates of any view element refer to the distance between the left upper corner of the view element, namely, the ordinate of one view element is the distance between the left side of the view element and the left side of the superior view element, and the ordinate is the distance between the upper side of the view element and the upper side of the superior view element
All system built-in pagination view elements (android is ViewPager, ios is UIScrollView) are arranged on the current mobile end system, a plurality of sub-view elements can be accommodated, and contents of different sub-view elements are switched and displayed by gesture left-right sliding:
the paging view elements are divided into a label layer and a content layer, the sliding label layer does not affect the content layer, but the sliding content layer is simultaneously connected with the sliding label layer.
In some special cases, an application may use multiple levels of nested paging views to achieve a particular need (see FIG. 4).
Although the page structure of the multi-level nested paging view is clear, it is quite inconvenient for the user to perform the sliding operation, that is, the sliding of each level of paging is independent, and only when the indicator of a certain level of paging is located at the position of the first or last tag, and then sliding to the left (when the indicator is located at the position of the first tag)/to the right (when the indicator is located at the position of the last tag), the sliding of the upper level of paging can be triggered.
Therefore, due to the large number of paging levels in the multi-level paging view element, it is troublesome to switch the tag of a certain upper level by sliding the lower levels.
Disclosure of Invention
The invention provides a method, a memory and a terminal for switching multi-level nested paging view elements, aiming at the technical problems in the prior art.
The technical scheme for solving the technical problems is as follows:
in one aspect, the present invention provides a method for switching multi-level nested paged view elements, comprising the following steps:
step 1, associating multi-level nested paging view elements and creating a level indicator for indicating a current target level to be slid;
step 2, monitoring a touch event of the paging view element, and calculating the vertical coordinate offset of a touch point in the touch event;
and 3, modifying the indication position of the hierarchical indicator according to the ordinate offset.
Further, the method of creating a hierarchy indicator comprises the steps of:
a variable currentLevel is declared and an initial value is assigned to indicate the sequence number of the current target level to be slid;
calling a canvas.
And detecting the value of the variable currentLevel, and when the value changes, changing the drawing position of the solid line according to the value of the variable currentLevel to indicate the view element level corresponding to the changed value of the variable currentLevel.
Further, the step 2 comprises:
monitoring touch events of the paging view elements, judging the number of touch points in the touch events, and executing one of the following operations according to the number of the touch points:
1) feeding back the current touch event to a target paging view element;
2) calculating the ordinate offset of a touch point in the touch event;
3) the subsequent analysis operation of the touch event is terminated.
Further, the determining the number of touch points in the touch event and performing the operation includes:
if the touch point is 1, feeding back the current touch event to the target paging view element;
if the touch point is 3, calculating the vertical coordinate offset of the touch point in the touch event;
otherwise, the subsequent analysis operation of the touch event is terminated.
Further, the feeding back the current touch event to the current paginated view element includes:
according to the value of currentLevel, obtaining an object currentViewPager of a target level paging view element by using a currentLevel method;
and feeding back the current touch event to an object currentViewPager to perform target level paging view element sliding operation.
Further, the calculating the ordinate offset of the touch point in the touch event includes:
1) judging the touch event action of the first touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY1 ═ eventY 1;
if the touch event is a "move," the offset between the ordinate of the current action and the last recorded ordinate, dY1 ═ eventY 1-lastEventY 1, is calculated, and the record lastEventY1 ═ eventY1 is updated with the current ordinate
If the action of the touch event is 'lift up', terminating all subsequent analysis steps for the first touch point;
2) judging the touch event action of the second touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY2 ═ eventY 2;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY2 ═ eventY2-lastEventY2, and update the record lastEventY2 ═ eventY2 with the current ordinate;
if the action of the touch event is 'lift up', terminating all subsequent analysis steps for the second touch point;
3) judging the touch event action of a third touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY3 ═ eventY 3;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY3 ═ eventY 3-lastEventY 3, and update the record lastEventY3 ═ eventY3 with the current ordinate;
if the touch event is a "lift-off," all subsequent analysis steps for the third touch point are terminated.
Further, in step 3, modifying the indication position of the level indicator according to the ordinate offset includes:
a) dY1, dY2 and dY3 are all larger than 0, whether the target level is the maximum value or not is judged, and if yes, the touch event is ignored; otherwise, adding one to the currentLevel value to update the position of the line of the level indicator;
b) dY1, dY2 and dY3 are all smaller than 0, whether the target level is the first level or not is judged, and if yes, the touch event is ignored; otherwise, the currentLevel value is reduced by one to update the position of the line of the level indicator;
c) and if the dY1, the dY2 and the dY3 are not simultaneously greater than 0 and not simultaneously less than 0, the condition is judged to be invalid operation, and the touch event is ignored.
In another aspect, the present invention further provides a memory, in which a computer software program for implementing the method for switching multi-level nested paged view elements is stored.
In a third aspect, the present invention further provides a terminal, which includes a display device, a processor, and the above memory.
The invention has the beneficial effects that: according to the method, on the basis of the original system paging tool, the gesture operation is monitored, the function of the gesture operation is expanded, the target level to be slid at present is indicated by drawing the indicator on the label of the paging level, the paging content of the target level is switched through the three-point gesture touch sliding operation, and the method for sliding the paging content of the target level through the single-point gesture touch is adopted, so that the experience of a user in sliding the multi-level nested paging elements is greatly improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a diagram illustrating page view elements with a page indicator pointing to a page 1 tag;
FIG. 3 is a diagram illustrating page view elements with a page indicator pointing to the page 2 tag;
FIG. 4 is a diagram of a multi-level nested paging view element;
FIG. 5 is a diagram of a multi-level nested paginated view element with a level indicator.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the present invention provides a method for switching multi-level nested paging view elements, comprising the following steps:
step 1, associating multi-level nested paging view elements and creating a level indicator for indicating a current target level to be slid;
a variable currentLevel is declared and an initial value is assigned to indicate the sequence number of the current target level to be slid;
calling a canvas.
And detecting the value of the variable currentLevel, and when the value changes, changing the drawing position of the solid line according to the value of the variable currentLevel to indicate the view element level corresponding to the changed value of the variable currentLevel.
Step 2, monitoring a touch event of the paging view element, and calculating the vertical coordinate offset of a touch point in the touch event;
monitoring touch events of the paging view elements, judging the number of touch points in the touch events, and executing one of the following operations according to the number of the touch points:
if the touch point is 1, feeding back the current touch event to the target paging view element;
according to the value of currentLevel, obtaining an object currentViewPager of a target level paging view element by using a currentLevel method;
and feeding back the current touch event to an object currentViewPager to perform target level paging view element sliding operation.
If the touch point is 3, calculating the vertical coordinate offset of the touch point in the touch event;
1) judging the touch event action of the first touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY1 ═ eventY 1;
if the touch event is a "move," the offset between the ordinate of the current action and the last recorded ordinate, dY1 ═ eventY 1-lastEventY 1, is calculated, and the record lastEventY1 ═ eventY1 is updated with the current ordinate
If the action of the touch event is 'lift up', terminating all subsequent analysis steps for the first touch point;
2) judging the touch event action of the second touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY2 ═ eventY 2;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY2 ═ eventY2-lastEventY2, and update the record lastEventY2 ═ eventY2 with the current ordinate;
if the action of the touch event is 'lift up', terminating all subsequent analysis steps for the second touch point;
3) judging the touch event action of a third touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY3 ═ eventY 3;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY3 ═ eventY 3-lastEventY 3, and update the record lastEventY3 ═ eventY3 with the current ordinate;
if the touch event is a "lift-off," all subsequent analysis steps for the third touch point are terminated.
And 3, modifying the indication position of the level indicator according to the ordinate offset, and triggering the switching of the levels of the paging view elements.
a) dY1, dY2 and dY3 are all larger than 0, whether the target level is the maximum value or not is judged, and if yes, the touch event is ignored; otherwise, adding one to the currentLevel value to update the position of the line of the level indicator;
b) dY1, dY2 and dY3 are all smaller than 0, whether the target level is the first level or not is judged, and if yes, the touch event is ignored; otherwise, the currentLevel value is reduced by one to update the position of the line of the level indicator;
c) and if the dY1, the dY2 and the dY3 are not simultaneously greater than 0 and not simultaneously less than 0, the condition is judged to be invalid operation, and the touch event is ignored.
Otherwise, the subsequent analysis operation of the touch event is terminated.
Based on the method, on the basis of the original system paging tool, the functions of the gesture operation are expanded by monitoring the gesture operation, a novel multi-level nested paging sliding tool (GesturneMulitViewPager helper) is invented, the target level to be slid at present is indicated by drawing an indicator on a label of the paging level, and the target level paging content is directly slid by three-point gesture touch sliding operation, so that the experience of a user in sliding the multi-level nested paging elements is greatly improved.
When the developer initializes the tool, an association function 'attachViewPager' of the tool needs to be called, and the multi-level nested list view elements on the application program page are associated, including all levels of paging view elements, but none is available.
Assume that there are N levels of nested paged view elements.
As shown in fig. 4, there are 3 levels, and the names of the paginated view elements of the 3 levels are respectively viewPager1, viewPager2 and viewPager3 from top to bottom
Method for indicating current target level to be slipped by using level indicator
1. Declaring a variable currentLevel, wherein the initial value is 1 and refers to the sequence number of a current target level to be slid;
2. draw a solid line to the left of the label of the paged view element of the level, calling the canvas. As shown in fig. 5, assuming that currentlevel is 1, the target level is the first level (level 1: viewPager1, level 2: viewPager2, and level 3: viewPager3), so a solid line is drawn to the left of the label layer of the first-level paginated view element (viewPager 1).
The value of the currentLevel variable is detected, and the drawing position of the line is immediately changed according to the value of the currentLevel whenever the value is changed.
Method for monitoring touch events of multi-level paging view elements on application program page and changing target level to be slid through three-point gesture operation
After the tool is associated with the multi-level nested paging view elements, touch events of the Nth level view elements can be monitored, and single-point and three-point gesture operations can be detected, and the specific method comprises the following steps:
when a touch event occurs to the associated view element, the tool monitors and analyzes the touch event.
1. Determining the number of touch event points
2. If the number of the touch points is 1, performing sliding judgment of the single-point gesture according to the step (III);
3. if the number of the touch points is 3, jumping to the step 2, and performing sliding judgment of the three-point gesture;
4. if the number of the touch points is other, terminating all subsequent judgments
5. Calculating the ordinate offset of the two-point touch event:
a) for the first touch point:
i. if the action of the touch event is "press", recording the ordinate of the action as lastEventY1 ═ eventY 1;
if the touch event action is "move", then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY1 ═ eventY 1-lastEventY 1 (i.e., how much distance the triggered "move" action was moved on the ordinate relative to the last touch event action), and update the record lastEventY1 ═ eventY1 with the current ordinate;
if the action of the touch event is "lift off", then all subsequent analysis steps for the first touch point are terminated.
b) For the second touch point:
i. if the action of the touch event is "press", recording the ordinate of the action as lastEventY2 ═ eventY 2;
if the touch event action is "move", then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY2 ═ eventY2-lastEventY2, and update the record lastEventY2 ═ eventY2 with the current ordinate;
if the touch event action is "lift-off", then all subsequent analysis steps for the second touch point are terminated.
c) For the third touch point:
i. if the action of the touch event is "press", recording the ordinate of the action as lastEventY3 ═ eventY 3;
if the touch event action is "move", then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY3 ═ eventY 3-lastEventY 3, and update the record lastEventY3 ═ eventY3 with the current ordinate;
if the action of the touch event is "lift off", then all subsequent analysis steps for the third touch point are terminated.
6. Judging whether to trigger three-point sliding operation or not according to respective vertical coordinate offset of three points
a) dY1, dY2 and dY3 are all greater than 0
It is determined that the situation is that the three fingers of the user slide downward at the same time. This situation will change the target level of the paged view element to be slid, specifically:
determining whether the target level is already at the maximum value, i.e., determining whether currentLevel is greater than or equal to N:
i. if so, ignoring the touch event;
if not, then increment the currentLevel value by one and update the position of the hierarchy indicator bar according to step 2 of (one).
b) dY1, dY2 and dY3 are all less than 0
It is determined that the situation is that the three fingers of the user slide upward at the same time. This situation will change the target level of the paged view element to be slid, specifically:
judging whether the target level is the first level, namely judging whether currnet level is less than or equal to 1:
i. if so, the touch event is ignored
if not, then decrement the currentLevel value by one, and according to step (one)
2 update the position of the hierarchy indicator bar.
c) dY1, dY2 and dY3 are not greater than 0 nor less than 0 simultaneously
This case is determined to be an invalid operation, and this touch event is ignored.
(III) method for monitoring touch events of multi-level paging view elements on application program page and directly sliding target level through single-point gesture operation
1. According to the value of currentLevel, obtaining an object currentViewPager of a target level paging view element by using a currentLevel method;
2. the single-point gesture touch event heard in (two) is handed over directly to currentViewPager (instead of the nth level paginated view element) so that the target level paginated view element thinks it is being slid by the user (actually not).
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method of switching multi-level nested paged view elements, comprising the steps of:
step 1, associating multi-level nested paging view elements and creating a level indicator for indicating a current target level to be slid;
step 2, monitoring a touch event of the paging view element, and calculating the vertical coordinate offset of a touch point in the touch event;
step 3, modifying the indication position of the hierarchical indicator according to the vertical coordinate offset;
wherein the method of creating a hierarchy indicator comprises the steps of:
a variable currentLevel is declared and an initial value is assigned to indicate the sequence number of the current target level to be slid;
calling a canvas.
And detecting the value of the variable currentLevel, and when the value changes, changing the drawing position of the solid line according to the value of the variable currentLevel to indicate the view element level corresponding to the changed value of the variable currentLevel.
2. The method according to claim 1, wherein the step 2 comprises:
monitoring touch events of the paging view elements, judging the number of touch points in the touch events, and executing one of the following operations according to the number of the touch points:
1) feeding back the current touch event to a target paging view element;
2) calculating the ordinate offset of a touch point in the touch event;
3) the subsequent analysis operation of the touch event is terminated.
3. The method according to claim 2, wherein the determining the number of touch points in the touch event is performed by:
if the touch point is 1, feeding back the current touch event to the target paging view element;
if the touch point is 3, calculating the vertical coordinate offset of the touch point in the touch event;
otherwise, the subsequent analysis operation of the touch event is terminated.
4. The method of claim 3, wherein the feeding back the current touch event to the current paginated view element comprises:
according to the value of currentLevel, obtaining an object currentViewPager of a target level paging view element by using a currentLevel method;
and feeding back the current touch event to an object currentViewPager to perform target level paging view element sliding operation.
5. The method according to claim 3, wherein the calculating the ordinate offset of the touch point in the touch event comprises:
1) judging the touch event action of the first touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY1 ═ eventY 1;
if the touch event is a "move," the offset between the ordinate of the current action and the last recorded ordinate, dY1 ═ eventY 1-lastEventY 1, is calculated, and the record lastEventY1 ═ eventY1 is updated with the current ordinate
If the action of the touch event is 'lift up', terminating all subsequent analysis steps for the first touch point;
2) judging the touch event action of the second touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY2 ═ eventY 2;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY2 ═ eventY2-lastEventY2, and update the record lastEventY2 ═ eventY2 with the current ordinate;
if the action of the touch event is 'lift up', terminating all subsequent analysis steps for the second touch point;
3) judging the touch event action of a third touch point:
if the action of the touch event is "press", recording the ordinate of the action as lastEventY3 ═ eventY 3;
if the touch event action is "move," then calculate the offset between the ordinate of the current action and the last recorded ordinate, dY3 ═ eventY 3-lastEventY 3, and update the record lastEventY3 ═ eventY3 with the current ordinate;
if the touch event is a "lift-off," all subsequent analysis steps for the third touch point are terminated.
6. The method as claimed in claim 5, wherein the step 3, according to the ordinate offset, modifies the indicated position of the level indicator to trigger switching the level of the paginated view elements, and comprises:
a) dY1, dY2 and dY3 are all larger than 0, whether the target level is the maximum value or not is judged, and if yes, the touch event is ignored; otherwise, adding one to the currentLevel value to update the position of the line of the level indicator;
b) dY1, dY2 and dY3 are all smaller than 0, whether the target level is the first level or not is judged, and if yes, the touch event is ignored; otherwise, the currentLevel value is reduced by one to update the position of the line of the level indicator;
c) and if the dY1, the dY2 and the dY3 are not simultaneously greater than 0 and not simultaneously less than 0, the condition is judged to be invalid operation, and the touch event is ignored.
7. A memory having stored therein a computer software program for implementing a method of switching multi-level nested paged view elements as claimed in any one of claims 1 to 6.
8. A terminal comprising display means, a processor and a memory according to claim 7.
CN201811110746.2A 2018-09-21 2018-09-21 Method for switching multi-level nested paging view elements, memory and terminal Active CN109254823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811110746.2A CN109254823B (en) 2018-09-21 2018-09-21 Method for switching multi-level nested paging view elements, memory and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811110746.2A CN109254823B (en) 2018-09-21 2018-09-21 Method for switching multi-level nested paging view elements, memory and terminal

Publications (2)

Publication Number Publication Date
CN109254823A CN109254823A (en) 2019-01-22
CN109254823B true CN109254823B (en) 2022-02-22

Family

ID=65048420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811110746.2A Active CN109254823B (en) 2018-09-21 2018-09-21 Method for switching multi-level nested paging view elements, memory and terminal

Country Status (1)

Country Link
CN (1) CN109254823B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113396381B (en) * 2019-02-08 2023-11-28 株式会社工程师论坛 Tree information providing device and storage medium
CN110175023A (en) * 2019-05-28 2019-08-27 四川长虹电器股份有限公司 Method and system based on the multistage nested linkage of the UIScrollView in iOS system
CN113325975B (en) * 2021-05-21 2023-01-20 翱捷科技股份有限公司 User interface switching method and device based on LVGL
CN113487991B (en) * 2021-06-22 2023-10-13 北京黑鸟科技有限公司 Marking method, system, device and medium for flexible paging on segment code screen
CN113891160B (en) * 2021-09-22 2024-02-13 百果园技术(新加坡)有限公司 Sliding switching method and device for content card, terminal and storage medium
CN114356194A (en) * 2022-03-07 2022-04-15 北京搜狐新媒体信息技术有限公司 Method and device for processing native advertisement

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458591A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Mobile phone input system with multi-point touch screen hardware structure
CN102955672A (en) * 2012-11-06 2013-03-06 北京京东世纪贸易有限公司 Method and device for displaying pages on equipment with touch screen
CN103309579A (en) * 2013-06-26 2013-09-18 珠海金山办公软件有限公司 Multi-level positioning method and system
CN105183336A (en) * 2015-06-05 2015-12-23 努比亚技术有限公司 Switching method for multimedia interface and terminal thereof
CN105425966A (en) * 2015-12-14 2016-03-23 珠海全志科技股份有限公司 Gesture control method and device based on Android system
CN106325668A (en) * 2016-08-11 2017-01-11 网易(杭州)网络有限公司 Touch event response processing method and system
CN106775227A (en) * 2016-12-06 2017-05-31 福建天泉教育科技有限公司 A kind of method and system of page layout switch

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030001865A1 (en) * 2001-06-28 2003-01-02 Matsushita Electric Industrial Co., Ltd. Information display device and method for displaying information
JP5158987B2 (en) * 2010-05-21 2013-03-06 パナソニック株式会社 Mobile terminal, information processing method, and program
JP2013089202A (en) * 2011-10-21 2013-05-13 Sony Computer Entertainment Inc Input control unit, input control method and input control program
US8963962B2 (en) * 2012-03-06 2015-02-24 Apple Inc. Display of multiple images
CN106293434A (en) * 2015-05-28 2017-01-04 惠州市德赛西威汽车电子股份有限公司 The multi-point gesture identification method of vehicular touch screen terminal and device
CN104932821A (en) * 2015-06-02 2015-09-23 青岛海信移动通信技术股份有限公司 Display method of operation interface of intelligent terminal and intelligent terminal
CN105204744B (en) * 2015-09-28 2018-10-19 北京金山安全软件有限公司 Method and device for starting application program and electronic equipment
CN105867805B (en) * 2016-03-24 2020-01-17 广州华多网络科技有限公司 Information loading method and electronic equipment
CN108700999B (en) * 2016-04-29 2020-10-09 华为技术有限公司 User interface display method and terminal
CN107566608A (en) * 2017-07-31 2018-01-09 努比亚技术有限公司 A kind of system air navigation aid, equipment and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458591A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Mobile phone input system with multi-point touch screen hardware structure
CN102955672A (en) * 2012-11-06 2013-03-06 北京京东世纪贸易有限公司 Method and device for displaying pages on equipment with touch screen
CN103309579A (en) * 2013-06-26 2013-09-18 珠海金山办公软件有限公司 Multi-level positioning method and system
CN105183336A (en) * 2015-06-05 2015-12-23 努比亚技术有限公司 Switching method for multimedia interface and terminal thereof
CN105425966A (en) * 2015-12-14 2016-03-23 珠海全志科技股份有限公司 Gesture control method and device based on Android system
CN106325668A (en) * 2016-08-11 2017-01-11 网易(杭州)网络有限公司 Touch event response processing method and system
CN106775227A (en) * 2016-12-06 2017-05-31 福建天泉教育科技有限公司 A kind of method and system of page layout switch

Also Published As

Publication number Publication date
CN109254823A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN109254823B (en) Method for switching multi-level nested paging view elements, memory and terminal
US9891816B2 (en) Method and mobile terminal for processing touch input in two different states
CN102789332B (en) Method for identifying palm area on touch panel and updating method thereof
US9292161B2 (en) Pointer tool with touch-enabled precise placement
CN104903835A (en) Device, method, and graphical user interface for forgoing generation of tactile output for a multi-contact gesture
MX2007008429A (en) Mobile electronic apparatus with touch input device and display method using the same .
JP6068797B2 (en) Apparatus and method for controlling output screen of portable terminal
JP6229473B2 (en) Display device and program
CN101943990A (en) Operating control device, method of controlling operation thereof and computer program
CN106325663B (en) Mobile terminal and its screenshotss method
CN103135930A (en) Touch screen control method and device
CN110456949A (en) For the equipment, method and graphic user interface of taskbar to be navigated and shown between user interface
CN103019577A (en) Object selection method and device, control method and control device
CN108279848B (en) Display method and electronic equipment
CN104223616B (en) A kind of data inputting method, device, process chip and information input finger ring
KR101591586B1 (en) Data processing apparatus which detects gesture operation
CN104182144A (en) Mobile terminal interface browsing method and system
CN105183304B (en) Based on the navigation menu display methods and device under human-computer interaction
CN103777856A (en) Method and system for processing touch event into remote control gesture and remote control terminal
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
US11455071B2 (en) Layout method, device and equipment for window control bars
CN105468243A (en) Page returning method and page returning device
CN105739776B (en) A kind of calibration method of pressure value, device and mobile terminal
CN106354376A (en) Information processing method and client terminal
US20120278758A1 (en) Image browsing system and method for zooming images and method for switching among images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant