CN107301014B - Gesture command processing method and device - Google Patents

Gesture command processing method and device Download PDF

Info

Publication number
CN107301014B
CN107301014B CN201710493116.7A CN201710493116A CN107301014B CN 107301014 B CN107301014 B CN 107301014B CN 201710493116 A CN201710493116 A CN 201710493116A CN 107301014 B CN107301014 B CN 107301014B
Authority
CN
China
Prior art keywords
view
pull
slide
height
task
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
CN201710493116.7A
Other languages
Chinese (zh)
Other versions
CN107301014A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201710493116.7A priority Critical patent/CN107301014B/en
Publication of CN107301014A publication Critical patent/CN107301014A/en
Priority to PCT/CN2018/092505 priority patent/WO2019001373A1/en
Application granted granted Critical
Publication of CN107301014B publication Critical patent/CN107301014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Abstract

The invention provides a method and a device for processing gesture commands. The gesture command may include: a pull or slide down gesture command and a pull or slide up gesture command. When the processing method for the pull-down or slide-down gesture command is executed, the method comprises the following steps: laying out a head view and at least any one view in a view container, wherein the size of the head view and the at least one view is a custom value; the view container intercepts a pull-down or slide-down gesture event, and when at least one view cannot roll downwards along with the pull-down or slide-down gesture, the height of the head view is dynamically increased by a corresponding value according to the distance value of the user pulling down or sliding down on the screen, which is acquired in real time at the moment; and distributing different tasks to the views managed by the view container according to the height change of the head view. The same principles apply to the method of processing a pull or swipe gesture command when changing the head view to the tail view.

Description

