WO2017101787A1 - 悬浮窗口的处理方法及装置 - Google Patents

悬浮窗口的处理方法及装置 Download PDF

Info

Publication number
WO2017101787A1
WO2017101787A1 PCT/CN2016/109924 CN2016109924W WO2017101787A1 WO 2017101787 A1 WO2017101787 A1 WO 2017101787A1 CN 2016109924 W CN2016109924 W CN 2016109924W WO 2017101787 A1 WO2017101787 A1 WO 2017101787A1
Authority
WO
WIPO (PCT)
Prior art keywords
floating window
display
window
operation signal
sliding
Prior art date
Application number
PCT/CN2016/109924
Other languages
English (en)
French (fr)
Inventor
应玉龙
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017101787A1 publication Critical patent/WO2017101787A1/zh
Priority to US15/699,318 priority Critical patent/US10515610B2/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/045Zooming at least part of an image, i.e. enlarging it or shrinking it
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/14Solving problems related to the presentation of information to be displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user

Definitions

  • the present disclosure relates to the field of graphic display technologies, and in particular, to a method and an apparatus for processing a floating window.
  • Terminal devices such as mobile phones usually have a video playback function, and the user can play video through a video player installed in the terminal device.
  • a function of playing video through a floating window is provided.
  • the floating window overlay for playing the video is displayed on the upper layer of the webpage displayed by the browser, and the display size of the floating window is smaller than the screen size, ensuring that some content in the webpage of the lower layer of the floating window is not blocked by the floating window, so that the user is During the normal viewing of the video played in the floating window, the web page can be browsed at the same time. For example, through the above functions, the user can browse and select a video to be played later in the web page while watching the video.
  • the above floating window is usually fixedly displayed at a certain position in the screen, which brings great inconvenience to the user to view other display contents other than the floating window.
  • the present disclosure provides a processing method and device for the floating window.
  • the technical solution is as follows:
  • a method for processing a floating window comprising:
  • the parameter dynamically adjusts the display form of the floating window
  • the display form includes a display position and/or a display size.
  • a processing apparatus for a floating window comprising:
  • a window display module for displaying a floating window on a target display area of the display screen
  • a signal acquisition module configured to acquire an operation signal that acts on the floating window
  • a window adjustment module configured to determine a morphological change parameter of the floating window according to the operation signal, and dynamically adjust a display form of the floating window according to the morphological change parameter;
  • the display form includes a display position and/or a display size.
  • the present disclosure also provides a processing device for a floating window, the device comprising:
  • At least one processor and
  • a memory storing program instructions that, when executed by the at least one processor, configure the apparatus to perform the processing method of the floating window.
  • the present disclosure also provides a computer readable storage medium storing program instructions that, when executed by a processor of a computing device, configure the device to perform the processing method of the floating window described above.
  • the display form of the floating window is adjusted according to the operation signal; and the floating window is fixedly displayed at a certain position in the screen in the prior art, and the user is viewed outside the floating window.
  • Other display content brings great inconvenience; the floating window zooming and zooming function is extended to meet the user's custom adjustment and control of the floating window, so that the user can view other display contents other than the floating window.
  • FIG. 1 is a flowchart of a method for processing a floating window according to an embodiment of the present invention
  • FIG. 2A is a flowchart of a method for processing a floating window according to another embodiment of the present invention.
  • FIG. 2B to 2E are schematic diagrams of interfaces involved in the embodiment shown in FIG. 2A;
  • FIG. 3A is a flowchart of a method for processing a floating window according to another embodiment of the present invention.
  • 3B and 3C are schematic diagrams of interfaces involved in the embodiment shown in FIG. 3A;
  • FIG. 4 is a block diagram of a floating window processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram of a floating window processing apparatus according to another embodiment of the present invention.
  • FIG. 6 is a block diagram of a terminal device according to an embodiment of the present invention.
  • the method provided by the embodiment of the invention is in a terminal device such as a mobile phone, a tablet computer, a PC (Personal Computer), and a smart TV.
  • a terminal device such as a mobile phone, a tablet computer, a PC (Personal Computer), and a smart TV.
  • the method provided by the embodiment of the present invention is applicable to an application (such as a browser or a video playing application) installed and running in the terminal device.
  • an application such as a browser or a video playing application
  • the floating window processing method of the embodiment of the present invention is used to implement the function of video playback.
  • the execution subject of each step is exemplified as the terminal device, but the present invention is not limited thereto.
  • the interface (or window) of multiple applications or multiple interfaces (or windows) of the same application, including the activated interface, can be displayed simultaneously on the display of the terminal device.
  • the active interface usually obscures other interfaces during use.
  • the exception is the floating window, which is not obscured by the active interface. That is to say, when the user operates or uses the activated interface, the content displayed in the floating window can be seen without operating on the floating window.
  • FIG. 1 is a flowchart of a method for processing a floating window according to an embodiment of the present invention.
  • the method may include the following steps:
  • step 101 a floating window is displayed.
  • the floating window can be used to play video, display images or text, etc., and can be displayed in the target display area of the display.
  • Step 102 Acquire an operation signal that acts on the floating window.
  • Step 103 Determine a shape change parameter of the floating window according to the operation signal, and dynamically adjust a display form of the floating window according to the shape change parameter; wherein the display form includes a display position and/or a display size.
  • the method provided in this embodiment adjusts the display mode of the floating window according to the operation signal after acquiring the operation signal applied to the floating window; and solves the problem that the floating window is fixedly displayed on the screen in the prior art.
  • a certain location gives the user a great inconvenience to view other display contents other than the floating window; the floating window's movement and zooming functions are extended to satisfy the user's custom adjustment and control of the floating window, thereby facilitating the user. View other display content beyond the floating window.
  • FIG. 2A is a flowchart of a method for processing a floating window according to another embodiment of the present invention.
  • the floating window can be used to play a video, display an image or text, and the like.
  • the present embodiment is described below by taking a floating window for playing a video as an example. Those skilled in the art can understand that the following description can also be applied to other types of floating windows.
  • the method can include the following steps:
  • step 201 a floating window is displayed.
  • a floating window is displayed in the target display area of the terminal device display.
  • the target display area refers to the area in the display screen for displaying the floating window.
  • the floating window can only be displayed in this area and cannot be displayed outside this area.
  • the target display area may be the entire screen area, or may be a partial area in the screen. For convenience of description, the following description will be made with the target display area being the entire screen area.
  • the terminal device starts the video player, creates a floating window for playing the video, and sets the properties of the floating window, and then displays the floating window on the screen.
  • a video player is software that can play video stored in the form of digital signals.
  • a video player is used to load a video image into a floating window for display.
  • the properties of the floating window include, but are not limited to, the size of the floating window, color, transparency, whether it is movable, whether the size is adjustable, the top display of the screen, and so on.
  • the Android system creates a surfaceView for displaying video images, and set the properties of the surfaceView, such as size, color, transparency, whether it can be moved, whether the size is adjustable, the top display of the screen, etc., through the WindowManager interface.
  • the surfaceView is added to the screen. Since the property of the surfaceView is set to the top display of the screen, the surfaceView is directly displayed in the floating state after being added to the screen.
  • View is a basic class of the Android system, representing a rectangular area on the screen, responsible for drawing the area and corresponding event processing.
  • Surface is a logical entity in the Android system for managing data displayed, including the storage and exchange of data.
  • surfaceView is a subclass of View that is used to display the display content in the Surface.
  • the surfaceView is the video playback interface visible to the user.
  • the WindowManager interface is a service interface for the Android system that adds View to the screen or removes the View from the screen.
  • the object facing the WindowManager interface is the screen at one end and the View at the other end.
  • the ViewView can be added to the screen through the addView method of the WindowManager interface. The display effect is different depending on the properties of the View.
  • the property of the floating window is also set to be movable, so that the display position of the floating window is movable.
  • Step 202 Acquire an operation signal that acts on the floating window.
  • the terminal device acquires an operation signal that acts on the floating window.
  • the terminal device may include a touch-sensitive display screen, and the user may touch the display screen of the terminal device by a single finger, move the finger, perform a sliding operation, trigger a sliding operation signal acting on the floating window, and trigger the floating window to move along the sliding operation direction.
  • the user can perform a sliding operation using a stylus or the like.
  • Step 203 Acquire a real-time location of the sliding operation.
  • the terminal device acquires the real-time position of the sliding operation.
  • the real-time position of the sliding operation is usually a real-time touch position of a user's finger or other object (such as a stylus) on the display screen of the terminal device.
  • Step 204 dynamically adjust the display position of the floating window according to the real-time position of the sliding operation.
  • the terminal device dynamically adjusts the display position of the floating window according to the real-time position of the sliding operation.
  • the terminal device displays the floating window in real time at the real-time position of the sliding operation, thereby implementing a dragging function of the floating window moving with the user's finger in the screen.
  • FIG. 2B a schematic diagram of dragging a floating window is shown.
  • a floating window 21 is displayed in the screen 20 of the terminal device.
  • the user's finger selects the floating window 21 to trigger a sliding operation signal along the target direction, and the user's finger moves from the A position to the B position.
  • the terminal device controls the floating window 21 to move in real time with the user's finger during the sliding of the user's finger.
  • Step 205 When it is detected that the sliding operation signal disappears, the sliding speed and/or the sliding direction of the sliding operation at the time when the sliding operation signal disappears is acquired.
  • the terminal device acquires the sliding speed of the sliding operation signal at the disappearing time. That is, the terminal device acquires the movement of the finger (or stylus) when the user's finger leaves the screen.
  • the speed which can be equal to the speed of the floating window.
  • step 206 it is determined whether the sliding speed is greater than a predetermined speed threshold. If yes, the following step 207 is performed; if not, the process ends.
  • the terminal device detects whether the sliding speed when the sliding operation signal disappears is greater than a predetermined speed threshold.
  • the terminal device determines the moving state of the floating window after the sliding operation signal disappears by comparing the magnitude relationship between the sliding speed of the sliding operation signal at the disappearing time and the predetermined speed threshold.
  • the predetermined speed threshold may be set by the system by default, or may be customized by the user.
  • the terminal device When the sliding speed is greater than the predetermined speed threshold, it is considered that the sliding operation triggered by the user is a swaying operation, and the terminal device performs the following step 207 to control the floating window to continue moving to implement the swaying function of the floating window.
  • the sliding speed is less than or equal to the predetermined speed threshold, it is considered that the sliding operation triggered by the user is a drag operation, and the floating window stops moving after the sliding operation signal disappears.
  • Step 207 according to the sliding speed and the target acceleration of the operation signal at the disappearing time, control the floating window to perform the decelerating linear motion along the sliding direction of the disappearance timing of the operation signal.
  • the terminal device controls the floating window to perform a decelerating linear motion along the sliding direction of the disappearance timing of the operation signal according to the sliding speed at the time when the operation signal disappears and the target acceleration.
  • the sliding speed of the sliding operation signal at the disappearing moment is the initial speed
  • the sliding direction of the sliding operation signal at the disappearing moment is the moving direction
  • the floating window is controlled by the target acceleration to perform the decelerating linear motion.
  • the movement is stopped until the moving speed of the floating window becomes zero.
  • the target acceleration may be a preset value, or may be a value determined in real time according to the sliding operation signal, for example, a value determined according to the sliding speed of the sliding operation signal at the disappearing time.
  • the target acceleration may be a fixed value
  • the floating window may be uniformly decelerated linearly moving; or the target acceleration may be a variable, and the floating window correspondingly performs a decelerating linear motion.
  • FIG. 2C a schematic diagram of a tilting suspension window is shown.
  • the terminal device controls the floating window 21 to continue to perform the decelerating linear motion forward until the moving speed becomes 0 to stop the movement.
  • the terminal device can also control the floating window to perform the deceleration linear motion or the deceleration curve motion according to the sliding speed and the target acceleration, which is not limited in this embodiment.
  • Step 208 in the process of decelerating linear motion, when the floating window moves to the target display area
  • the floating window is controlled to continue to perform the decelerating linear motion in the reflecting direction of the sliding direction.
  • the terminal device controls the floating window to continue to perform the decelerating linear motion in the reflecting direction of the sliding direction.
  • the floating window is controlled to rebound and move to the target display area, and the animation effect of rebounding after simulating the boundary of the collision target display area is realized, and the collision rebound of the floating window is realized.
  • FIG. 2D a schematic diagram of a floating window collision bounce is shown.
  • the suspension window 21 As the yaw operation proceeds along the BC direction in the figure (where C is the point on the right boundary of the screen 20), the floating window 21 is gradually moved out of the screen 20 (the suspension in the figure)
  • the dotted line frame portion of the window 21 indicates a portion not shown outside the screen 20), and when the floating window 21 moves all the way to the outside of the screen 20 along the right border of the screen 20, if the moving speed of the floating window 21 is still greater than 0, the terminal
  • the device takes the right border of the screen 20 as a reflecting surface, and controls the reflecting direction of the floating window 21 in the sliding direction (ie, the direction of the CD in the figure, wherein the angle between the BC and the right border of the screen 20 and the CD and the right border of the screen 20 are clipped. The angle is equal) Continue to slow down the linear motion until the movement speed becomes 0 and stop moving.
  • the floating window continues to move in the direction of reflection in the sliding direction, thereby more realistically and accurately displaying the animation effect of the collision bounce.
  • the terminal device may also control the floating window to continue to perform a decelerating linear motion in a specified direction, for example, the specified direction is a perpendicular direction of a boundary in which the floating window is removed from the target display region.
  • the method provided in this embodiment further includes the following steps 209 and 210.
  • Step 209 When the moving speed of the floating window is reduced to 0, it is detected whether the floating window is completely displayed in the target display area. If yes, the process ends; if not, the following step 210 is performed.
  • the terminal device detects whether the floating window is completely displayed in the target display area when the moving speed of the floating window is reduced to 0, whether after dragging, flicking or collision bounce. That is, the terminal device detects whether the floating window is all displayed within the target display area.
  • Step 210 Control the floating window to move along the first specified path until the floating window stops moving when it is completely displayed in the target display area.
  • the terminal device controls the floating window to move along the first specified path until the floating window stops moving when it is completely displayed in the target display area.
  • the first designated path may be a section of a perpendicular direction along a boundary of the floating window in the target display area
  • the straight line may also be a straight line in the direction of reflection in the above sliding direction, or may be a straight line along other predetermined specified directions.
  • the terminal device controls the floating window to smoothly move along the first specified path so that the user can view the animation effect of the moving process.
  • the terminal device controls the vertical direction of the floating window 21 along the boundary from which it is removed or along The reflection direction described above smoothly moves into the screen 20 until the floating window 21 stops moving when it is completely displayed in the screen 20.
  • the determining step may further be performed to determine whether the operation is a sliding operation or a zooming operation. If there are two touch positions on the display, and the distance between the two touch positions changes with time, it can be judged as a zoom operation; if there is only one touch position on the display and the touch position changes with time, it can be judged For sliding operations.
  • the method provided in this embodiment adjusts the display mode of the floating window according to the operation signal after acquiring the operation signal applied to the floating window; and solves the problem that the floating window is fixedly displayed on the screen in the prior art.
  • a certain location gives the user a great inconvenience to view other display contents other than the floating window; the floating window's movement and zooming functions are extended to satisfy the user's custom adjustment and control of the floating window, thereby facilitating the user. View other display content beyond the floating window.
  • the method provided by the embodiment expands the functions of dragging, swaying, and rebounding of the floating window, and satisfies the user's custom adjustment and control of the display position of the floating window, thereby fully improving the user experience.
  • FIG. 3A is a flowchart of a method for processing a floating window according to another embodiment of the present invention.
  • the floating window can be used to play a video, display an image or text, and the like.
  • the present embodiment is described below by taking a floating window for playing a video as an example. Those skilled in the art can understand that the following description can also be applied to other types of floating windows.
  • the method can include the following steps:
  • step 301 a floating window is displayed.
  • a floating window is displayed in the target display area of the terminal device display.
  • the target display area refers to the area in the display screen for displaying the floating window.
  • the floating window can only be displayed in this area and cannot be displayed outside this area.
  • the target display area may be the entire screen area, or may be a partial area in the screen. For the convenience of description, the following shows the target area It is the description of the entire screen area.
  • the property of the floating window is also set to be adjustable in size, so that the display size of the floating window is adjustable.
  • Step 302 Acquire an operation signal that acts on the floating window.
  • the terminal device acquires an operation signal that acts on the floating window.
  • an operation signal as a scaling operation signal as an example.
  • the zooming operation can be considered to consist of a first moving operation and a second moving operation in opposite directions.
  • the user can trigger two floating operation signals acting on the floating window and moving the two fingers in opposite directions by two fingers, and trigger the display size of the floating window to be scaled. Specifically, when the directions of the first moving operation signal and the second moving operation signal are both inward, the display size of the trigger floating window is reduced; when the directions of the first moving operation signal and the second moving operation signal are outward , triggers the display size of the floating window to zoom in.
  • Step 303 when the first movement operation signal and the second movement operation signal are detected (ie, the zoom operation signal is detected), the start between the start position of the first movement operation and the start position of the second movement operation is acquired. distance.
  • the terminal device When detecting the first movement operation signal and the second movement operation signal, acquires a start position of the first movement operation and a start position of the second movement operation, and calculates a start between the two start positions distance.
  • Step 304 During the zooming operation, obtain a real-time distance between the real-time position of the first moving operation and the real-time position of the second moving operation.
  • the terminal device acquires the real-time position of the first moving operation and the real-time position of the second moving operation, and calculates the real-time distance between the two real-time positions in real time.
  • the real-time position of the mobile operation is usually the real-time touch position of the user's finger.
  • Step 305 Determine a scaling ratio of a display size of the floating window according to the starting distance and the real-time distance.
  • the terminal device determines the scaling of the display size of the floating window in real time according to the starting distance and the real-time distance.
  • Step 306 dynamically adjusting the display size of the floating window according to the zoom ratio.
  • the terminal device dynamically adjusts the display size of the floating window in real time according to the zoom ratio determined in real time, thereby implementing the zoom function of the floating window.
  • the floating window The zooming process is a process of gradually reducing or enlarging with the first moving operation and the second moving operation.
  • FIG. 3B a schematic diagram of a zoom suspension window is shown.
  • a floating window 31 is displayed in the screen 30 of the terminal device. Taking the zooming suspension window 31 as an example, the user's two fingers slide outward a certain distance in the opposite direction, and the floating window 31 is gradually enlarged during the sliding process.
  • Step 307 when it is detected that the zoom operation signal (ie, the first movement operation signal and the second movement operation signal) disappears, it is determined whether the display size of the floating window is greater than the maximum display size. If yes, the following step 308 is performed; if not, the following step 309 is performed.
  • the terminal device detects whether the display size of the floating window is greater than a preset maximum display size.
  • the maximum display size can be set by the system default, or can be customized by the user.
  • the maximum display size may include a maximum display length and/or a maximum display width. For example, when the target display area is the entire screen, the maximum display length of the floating window is the screen width, and the maximum display width of the floating window is one third of the screen length.
  • Step 308 adjusting the display size of the floating window to the maximum display size.
  • the terminal device automatically adjusts the display size of the floating window to the maximum display size, and realizes the zoom rebound function of the floating window. In the process of zooming back, the terminal device controls the floating window to be gradually reduced, and the animation process is visible to the user.
  • Step 309 detecting whether the floating window is completely displayed in the target display area. If yes, the process ends; if not, the following step 310 is performed.
  • the terminal device determines that the display size of the floating window is less than or equal to the maximum display size, or after the terminal device adjusts the display size of the floating window to the maximum display size, the terminal device detects whether the floating window is completely displayed in the target display area.
  • Step 310 Control the floating window to move along the second specified path until the floating window stops moving when it is completely displayed in the target display area.
  • the terminal device controls the floating window to move along the second specified path until the floating window stops moving when it is completely displayed in the target display area.
  • the second designated path may be a straight line along a perpendicular direction of a boundary in which the floating window is removed from the target display area, or the second designated path may be a straight line along other predetermined specified directions.
  • the terminal device controls the floating window to smoothly move along the second specified path so that the user can view the animation effect of the moving process.
  • FIG. 3C a schematic diagram of a floating window zoom rebound is shown.
  • the floating window 31 As the floating window 31 is gradually enlarged, the floating window 31 gradually moves out of the screen 30 (the portion of the broken line frame of the floating window 31 in the figure indicates a portion not shown outside the screen 30), even exceeding the maximum display size.
  • the terminal device automatically controls the floating window 31 to be reduced to the maximum display size, and shrinks and moves into the screen 30, so that the floating window 31 is completely displayed in the screen 30.
  • the terminal device can also pre-store the minimum display size of the floating window. In the process of zooming out the floating window, if the display size of the floating window reaches the minimum display size, the reduction is stopped.
  • the terminal device detects whether the display size of the floating window is smaller than the minimum display size; if yes, adjusts the display size of the floating window to the minimum display size, and then executes The above step 309; if not, the above step 309 is performed.
  • the determining step may further be performed to determine whether the operation is a sliding operation or a zooming operation.
  • the method provided in this embodiment adjusts the display mode of the floating window according to the operation signal after acquiring the operation signal applied to the floating window; and solves the problem that the floating window is fixedly displayed on the screen in the prior art.
  • a certain location gives the user a great inconvenience to view other display contents other than the floating window; the floating window's movement and zooming functions are extended to satisfy the user's custom adjustment and control of the floating window, thereby facilitating the user. View other display content beyond the floating window.
  • the method provided by the embodiment expands the functions of zooming and zooming back of the floating window, and satisfies the user to customize and control the display size of the floating window, thereby fully improving the user experience.
  • the floating window can simultaneously provide the functions provided by the foregoing embodiment shown in FIG. 2A and FIG. 3A, thereby better satisfying the user's video playing and viewing requirements, and providing users with more perfect and cool. Video playback and operating experience.
  • the terminal device can determine whether the touch operation is a touch operation for adjusting the display position (such as the sliding operation described above) or a touch operation for adjusting the display size (such as the above zooming). If it is determined that the touch operation is used to adjust the display position, the step flow provided by the embodiment shown in FIG. 2A is performed; if it is determined that the touch operation is used to adjust the display size, the above FIG. 3A is executed. The flow of steps provided by the illustrated embodiment.
  • FIG. 4 shows a block diagram of a floating window processing apparatus according to an embodiment of the present invention.
  • the device can be applied to the above terminal device.
  • the apparatus may include a window display module 401, a signal acquisition module 402, and a window adjustment module 403.
  • the window display module 401 is configured to display a floating window on the target display area of the display screen.
  • the signal acquisition module 402 is configured to acquire an operation signal that acts on the floating window displayed by the window display module 401.
  • the window adjustment module 403 is configured to determine a shape change parameter of the floating window according to the operation signal acquired by the signal acquisition module 402, and dynamically adjust the display form of the floating window according to the shape change parameter.
  • the display form includes a display position and/or a display size.
  • the device provided in this embodiment adjusts the display mode of the floating window according to the operation signal after acquiring the operation signal applied to the floating window; and solves the problem that the floating window is fixedly displayed on the screen in the prior art.
  • a certain location gives the user a great inconvenience to view other display contents other than the floating window; the floating window's movement and zooming functions are extended to satisfy the user's custom adjustment and control of the floating window, thereby facilitating the user. View other display content beyond the floating window.
  • FIG. 5 is a block diagram of a floating window processing apparatus according to another embodiment of the present invention.
  • the device can be applied to the above terminal device.
  • the apparatus may include a window display module 501, a signal acquisition module 502, and a window adjustment module 503.
  • the window display module 501 is configured to display a floating window on the target display area of the display screen.
  • the signal acquisition module 502 is configured to acquire an operation signal that acts on the floating window displayed by the window display module 501.
  • the window adjustment module 503 is configured to determine a shape change parameter of the floating window according to the operation signal acquired by the signal acquisition module 502, and dynamically adjust the display form of the floating window according to the shape change parameter.
  • the display form includes a display position and/or a display size.
  • the window adjustment module 503 includes: a location acquisition submodule 503a and a location adjustment submodule 503b.
  • the location acquisition sub-module 503a is configured to acquire a real-time location of the sliding operation when the operation is a sliding operation.
  • the position adjustment sub-module 503b is configured to dynamically adjust the display position of the floating window according to the real-time position acquired by the position acquisition sub-module 503a.
  • the window adjustment module 503 further includes: a speed acquisition submodule 503c and a speed determination submodule 503d.
  • the speed acquisition sub-module 503c is configured to acquire a sliding speed and/or a sliding direction of the sliding operation signal at the disappearing moment when detecting that the sliding operation signal disappears.
  • the speed determining sub-module 503d is configured to determine whether the sliding speed acquired by the speed acquiring sub-module 503c is greater than a predetermined speed threshold.
  • the position adjustment sub-module 503b is further configured to control the floating window to perform the decelerating linear motion along the sliding direction of the disappearing moment according to the sliding speed and the target acceleration, if the sliding speed detected by the speed detecting sub-module 503d is greater than the predetermined speed threshold.
  • the position adjustment sub-module 503b is further configured to: when the floating window moves all the way to the outside of the target display area during the deceleration linear motion, if the moving speed of the floating window is still greater than 0, the floating window edge is controlled to slide. The direction of reflection continues to slow down the linear motion.
  • the window adjustment module 503 further includes: a window detection submodule 503e.
  • the window detecting sub-module 503e is configured to detect whether the floating window is completely displayed in the target display area if the moving speed of the floating window is reduced to zero.
  • the position adjustment sub-module 503b is further configured to control, when the window detection sub-module 503e detects that the floating window is not completely displayed in the target display area, to control the floating window to move along the first specified path until the floating window is complete in the target display area. Stop moving when displayed.
  • the window adjustment module 503 includes: a distance acquisition submodule 503f, a ratio determination submodule g, and a size adjustment submodule 503h.
  • the distance acquisition sub-module 503f is configured to detect the first movement operation signal and the second movement when the operation signal is the first movement operation signal and the second movement operation signal in the opposite direction (ie, the operation signal is a zoom operation signal) In the case of the operation signal, the starting distance between the start position of the first movement operation and the start position of the second movement operation is acquired.
  • the distance obtaining sub-module 503f is further configured to acquire a real-time distance between the real-time position of the first moving operation and the real-time position of the second moving operation during the zooming operation.
  • the ratio determining sub-module 503g is configured to determine a scaling ratio of a display size of the floating window according to the starting distance and the real-time distance acquired by the distance acquiring sub-module 503f.
  • the size adjustment sub-module 503h is configured to dynamically adjust the display size of the floating window according to the scaling determined by the proportional determination sub-module 503g.
  • the window adjustment module 503 further includes: a size determining submodule 503i.
  • the size judging sub-module 503i is configured to determine whether the display size of the floating window is greater than the maximum display size if the first moving operation signal and the second moving operation signal are detected to disappear.
  • the size adjustment sub-module 503h is further configured to adjust the display size of the floating window to the maximum display size if the display size of the floating window detected by the size detecting sub-module 503i is greater than the maximum display size.
  • the window detection sub-module 503e is configured to detect whether the floating window is completely displayed in the target display area.
  • the position adjustment sub-module 503b is further configured to control, when the window detection sub-module 503e detects that the floating window is not completely displayed in the target display area, to control the floating window to move along the second specified path until the floating window is complete in the target display area. Stop moving when displayed.
  • the window detecting sub-module 503e is further configured to detect whether the floating window is completely displayed in the target display area if the display size of the floating window is less than or equal to the maximum display size.
  • the device provided in this embodiment adjusts the display mode of the floating window according to the operation signal after acquiring the operation signal applied to the floating window; and solves the problem that the floating window is fixedly displayed on the screen in the prior art.
  • a certain location gives the user a great inconvenience to view other display contents other than the floating window; the floating window's movement and zooming functions are extended to satisfy the user's custom adjustment and control of the floating window, thereby facilitating the user. View other display content beyond the floating window.
  • the device provided by the embodiment expands the functions of dragging, swaying, colliding rebound, zooming, and zooming back of the floating window, and satisfies the user to customize and control the display position and display size of the floating window. , fully improve the user experience.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device is used to implement the processing method of the floating window provided in the above embodiment. Specifically:
  • the terminal device 600 may include an RF (Radio Frequency) circuit 610, including one Memory 620 of one or more computer readable storage media, input unit 630, display unit 640, sensor 650, audio circuit 660, WiFi (wireless fidelity) module 670, processing including one or more processing cores Device 680, and components such as power supply 690.
  • RF Radio Frequency
  • FIG. 6 does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 610 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 680; in addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 610 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing by running software programs and modules stored in the memory 620.
  • the memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal device 600 (such as audio data, phone book, etc.) and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 620 can also include a memory controller to provide access to memory 620 by processor 680 and input unit 630.
  • Input unit 630 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 630 can include touch-sensitive surface 631 as well as other input devices 632.
  • a touch-sensitive surface 631 also referred to as a touch display or trackpad, collects touch operations on or near the user (such as a user The operation of any suitable object or accessory on or near the touch-sensitive surface 631 with a finger, stylus, or the like, and driving the corresponding attachment device in accordance with a predetermined program.
  • the touch-sensitive surface 631 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the touch sensitive surface 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 630 can also include other input devices 632.
  • other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 640 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 600, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 640 can include a display panel 641.
  • the display panel 641 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 631 can cover the display panel 641, and when the touch-sensitive surface 631 detects a touch operation thereon or nearby, it is transmitted to the processor to determine the type of the touch event, and then the processor is based on the type of the touch event.
  • a corresponding visual output is provided on display panel 141.
  • touch-sensitive surface 631 and display panel 641 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 631 can be integrated with display panel 641 for input. And output function.
  • Terminal device 600 may also include at least one type of sensor 650, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may close the display panel 641 when the terminal device 600 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal device 600 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • An audio circuit 660, a speaker 661, and a microphone 662 can provide a relationship between the user and the terminal device 600. audio port.
  • the audio circuit 660 can transmit the converted electrical data of the received audio data to the speaker 661 for conversion to the sound signal output by the speaker 661; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal by the audio circuit 660. After receiving, it is converted into audio data, processed by the audio data output processor 680, sent to, for example, another terminal device via the RF circuit 610, or outputted to the memory 620 for further processing.
  • the audio circuit 660 may also include an earbud jack to provide communication of the peripheral earphones with the terminal device 600.
  • WiFi is a short-range wireless transmission technology
  • the terminal device 600 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides wireless broadband Internet access for users.
  • FIG. 6 shows the WiFi module 670, it can be understood that it does not belong to the essential configuration of the terminal device 600, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 680 is the control center of the terminal device 600, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 620, and recalling data stored in the memory 620.
  • the various functions and processing data of the terminal device 600 are executed to perform overall monitoring of the mobile phone.
  • the processor 680 may include one or more processing cores; preferably, the processor 680 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 680.
  • the terminal device 600 further includes a power source 690 (such as a battery) for supplying power to the various components.
  • a power source 690 such as a battery
  • the power source can be logically connected to the processor 680 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 690 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 600 may further include a Bluetooth module or the like, and details are not described herein again.
  • terminal device 600 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors.
  • the one or more programs described above include instructions for performing the above method.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本公开提供了一种悬浮窗口的处理方法及装置。所述方法包括:在显示屏的目标显示区域上显示悬浮窗口;获取作用于悬浮窗口的操作信号;根据操作信号确定悬浮窗口的形态变化参数,并根据形态变化参数动态调节悬浮窗口的显示形态;其中,显示形态包括显示位置和/或显示尺寸。本公开解决了悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。

Description

悬浮窗口的处理方法及装置
相关申请的交叉引用
本申请要求2015年12月15日提交中国专利局、申请号为201510933683.0、发明名称为“通过悬浮窗口播放视频的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及图形显示技术领域,特别涉及一种悬浮窗口的处理方法及装置。
背景技术
诸如手机之类的终端设备通常都具有视频播放功能,用户可通过终端设备中安装的视频播放器播放视频。
以浏览器为例,为了满足用户同时观看视频和浏览网页内容的需求,提供有通过悬浮窗口播放视频的功能。用于播放视频的悬浮窗口叠加显示于浏览器显示的网页页面的上层,悬浮窗口的显示尺寸小于屏幕尺寸,确保悬浮窗口下层的网页页面中的部分内容不会被悬浮窗口所遮挡,使得用户在正常观看悬浮窗口中播放的视频的过程中,同时能够浏览网页页面。例如,通过上述功能,用户能够边观看视频,边在网页页面中浏览挑选后续所要播放的视频。
然而,上述悬浮窗口通常固定显示于屏幕中的某一位置,这给用户查看悬浮窗口之外的其它显示内容带来了极大不便。
发明内容
为了解决上述悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题,本公开提供了一种悬浮窗口的处理方法及装置。所述技术方案如下:
第一方面,提供了一种悬浮窗口的处理方法,所述方法包括:
在显示屏的目标显示区域上显示悬浮窗口;
获取作用于所述悬浮窗口的操作信号;
根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变 化参数动态调节所述悬浮窗口的显示形态;
其中,所述显示形态包括显示位置和/或显示尺寸。
另一方面,提供了一种悬浮窗口的处理装置,所述装置包括:
窗口显示模块,用于在显示屏的目标显示区域上显示悬浮窗口;
信号获取模块,用于获取作用于所述悬浮窗口的操作信号;
窗口调节模块,用于根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变化参数动态调节所述悬浮窗口的显示形态;
其中,所述显示形态包括显示位置和/或显示尺寸。
本公开还提供了一种悬浮窗口的处理装置,所述装置包括:
至少一个处理器,和
存储器,所述存储器存储有程序指令,所述指令当由所述至少一个处理器执行时,配置所述装置执行上述悬浮窗口的处理方法。
本公开还提供了一种计算机可读存储介质,存储有程序指令,所述指令当由计算装置的处理器执行时,配置所述装置执行上述悬浮窗口的处理方法。
本公开提供的技术方案带来的有益效果包括:
通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一个本实施例提供的悬浮窗口的处理方法的流程图;
图2A是本发明另一本实施例提供的悬浮窗口的处理方法的流程图;
图2B至图2E是图2A所示实施例涉及的界面示意图;
图3A是本发明另一本实施例提供的悬浮窗口的处理方法的流程图;
图3B和图3C是图3A所示实施例涉及的界面示意图;
图4是本发明一个本实施例提供的悬浮窗口处理装置的框图;
图5是本发明另一本实施例提供的悬浮窗口处理装置的框图;
图6是本发明一个本实施例提供的终端设备的框图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例作进一步地详细描述。
本发明实施例提供的方法,如手机、平板电脑、PC(Personal Computer,个人计算机)和智能电视等终端设备中。
可选地,本发明实施例提供的方法,可应用于上述终端设备中安装运行的应用程序(如浏览器或者视频播放应用等)中。当悬浮窗口用于播放视频时,本发明实施例的悬浮窗口处理方法用于实现视频播放的功能。为了便于描述,在下述方法实施例中,仅以各步骤的执行主体为终端设备进行举例说明,但对此不构成限定。
在终端设备的显示屏上可同时显示多个应用的界面(或窗口)或同一应用的多个界面(或窗口),其中包括激活的界面。激活的界面在使用过程中通常会遮挡其它界面。悬浮窗口则例外,悬浮窗口不会被激活的界面遮挡。也就是说当用户操作或使用激活的界面时,不需要对悬浮窗口进行操作即可看到悬浮窗口显示的内容。
请参考图1,其示出了本发明一个本实施例提供的悬浮窗口的处理方法的流程图,该方法可包括如下几个步骤:
步骤101,显示悬浮窗口。
悬浮窗口可以用于播放视频,显示图像或文字等,可以显示在显示屏的目标显示区域。
步骤102,获取作用于悬浮窗口的操作信号。
步骤103,根据操作信号确定悬浮窗口的形态变化参数,并根据形态变化参数动态调节悬浮窗口的显示形态;其中,显示形态包括显示位置和/或显示尺寸。 综上所述,本实施例提供的方法,通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
请参考图2A,其示出了本发明另一实施例提供的悬浮窗口处理方法的流程图。所述悬浮窗口可以用于播放视频,显示图像或文字等。
下文以用于播放视频的悬浮窗口为例对本实施例进行描述,本领域的技术人员可以理解,下文的描述同样可以用于其他类型的悬浮窗口。该方法可包括如下几个步骤:
步骤201,显示悬浮窗口。
在终端设备显示屏的目标显示区域显示悬浮窗口。
目标显示区域是指显示器屏幕中用于显示悬浮窗口的区域。悬浮窗口只能在该区域内显示,在该区域外不能显示。例如,目标显示区域可以是整个屏幕区域,或者也可是屏幕中的部分区域。为了描述的方便,下文以目标显示区域是整个屏幕区域进行描述。
终端设备启动视频播放器,创建用于播放视频的悬浮窗口,并设置悬浮窗口的属性,而后将悬浮窗口显示于屏幕中。视频播放器是指能播放以数字信号形式存储的视频的软件。在本发明实施例中,视频播放器用于将视频图像加载至悬浮窗口中进行显示。悬浮窗口的属性包括但不限于:悬浮窗口的尺寸、颜色、透明度、是否可移动、尺寸是否可调、屏幕最上层显示,等等。
以Android(安卓)系统为例,创建用于显示视频图像的surfaceView,并设置surfaceView的属性,例如尺寸、颜色、透明度、是否可移动、尺寸是否可调、屏幕最上层显示等,通过WindowManager接口将surfaceView添加至屏幕中,由于surfaceView的属性设置为屏幕最上层显示,因此surfaceView添加至屏幕中后直接以悬浮状态进行显示。其中,View是Android系统的一个基础类,表示屏幕上的一块矩形区域,负责绘制该区域和相应的事件处理。Surface是Android系统中一个用于管理显示内容的数据的逻辑实体,包括数据的存储和交换等。surfaceView是View的一个子类,用于把Surface中的显示内容显 示于屏幕中。在视频播放器中,surfaceView即为用户可见的视频播放界面。WindowManager接口是Android系统的一个服务接口,用于将View添加至屏幕中,或者从屏幕中移除View。WindowManager接口面向的对象一端是屏幕,另一端是View,通过WindowManager接口的addView方法即可将View添加至屏幕中显示,依据View的属性不同,显示效果也不同。
在本实施例中,以悬浮窗口为可移动窗口为例,也即将悬浮窗口的属性设置为可移动,从而使得悬浮窗口的显示位置是可移动的。
步骤202,获取作用于悬浮窗口的操作信号。
终端设备获取作用于悬浮窗口的操作信号。
下文中,以操作信号为沿目标方向的滑动操作信号为例描述本实施。终端设备可以包括触敏显示屏,用户可通过单个手指触摸终端设备的显示屏,并移动手指,执行滑动操作,触发作用于悬浮窗口的滑动操作信号,触发悬浮窗口沿着滑动操作的方向进行移动。除了手指外,用户还可以使用触控笔等执行滑动操作。
步骤203,获取滑动操作的实时位置。
在滑动操作过程中,终端设备获取滑动操作的实时位置。其中,滑动操作的实时位置通常是用户手指或其他物体(例如触控笔)在该终端设备的显示屏上的实时触摸位置。
步骤204,根据滑动操作的实时位置动态调节悬浮窗口的显示位置。
终端设备根据滑动操作的实时位置动态调节悬浮窗口的显示位置。在滑动操作过程中,终端设备将悬浮窗口实时地显示于滑动操作的实时位置处,从而实现悬浮窗口随用户手指在屏幕中移动的拖动功能。
结合参考图2B,其示出了一种拖动悬浮窗口的示意图。终端设备的屏幕20中显示有悬浮窗口21。用户手指选中悬浮窗口21,触发沿目标方向的滑动操作信号,用户手指从A位置处移动至B位置处。相应地,终端设备控制悬浮窗口21在用户手指滑动的过程中随用户手指实时移动。
步骤205,当检测到滑动操作信号消失时,获取滑动操作信号消失时刻所述滑动操作的滑动速度和/或滑动方向。
当检测到滑动操作信号消失时,终端设备获取滑动操作信号在消失时刻的滑动速度。也即,终端设备获取当用户手指离开屏幕时手指(或触控笔)的移 动速度,该速度可以等于悬浮窗口的移动速度。
步骤206,判断该滑动速度是否大于预定速度阈值。若是,则执行下述步骤207;若否,则结束流程。
终端设备检测在滑动操作信号消失时的滑动速度是否大于预定速度阈值。终端设备通过比对滑动操作信号在消失时刻的滑动速度与预定速度阈值之间的大小关系,确定在滑动操作信号消失之后,悬浮窗口的移动状态。其中,预定速度阈值可以由系统默认设定,也可由用户自定义设定。
当上述滑动速度大于预定速度阈值时,认为用户触发的上述滑动操作为甩动操作,终端设备执行下述步骤207,控制悬浮窗口继续移动,实现悬浮窗口的甩动功能。
当上述滑动速度小于或者等于预定速度阈值时,认为用户触发的上述滑动操作为拖动操作,在滑动操作信号消失之后悬浮窗口即停止移动。
步骤207,根据操作信号在消失时刻的滑动速度和目标加速度,控制悬浮窗口沿操作信号消失时刻的滑动方向做减速直线运动。
终端设备根据操作信号消失时刻的滑动速度和目标加速度,控制悬浮窗口沿操作信号消失时刻的滑动方向做减速直线运动。在一种可能的实施方式中,终端设备以滑动操作信号在消失时刻的滑动速度为初始速度,以滑动操作信号在消失时刻的滑动方向为运动方向,按目标加速度控制悬浮窗口做减速直线运动,直至悬浮窗口的移动速度变为0时停止移动。其中,目标加速度可以是预先设定的值,也可以是根据滑动操作信号实时确定的值,例如根据滑动操作信号在消失时刻的滑动速度确定的值。另外,目标加速度可以是一个固定值,悬浮窗口相应做匀减速直线运动;或者,目标加速度也可以是一个变量,悬浮窗口相应做变减速直线运动。
结合参考图2C,其示出了一种甩动悬浮窗口的示意图。当用户手指从B位置处离开时,假设此时悬浮窗口21的移动速度大于预定速度阈值,则终端设备控制悬浮窗口21继续向前做减速直线运动,直至移动速度变为0时停止移动。
当然,在其它可能的实施方式中,终端设备也可根据滑动速度和目标加速度,控制悬浮窗口沿预设方向做减速直线运动或者减速曲线运动,本实施例对此不作限定。
步骤208,在减速直线运动的过程中,当悬浮窗口全部移动至目标显示区域 之外时,若悬浮窗口的移动速度仍大于0,则控制悬浮窗口沿滑动方向的反射方向继续做减速直线运动。
在减速直线运动的过程中,当悬浮窗口全部移动至目标显示区域之外时,若悬浮窗口的移动速度仍大于0,则终端设备控制悬浮窗口沿滑动方向的反射方向继续做减速直线运动。通过上述方式,在悬浮窗口全部移动至目标显示区域的边界之外时,控制悬浮窗口重新反弹移动至目标显示区域中,模拟碰撞目标显示区域的边界后反弹的动画效果,实现悬浮窗口的碰撞反弹功能。
结合参考图2D,其示出了一种悬浮窗口碰撞反弹的示意图。在悬浮窗口21随着甩动操作沿着图中BC方向(其中C为屏幕20的右边界上的点)向前做减速直线运动的过程中,悬浮窗口21会逐渐移出屏幕20(图中悬浮窗口21的虚线框部分表示位于屏幕20以外未显示的部分),当悬浮窗口21沿着屏幕20的右边界全部移动至屏幕20之外时,若悬浮窗口21的移动速度仍大于0,则终端设备以屏幕20的右边界为反射面,控制悬浮窗口21沿滑动方向的反射方向(即图中CD的方向,其中BC与屏幕20的右边界的夹角和CD与屏幕20的右边界的夹角相等)继续做减速直线运动,直至移动速度变为0时停止移动。
在本实施例中,悬浮窗口沿滑动方向的反射方向继续移动,从而更为真实准确地展现碰撞反弹的动画效果。当然,在其它可能的实施方式中,终端设备也可控制悬浮窗口沿指定方向继续做减速直线运动,例如指定方向为目标显示区域中悬浮窗口移出的边界的垂线方向。
此外,本实施例提供的方法还包括如下步骤209和步骤210。
步骤209,当悬浮窗口的移动速度减小至0时,检测悬浮窗口是否在目标显示区域内完整显示。若是,则结束流程;若否,则执行下述步骤210。
不论是在拖动、甩动还是碰撞反弹之后,当悬浮窗口的移动速度减小至0时,终端设备检测悬浮窗口是否在目标显示区域内完整显示。也即,终端设备检测悬浮窗口是否全部显示于目标显示区域之内。
步骤210,控制悬浮窗口沿第一指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。
若悬浮窗口在目标显示区域内未完整显示,则终端设备控制悬浮窗口沿第一指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。其中,第一指定路径可以是沿目标显示区域中悬浮窗口移出的边界的垂线方向的一段 直线,也可是沿上述滑动方向的反射方向的一段直线,或者还可是沿其它预先设定的指定方向的一段直线。此外,终端设备控制悬浮窗口沿第一指定路径平滑移动,以便用户能查看到该移动过程的动画效果。
结合参考图2E,以碰撞反弹为例,假设悬浮窗口21在移动至图2E左侧图示时移动速度变为0,则终端设备控制悬浮窗口21沿其移出的边界的垂线方向或沿着上文描述的反射方向向屏幕20内平滑移动,直至悬浮窗口21在屏幕20内完整显示时停止移动。
可选的,在获取作用于悬浮窗口的操作信号(步骤202)后,还可以执行判断步骤,判断所述操作是滑动操作还是缩放操作。如果显示屏上有两个触摸位置,且这两个触摸位置之间的距离随着时间变化,可以判断为缩放操作;如果显示屏上只有一个触摸位置且该触摸位置随着时间变化,可判断为滑动操作。
综上所述,本实施例提供的方法,通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
另外,本实施例提供的方法,扩展了悬浮窗口的拖动、甩动以及碰撞反弹等功能,满足了用户对悬浮窗口的显示位置进行自定义地调节和控制,充分提高了用户体验。
请参考图3A,其示出了本发明另一实施例提供的悬浮窗口处理方法的流程图。所述悬浮窗口可以用于播放视频,显示图像或文字等。
下文以用于播放视频的悬浮窗口为例对本实施例进行描述,本领域的技术人员可以理解,下文的描述同样可以用于其他类型的悬浮窗口。该方法可包括如下几个步骤:
步骤301,显示悬浮窗口。
在终端设备显示屏的目标显示区域显示悬浮窗口。
目标显示区域是指显示器屏幕中用于显示悬浮窗口的区域。悬浮窗口只能在该区域内显示,在该区域外不能显示。例如,目标显示区域可以是整个屏幕区域,或者也可是屏幕中的部分区域。为了描述的方便,下文以目标显示区域 是整个屏幕区域进行描述。
在本实施例中,以悬浮窗口为尺寸可调窗口为例,也即将悬浮窗口的属性设置为尺寸可调,从而使得悬浮窗口的显示尺寸是可调节的。
步骤302,获取作用于悬浮窗口的操作信号。
终端设备获取作用于悬浮窗口的操作信号。下文中,以操作信号为缩放操作信号为例描述本实施。缩放操作可以看作由沿相反方向的第一移动操作和第二移动操作构成。用户可通过两个手指触发作用于悬浮窗口且两个手指沿相反方向移动的两个移动操作信号,触发悬浮窗口的显示尺寸进行缩放。具体来讲,当第一移动操作信号和第二移动操作信号的方向均向内时,触发悬浮窗口的显示尺寸进行缩小;当第一移动操作信号和第二移动操作信号的方向均向外时,触发悬浮窗口的显示尺寸进行放大。
步骤303,当检测到第一移动操作信号和第二移动操作信号(即检测到缩放操作信号)时,获取第一移动操作的起始位置和第二移动操作的起始位置之间的起始距离。
当检测到第一移动操作信号和第二移动操作信号时,终端设备获取第一移动操作的起始位置和第二移动操作的起始位置,并计算上述两个起始位置之间的起始距离。
步骤304,在缩放操作过程中,获取第一移动操作的实时位置和第二移动操作的实时位置之间的实时距离。
在缩放过程中,终端设备获取第一移动操作的实时位置和第二移动操作的实时位置,并实时计算上述两个实时位置之间的实时距离。其中,移动操作的实时位置通常是用户手指的实时触摸位置。
步骤305,根据起始距离和实时距离,确定悬浮窗口的显示尺寸的缩放比例。
终端设备根据起始距离和实时距离,实时确定悬浮窗口的显示尺寸的缩放比例。在一种可能的实施方式中,悬浮窗口的显示尺寸等比例缩放。调节后的显示尺寸/原始显示尺寸=实时距离/起始距离。也即,调节后的长度/原始长度=调节后的宽度/原始宽度=实时距离/起始距离。
步骤306,根据缩放比例动态调节悬浮窗口的显示尺寸。
在缩放操作过程中,终端设备根据实时确定的缩放比例,实时动态调节悬浮窗口的显示尺寸,从而实现悬浮窗口的缩放功能。在本实施例中,悬浮窗口 的缩放过程是随着第一移动操作和第二移动操作而逐步缩小或放大的过程。
结合参考图3B,其示出了一种缩放悬浮窗口的示意图。终端设备的屏幕30中显示有悬浮窗口31。以放大悬浮窗口31为例,用户两个手指向外沿相反方向滑动一定距离,在滑动过程中,悬浮窗口31逐渐放大。
步骤307,当检测到缩放操作信号(即第一移动操作信号和第二移动操作信号)消失时,判断悬浮窗口的显示尺寸是否大于最大显示尺寸。若是,则执行下述步骤308;若否,则执行下述步骤309。
当检测到第一移动操作信号和第二移动操作信号消失时,终端设备检测悬浮窗口的显示尺寸是否大于预设的最大显示尺寸。其中,最大显示尺寸可以由系统默认设定,也可由用户自定义设定。最大显示尺寸可以包括最大显示长度和/或最大显示宽度。例如,所述目标显示区域为整个屏幕时,悬浮窗口的最大显示长度为屏幕宽度,悬浮窗口的最大显示宽度为屏幕长度的三分之一。
步骤308,将悬浮窗口的显示尺寸调节至最大显示尺寸。
当悬浮窗口的显示尺寸大于最大显示尺寸时,为了确保悬浮窗口在目标显示区域内完整显示,终端设备将悬浮窗口的显示尺寸自动调节至最大显示尺寸,实现悬浮窗口的缩放回弹功能。在缩放回弹的过程中,终端设备控制悬浮窗口逐渐缩小,该动画过程对于用户可见。
步骤309,检测悬浮窗口是否在目标显示区域内完整显示。若是,则结束流程;若否,则执行下述步骤310。
当终端设备判断出悬浮窗口的显示尺寸小于或者等于最大显示尺寸时,或者当终端设备将悬浮窗口的显示尺寸调节至最大显示尺寸之后,终端设备检测悬浮窗口是否在目标显示区域内完整显示。
步骤310,控制悬浮窗口沿第二指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。
若悬浮窗口在目标显示区域内未完整显示,则终端设备控制悬浮窗口沿第二指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。其中,第二指定路径可以是沿目标显示区域中悬浮窗口移出的边界的垂线方向的一段直线,或者第二指定路径还可是沿其它预先设定的指定方向的一段直线。此外,终端设备控制悬浮窗口沿第二指定路径平滑移动,以便用户能查看到该移动过程的动画效果。
结合参考图3C,其示出了一种悬浮窗口缩放回弹的示意图。随着悬浮窗口31逐渐放大,悬浮窗口31会逐渐移出屏幕30(图中悬浮窗口31的虚线框部分表示位于屏幕30以外未显示的部分),甚至超过最大显示尺寸。在这种情况下,终端设备自动控制悬浮窗口31缩小至最大显示尺寸,并收缩向屏幕30内移动,使得悬浮窗口31完整显示于屏幕30中。
此外,终端设备还可预存悬浮窗口的最小显示尺寸。在悬浮窗口缩小的过程中,若悬浮窗口的显示尺寸达到了最小显示尺寸,则停止缩小。或者,当检测到第一移动操作信号和第二移动操作信号消失时,终端设备检测悬浮窗口的显示尺寸是否小于最小显示尺寸;若是,则将悬浮窗口的显示尺寸调节至最小显示尺寸,而后执行上述步骤309;若否,则执行上述步骤309。
可选的,在获取作用于悬浮窗口的操作信号(步骤302)后,还可以执行判断步骤,判断所述操作是滑动操作还是缩放操作。
综上所述,本实施例提供的方法,通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
另外,本实施例提供的方法,扩展了悬浮窗口的缩放和缩放回弹等功能,满足了用户对悬浮窗口的显示尺寸进行自定义地调节和控制,充分提高了用户体验。
在其它实施例中,悬浮窗口可同时具备上述图2A和图3A所示实施例提供的各项功能,从而更好地满足用户的视频播放和观看需求,为用户提供更为完善、炫酷的视频播放和操作体验。终端设备在检测到用户触发的触控操作之后,可判断该触控操作是用于调节显示位置的触控操作(如上述的滑动操作)还是用于调节显示尺寸的触控操作(如上述缩放操作);若判断出是用于调节显示位置的触控操作,则执行上述图2A所示实施例提供的步骤流程;若判断出是用于调节显示尺寸的触控操作,则执行上述图3A所示实施例提供的步骤流程。
下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。
请参考图4,其示出了本发明一个实施例提供的悬浮窗口处理装置的框图。该装置可应用于上述终端设备中。该装置可以包括:窗口显示模块401、信号获取模块402和窗口调节模块403。
窗口显示模块401,用于在显示屏的目标显示区域上显示悬浮窗口。
信号获取模块402,用于获取作用于窗口显示模块401显示的悬浮窗口的操作信号。
窗口调节模块403,用于根据信号获取模块402获取的操作信号确定悬浮窗口的形态变化参数,并根据形态变化参数动态调节悬浮窗口的显示形态。
其中,显示形态包括显示位置和/或显示尺寸。
综上所述,本实施例提供的装置,通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
请参考图5,其示出了本发明另一实施例提供的悬浮窗口处理装置的框图。该装置可应用于上述终端设备中。该装置可以包括:窗口显示模块501、信号获取模块502和窗口调节模块503。
窗口显示模块501,用于在显示屏的目标显示区域上显示悬浮窗口。
信号获取模块502,用于获取作用于窗口显示模块501显示的悬浮窗口的操作信号。
窗口调节模块503,用于根据信号获取模块502获取的操作信号确定悬浮窗口的形态变化参数,并根据形态变化参数动态调节悬浮窗口的显示形态。
其中,显示形态包括显示位置和/或显示尺寸。
可选地,窗口调节模块503,包括:位置获取子模块503a和位置调节子模块503b。
位置获取子模块503a,用于当操作为滑动操作时,获取滑动操作的实时位置。
位置调节子模块503b,用于根据位置获取子模块503a获取的实时位置动态调节悬浮窗口的显示位置。
可选地,窗口调节模块503,还包括:速度获取子模块503c和速度判断子模块503d。
速度获取子模块503c,用于当检测到滑动操作信号消失时,获取滑动操作信号在消失时刻的滑动速度和/或滑动方向。
速度判断子模块503d,用于判断速度获取子模块503c获取的滑动速度是否大于预定速度阈值。
位置调节子模块503b,还用于在速度检测子模块503d检测的滑动速度大于预定速度阈值的情况下,根据滑动速度和目标加速度,控制悬浮窗口沿消失时刻的滑动方向做减速直线运动。
可选地,位置调节子模块503b,还用于在减速直线运动的过程中,当悬浮窗口全部移动至目标显示区域之外时,若悬浮窗口的移动速度仍大于0,则控制悬浮窗口沿滑动方向的反射方向继续做减速直线运动。
可选地,窗口调节模块503,还包括:窗口检测子模块503e。
窗口检测子模块503e,用于在悬浮窗口的移动速度减小至0的情况下,检测悬浮窗口是否在目标显示区域内完整显示。
位置调节子模块503b,还用于在窗口检测子模块503e检测到悬浮窗口在目标显示区域内未完整显示的情况下,控制悬浮窗口沿第一指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。
可选地,窗口调节模块503,包括:距离获取子模块503f、比例确定子模块g和尺寸调节子模块503h。
距离获取子模块503f,用于当操作信号为沿相反方向的第一移动操作信号和第二移动操作信号(即操作信号为缩放操作信号)时,在检测到第一移动操作信号和第二移动操作信号的情况下,获取第一移动操作的起始位置和第二移动操作的起始位置之间的起始距离。
距离获取子模块503f,还用于在缩放操作过程中,获取第一移动操作的实时位置和第二移动操作的实时位置之间的实时距离。
比例确定子模块503g,用于根据距离获取子模块503f获取的起始距离和实时距离,确定悬浮窗口的显示尺寸的缩放比例。
尺寸调节子模块503h,用于根据比例确定子模块503g确定的缩放比例动态调节悬浮窗口的显示尺寸。
可选地,窗口调节模块503,还包括:尺寸判断子模块503i。
尺寸判断子模块503i,用于在检测到第一移动操作信号和第二移动操作信号消失的情况下,判断悬浮窗口的显示尺寸是否大于最大显示尺寸。
尺寸调节子模块503h,还用于在尺寸检测子模块503i检测的悬浮窗口的显示尺寸大于最大显示尺寸的情况下,将悬浮窗口的显示尺寸调节至最大显示尺寸。
窗口检测子模块503e,用于检测悬浮窗口是否在目标显示区域内完整显示。
位置调节子模块503b,还用于在窗口检测子模块503e检测到悬浮窗口在目标显示区域内未完整显示的情况下,控制悬浮窗口沿第二指定路径移动,直至悬浮窗口在目标显示区域内完整显示时停止移动。
可选地,窗口检测子模块503e,还用于在悬浮窗口的显示尺寸小于或者等于最大显示尺寸的情况下,检测悬浮窗口是否在目标显示区域内完整显示。
综上所述,本实施例提供的装置,通过在获取到作用于悬浮窗口的操作信号之后,根据该操作信号调节悬浮窗口的显示形态;解决了现有技术中悬浮窗口固定显示于屏幕中的某一位置,给用户查看悬浮窗口之外的其它显示内容带来极大不便的问题;扩展了悬浮窗口的移动和缩放功能,满足了用户对悬浮窗口进行自定义地调节和控制,从而便于用户查看悬浮窗口之外的其它显示内容。
另外,本实施例提供的装置,扩展了悬浮窗口的拖动、甩动、碰撞反弹、缩放和缩放回弹等功能,满足了用户对悬浮窗口的显示位置和显示尺寸进行自定义地调节和控制,充分提高了用户体验。
需要说明的是:上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参考图6,其示出了本发明一个实施例提供的终端设备的结构示意图。该终端设备用于实施上述实施例中提供的悬浮窗口的处理方法。具体来讲:
终端设备600可以包括RF(Radio Frequency,射频)电路610、包括有一 个或一个以上计算机可读存储介质的存储器620、输入单元630、显示单元640、传感器650、音频电路660、WiFi(wireless fidelity,无线保真)模块670、包括有一个或者一个以上处理核心的处理器680、以及电源690等部件。本领域技术人员可以理解,图6中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路610可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器680处理;另外,将涉及上行的数据发送给基站。通常,RF电路610包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备600的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器620还可以包括存储器控制器,以提供处理器680和输入单元630对存储器620的访问。
输入单元630可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元630可包括触敏表面631以及其他输入设备632。触敏表面631,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使 用手指、触笔等任何适合的物体或附件在触敏表面631上或在触敏表面631附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器,并能接收处理器发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面631。除了触敏表面631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及终端设备600的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元640可包括显示面板641,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板641。进一步的,触敏表面631可覆盖显示面板641,当触敏表面631检测到在其上或附近的触摸操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图6中,触敏表面631与显示面板641是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面631与显示面板641集成而实现输入和输出功能。
终端设备600还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在终端设备600移动到耳边时,关闭显示面板641和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备600还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路660、扬声器661,传声器662可提供用户与终端设备600之间的 音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一终端设备,或者将音频数据输出至存储器620以便进一步处理。音频电路660还可能包括耳塞插孔,以提供外设耳机与终端设备600的通信。
WiFi属于短距离无线传输技术,终端设备600通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于终端设备600的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器680是终端设备600的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行终端设备600的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器680可包括一个或多个处理核心;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。
终端设备600还包括给各个部件供电的电源690(比如电池),优选的,电源可以通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源690还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端设备600还可以包括蓝牙模块等,在此不再赘述。
具体在本实施例中,终端设备600还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。上述一个或者一个以上程序包含用于执行上述方法的指令。
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数 形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种悬浮窗口的处理方法,所述方法包括:
    在显示屏的目标显示区域上显示悬浮窗口;
    获取作用于所述悬浮窗口的操作信号;
    根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变化参数动态调节所述悬浮窗口的显示形态;
    其中,所述显示形态包括显示位置和/或显示尺寸。
  2. 根据权利要求1所述的方法,其中,所述操作为滑动操作;
    所述根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变化参数动态调节所述悬浮窗口的显示形态,包括:
    获取所述滑动操作的实时位置;
    根据所述实时位置动态调节所述悬浮窗口的显示位置。
  3. 根据权利要求2所述的方法,还包括:
    当检测到所述操作信号消失时,获取所述操作信号消失时刻所述滑动操作的滑动速度和滑动方向;
    判断所述滑动速度是否大于预定速度阈值;
    若所述滑动速度大于所述预定速度阈值,则根据所述滑动速度和目标加速度,控制所述悬浮窗口沿所述操作信号消失时刻所述滑动操作的滑动方向做减速直线运动。
  4. 根据权利要求3所述的方法,还包括:
    在所述减速直线运动的过程中,当所述悬浮窗口全部移动至所述目标显示区域之外时,若所述悬浮窗口的移动速度仍大于0,则控制所述悬浮窗口沿所述滑动方向的反射方向继续做减速直线运动。
  5. 根据权利要求3或4所述的方法,还包括:
    当所述悬浮窗口的移动速度减小至0时,检测所述悬浮窗口是否在目标显 示区域内完整显示;
    若所述悬浮窗口在所述目标显示区域内未完整显示,则控制所述悬浮窗口沿第一指定路径移动,直至所述悬浮窗口在所述目标显示区域内完整显示时停止移动。
  6. 根据权利要求1所述的方法,其中,所述操作为缩放操作;
    所述根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变化参数动态调节所述悬浮窗口的显示形态,包括:
    根据所述缩放操作动态调节所述悬浮窗口的显示尺寸。
  7. 根据权利要求6所述的方法,还包括:
    当检测到所述操作信号消失时,判断所述悬浮窗口的显示尺寸是否大于最大显示尺寸;
    若所述悬浮窗口的显示尺寸大于所述最大显示尺寸,则将所述悬浮窗口的显示尺寸调节至所述最大显示尺寸。
  8. 根据权利要求6所述的方法,还包括:
    当检测到所述操作信号消失时,判断所述悬浮窗口的显示尺寸是否大于最大显示尺寸;
    若所述悬浮窗口的显示尺寸小于或者等于所述最大显示尺寸,检测所述悬浮窗口是否在目标显示区域内完整显示;
    若所述悬浮窗口在所述目标显示区域内未完整显示,则控制所述悬浮窗口沿第二指定路径移动,直至所述悬浮窗口在所述目标显示区域内完整显示时停止移动。
  9. 根据权利要求1所述的方法,其中所述悬浮窗口用于播放视频。
  10. 一种悬浮窗口的处理装置,所述装置包括:
    窗口显示模块,用于在显示屏的目标显示区域上显示悬浮窗口;
    信号获取模块,用于获取作用于所述悬浮窗口的操作信号;
    窗口调节模块,用于根据所述操作信号确定所述悬浮窗口的形态变化参数,并根据所述形态变化参数动态调节所述悬浮窗口的显示形态;
    其中,所述显示形态包括显示位置和/或显示尺寸。
  11. 根据权利要求10所述的装置,其中,所述窗口调节模块包括:位置获取子模块和位置调节子模块;
    所述位置获取子模块,用于当所述操作为滑动操作时,获取所述滑动操作的实时位置;
    所述位置调节子模块,用于根据所述实时位置动态调节所述悬浮窗口的显示位置。
  12. 根据权利要求11所述的装置,其中,所述窗口调节模块还包括:速度获取子模块和速度判断子模块;
    所述速度获取子模块,用于当检测到所述操作信号消失时,获取所述操作信号消失时刻所述滑动操作的滑动速度和滑动方向;
    所述速度判断子模块,用于判断所述滑动速度是否大于预定速度阈值;
    所述位置调节子模块,还用于在所述滑动速度大于所述预定速度阈值的情况下,根据所述滑动速度和目标加速度,控制所述悬浮窗口沿所述操作信号消失时刻所述滑动操作的滑动方向做减速直线运动。
  13. 根据权利要求12所述的装置,其中,所述位置调节子模块,还用于在所述减速直线运动的过程中,当所述悬浮窗口全部移动至所述目标显示区域之外时,若所述悬浮窗口的移动速度仍大于0,则控制所述悬浮窗口沿所述滑动方向的反射方向继续做减速直线运动。
  14. 根据权利要求12或13所述的装置,其中,所述窗口调节模块还包括:窗口检测子模块;
    所述窗口检测子模块,用于在所述悬浮窗口的移动速度减小至0的情况下,检测所述悬浮窗口是否在目标显示区域内完整显示;
    所述位置调节子模块,还用于在所述悬浮窗口在所述目标显示区域内未完 整显示的情况下,控制所述悬浮窗口沿第一指定路径移动,直至所述悬浮窗口在所述目标显示区域内完整显示时停止移动。
  15. 根据权利要求10所述的装置,其中,所述窗口调节模块包括:尺寸调节子模块;
    所述尺寸调节子模块,用于当所述操作为缩放操作时,根据所述缩放操作动态调节所述悬浮窗口的显示尺寸。
  16. 根据权利要求15所述的装置,其中,所述窗口调节模块还包括:尺寸判断子模块;
    所述尺寸判断子模块,用于在检测到所述操作信号消失的情况下,判断所述悬浮窗口的显示尺寸是否大于最大显示尺寸;
    所述尺寸调节子模块,还用于在所述悬浮窗口的显示尺寸大于所述最大显示尺寸的情况下,将所述悬浮窗口的显示尺寸调节至所述最大显示尺寸。
  17. 根据权利要求15所述的装置,其中,所述窗口调节模块还包括:尺寸判断子模块、窗口检测子模块和位置调节子模块;
    所述尺寸判断子模块,用于在检测到所述操作信号消失的情况下,判断所述悬浮窗口的显示尺寸是否大于最大显示尺寸;
    所述窗口检测子模块,用于在所述悬浮窗口的显示尺寸小于或者等于所述最大显示尺寸的情况下,检测所述悬浮窗口是否在目标显示区域内完整显示;
    所述位置调节子模块,用于在所述悬浮窗口在所述目标显示区域内未完整显示的情况下,控制所述悬浮窗口沿第二指定路径移动,直至所述悬浮窗口在所述目标显示区域内完整显示时停止移动。
  18. 根据权利要求10所述的装置,其中所述悬浮窗口用于播放视频。
  19. 一种悬浮窗口的处理装置,所述装置包括:
    至少一个处理器,和
    存储器,所述存储器存储有程序指令,所述指令当由所述至少一个处理器 执行时,配置所述装置执行根据权利要求1-9中任一项所述的方法。
  20. 一种计算机可读存储介质,存储有程序指令,所述指令当由计算装置的处理器执行时,配置所述装置执行根据权利要求1-9中任一项所述的方法。
PCT/CN2016/109924 2015-12-15 2016-12-14 悬浮窗口的处理方法及装置 WO2017101787A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/699,318 US10515610B2 (en) 2015-12-15 2017-09-08 Floating window processing method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510933683.0A CN105554553B (zh) 2015-12-15 2015-12-15 通过悬浮窗口播放视频的方法及装置
CN201510933683.0 2015-12-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/699,318 Continuation US10515610B2 (en) 2015-12-15 2017-09-08 Floating window processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2017101787A1 true WO2017101787A1 (zh) 2017-06-22

Family

ID=55833455

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109924 WO2017101787A1 (zh) 2015-12-15 2016-12-14 悬浮窗口的处理方法及装置

Country Status (3)

Country Link
US (1) US10515610B2 (zh)
CN (1) CN105554553B (zh)
WO (1) WO2017101787A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547799A (zh) * 2017-08-25 2018-01-05 深圳天珑无线科技有限公司 悬浮录像的控制方法及其系统
CN112738612A (zh) * 2020-12-28 2021-04-30 浙江大华技术股份有限公司 一种视频处理方法及系统
CN114546204A (zh) * 2022-04-21 2022-05-27 广东统信软件有限公司 一种窗口管理方法、计算设备及可读存储介质

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050192B (zh) * 2013-03-15 2017-08-04 腾讯科技(深圳)有限公司 一种运行应用的方法、装置和系统
CN105554553B (zh) * 2015-12-15 2019-02-15 腾讯科技(深圳)有限公司 通过悬浮窗口播放视频的方法及装置
CN105979339B (zh) * 2016-05-25 2020-07-14 腾讯科技(深圳)有限公司 一种窗口显示方法及客户端
CN106028143A (zh) * 2016-05-27 2016-10-12 北京小米移动软件有限公司 视频直播方法及装置
CN106126236B (zh) * 2016-06-24 2019-08-20 北京奇虎科技有限公司 终端屏幕的分屏显示方法、装置及终端
CN106168869B (zh) * 2016-06-24 2019-06-21 北京奇虎科技有限公司 基于悬浮窗的桌面视图处理方法、装置及终端
CN105933779A (zh) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 利用寄生工具包实现的视频播放方法及装置
CN105915993B (zh) * 2016-06-27 2019-03-01 北京奇虎科技有限公司 利用寄生工具包实现的视频播放模式设置方法及装置
CN106126075A (zh) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 控制浮标显示的方法及装置
CN106156685A (zh) * 2016-07-07 2016-11-23 立德高科(昆山)数码科技有限责任公司 识读处于同一区域中的多个二维码的方法、装置及终端
CN106331873A (zh) * 2016-08-29 2017-01-11 深圳Tcl新技术有限公司 智能电视人机交互界面的切换方法及装置
CN106534939B (zh) * 2016-10-09 2019-07-05 北京金山安全软件有限公司 一种多视频预览方法、装置及电子设备
CN106303664B (zh) * 2016-10-13 2019-07-23 合一信息技术(北京)有限公司 视频播放方法及装置
CN106792089A (zh) * 2016-12-15 2017-05-31 腾讯科技(深圳)有限公司 视频播放方法和装置
CN106993214A (zh) * 2017-03-20 2017-07-28 北京潘达互娱科技有限公司 网络直播方法及装置
CN107172500B (zh) * 2017-06-26 2020-06-26 北京金山安全软件有限公司 网页中视频播放方法及装置
CN107277601B (zh) * 2017-07-12 2020-03-10 北京潘达互娱科技有限公司 视频播放方法及装置
CN108289233B (zh) * 2017-12-12 2021-05-07 海尔优家智能科技(北京)有限公司 显示方法、计算机可读存储介质、计算机设备及显示装置
CN108182021A (zh) * 2018-01-30 2018-06-19 腾讯科技(深圳)有限公司 多媒体信息展示方法、装置、存储介质及设备
CN110225177B (zh) * 2018-03-01 2022-03-15 阿里巴巴(中国)有限公司 一种界面调节方法、计算机存储介质及终端设备
CN108449641B (zh) * 2018-03-28 2021-04-27 聚好看科技股份有限公司 播放媒体流的方法、装置、计算机设备和存储介质
CN108366301B (zh) * 2018-04-24 2021-03-09 中国广播电视网络有限公司 一种基于Android的视频悬浮播放方法
CN108737656B (zh) * 2018-05-17 2021-02-02 Oppo广东移动通信有限公司 悬浮按钮的处理方法、装置、存储介质及电子设备
CN108845749B (zh) * 2018-06-01 2021-03-09 阿里巴巴(中国)有限公司 页面展示方法及装置
CN111124556B (zh) * 2018-10-31 2021-09-21 杭州海康威视系统技术有限公司 一种窗口操作的方法及装置
EP3671449A4 (en) 2018-06-22 2020-12-02 Hangzhou Hikvision System Technology Co., Ltd. ASSOCIATION OF BROWSER APPLICATIONS
CN109413333B (zh) * 2018-11-28 2022-04-01 维沃移动通信有限公司 一种显示控制方法及终端
CN111273824B (zh) * 2018-12-05 2023-08-04 钉钉控股(开曼)有限公司 日程处理方法、装置和设备
CN109725970B (zh) * 2018-12-25 2020-07-24 北京微播视界科技有限公司 应用客户端窗口展示的方法、装置及电子设备
CN110099162B (zh) * 2019-03-18 2021-04-30 努比亚技术有限公司 一种页面显示处理方法及穿戴式设备
CN110650352B (zh) * 2019-09-06 2020-12-08 四川天邑康和通信股份有限公司 一种iptv浏览器的视频处理方法
CN110784774A (zh) * 2019-09-23 2020-02-11 视联动力信息技术股份有限公司 视频窗口移动方法、装置及计算机可读存储介质
CN111061419B (zh) * 2019-10-23 2023-03-03 华为技术有限公司 一种应用栏显示方法及电子设备
CN111246305A (zh) * 2020-01-20 2020-06-05 百度在线网络技术(北京)有限公司 视频预览方法、装置、设备及存储介质
CN111263233B (zh) * 2020-02-20 2021-10-22 腾讯科技(深圳)有限公司 电视多窗口处理方法、装置、计算机设备和存储介质
CN111552425A (zh) 2020-04-24 2020-08-18 北京小米移动软件有限公司 一种控制小窗显示的方法、装置及存储介质
CN111930278B (zh) * 2020-07-08 2022-06-10 京东方科技集团股份有限公司 智能交互设备、智能交互方法和存储介质
CN112162665B (zh) * 2020-09-21 2021-11-09 维沃移动通信有限公司 操作方法及装置
CN112181571A (zh) * 2020-09-28 2021-01-05 北京字节跳动网络技术有限公司 浮窗显示方法、装置、终端及存储介质
CN114866860B (zh) * 2021-01-20 2023-07-11 华为技术有限公司 一种播放视频的方法及电子设备
CN113490035B (zh) * 2021-07-16 2023-06-23 南京炫佳网络科技有限公司 一种显示方法、装置、电视及存储介质
CN113970990B (zh) * 2021-10-21 2024-02-23 网易(杭州)网络有限公司 悬浮窗的显示方法及装置、存储介质、电子设备
CN114205535B (zh) * 2021-11-09 2023-12-19 图腾视界(广州)数字科技有限公司 一种信息的显示方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045269A (zh) * 2010-11-30 2011-05-04 于琨洪 一种基于浏览器的可悬浮的新型网络即时聊天方法
CN103729107A (zh) * 2012-10-15 2014-04-16 中兴通讯股份有限公司 一种悬浮对象的实现方法与装置
CN103986962A (zh) * 2014-06-03 2014-08-13 合一网络技术(北京)有限公司 显示悬浮式播放窗口的方法和系统
CN105554553A (zh) * 2015-12-15 2016-05-04 腾讯科技(深圳)有限公司 通过悬浮窗口播放视频的方法及装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6166736A (en) * 1997-08-22 2000-12-26 Natrificial Llc Method and apparatus for simultaneously resizing and relocating windows within a graphical display
JP4982505B2 (ja) * 2007-01-25 2012-07-25 シャープ株式会社 マルチウィンドウ管理装置及びプログラム、記憶媒体、並びに情報処理装置
US8284170B2 (en) * 2008-09-30 2012-10-09 Apple Inc. Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
US20110163944A1 (en) * 2010-01-05 2011-07-07 Apple Inc. Intuitive, gesture-based communications with physics metaphors
US8917632B2 (en) * 2010-04-07 2014-12-23 Apple Inc. Different rate controller configurations for different cameras of a mobile device
US20120023426A1 (en) * 2010-07-22 2012-01-26 Mediatek Inc. Apparatuses and Methods for Position Adjustment of Widget Presentations
US9245368B2 (en) * 2011-06-05 2016-01-26 Apple Inc. Device and method for dynamically rendering an animation
US9448633B2 (en) * 2011-10-01 2016-09-20 Oracle International Corporation Moving a display object within a display frame using a discrete gesture
CN102789359A (zh) * 2012-06-25 2012-11-21 威盛电子股份有限公司 动态桌布显示方法及新视频信息显示方法与手持移动系统
US9916072B2 (en) * 2013-02-20 2018-03-13 Lg Electronics Inc. Application and notification window display management in a mobile terminal
CN104346083A (zh) * 2013-07-25 2015-02-11 富泰华工业(深圳)有限公司 滑动触摸操作的显示控制系统及方法
WO2015143124A1 (en) * 2014-03-21 2015-09-24 Immersion Corporation Systems and methods for haptically-enabled curved devices
CN105022567B (zh) * 2014-04-30 2018-06-26 惠州市德赛西威汽车电子股份有限公司 一种通过鼠标拖拽滑动切换界面的方法
US10254942B2 (en) * 2014-07-31 2019-04-09 Microsoft Technology Licensing, Llc Adaptive sizing and positioning of application windows
JP6390277B2 (ja) * 2014-09-02 2018-09-19 ソニー株式会社 情報処理装置、制御方法、およびプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045269A (zh) * 2010-11-30 2011-05-04 于琨洪 一种基于浏览器的可悬浮的新型网络即时聊天方法
CN103729107A (zh) * 2012-10-15 2014-04-16 中兴通讯股份有限公司 一种悬浮对象的实现方法与装置
CN103986962A (zh) * 2014-06-03 2014-08-13 合一网络技术(北京)有限公司 显示悬浮式播放窗口的方法和系统
CN105554553A (zh) * 2015-12-15 2016-05-04 腾讯科技(深圳)有限公司 通过悬浮窗口播放视频的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547799A (zh) * 2017-08-25 2018-01-05 深圳天珑无线科技有限公司 悬浮录像的控制方法及其系统
CN112738612A (zh) * 2020-12-28 2021-04-30 浙江大华技术股份有限公司 一种视频处理方法及系统
CN112738612B (zh) * 2020-12-28 2023-04-11 浙江大华技术股份有限公司 一种视频处理方法及系统
CN114546204A (zh) * 2022-04-21 2022-05-27 广东统信软件有限公司 一种窗口管理方法、计算设备及可读存储介质

Also Published As

Publication number Publication date
US20170372678A1 (en) 2017-12-28
CN105554553A (zh) 2016-05-04
CN105554553B (zh) 2019-02-15
US10515610B2 (en) 2019-12-24

Similar Documents

Publication Publication Date Title
WO2017101787A1 (zh) 悬浮窗口的处理方法及装置
US11537288B2 (en) Display device, display controlling method, and computer program
WO2016165568A1 (zh) 视频图像缩放方法和移动终端
WO2018095129A1 (zh) 一种播放直播视频的方法和装置
EP3136214A1 (en) Touch operation method and apparatus for terminal
CN109710139B (zh) 一种页面处理方法、装置、终端以及存储介质
WO2017125027A1 (zh) 一种进行信息展示的方法和装置、计算机存储介质
US11843715B2 (en) Photographing method and terminal
US10133480B2 (en) Method for adjusting input-method keyboard and mobile terminal thereof
US20180150211A1 (en) Method for adjusting photographing focal length of mobile terminal by using touchpad, and mobile terminal
CN105975190B (zh) 一种图形界面的处理方法、装置及系统
CN106445340B (zh) 一种双屏终端显示立体图像的方法和装置
US20150077437A1 (en) Method for Implementing Electronic Magnifier and User Equipment
US20170046040A1 (en) Terminal device and screen content enlarging method
CN108228902B (zh) 一种文件显示方法及移动终端
US20150089431A1 (en) Method and terminal for displaying virtual keyboard and storage medium
CN110968229A (zh) 一种壁纸设置方法及电子设备
KR20150070985A (ko) 슬라이딩 동작 응답방법, 장치, 단말기장치, 프로그램 및 기록매체
WO2019042478A1 (zh) 移动终端输入法软键盘的控制方法、存储介质及移动终端
WO2015014135A1 (zh) 鼠标指针的控制方法、装置及终端设备
CN107479799B (zh) 一种显示窗口的方法和装置
WO2021104162A1 (zh) 显示方法及电子设备
WO2021082718A1 (zh) 内容滚动显示方法及电子设备
CN111443860B (zh) 触控方法和电子设备
CN108696638B (zh) 一种移动终端的控制方法及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16874844

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874844

Country of ref document: EP

Kind code of ref document: A1