Gesture command processing method and device
Technical Field
The invention relates to the technical field of information processing, in particular to a method and a device for processing a gesture command used in an intelligent terminal.
Background
At present, an intelligent terminal becomes one of electronic products used by a large number of users in daily life. Users need to implement desired functions using various apps installed on smart terminals such as smartphones or tablet computers. For example, a user focuses on news using a news-class APP, or a browser APP that can provide news, or the like. Each APP has a fixed update time for the news displayed, often requiring manual refreshment when a user wants to watch the newly released news. The conventional convenient manual refreshing method refreshes list data in a pull-down mode, namely, the list data are pulled downwards at the top of a display interface of a terminal screen to form a pull-down gesture, and more data can be acquired for display after the list data are refreshed.
However, this way of pull-down refresh is a single application scenario, which only fits pages displayed in a view list, and the user must pull down from the top of the display interface, and if the view control touched by the user is slidable, then view follow scrolling is performed at this time, and the refresh purpose cannot be performed. Therefore, the existing pull-down refreshing method is only suitable for data refreshing, and the position of the pull-down gesture on the touch screen is limited.
Disclosure of Invention
The invention aims to provide a method and a device for processing gesture commands, which comprise a pull-up or slide-up gesture command so as to improve the problems.
A first embodiment of the present invention provides a method for processing a pull-down or slide-down gesture command, including:
laying out a head view and at least any one view in a view container, wherein the size of the head view and the at least one view is a custom value;
the view container intercepts a pull-down or slide-down gesture event, and when at least one view cannot roll downwards along with the pull-down or slide-down gesture, the height of the head view is dynamically increased by a corresponding value according to the distance value of the user pulling down or sliding down on the screen, which is acquired in real time at the moment;
and distributing different tasks to the views managed by the view container according to the height change of the head view.
Wherein the head view is vertically above the at least one view.
Wherein the at least one view being unable to scroll down following a pull-down or slide-down gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein the step of distributing different tasks to the view managed by the view container according to the height change of the head view comprises but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein, still include: and when the distributed task is finished, restoring the height of the head view to an initial value.
A second embodiment of the present invention provides a method for processing a pull-up or slide-up gesture command, including:
laying out a tail view and at least any one view in a view container, wherein the size of the tail view and the at least one view is a custom value;
the view container intercepts a pull-up or slide-up gesture event, and when at least one view cannot roll upwards along with the pull-up or slide-up gesture, the height of the tail view is dynamically increased by a corresponding value according to the distance value of the user pulling up or sliding up on the screen, which is acquired in real time at the moment;
and distributing different tasks to the managed views by the view container according to the height change of the tail view.
Wherein the tail view is vertically below the at least one view.
Wherein the at least one view being unable to scroll up following a pull or swipe gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein, the step of distributing different tasks to the managed views according to the different view containers in the height change of the tail view includes but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein, still include: and after the distributed task is finished, the height of the tail view is restored to an initial value.
A third embodiment of the present invention provides a device for processing a pull-down or slide-down gesture command, comprising a view container module, wherein the view container module comprises:
the view setting module is used for laying out a head view and at least one view in a view container, wherein the size of the head view and the size of the at least one view are custom values;
the pull-down or slide-down gesture event processing module is used for intercepting a pull-down or slide-down gesture event, and when the at least one view cannot roll downwards along with the pull-down or slide-down gesture, dynamically increasing the height of the head view by a corresponding value according to the distance value of the user pulling down or sliding down on the screen acquired in real time;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the head view.
Wherein the head view is vertically above the at least one view.
Wherein the at least one view being unable to scroll down following a pull-down or slide-down gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein, the task distribution module makes the view container distribute different tasks to the view managed by the view container according to the difference of the height change of the head view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein the apparatus further comprises:
and the head view height resetting module is used for restoring the height of the head view to an initial value after the distributed task is finished.
A fourth embodiment of the present invention provides a device for processing a pull or slide gesture command, comprising a view container module, wherein the view container module comprises:
the view setting module is used for laying out a tail view and at least one view in a view container, and the sizes of the tail view and the at least one view are custom values;
the pull-up or slide-up gesture event processing module is used for intercepting a pull-up or slide-up gesture event, and when the at least one view cannot roll upwards along with the pull-up or slide-up gesture, dynamically increasing the height of the tail view by a corresponding value according to a distance value of the user pulling up or sliding up on the screen, which is acquired in real time at the moment;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the tail view.
Wherein the tail view is vertically below the at least one view.
Wherein the at least one view being unable to scroll up following a pull or swipe gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein, the task distribution module makes the view container distribute different tasks to the view managed by the view container according to the difference of the height change of the tail view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein the apparatus further comprises:
and the tail view height resetting module is used for restoring the height of the tail view to an initial value after the distributed task is finished.
The invention also provides a storage device having stored therein a plurality of instructions adapted to be loaded by a processor and to carry out the method of the first embodiment or the method of the second embodiment.
Has the advantages that: according to the method and the device for processing the gesture command, the head view and/or the tail view which belong to the view list are/is moved out of the view list and loaded into the view container Viewgroup, when a user sends a pull-down or slide-down gesture command or a pull-up or slide-up gesture command on a terminal screen, the view container Viewgroup controls the head view to change along with the pull-down or slide-down gesture command or the tail view to change along with the pull-up or slide-up gesture command, and then task execution on a target object is distributed, wherein the method and the device comprise but are not limited to the following steps: a task of adding and displaying animation effects, a task of adding and displaying information contents including text, and/or pictures, and/or video contents, a task of performing data refresh, and the like. Because the method utilizes the task distribution mechanism of the view container Viewgroup, the response time of task execution is greatly accelerated; the head view and/or the tail view which belong to the view list are creatively moved out of the view list and loaded into the view container Viewgroup, so that the application scene of a pull-down gesture command can be greatly expanded, the data refreshing is not limited, the page displayed by the view list is not limited, the position of the pull-down gesture on a touch screen is not limited, and a view control touched by a user can be fixed and can not be rolled or can be rolled; when the view control touched by the user is scrollable, the view control cannot continue to scroll after the view control scrolls to a specified distance of the system, and the view container Viewgroup controls the head view to change along with a pull-down or slide-down gesture command or the tail view to change along with a pull-up or slide-up gesture command, so that the task execution of the target object is distributed.
Drawings
FIG. 1 is a flow chart of a method for processing a pull-down or slide-down gesture command according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for processing a pull or swipe gesture command according to a second embodiment of the present invention;
FIG. 3 is a schematic block diagram of a processing device for a pull-down or slide-down gesture command according to a third embodiment of the present invention;
FIG. 4 is a schematic block diagram of a processing device for a pull-up or slide-up gesture command according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention and the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a flow chart of a method for processing a pull-down or slide-down gesture command according to a first embodiment of the present invention. As shown in fig. 1, the method for processing a pull-down or slide-down gesture command of the present invention includes:
s1: and laying out a head view and at least any one view in a view container, wherein the size of the head view and the at least one view is a custom value.
The View container View is a subclass of View views, and has the characteristics of View, and is mainly used as a container for View, and View therein is regarded as a child thereof to manage the child View thereof, so that the View container View can be created in the View container View. The View group and its children (View and View) form a hierarchical structure in a tree structure, the View class has the function of receiving and processing messages, and the messages generated by the android system are transmitted between the View group and the View.
Because it takes a long time for one view to notify another view for the transfer of external input commands, while it takes a short time for the view container view group of the parent class to transfer the received input commands to the views it contains.
The method and the device are based on the characteristics of the view container Viewgroup, the gesture command is more applied to more application scenes in an expanded mode, the head view header and/or the tail view footer which are commonly added in the view list listview in the conventional application are moved out of the view list and loaded into the view container View, namely the head view header and/or the tail view footer are not added in the view list listview, but the head view header and/or the tail view footer are added in the view container View.
For a clearer description, in the first embodiment, a header view header is added to the view container view group, and of course, in addition to the header view, at least any view needs to be added, where the at least any view is used to display specific information on a page, and according to actual display needs, the number of added views is at least 1, but often more, and a view list listview may also be added.
Wherein the size (width and height) of the head view and the at least one view can adopt a custom value according to different application scenes. Preferably, the width of the head view is the width of a display interface of the terminal screen, the height of the head view is a custom value, and the size of the at least 1 view is the same as or slightly smaller than the size of a display area of the terminal screen, that is, the at least 1 view is used for displaying information and needs to be spread over the display area (the whole content area) of the screen, and certainly, for picture content and the like, the resolution is different, and the whole display area of the screen can not be completely spread over, and how to display the size of the at least 1 view is not a key point of the present invention, and any design can be made according to an actual application scene. The height of the head view can be set to 0, namely the head view is hidden; how information needs to be displayed at the head view, the height of the head view may be set to a value other than 0.
The method for laying out a header view and at least any one view AnyView in a view container is briefly described as follows. For example, the width and height of HeaderView and AnyView are first calculated and set in the onMeasure () callback method of ViewGroup. The calculation and setting can be processed in the following way: measure (measurepec. makemeasurepec (width value), measurepec. makemeasurepec (height value)).
Then laying out the positions of HeaderView and AnyView in the onLayout () callback method of ViewGroup.
The methods used are, for example:
View.layout(left,top,width,height)
left, top represents the position of View at the upper left corner of the screen, and in the conventional use of the android system, the coordinate of the upper left corner of the screen is 0, 0;
width represents the width of View
height represents the View height
If let 0 be left, 0 be top, 0 be width of the display interface of the screen, height be height of the display area of the screen,
then we can deduce that the left of the HeaderView is 0 and the top is negative, for example-20, which can ensure that the HeaderView and AnyView display vertical layout on the screen and that the HeaderView is above AnyView, i.e. the head view is vertically above the at least one view and the HeaderView is not visible by default.
S2: and when the at least one view can not roll downwards along with the pull-down or slide-down gesture, dynamically increasing the height of the head view by a corresponding value according to the distance value of the pull-down or slide-down of the user on the screen, which is acquired in real time at the moment.
When a user makes a pull-down gesture or a slide-down gesture on a terminal screen, the android system transmits pull-down gesture or slide-down gesture events layer by layer, the view container intercepts the pull-down gesture or slide-down gesture events through ontouchvent (), whether the at least one view rolls downwards along with the pull-down gesture or the slide-down gesture is judged according to the pull-down gesture or the slide-down gesture events, and when the at least one view is fixed and can not roll, or can not roll any more after rolling to a specified distance, that is, the at least one view can not roll downwards along with the pull-down gesture or the slide-down gesture comprises the following steps: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance, and the height of the head view is dynamically increased by a corresponding value according to the distance value of the user pulling down or sliding down on the screen, which is acquired in real time at the moment, for example, the height of the head view is dynamically increased by 100 pixels if the user pulls down or slides down on the screen by a distance of 100 pixels at the moment.
The determination that the user makes a pull-down or slide-down gesture on the terminal screen may be made using techniques known in the art and will not be described in detail herein.
S3: and distributing different tasks to the views managed by the view container according to the height change of the head view.
Different heights of the head view can be preset to correspond to different tasks, so that the view container can distribute different tasks to the managed views according to different height changes of the head view. Specifically, the method includes but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
The specific explanation is as follows: task 1 is aimed at presenting an animation effect, such as a running pony, at any arbitrary position on the screen, preferably at the head view position, as the head view height changes in real time; when the user releases the hand to end the pull-down or slide-down gesture command, meaning that task 1 is finished, the animation effect disappears. The purpose of the task 2 is to preset a first threshold, and when the height of the head view is greater than or equal to the first preset threshold, the head view can display text, and/or pictures, and/or video content, that is, text information, picture information, or video information can be displayed, and any combination of the 3 types of information can be displayed at the same time; when the user releases the end of the pull down or slide down gesture command, it means that the 2 nd task is ended, i.e. the text, and/or picture, and/or video content displayed by the head view disappears and is no longer displayed. The purpose of the task 3 is to preset a second threshold different from the first threshold, when the height of the head view is greater than or equal to the second preset threshold, the head view displays a prompt message, and the prompt message can be a text, such as 'release refresh', or a graph; and when the user releases the hands to finish the pull-down or slide-down gesture, executing the refreshing operation, and uniformly distributing the refreshing task to the views managed by the view container. Of course, the refreshing of the data requires the intelligent terminal to access the internet, so that the latest data information can be obtained from the server to replace the original data information, and the updated data can be the data information displayed on the screen, and can also include the data which is stored in the terminal and is not displayed on the screen.
Further, the term "and/or" herein means: when it is "or", the task distributed to the view managed by the view container may be any 1 of the above 3 tasks; when the case of "and", the task distributed by the view container to the view managed by the view container may be any 2 combinations of the above 3 tasks, for example, a task 1 and a task 2 combination, or a task 1 and a task 3 combination, and the 3 tasks may also be distributed under the condition of conformity.
In a preferred embodiment, the height of the head view is restored to an initial value when the distributed task is finished. For example, the height of the head view changes back to 0, i.e., the head view is hidden.
In a preferred embodiment, the 3 rd task further includes: before the user finishes the pull-up or slide-up gesture without loosing hands, the head view displays different prompt messages according to the difference of the height values of the head view. For example, the header view may display the text "pull-down refresh", "just update", "release refresh", "return to home page", or other prompt information, respectively, according to the height value thereof.
According to the method for processing the pull-down or slide-down gesture command provided by the first embodiment of the invention, the head view which belongs to the view list is moved out of the view list and loaded into the view container ViewGroup, and when a user sends a pull-down or slide-down gesture command on a terminal screen, the view container ViewGroup controls the head view to change along with the pull-down or slide-down gesture command, so that task execution on a target object is distributed. Because the method utilizes the task distribution mechanism of the view container Viewgroup, the response time of task execution is greatly accelerated; the head view in the view list is creatively moved out of the view list and loaded into the view container Viewgroup, so that the application scene of a pull-down gesture command can be greatly expanded, the method is not limited to data refreshing, is not limited to a page displayed by the view list, and is not limited to the position of a touch screen of the pull-down gesture, and a view control touched by a user can be fixed and not scrollable; when the view control touched by the user is scrollable, the view container Viewgroup control header view changes along with a pull-down or slide-down gesture command when the view control cannot continue to scroll after the view control scrolls to a specified distance of the system, and then task execution on the target object is distributed.
The first embodiment describes a processing method of a pull-down or slide-down gesture command, but if the head view in the first embodiment is changed to the tail view, a processing method of a pull-up or slide-up gesture command may be implemented.
FIG. 2 is a flowchart of a method for processing a pull or slide gesture command according to a second embodiment of the present invention. As shown in fig. 2, the method for processing a pull-up or slide-up gesture command of the present invention includes:
s21: and laying out a tail view and at least any one view in a view container, wherein the sizes of the tail view and the at least one view are custom values.
This step is implemented similarly to step S1 of the first embodiment, and the sizes (width and height) of the tail view and the at least one view may adopt custom values according to different application scenarios. Preferably, the width of the tail view is the width of a display interface of the terminal screen, the height of the tail view is a custom value, and the size of the at least 1 view is the same as or slightly smaller than the size of a display area of the terminal screen. The implementation may also be similar, for example, the width and height of FooterView and AnyView are first calculated and set in the ViewGroup's onMeasure () callback method. The calculation and setting can be performed in the following way: measure (measurepec. makemeasurepec (width value), measurepec. makemeasurepec (height value)).
And then laying out the positions of FooterView and AnyView in an onLayout () callback method of Viewgroup. The method used can likewise be:
View.layout(left,top,width,height)
note that, however, let 0 be left, 0 be top, 0 be width of a display interface of the screen, height be height of a display area of the screen,
then we can deduce that the left of the FooterView is 0, top is positive, for example, the height value of AnyView + the custom height value of the FooterView, which ensures that the FooterView and AnyView display vertical layout on the screen and the FooterView is below AnyView, i.e. the tail view is vertically below the at least one view and the FooterView is set by default to be invisible.
S22: and when the at least one view cannot roll upwards along with the pull-up or slide-up gesture, dynamically increasing the height of the tail view by a corresponding value according to the distance value of the pull-up or slide-up of the user on the screen acquired in real time at the moment.
This step is implemented similarly to step S2 of the first embodiment, when the user makes a pull or slide gesture on the terminal screen, the android system passes the pull or slide gesture event layer by layer, the view container intercepts the pull or slide gesture event through ontouchvent (), and determines whether to scroll the at least one view upward following the pull or slide gesture according to the pull or slide gesture event, and when the at least one view is fixed and non-scrollable or cannot be scrolled any more after scrolling to a prescribed distance, that is, the at least one view cannot follow the pull or slide gesture and scroll upward includes: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance, and the height of the tail view is dynamically increased by a corresponding value according to the moving distance value acquired in real time at the moment when the user pulls up or slides up the screen, for example, the height of the tail view is dynamically increased by 100 pixels if the user pulls up or slides up the screen by a distance of 100 pixels at the moment.
The determination that the user makes a pull-up or slide-up gesture on the terminal screen may be made using techniques known in the art and will not be described in detail herein.
S23: and distributing different tasks to the managed views by the view container according to the height change of the tail view.
This step is implemented similarly to step S3 of the first embodiment, except that the head view is replaced with the tail view. Therefore, the description is not repeated here.
The step of distributing different tasks to the view managed by the view container according to the height change of the tail view includes but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Likewise, in task 1, an animation effect, such as a running pony, may appear anywhere on the screen, preferably in the tail view position.
In task 2, the tail view may also display text information, picture information, or video information, or any combination of these 3 types of information.
In task 3, the preset second threshold is different from the first threshold.
In addition, the meaning of "and/or" in the first embodiment is interpreted to be the same in the second embodiment described herein, and the description is not repeated.
In a preferred embodiment, further comprising: and after the distributed task is finished, the height of the tail view is restored to an initial value. For example, the height of the tail view changes back to 0, i.e., the tail view is hidden.
In a preferred embodiment, the 3 rd task further includes: before the user finishes the pull-up or slide-up gesture without loosing hands, the tail view displays different prompt messages according to the difference of the height values of the tail view. For example, the tail view may respectively display the text "pull-down refresh", "just update", "loose refresh", "return to the first page", or other prompt information, etc., according to the height value thereof.
In a method for processing a pull-up or slide-up gesture command according to a second embodiment of the present invention, a tail view that belongs to a view list is removed from the view list and loaded into a view container ViewGroup, and when a user issues a pull-up or slide-up gesture command on a terminal screen, the view container ViewGroup controls the tail view to change along with the pull-up or slide-up gesture command, so as to distribute task execution on a target object. Because the method utilizes the task distribution mechanism of the view container Viewgroup, the response time of task execution is greatly accelerated; the tail view which belongs to the view list is creatively moved out of the view list and loaded into the view container Viewgroup, so that the application scene of the pull-up gesture command can be greatly expanded, the pull-up gesture command is not limited to data refreshing, pages displayed by the view list and the like, and a view control touched by a user can be fixed and can not be scrolled or can be scrolled; when the view control touched by the user is scrollable, the view container Viewgroup controls the tail view to change along with a pull-up or slide-up gesture command if the view control cannot be continuously scrolled after being scrolled to a specified distance of the system, and then the task execution of the target object is distributed.
In addition, as will be appreciated by those skilled in the art, the first embodiment and the second embodiment can be used in combination, so that whether the user makes a pull-down or slide-down gesture or a pull-up or slide-up gesture, different tasks can be distributed to the views managed by the view container, that is, the present invention can also provide a method for processing gesture commands, wherein: when a user makes a pull-down or slide-down gesture command on a terminal screen, executing the method of the first embodiment and the preferred embodiment thereof; the method described in the second embodiment and its preferred embodiments is performed when the user makes a pull-up or swipe gesture command on the terminal screen. The description is not repeated too much.
FIG. 3 is a schematic block diagram of a processing device for a pull-down or slide-down gesture command according to a third embodiment of the present invention. As shown in fig. 3, the processing device for a pull-down or slide-down gesture command of the present invention comprises a view container module, wherein the view container module comprises:
the view setting module is used for laying out a head view and at least one view in a view container, wherein the size of the head view and the size of the at least one view are custom values;
the pull-down or slide-down gesture event processing module is used for intercepting a pull-down or slide-down gesture event, and when the at least one view cannot roll downwards along with the pull-down or slide-down gesture, dynamically increasing the height of the head view by a corresponding value according to the distance value of the user pulling down or sliding down on the screen acquired in real time;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the head view.
Wherein the head view is vertically above the at least one view.
Wherein the at least one view being unable to scroll down following a pull-down or slide-down gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein, the task distribution module makes the view container distribute different tasks to the view managed by the view container according to the difference of the height change of the head view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein the 3 rd task further comprises: before the user finishes the pull-down or slide-down gesture without loosing hands, the head view displays different prompt messages according to different height values of the head view.
Wherein the apparatus further comprises:
and the head view height resetting module is used for restoring the height of the head view to an initial value after the distributed task is finished.
It is clear to those skilled in the art that for the convenience and brevity of description, the specific operation of the apparatus described in the third embodiment above may refer to the corresponding operation described in the first embodiment above, the example illustrated in the first method embodiment above and the related description, which are also applicable to explain the operation of the apparatus described in the third embodiment above, and will not be repeated here.
In a processing apparatus for a pull-down or slide-down gesture command according to a third embodiment of the present invention, a head view that belongs to a view list is removed from the view list and loaded into a view container ViewGroup, and when a user issues a pull-down or slide-down gesture command on a terminal screen, the view container ViewGroup controls the head view to change along with the pull-down or slide-down gesture command, so as to distribute task execution on a target object. Because the method utilizes the task distribution mechanism of the view container Viewgroup, the response time of task execution is greatly accelerated; the head view in the view list is creatively moved out of the view list and loaded into the view container Viewgroup, so that the application scene of a pull-down gesture command can be greatly expanded, the method is not limited to data refreshing, is not limited to a page displayed by the view list, and is not limited to the position of a touch screen of the pull-down gesture, and a view control touched by a user can be fixed and not scrollable; when the view control touched by the user is scrollable, the view container Viewgroup control header view changes along with a pull-down or slide-down gesture command when the view control cannot continue to scroll after the view control scrolls to a specified distance of the system, and then task execution on the target object is distributed.
FIG. 4 is a schematic block diagram of a processing device for a pull-up or slide-up gesture command according to a fourth embodiment of the present invention. As shown in fig. 4, the processing device for a pull-up or slide-up gesture command of the present invention includes a view container module, wherein the view container module includes:
the view setting module is used for laying out a tail view and at least one view in a view container, and the sizes of the tail view and the at least one view are custom values;
the pull-up or slide-up gesture event processing module is used for intercepting a pull-up or slide-up gesture event, and when the at least one view cannot roll upwards along with the pull-up or slide-up gesture, dynamically increasing the height of the tail view by a corresponding value according to a distance value of the user pulling up or sliding up on the screen, which is acquired in real time at the moment;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the tail view.
Wherein the tail view is vertically below the at least one view.
Wherein the at least one view being unable to scroll up following a pull or swipe gesture comprises: the at least one view is fixed and non-scrollable, or the at least one view cannot be scrolled any further after being scrolled a prescribed distance.
Wherein, the task distribution module makes the view container distribute different tasks to the view managed by the view container according to the difference of the height change of the tail view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
Wherein the 3 rd task further comprises: before the user finishes the pull-up or slide-up gesture without loosing hands, the tail view displays different prompt messages according to the difference of the height values of the tail view.
Wherein the apparatus further comprises:
and the tail view height resetting module is used for restoring the height of the tail view to an initial value after the distributed task is finished.
It is clear to those skilled in the art that for the convenience and brevity of description, the specific operation of the apparatus described in the above fourth embodiment may refer to the corresponding process described in the foregoing second embodiment, the example illustrated in the foregoing second method embodiment and the related description, which are also applicable to explain the operation of the apparatus described in the fourth embodiment, and will not be repeated herein.
In a processing apparatus for a pull-up or slide-up gesture command according to a fourth embodiment of the present invention, a tail view that belongs to a view list is removed from the view list and loaded into a view container ViewGroup, and when a user issues a pull-up or slide-up gesture command on a terminal screen, the view container ViewGroup controls the tail view to change along with the pull-up or slide-up gesture command, so as to distribute task execution on a target object. Because the method utilizes the task distribution mechanism of the view container Viewgroup, the response time of task execution is greatly accelerated; the tail view which belongs to the view list is creatively moved out of the view list and loaded into the view container Viewgroup, so that the application scene of the pull-up gesture command can be greatly expanded, the pull-up gesture command is not limited to data refreshing, pages displayed by the view list and the like, and a view control touched by a user can be fixed and can not be scrolled or can be scrolled; when the view control touched by the user is scrollable, the view container Viewgroup controls the tail view to change along with a pull-up or slide-up gesture command if the view control cannot be continuously scrolled after being scrolled to a specified distance of the system, and then the task execution of the target object is distributed.
In addition, as will be appreciated by those skilled in the art, the third embodiment and the fourth embodiment can be used in combination, so that whether the user makes a pull-down or slide-down gesture or a pull-up or slide-up gesture, different tasks can be distributed to the views managed by the view container, that is, the invention can also provide a device for processing gesture commands, which comprises: the apparatus of the third embodiment, and the apparatus of the fourth embodiment. The description is not repeated too much.
The computer program product of the method for processing a gesture command according to the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
Thus, the present invention may also provide a storage device having stored therein a plurality of instructions adapted to be loaded by a processor and to carry out the method according to the first embodiment and its preferred embodiments or to carry out the method according to the second embodiment and its preferred embodiments.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a smart tablet, a smart phone, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (23)

1. A method of processing a pull-down or glide gesture command, comprising:
laying out a head view and at least one view in a view container, wherein the size of the head view and the at least one view is a custom value, and the head view is invisible;
the view container intercepts a pull-down or slide-down gesture event, when the at least one view cannot be scrolled downwards along with the pull-down or slide-down gesture, the height of the head view is dynamically increased by a corresponding value according to a distance value of the user pulling down or sliding down on the screen, which is acquired in real time at the moment, and the step of scrolling the at least one view cannot be followed along with the pull-down or slide-down gesture comprises the following steps: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance;
the view container distributes different tasks to the views it manages, according to the height variation of the head view.
2. The method of claim 1, wherein the head view is vertically above the at least one view.
3. The method according to claim 1, wherein said step of distributing different tasks to the view it manages according to the height variation of the head view by said view container comprises but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
4. The method of claim 3, further comprising: and when the distributed task is finished, restoring the height of the head view to an initial value.
5. The method of claim 3, wherein the 3 rd task further comprises: before the user finishes the pull-down or slide-down gesture without loosing hands, the head view displays different prompt messages according to different height values of the head view.
6. A method of processing a pull or swipe gesture command, comprising:
laying out a tail view and at least one view in a view container, wherein the tail view and the at least one view are custom-sized, and the tail view is invisible;
the view container intercepts a pull-up or slide-up gesture event, when the at least one view cannot follow the pull-up or slide-up gesture to scroll upwards, the height of the tail view is dynamically increased by a corresponding value according to the distance value of the user pulling up or sliding up on the screen, which is acquired in real time at the moment, and the at least one view cannot follow the pull-up or slide-up gesture to scroll upwards comprises: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance;
and according to different height changes of the tail view, the view container distributes different tasks to the managed view.
7. The method of claim 6, wherein the tail view is vertically below the at least one view.
8. The method according to claim 6, wherein the step of distributing different tasks to the view it manages according to the different height variations of the tail view by the view container includes but is not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
9. The method of claim 8, further comprising: and after the distributed task is finished, the height of the tail view is restored to an initial value.
10. The method of claim 8, wherein the 3 rd task further comprises: before the user finishes the pull-up or slide-up gesture without loosing hands, the tail view displays different prompt messages according to the difference of the height values of the tail view.
11. A method of processing gesture commands, comprising:
performing the method according to one of claims 1-5 when a user makes a pull-down or slide-down gesture command on a terminal screen;
the method according to one of claims 6-10 is performed when a user makes a pull-up or swipe gesture command on the terminal screen.
12. A processing apparatus for a pull-down or glide gesture command comprising a view container module, wherein the view container module comprises:
the view setting module is used for laying out a head view and at least one view in a view container, wherein the size of the head view and the size of the at least one view are custom values, and the head view is invisible;
the pull-down or slide-down gesture event processing module is configured to intercept a pull-down or slide-down gesture event, and when the at least one view cannot follow the pull-down or slide-down gesture to scroll downwards, dynamically increase the height of the head view by a corresponding value according to a distance value of the user pull-down or slide-down on the screen, which is obtained in real time at this time, where the at least one view cannot follow the pull-down or slide-down gesture to scroll downwards includes: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the head view.
13. The apparatus of claim 12, wherein said head view is vertically above said at least one view.
14. The apparatus according to claim 12, wherein the task distribution module causes the view container to distribute different tasks to the view managed by the view container according to the height change of the head view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the head view height, and finishing the 1 st task when a user releases hands to finish a pull-down or slide-down gesture command; and/or
Task 2: when the head view height is larger than or equal to a first preset threshold value, the head view displays text, pictures and/or video contents, and when a user releases hands to finish a pull-down or slide-down gesture command, the 2 nd task is finished; and/or
Task 3: when the height of the head view is larger than or equal to a second preset threshold value, the head view displays a prompt for showing that refreshing is released to be executed, at the moment, the user releases his hand to finish a pull-down or slide-down gesture, and the view container uniformly distributes refreshing tasks to the managed views.
15. The apparatus of claim 14, further comprising:
and the head view height resetting module is used for restoring the height of the head view to an initial value after the distributed task is finished.
16. The apparatus of claim 14, wherein the 3 rd task further comprises: before the user finishes the pull-down or slide-down gesture without loosing hands, the head view displays different prompt messages according to different height values of the head view.
17. A processing apparatus for a pull or swipe gesture command, comprising a view container module, wherein the view container module comprises:
the view setting module is used for laying out a tail view and at least one view in a view container, the sizes of the tail view and the at least one view are custom values, and the tail view is invisible;
the system comprises a pull-up or slide-up gesture event processing module, a scroll-up or slide-up gesture event processing module, and a scroll-up or slide-up gesture event processing module, wherein when at least one view cannot follow the pull-up or slide-up gesture to scroll up, the scroll-up or slide-up gesture event processing module is used for dynamically increasing the height of a tail view by a corresponding value according to a distance value of the user pulling up or sliding up on: the at least one view is fixed and can not be scrolled, or the at least one view can not be scrolled any more after being scrolled to a specified distance;
and the task distribution module is used for distributing different tasks to the view managed by the view container according to different height changes of the tail view.
18. The apparatus of claim 17, wherein the tail view is vertically below the at least one view.
19. The apparatus according to claim 17, wherein the task distribution module causes the view container to distribute different tasks to the view managed by the view container according to the height change of the tail view, including but not limited to:
task 1: dynamically adding and displaying an animation effect on the screen along with the real-time change of the height of the tail view, and finishing the 1 st task when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 2: when the height of the tail view is larger than or equal to a first preset threshold value, the tail view displays text, pictures and/or video contents, and the 2 nd task is ended when a user releases a hand to finish a pull-up or slide-up gesture command; and/or
Task 3: when the height of the tail view is larger than or equal to a second preset threshold value, the tail view displays a prompt for showing that refreshing is executed when the tail view is loosened, at the moment, a user releases his hand to finish a pull-up or slide-up gesture, and the view container uniformly distributes refreshing tasks to the managed views.
20. The apparatus of claim 19, further comprising:
and the tail view height resetting module is used for restoring the height of the tail view to an initial value after the distributed task is finished.
21. The apparatus of claim 19, wherein the 3 rd task further comprises: before the user finishes the pull-up or slide-up gesture without loosing hands, the tail view displays different prompt messages according to the difference of the height values of the tail view.
22. A device for processing gesture commands, comprising:
the apparatus according to one of claims 12-16; and
the apparatus according to one of claims 17-21.
23. A memory device having stored therein a plurality of instructions adapted to be loaded by a processor and to carry out the method of one of claims 1 to 5 or to carry out the method of one of claims 6 to 10.
CN201710493116.7A 2017-06-26 2017-06-26 Gesture command processing method and device Active CN107301014B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710493116.7A CN107301014B (en) 2017-06-26 2017-06-26 Gesture command processing method and device
PCT/CN2018/092505 WO2019001373A1 (en) 2017-06-26 2018-06-22 Method and device for processing gesture command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710493116.7A CN107301014B (en) 2017-06-26 2017-06-26 Gesture command processing method and device

Publications (2)

Publication Number Publication Date
CN107301014A CN107301014A (en) 2017-10-27
CN107301014B true CN107301014B (en) 2021-06-22

Family

ID=60134967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710493116.7A Active CN107301014B (en) 2017-06-26 2017-06-26 Gesture command processing method and device

Country Status (2)

Country Link
CN (1) CN107301014B (en)
WO (1) WO2019001373A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301014B (en) * 2017-06-26 2021-06-22 阿里巴巴(中国)有限公司 Gesture command processing method and device
CN110333920B (en) * 2019-05-08 2022-06-17 武汉瓯越网视有限公司 Method and related device for updating icon
CN112328255A (en) * 2020-10-26 2021-02-05 成都商通时代数字科技有限公司 Page turning refreshing method and refreshing system for universal integrated list based on IOS (input/output system)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201421358A (en) * 2012-11-20 2014-06-01 Inventec Corp System to avert touch event being intercepted for enabling components of application and method thereof
CN105677224A (en) * 2016-01-06 2016-06-15 广州市动景计算机科技有限公司 Drop-down gesture processing method, device and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101517509B1 (en) * 2008-09-08 2015-05-04 엘지전자 주식회사 Mobile terminal and control method thereof
CN105892831A (en) * 2016-04-29 2016-08-24 青岛海信移动通信技术股份有限公司 Sliding display method and sliding display device of list data of mobile terminal
CN107301014B (en) * 2017-06-26 2021-06-22 阿里巴巴(中国)有限公司 Gesture command processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201421358A (en) * 2012-11-20 2014-06-01 Inventec Corp System to avert touch event being intercepted for enabling components of application and method thereof
CN105677224A (en) * 2016-01-06 2016-06-15 广州市动景计算机科技有限公司 Drop-down gesture processing method, device and equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"下拉刷新、上拉加载实战:带你理解自定义View整个过程";DakerYi;《https://blog.csdn.net/u013647382/article/details/58092102》;20170227;全文 *
"下拉刷新ScrollView";HongChengDarren;《https://blog.csdn.net/z240336124/article/details/48948929》;20151007;全文 *
"自个儿写Android的下拉刷新/上拉加载控件";LaterEqualsNever;《https://blog.csdn.net/ghost_programmer/article/details/52682252》;20160927;第1-10页 *

Also Published As

Publication number Publication date
CN107301014A (en) 2017-10-27
WO2019001373A1 (en) 2019-01-03

Similar Documents

Publication Publication Date Title
CN107003803B (en) Scroll bar for dynamic content
CN106156066B (en) Page switching method, device and client
US8751546B1 (en) Systems and methods for minimizing the effects of garbage collection
CN111133365A (en) Matching of content to a spatial 3D environment
US20160132201A1 (en) Contextual tabs in mobile ribbons
CN107301014B (en) Gesture command processing method and device
DE112016000085T5 (en) Device, method and graphical user interface for navigation through media content
CN113286201B (en) Recommendation information display method and device, electronic equipment and storage medium
EP2731011A1 (en) Shared instant media access for mobile devices
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
CN109062486B (en) Display window adjusting method and electronic equipment
CN104850585A (en) Method and device for displaying interface while loading information
US9710124B2 (en) Augmenting user interface elements based on timing information
CN103616947A (en) Method and device for determining screen-on time of electronic device
JP2014085793A (en) Display device and display control method
JP2016042372A (en) Program for terminal, terminal device and terminal control method
US9864500B2 (en) Application for controlling auto scroll of content as a function of tilting the device
WO2017097142A1 (en) Interface operation processing method and apparatus, and a smart terminal
US20210389849A1 (en) Terminal, control method therefor, and recording medium in which program for implementing method is recorded
CN110800308B (en) Methods, systems, and media for presenting a user interface in a wearable device
CN115373558A (en) Screen projection method, device, equipment and storage medium
CN111352550A (en) Information processing method and device, electronic equipment and storage medium
CN106873865B (en) Information processing method and device and electronic equipment
US20180321812A1 (en) Feed ad scrolling
CN116071459B (en) Ink screen-based hand drawing control method, system and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200902

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant