WO2022100260A1 - 显示控制方法、装置、存储介质及电子设备 - Google Patents

显示控制方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2022100260A1
WO2022100260A1 PCT/CN2021/117767 CN2021117767W WO2022100260A1 WO 2022100260 A1 WO2022100260 A1 WO 2022100260A1 CN 2021117767 W CN2021117767 W CN 2021117767W WO 2022100260 A1 WO2022100260 A1 WO 2022100260A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
display
adjustment operation
foreground application
size
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.)
Ceased
Application number
PCT/CN2021/117767
Other languages
English (en)
French (fr)
Inventor
喻伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to EP21890788.9A priority Critical patent/EP4246306A4/en
Publication of WO2022100260A1 publication Critical patent/WO2022100260A1/zh
Priority to US18/318,258 priority patent/US12340455B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/80Two-dimensional [2D] animation, e.g. using sprites
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/03Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays
    • G09G3/035Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays for flexible display surfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, 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
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • 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/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/005Adapting incoming signals to the display format of the display terminal
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/62Semi-transparency
    • 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
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/02Flexible displays

Definitions

  • the present application relates to the technical field of electronic devices, and in particular, to a display control method, device, storage medium, and electronic device.
  • Embodiments of the present application provide a display control method, device, storage medium, and electronic device, which can realize smooth transition of the display interface during the process of adjusting the screen size of the flexible display screen.
  • an embodiment of the present application provides a display control method, which is applied to an electronic device including a flexible display screen, and the method includes:
  • a foreground application is determined, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • the window of the foreground application is redrawn and displayed according to the screen size after the screen adjustment operation.
  • an embodiment of the present application further provides a display control device, which is applied to an electronic device including a flexible display screen, and the device includes:
  • a program determination module configured to determine a foreground application when it is detected that the electronic device starts to perform a screen adjustment operation, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • An animation playing module for controlling the foreground application to play a transition animation during the execution of the screen adjustment operation, wherein the size of the displayed content of the transition animation is dynamically adjusted as the screen size changes, so that all The display content is adapted to the screen size;
  • the window drawing module is used to redraw and display the window of the foreground application program according to the screen size after the screen adjustment operation when the screen adjustment operation is terminated.
  • an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run on a computer, the computer is made to execute the method provided by any embodiment of the present application. Displays the control method.
  • an embodiment of the present application further provides an electronic device, including a processor and a memory, the memory having a computer program, and the processor is configured to execute the method provided by any embodiment of the present application by invoking the computer program. display control method.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 3 is a schematic exploded perspective view of an electronic device according to an embodiment of the present application.
  • FIG. 4 is a cross-sectional view along V1-V1 of the electronic device in FIG. 1 .
  • FIG. 5 is a cross-sectional view along V2-V2 of the electronic device in FIG. 2 .
  • FIG. 6 is a first schematic flowchart of a display control method provided by an embodiment of the present application.
  • FIG. 7a is a schematic diagram of an interface when a display screen stretching operation starts in a display control method provided by an embodiment of the present application.
  • FIG. 7b is a schematic interface diagram of a display screen stretching operation in progress in the display control method provided by the embodiment of the present application.
  • FIG. 7c is a schematic diagram of an interface when a display screen stretching operation is terminated in a display control method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a display control apparatus provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
  • the embodiment of the present application provides a display control method, and the execution body of the display control method may be the display control device provided by the embodiment of the present application, or an electronic device integrating the display control device, wherein the display control device may adopt hardware or implemented in software.
  • An embodiment of the present application provides a display control method, which is applied to an electronic device including a flexible display screen, including:
  • a foreground application is determined, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • the window of the foreground application is redrawn and displayed according to the screen size after the screen adjustment operation.
  • the display content of the transition animation is drawn in real time according to the display screen of the foreground application.
  • before the controlling the foreground application to play the transition animation during the execution of the screen adjustment operation further includes:
  • the controlling of the foreground application to play a transition animation during the execution of the screen adjustment operation includes:
  • redrawing and displaying the window of the foreground application program according to the screen size after the screen adjustment operation includes:
  • the display of the second image is terminated, and the redrawn window of the foreground application is displayed.
  • controlling the foreground application to play a transition animation during the execution of the screen adjustment operation includes:
  • the foreground application is controlled to play a transition animation in the window of the target size during the execution of the screen adjustment operation.
  • the screen adjustment operation is a scaling operation
  • the scaling operation includes a stretching operation and a shrinking operation
  • the determining of the maximum screen display size during the screen adjustment operation, and setting the maximum screen display size as the target size of the window of the foreground application includes:
  • the screen adjustment operation is a stretching operation, determining the first screen display size after the stretching operation is completed, and setting the first screen display size as the target size of the window of the foreground application;
  • the screen adjustment operation is a shrinking operation
  • the second screen size before the shrinking operation is acquired, and the second screen size is set as the target size of the window of the foreground application.
  • before the controlling the foreground application to play the transition animation during the execution of the screen adjustment operation further includes:
  • the third image and the second display interface are controlled to perform scaling processing through the system animation view, so that the sizes of the third image and the second display interface are the same as those of the screen. Size adaptation, wherein, during the scaling process, the transparency of the third image is adjusted from 100% to 0, and the transparency of the second display interface is adjusted from 0 to 100%.
  • the detecting whether the foreground application supports adaptive playback of transition animations includes:
  • An embodiment of the present application provides a display control method, which is applied to an electronic device including a flexible display screen.
  • the flexible display screen can be bent or stretched to change the size of the display area.
  • the flexible display screen is a folding screen, and the electronic device is controlled to switch from a large screen to a small screen through a bending operation, and the electronic device is controlled to switch from a small screen to a large screen through a stretching operation.
  • the flexible display screen is a telescopic screen, and the electronic device is controlled to switch from a small screen to a large screen through a stretching operation, and the electronic device is controlled to switch from a large screen to a small screen through a shrinking operation.
  • the display control method of the present application will be described by taking the flexible display screen as a telescopic screen as an example.
  • FIG. 1 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application.
  • the electronic device may be a smart phone, a tablet computer, a palmtop computer, a notebook computer, or a desktop computer and other devices.
  • the electronic device has a flexible display screen, and one end of the flexible display screen is set on a reel, so that part of the flexible display screen can be wound on the reel, and the reel can be used for winding up the flexible display screen and releasing the flexible display screen , thereby expanding the display portion of the flexible display assembly.
  • the flexible display can expand or contract in a direction perpendicular to the scroll axis. For example, please refer to FIG.
  • FIG. 2 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
  • the electronic device shown in Figure 2 has its flexible display screen in an extended state.
  • the display part of the flexible display screen can be expanded to improve the user's operating experience.
  • the display part can not be expanded, so that the whole machine is small in size and convenient to carry.
  • the stretching direction of the flexible display screen shown in Figure 1 above is only an example, and in other embodiments, the flexible display screen may also be set to expand and contract along the vertical direction when the user holds the device vertically.
  • the electronic device When the electronic device detects the start of the telescopic operation, it determines the foreground application, controls the foreground application to play a transition animation during the execution of the screen adjustment operation, and realizes the transition effect through the animation to avoid switching from a large screen to a small screen or by In the process of switching from a small screen to a large screen, the sudden change caused by the change of the size of the display interface.
  • the electronic device 100 of this embodiment includes a housing assembly 10 , a flexible display screen 30 , a driving member 50 and a driving mechanism 70 .
  • the casing assembly 10 is a hollow structure; components such as the driving member 50 , the driving mechanism 70 , and the camera 60 can all be arranged in the casing assembly 10 .
  • the electronic device 100 in the embodiments of the present application includes but is not limited to mobile terminals such as mobile phones, tablet computers, or other portable electronic devices.
  • the electronic device 100 is a mobile phone as an example for description.
  • the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are capable of relative movement. Specifically, in this embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12 .
  • the first casing 12 and the second casing 14 together form an accommodating space 16 .
  • the accommodating space 16 can be used to accommodate components such as the driving member 50 , the camera 60 and the driving mechanism 70 .
  • the housing assembly 10 may further include a rear cover 18 , and the rear cover 18 and the first housing 12 and the second housing 14 together form an accommodating space 16 .
  • the driving member 50 is arranged on the second housing 14 , one end of the flexible display screen 30 is arranged on the first housing 12 , the flexible display screen 30 bypasses the driving member 50 , and the other end of the flexible display screen is arranged in the accommodating space 16 , In order to hide part of the flexible display screen in the accommodating space 16 , the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit.
  • the flexible display screen 30 can be driven to expand by the driving member 50 , so that more flexible display screens 30 are exposed to the outside of the accommodating space 16 .
  • the portion of the flexible display screen 30 exposed outside the accommodating space 16 is lit, so that the display area presented by the electronic device 100 becomes larger.
  • the driving member 50 may specifically be a rotating shaft structure with teeth 52 on the outside.
  • the flexible display screen 30 is linked with the driving member 50 by means of meshing or the like. When the first housing 12 and the second housing 14 are relatively far away, the driving member 50 drives The part of the flexible display screen 30 engaged with the driving member 50 moves and unfolds.
  • the driving member 50 can also be a circular shaft without the teeth 52.
  • the driving member 50 is used to wrap (wrap around) the portion on the driving member 50.
  • the flexible display screen 30 is stretched so that more flexible display screen is exposed outside the accommodating space 16 and is in a flat state.
  • the driving member 50 is rotatably disposed on the second housing 14 , and when the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30 .
  • the driving member 50 can also be fixed on the second housing 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is stretched, the driving member 50 can slidably contact the flexible display screen 30 through its smooth surface.
  • the flexible display screen can be driven and retracted by the driving member 50 .
  • the electronic device 100 further includes a reset member (not shown). One end of the flexible display screen accommodated in the accommodating space 16 is linked with the reset member. When the first housing 12 and the second housing 14 are relatively close, the reset member drives The flexible display screen 30 is reset, so that part of the flexible display screen is retracted into the accommodating space 16 .
  • the driving mechanism 70 can be disposed in the accommodating space 16 , the driving mechanism 70 can be linked with the second casing 14 , and the driving mechanism 70 is used to drive the second casing 14 to move relative to the first casing 12 . They move away from each other, thereby driving the flexible display screen assembly 30 to stretch. It can be understood that the driving mechanism 70 can also be omitted, and the user can directly move the first housing and the second housing relative to each other by manual means or the like.
  • FIG. 6 is a schematic flowchart of a first type of display control method provided by an embodiment of the present application.
  • the specific process of the display control method provided by the embodiment of the present application may be as follows:
  • a foreground application is determined, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen.
  • the application program in the embodiment of the present application is an application program in a broad sense, which not only includes third-party application programs installed by the user, such as WeChat, audio player and other APPs (Application, application program), but also may Some system-level applications, such as desktop, notification bar, lock screen desktop, etc., are included in the application defined in this application.
  • the electronic device determines a foreground application, assuming that the current foreground application is a video player, and the user is using the video player to watch a video.
  • the foreground application is controlled to play a transition animation during the execution of the screen adjustment operation, wherein the size of the displayed content of the transition animation is dynamically adjusted as the screen size changes, so that the displayed content is adapted to the screen size.
  • the process of determining the foreground application can be completed in a very short time, almost negligible, and the operation of determining the foreground application can be performed as soon as a shrink instruction is detected.
  • the foreground application is controlled to play a transition animation during the execution of the screen adjustment operation.
  • the transition animation in this embodiment is not played by the system animation, but requires that the foreground application program is pre-set with an adapted transition animation, and the transition animation is used for playing in a scene where the screen is stretched.
  • some playback parameters of the transition animation are adapted to the parameters of the scaling operation, so that the playback duration of the transition animation is exactly equal to the duration of the screen adjustment operation, and the size of the displayed content of the transition animation can also change with the screen size.
  • adaptive dynamic adjustment Based on this, the developer of the foreground application needs to design the application according to some parameters of the shrinking operation of the electronic device, such as the shrinking speed of the display screen, the length of the shrinking operation, the size of the screen before and after the shrinking operation, etc. , to set the related parameters of the transition animation.
  • the electronic device shrinks from a large screen to a small screen within 1 second, then the playback duration of the transition animation should also be set to 1 second.
  • the size of the screen size before and after the shrinking operation is fixed, that is, once the user triggers the shrinking instruction in the large screen state, the electronic device can only shrink to a specific screen size under the current screen size. Therefore, The size of the displayed content at the end of the transition animation needs to be the same as the screen size after the display screen is shrunk, and the size of the displayed content at the beginning of the transition animation needs to be the same as the screen size before the display screen is shrunk.
  • the window size shrinks during the transition animation playback. Also consistent with the contraction rate of the display.
  • transition animation can be customized by different applications according to their own needs to display the content and animation effects.
  • the effect and display content of the animation are preset.
  • the content displayed by the transition animation during playback and the effect of the animation can be set according to the characteristics of the application, and the display content can be related to the foreground application.
  • the actual display content of the program is irrelevant, and the developer of the application program can set it as needed, for example, it can be a specific image, text, dynamic diagram, etc., so as to increase the interest of the human-machine interface interaction.
  • the display content of the transition animation is drawn in real time according to the display screen of the foreground application.
  • the animation effect of the transition animation may be preset, but the display content specifically displayed in the animation is drawn in real time according to the actual display screen of the foreground application during the playback of the animation.
  • a specific scenario is described by taking the foreground application as the video player as an example. The user uses the video player to play the video in the foreground, and then the user triggers the shrinking instruction.
  • the objects of the transition animation are the video playback window and the display content in the video playback window, and the animation effect is :
  • the video playback window is adaptively reduced as the screen size of the display screen decreases, that is, during the process of screen reduction, the video playback window is always the same size as the screen.
  • the video playback window shrinks, the video picture is drawn in real time and displayed in the video playback window, and the displayed video picture also shrinks as the video window shrinks.
  • the effect that can be seen is: during the shrinking process of the display screen, the video playback window becomes smaller with the shrinking operation, and the video content displayed in the window plays normally but becomes smaller with the adaptability of the window, which does not affect the user. Watch the video.
  • transition animation is described above by taking the shrinking of the flexible display screen as an example. It is understandable that if the screen adjustment operation is a stretching operation, the animation is played according to the same principle as the shrinking operation, but during the screen stretching process, the video playback window becomes larger with the shrinking operation, and the video content displayed in the window becomes larger. Plays normally but as the window adapts to size, it does not affect the user's viewing of the video.
  • the video player is only an example, and does not constitute a limitation to this solution.
  • an adapted transition animation can also be set according to the display interface.
  • the foreground application is the system desktop
  • the animation effect is that the interface size of the system desktop adapts to the shrinking or stretching of the screen
  • the display content of the transition animation The icons (or plug-ins) on the desktop change with the interface size of the system desktop. change its size and/or position in real time. However, this change is not achieved by modifying the relevant parameters of the window management service, but according to the preset animation parameters.
  • the window size of the transition animation follows the shrinkage or stretching of the screen. Animated window changes draw the icons (or plug-ins) on the system desktop displayed in the window in real time.
  • FIG. 7a is a schematic diagram of an interface at the beginning of a display screen stretching operation in a display control method provided by an embodiment of the present application
  • FIG. 7b is a display screen in the display control method provided by an embodiment of the present application.
  • a schematic diagram of an interface during a stretching operation is a schematic diagram of an interface when the stretching operation of the display screen is terminated in the display control method provided by the embodiment of the present application.
  • the chat interface of an instant messaging application is taken as an example.
  • the displayed content of the transition animation is the actual content of the chat interface during the stretching operation, and the animation effect is
  • the window of the chat interface is gradually bordered as the screen is stretched horizontally.
  • the animation content is drawn in real time, even if the information is received during the stretching process, it can be displayed on the interface in time.
  • the width of the screen becomes larger, the position of the controls in the interface will change as the screen stretches. For example, the spacing between the controls becomes larger, and the information in the chat window can be displayed more in each line. number of characters.
  • the transition effect is achieved by playing animations of the application running in the foreground, avoiding the display interface in the process of switching from a large screen to a small screen or from a small screen to a large screen.
  • the sudden change caused by the change of size realizes the smooth transition of the display interface.
  • the step of controlling the foreground application to play the transition animation during the execution of the screen adjustment operation it further includes: when it is detected that the electronic device starts to perform the screen adjustment operation, changing the display image of the current screen. Take a screenshot to get the first image;
  • the steps of controlling the foreground application to play the transition animation during the execution of the screen adjustment operation include: displaying the first image, and controlling the foreground application to draw the transition animation; when the transition animation is completed, terminating the display of the first image and playing Transition animation until the screen adjustment operation terminates.
  • the foreground application switches from the current display interface to the animation window, it needs to draw the animation, which may cause the screen to flicker.
  • First take a screenshot of the display image of the current screen to obtain a first image, and display the first image on the current interface. That is, the first image is displayed by overlaying the window of the foreground application, and under the first image, the electronic device controls the foreground application to draw a transition animation.
  • the drawing process of the transition animation is invisible to the user. While the transition animation is being drawn, the user can see the first image displayed on the foreground application. A splash screen will occur. If the transition animation is completed, the display of the first image is terminated, and at the same time, the transition animation is started to be played until the screen adjustment operation is terminated.
  • the steps of redrawing and displaying the window of the foreground application program according to the screen size after the screen adjustment operation include:
  • the display of the second image is terminated, and the redrawn window of the foreground application is displayed.
  • the screen splash phenomenon may occur when the foreground application exits the animation playback screen and switches to the normal display interface.
  • the screen shot of the current screen is taken to obtain a second image, and the second image is displayed on the current interface, that is, Say, display the second image overlaid on top of the foreground application's window.
  • the foreground application completes the switch from the animation playback screen to the normal display interface.
  • the window of the foreground application is rearranged and drawn according to the screen size after the screen adjustment operation is completed.
  • the display of the second image is terminated, and the redrawn window of the foreground application is displayed at the same time.
  • the switching process of the animation playback picture to the normal display interface is invisible to the user. What the user can see is the second image displayed on top of the foreground application, in which case no splash screen occurs.
  • a first image is obtained by taking a screenshot when the screen adjustment operation starts, and the first image is displayed on the current interface.
  • the electronic device controls the foreground application to draw a transition animation.
  • the screen adjustment operation is terminated, take a screenshot of the display screen of the current screen to obtain a second image, and display the second image on the current interface.
  • the foreground application completes the adjustment from the animation playback screen to the normal Switching the display interface.
  • the step of controlling the foreground application to play the transition animation during the execution of the screen adjustment operation includes:
  • the maximum screen display size during the screen adjustment operation is the screen size when the stretching operation is completed.
  • the maximum screen display size during the screen adjustment operation is the screen size at the start of the shrink operation.
  • the steps of determining the maximum screen display size during the screen adjustment operation, and setting the maximum screen display size as the target size of the window of the foreground application program include: when the screen adjustment operation is a stretching operation, Determine the display size of the first screen after the stretching operation is completed, and set the display size of the first screen as the target size of the window of the foreground application; when the screen adjustment operation is a shrinking operation, obtain the second screen size before the shrinking operation, and set the The second screen size is set to the target size of the window of the foreground application.
  • the shrinking operation adjusts the screen size of 1920*1920 to the screen size of 1920*1080.
  • the system sends the first indication information to the foreground application, and the first indication information indicates The foreground application still draws the window size according to 1920*1920 before shrinking.
  • the width of the screen gradually shrinks from 1920 to 1080, but for the foreground application, the size of its "logical screen" is still 1920*1920, until the shrinking operation ends and the animation playback is completed.
  • the system adjusts the window size parameters in the window management service, so that the window of the foreground application is adjusted to 1920*1080.
  • the application is rearranged according to the adjusted window size parameters.
  • the foreground application draws and displays. That is to say, in this embodiment, the system provides the application with the ability to display the window of the application outside the physical screen, that is, the "logical screen" can be larger than the physical screen.
  • the application window size parameter is not reduced, and the size of the displayed content of the transition animation is smaller than the "logical screen” size.
  • the "logical screen” is always 1920*1920, and the display content of the transition animation gradually shrinks from 1920*1920 to 1920*1080 as the physical screen shrinks.
  • the stretching operation it is the process of changing the screen size from small to large.
  • the stretching operation adjusts the screen size of 1920*1080 to the screen size of 1920*1920.
  • the system adjusts the window size parameter in the window management service, so that the window of the foreground application is adjusted to 1920*1920.
  • the system sends second indication information to the foreground application, where the second indication information instructs the foreground application to draw the size of the window of the transition animation according to the stretched 1920*1920.
  • the size of the physical screen is still 1920*1080, but the system provides the application with the ability to display the window of the application outside the physical screen, so that the "logical screen" is larger than the physical screen.
  • the application window size parameters remain unchanged, and the size of the displayed content of the transition animation gradually changes from 1920*1080 to 1920*1920.
  • the method may further include:
  • the third image and the second display interface are controlled to perform scaling processing through the system animation view, so that the sizes of the third image and the second display interface are adapted to the screen size, wherein during the scaling processing , the transparency of the third image is adjusted from 100% to 0, and the transparency of the second display interface is adjusted from 0 to 100%.
  • the system determines whether the foreground application has adapted the transition animation by detecting whether the window creation request sent by the foreground application to the application framework layer carries a preset identifier. If the application is set to support adaptive playback of transition animations during development, a flag bit is added to the window creation request sent to the application framework layer to indicate that it supports adaptive playback of transition animations. Conversely, if the system detects that the window creation request does not carry the identifier, it is determined that the foreground application does not support adaptive playback of the transition animation. At this time, some animation settings at the system level can be used to achieve a smooth transition of the screen.
  • the first display interface of the program performs scaling processing on the display interface to obtain a second display interface adapted to the screen size before the screen adjustment operation; while displaying the third image, the second display interface is displayed under the third image, and the second display interface is displayed under the third image.
  • the third image and the second display interface are controlled to perform scaling processing through the system animation view, so that the sizes of the third image and the second display interface are adapted to the screen size.
  • the transition animation is implemented at the system level.
  • this method can also realize the transition of the screen, the fluency and adaptability to the display content may be low.
  • the acquired display content in the first display interface may still be It is at the beginning of the adjustment operation, so this solution can only be used in scenarios where the foreground application is not suitable.
  • the transition animation that adapts to the application content through the application-level settings has higher fluency and adaptability to the content. The user can intuitively feel the infinite display of the displayed content in the screen expansion and contraction, and there will be no splash screen and Display defects such as blurry and ghosting.
  • Embodiments of the present application further provide a display control device, the device comprising:
  • a program determination module configured to determine a foreground application when it is detected that the electronic device starts to perform a screen adjustment operation, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • An animation playing module for controlling the foreground application to play a transition animation during the execution of the screen adjustment operation, wherein the size of the displayed content of the transition animation is dynamically adjusted as the screen size changes, so that all The display content is adapted to the screen size;
  • the window drawing module is used to redraw and display the window of the foreground application program according to the screen size after the screen adjustment operation when the screen adjustment operation is terminated.
  • the window drawing module is further configured to:
  • the display content of the transition animation is drawn in real time according to the display screen of the foreground application.
  • the animation playback module is further configured to take a screenshot of the display image of the current screen to obtain the first image when it is detected that the electronic device starts to perform a screen adjustment operation;
  • the window drawing module is further configured to:
  • the display of the second image is terminated, and the redrawn window of the foreground application is displayed.
  • the window drawing module is further configured to:
  • the foreground application is controlled to play a transition animation in the window of the target size during the execution of the screen adjustment operation.
  • the screen adjustment operation is a scaling operation
  • the scaling operation includes a stretching operation and a shrinking operation
  • the window drawing module is further configured to:
  • the screen adjustment operation is a stretching operation, determining the first screen display size after the stretching operation is completed, and setting the first screen display size as the target size of the window of the foreground application;
  • the screen adjustment operation is a shrinking operation
  • the second screen size before the shrinking operation is acquired, and the second screen size is set as the target size of the window of the foreground application.
  • the animation playback module is further used for:
  • the third image and the second display interface are controlled to perform scaling processing through the system animation view, so that the sizes of the third image and the second display interface are the same as those of the screen. Size adaptation, wherein, during the scaling process, the transparency of the third image is adjusted from 100% to 0, and the transparency of the second display interface is adjusted from 0 to 100%.
  • the animation playback module is further used for:
  • a display control device is also provided.
  • FIG. 8 is a schematic structural diagram of a display control apparatus 300 according to an embodiment of the present application.
  • the display control device 300 is applied to electronic equipment, and the display control device 300 includes a program determination module 301, an animation playback module 302 and a window drawing module 303, as follows:
  • a program determination module 301 configured to determine a foreground application when it is detected that the electronic device starts to perform a screen adjustment operation, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • the animation playing module 302 is configured to control the foreground application to play a transition animation during the execution of the screen adjustment operation, wherein the size of the displayed content of the transition animation is dynamically adjusted as the screen size changes, so that The display content is adapted to the screen size;
  • the window drawing module 303 is configured to redraw and display the window of the foreground application program according to the screen size after the screen adjustment operation when the screen adjustment operation is terminated.
  • the display control device provided by the embodiment of the present application and the display control method in the above embodiments belong to the same concept, and any method provided in the display control method embodiment can be implemented by the display control device.
  • any method provided in the display control method embodiment can be implemented by the display control device.
  • the display control device proposed by the embodiment of the present application realizes the transition effect through animation during the period of screen adjustment, so as to avoid switching from a large screen to a small screen or from a small screen to a large screen.
  • the sudden change caused by the change of the size of the display interface realizes the smooth transition of the display interface.
  • FIG. 9 is a first structural schematic diagram of an electronic device provided by an embodiment of the present application.
  • Electronic device 400 includes processor 401 and memory 402 .
  • the processor 401 is electrically connected to the memory 402 .
  • the processor 401 is the control center of the electronic device 400, uses various interfaces and lines to connect various parts of the entire electronic device, executes the electronic device by running or calling the computer program stored in the memory 402, and calling the data stored in the memory 402. Various functions of the device and processing data, so as to carry out the overall monitoring of the electronic device.
  • Memory 402 may be used to store computer programs and data.
  • the computer program stored in the memory 402 contains instructions executable in the processor.
  • a computer program can be composed of various functional modules.
  • the processor 401 executes various functional applications and data processing by calling the computer program stored in the memory 402 .
  • the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and is executed by the processor 401 and stored in the memory 402
  • a computer program in which implements various functions:
  • a foreground application is determined, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • the window of the foreground application is redrawn and displayed according to the screen size after the screen adjustment operation.
  • FIG. 10 is a schematic diagram of a second structure of the electronic device provided by the embodiment of the present application.
  • the electronic device 400 further includes: a radio frequency circuit 403 , a flexible display screen 404 , a control circuit 405 , an input unit 406 , an audio circuit 407 , a sensor 408 and a power supply 409 .
  • the processor 401 is electrically connected to the radio frequency circuit 403 , the flexible display screen 404 , the control circuit 405 , the input unit 406 , the audio circuit 407 , the sensor 408 and the power supply 409 respectively.
  • the radio frequency circuit 403 is used to send and receive radio frequency signals to communicate with network equipment or other electronic equipment through wireless communication.
  • the flexible display screen 404 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device, which may be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 405 is electrically connected to the flexible display screen 404 for controlling the flexible display screen 404 to display information.
  • Input unit 406 may be used to receive input numbers, character information, or user characteristic information (eg, fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control.
  • the input unit 406 may include a fingerprint identification module.
  • the audio circuit 407 may provide an audio interface between the user and the electronic device through speakers and microphones.
  • the audio circuit 407 includes a microphone.
  • the microphone is electrically connected to the processor 401 .
  • the microphone is used for receiving voice information input by the user.
  • the sensor 408 is used to collect external environment information.
  • Sensors 408 may include one or more of ambient brightness sensors, acceleration sensors, gyroscopes, and the like.
  • Power supply 409 is used to power various components of electronic device 400 .
  • the power supply 409 may be logically connected to the processor 401 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption through the power management system.
  • the electronic device 400 may further include a camera, a Bluetooth module, and the like, which will not be repeated here.
  • the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and is executed by the processor 401 and stored in the memory 402
  • a computer program in which implements various functions:
  • a foreground application is determined, wherein the screen adjustment operation is used to adjust the screen size of the flexible display screen;
  • the window of the foreground application is redrawn and displayed according to the screen size after the screen adjustment operation.
  • the embodiment of the present application provides an electronic device, the electronic device realizes a transition effect through animation during the period of screen adjustment, so as to avoid switching from a large screen to a small screen or from a small screen to a large screen.
  • the sudden change caused by the change of the size of the display interface In the process of displaying the screen, the sudden change caused by the change of the size of the display interface.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, the computer executes the method described in any of the foregoing embodiments. Displays the control method.
  • the computer-readable storage medium may include, but is not limited to: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种显示控制方法、装置、存储介质及电子设备,其中,当检测到电子设备开始执行屏幕调整操作时,确定前台应用程序(101);控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画(102);当屏幕调整操作终止时,按照屏幕调整操作后的屏幕尺寸,对前台应用程序的窗口进行重新绘制和显示(103),实现显示界面的流畅转换。

Description

显示控制方法、装置、存储介质及电子设备
本申请要求于2020年11月16日提交中国专利局、申请号为202011281034.4、申请名称为“显示控制方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,具体涉及一种显示控制方法、装置、存储介质及电子设备。
背景技术
随着电子设备技术的发展,智能手机、平板电脑等智能终端的显示屏都呈趋大化发展,因为更大的显示屏能够呈现更丰富的内容,使得人机交互更加逼真、更有效率,带来更棒的用户体验;同时,为了使能更容易的携带智能终端,因此诞生了可折叠终端、柔性屏终端,在极大程度上满足了大显示屏的智能终端的便携性需求。
发明内容
本申请实施例提供一种显示控制方法、装置、存储介质及电子设备,能够在调整柔性显示屏的屏幕尺寸的过程中,实现显示界面的流畅转换。
第一方面,本申请实施例提供一种显示控制方法,应用于包含有柔性显示屏的电子设备,该方法包括:
当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
第二方面,本申请实施例还提供一种显示控制装置,应用于包含有柔性显示屏的电子设备,该装置包括:
程序确定模块,用于当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
动画播放模块,用于控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
窗口绘制模块,用于当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
第三方面,本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的显示控制方法。
第四方面,本申请实施例还提供一种电子设备,包括处理器和存储器,所述存储器有计算机程序,所述处理器通过调用所述计算机程序,用于执行如本申请任一实施例提供的显示控制方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本 领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施方式的电子设备的结构示意图。
图2是本申请实施方式的电子设备的另一结构示意图。
图3是本申请实施方式的电子设备的立体分解示意图。
图4是图1中的电子设备沿V1-V1的剖视图。
图5是图2中的电子设备沿V2-V2的剖视图。
图6为本申请实施例提供的显示控制方法的第一种流程示意图。
图7a为本申请实施例提供的显示控制方法中显示屏拉伸操作开始时的界面示意图。
图7b为本申请实施例提供的显示控制方法中显示屏拉伸操作进行中的界面示意图。
图7c为本申请实施例提供的显示控制方法中显示屏拉伸操作终止时的界面示意图。
图8为本申请实施例提供的显示控制装置的结构示意图。
图9为本申请实施例提供的电子设备的第一种结构示意图。
图10为本申请实施例提供的电子设备的第二种结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例提供一种显示控制方法,该显示控制方法的执行主体可以是本申请实施例提供的显示控制装置,或者集成了该显示控制装置的电子设备,其中该显示控制装置可以采用硬件或者软件的方式实现。
本申请实施例提供一种显示控制方法,应用于包含有柔性显示屏的电子设备,包括:
当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
在一些实施例中,在所述过渡动画的播放过程中,根据所述前台应用程序的显示画面实时绘制所述过渡动画的显示内容。
在一些实施例中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画之前,还包括:
当检测到所述电子设备开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第一图像;
所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,包括:
显示所述第一图像,并控制所述前台应用程序绘制过渡动画;
当所述过渡动画绘制完成时,终止所述第一图像的显示,并播放所述过渡动画直至所述屏幕调整操作终止。
在一些实施例中,所述当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示,包括:
当所述屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像;
显示所述第二图像,并按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新布局和绘制;
在重新绘制完成后,终止所述第二图像的显示,并显示重新绘制的所述前台应用程序的窗口。
在一些实施例中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,包括:
确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中,在所述目标尺寸的窗口内播放过渡动画。
在一些实施例中,所述屏幕调整操作为伸缩操作,所述伸缩操作包括拉伸操作和收缩操作;
所述确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸,包括:
当所述屏幕调整操作为拉伸操作时,确定所述拉伸操作完成后的第一屏幕显示尺寸,将所述第一屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
当所述屏幕调整操作为收缩操作时,获取所述收缩操作前的第二屏幕尺寸,将所述第二屏幕尺寸设置为所述前台应用程序的窗口的目标尺寸。
在一些实施例中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画之前,还包括:
检测所述前台应用程序应用是否支持过渡动画的适配播放;
若是,则执行所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画;
若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
获取所述屏幕调整操作后的前台应用程序的第一显示界面,对所述显示界面进行缩放处理,得到与所述屏幕调整操作前的屏幕尺寸适配的第二显示界面;
显示所述第三图像,并将所述第二显示界面显示在所述第三图像之下;
在所述屏幕调整操作的执行过程中,通过系统动画视图控制所述第三图像和所述第二显示界面进行缩放处理,以使所述第三图像和所述第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,所述第三图像的透明度由100%调整为0,将所述第二显示界面的透明度由0调整为100%。
在一些实施例中,所述检测所述前台应用程序应用是否支持过渡动画的适配播放,包括:
检测所述前台应用程序向应用框架层发送的窗口创建请求中是否携带有预设标识,其中,是则判定所述前台应用程序支持过渡动画的适配播放,否则判定所述前台应用程序不支持过渡动画的适配播放。
本申请实施例提供一种显示控制方法,该方法应用于包含有柔性显示屏的电子设备。该柔性显示屏可以通过弯折或者伸缩改变显示区域的大小。例如,柔性显示屏为折叠屏,通过弯折操作控制电子设备由大屏切换到小屏,通过伸展操作控制电子设备由小屏切换到大屏。又例如,柔性显示屏为伸缩屏,通过拉伸操作控制电子设备由小屏切换到大屏,通 过收缩操作控制电子设备由大屏切换到小屏。接下来,以柔性显示屏为伸缩屏为例对本申请的显示控制方法进行说明。
请参阅图1,图1为本申请实施例提供的电子设备的第一种结构示意图。其中,电子设备可以是智能手机、平板电脑、掌上电脑、笔记本电脑、或者台式电脑等设备。在图1的示例中,该电子设备具有柔性显示屏,该柔性显示屏的一端设置在卷轴上,使得部分柔性显示屏可以卷绕在卷轴,卷轴可用于卷收柔性显示屏和释放柔性显示屏,从而扩展柔性显示屏组件的显示部分。柔性显示屏可以沿着垂直于卷轴的方向进行伸展或者收缩。例如,请参阅图2,图2为本申请实施例提供的电子设备的第二种结构示意图。图2中所示的电子设备,其柔性显示屏处于伸展状态。用户在需要使用大屏幕时可以扩展柔性显示屏的显示部分以提高用户的操作体验,同时,在不需要使用大屏幕时,可以不对显示部分进行扩展,从而使得整机尺寸较小,方便携带。
需要说明的是,上述图示1的柔性显示屏的伸缩方向仅为举例说明,在其他实施例中,柔性显示屏也可以设置为沿着用户竖直握持设备时的竖直方向伸缩。
电子设备在检测到开始进行伸缩操作时,确定前台应用程序,控制该前台应用程序在屏幕调整操作的执行过程中播放过渡动画,通过动画实现过渡效果,避免在由大屏切换到小屏或者由小屏切换到大屏的过程中,由于显示界面尺寸的变化而导致的突变。
请结合图1至图3,本实施方式的电子设备100包括壳体组件10、柔性显示屏30、带动件50及驱动机构70。
壳体组件10为中空结构;带动件50、驱动机构70以及摄像头60等组件均可设置在壳体组件10。可以理解的是,本申请实施方式的电子设备100包括但不限于手机、平板电脑等移动终端或者其它便携式电子设备,在本文中,以电子设备100为手机为例进行说明。
在本实施方式中,壳体组件10包括第一壳体12和第二壳体14,第一壳体12和第二壳体14能够相对运动。具体的,在本实施方式中,第一壳体12和第二壳体14滑动连接,也即是说,第二壳体14能够相对第一壳体12滑动。
具体的,请参阅图4及图5,第一壳体12与第二壳体14共同形成有容置空间16。容置空间16可用于放置带动件50、摄像头60及驱动机构70等部件。壳体组件10还可包括后盖18,后盖18与第一壳体12与第二壳体14共同形成容置空间16。
带动件50设置于第二壳体14,柔性显示屏30的一端设置于第一壳体12,柔性显示屏30绕过带动件50,且柔性显示屏的另一端设置于容置空间16内,以使部分柔性显示屏隐藏于容置空间16内,隐藏于容置空间16内的部分柔性显示屏30可不点亮。第一壳体12和第二壳体14相对远离时,可通过带动件50带动柔性显示屏30展开,以使得更多的柔性显示屏30暴露于容置空间16外。点亮柔性显示屏30暴露于容置空间16外部的部分,以使得电子设备100所呈现的显示区域变大。
带动件50具体可为外部带有齿52的转轴结构,柔性显示屏30通过啮合等方式与带动件50相联动,第一壳体12和第二壳体14相对远离时,通过带动件50带动啮合于带动件50上的部分柔性显示屏30移动并展开。
可以理解,带动件50还可为不附带齿52的圆轴,第一壳体12和第二壳体14相对远离时,通过带动件50将卷绕(绕设)于带动件50上的部分柔性显示屏30撑开,以使更多的柔性显示屏暴露于容置空间16外,并处于平展状态。具体的,带动件50可转动地设置于第二壳体14,在逐步撑开柔性显示屏30时,带动件50可随柔性显示屏30的移动而转动。在其它实施例中,带动件50也可固定在第二壳体14上,带动件50具备光滑的表面。在将柔性显示屏30撑开时,带动件50通过其光滑的表面与柔性显示屏30可滑动接触。
当第一壳体12和第二壳体14相对靠近时,柔性显示屏可通过带动件50带动收回。或 者,电子设备100还包括复位件(图未示),柔性显示屏收容于容置空间16的一端与复位件联动,在第一壳体12和第二壳体14相对靠近时,复位件带动柔性显示屏30复位,进而使得部分柔性显示屏收回于容置空间16内。
在本实施方式中,驱动机构70可设置在容置空间16内,驱动机构70可与第二壳体14相联动,驱动机构70用于驱动第二壳体14相对于第一壳体12做相离运动,进而带动柔性显示屏组件30伸展。可以理解,驱动机构70也可以省略,用户可以直接通过手动等方式来使得第一壳体和第二壳体相对运动。
请参阅图6,图6为本申请实施例提供的显示控制方法的第一种流程示意图。本申请实施例提供的显示控制方法的具体流程可以如下:
在101中,当检测到电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,屏幕调整操作用于调整柔性显示屏的屏幕尺寸。
需要说明的是,本申请实施例中的应用程序是一种广义上的应用程序,不仅包括用户自行安装的第三方应用程序,如微信、音频播放器等APP(Application,应用程序),也可以是一些系统级应用程序,如桌面、通知栏、锁屏桌面等都包含在本申请所定义的应用程序内。
本申请实施例中,当检测到电子设备开始执行屏幕调整操作时,确定前台运行的是哪一个应用。其中,当柔性显示屏收缩时,屏幕尺寸会减小,即显示屏的显示区域会减小。
例如,假设电子设备当前处于大屏状态,用户按照预设操作触发了收缩指令,电子设备在检测到将收缩指令时,开始执行屏幕调整操作,此时的屏幕调整操作为收缩操作。与此同时,电子设备确定出前台应用程序,假设当前的前台应用程序为视频播放器,用户正在使用该视频播放器观看视频。
在102中,控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画,其中,过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使显示内容与屏幕尺寸适配。
确定前台应用程序的过程在非常短的时间内就可以执行完毕,几乎可以忽略不计,并且可以一检测到收缩指令,就执行确定前台应用程序的操作。在确定出前台应用程序后,控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画。
需要说明的是,该实施例中的过渡动画不是由系统动画来播放,而是需要该前台应用程序预先设置有适配的过渡动画,该过渡动画用于在屏幕伸缩的场景进行播放。并且,该过渡动画的一些播放参数与要与伸缩操作的参数适配,以实现过渡动画的播放时长刚好等于屏幕调整操作的时长,并且过渡动画的显示内容的尺寸也能够随着屏幕尺寸的改变而适应性的动态调整。基于此,该前台应用程序的开发人员在设计该应用程序时,需要根据该电子设备的收缩操作的一些参数,比如显示屏的收缩速度、收缩操作的时长,收缩操作前后的屏幕尺寸的大小等,来设置过渡动画的相关参数。
比如,用户触发收缩指令后,电子设备在1秒钟内由大屏缩至小屏,那么过渡动画的播放时长也要设置为1秒。此外,收缩操作前后的屏幕尺寸的大小是固定的,也就是说,一旦用户在大屏状态下触发了收缩指令,那么电子设备在当前的屏幕大小下只能收缩至特定的屏幕大小,因此,过渡动画结束时的显示内容的尺寸需要与显示屏收缩后的屏幕尺寸一致,而过渡动画开始的显示内容的尺寸需要与显示屏收缩前的幕尺寸一致,过渡动画播放过程中窗口尺寸的缩小速度也与显示屏的收缩速度一致。
除了上述参数之外,过渡动画可以由不同的应用根据需要自行定制需要显示的内容以及动画效果。
例如,在一实施例中,动画的效果和显示内容都是预先设置的,比如可以根据该应用程序的特征设置过渡动画在播放时具体展示的内容以及动画的效果,该显示内容可以与前 台应用程序的实际显示内容无关,应用程序的开发人员可以根据需要设置,例如,可以是特定的图像、文字、动态图等,以增加人机界面交互的趣味性。
又例如,在另一实施例中,在过渡动画的播放过程中,根据前台应用程序的显示画面实时绘制过渡动画的显示内容。该实施例中,过渡动画的动画效果可以是预先设置的,但是其动画中具体展示的显示内容是在动画的播放过程中,根据前台应用程序的实际显示画面实时绘制的。此处为了便于读者理解该方案,以前台应用程序为视频播放器举例一具体场景进行说明。用户在前台使用视频播放器播放视频,然后,用户触发了收缩指令,则在柔性显示屏执行收缩操作的过程中,过渡动画的对象为视频播放窗口以及视频播放窗口中的显示内容,动画效果为:随着显示屏的屏幕大小的减小,适应性地缩小视频播放窗口,也即屏幕缩小的过程中,视频播放窗口始终与屏幕大小相同。而随着视频播放窗口的缩小,对视频画面实时绘制并显示在视频播放窗口中,并且显示的视频画面也随着视频窗口的缩小而缩小。对于用户来说,可以看到的效果是:在显示屏的收缩过程中,视频播放窗口随着收缩操作变小,而窗口显示的视频内容正常播放但随着窗口适应性变小,不影响用户观看视频。
上文中以柔性显示屏的收缩为例对过渡动画进行了说明。可以理解的是,如果屏幕调整操作为拉伸操作,按照与收缩相同的原理进行动画的播放,只是在屏幕拉伸的过程中,视频播放窗口随着收缩操作变大,而窗口显示的视频内容正常播放但随着窗口适应性变大,不影响用户观看视频。
在103中,当屏幕调整操作终止时,按照屏幕调整操作后的屏幕尺寸,对前台应用程序的窗口进行重新绘制和显示。
上文的实施例中,过渡动画的播放过程中,即使动画窗口内显示的内容与应用程序的显示界面相同,但是这些显示界面也是作为动画内容在显示,当动画播放完毕退出动画窗口后,也就是在屏幕调整操作终止时,仍然需要按照屏幕调整操作的屏幕尺寸对该前台应用程序的窗口进行重新绘制并显示。
此外,视频播放器仅为举例说明,并不构成对本方案的限制。
对于一些显示界面为静态界面的应用程序来说,例如系统桌面等应用程序,也可以根据显示界面设置适配的过渡动画。比如,前台应用程序为系统桌面,动画效果为系统桌面的界面大小跟随屏幕的收缩或者拉伸适应性的变化,过渡动画的显示内容桌面上的图标(或插件)随着系统桌面的界面大小的改变而实时改变其大小和/或位置。但是这种变化并不是通过修改窗口管理服务的相关参数来实现的,而是根据预先设置的动画参数来实现的,过渡动画的窗口大小跟随屏幕的收缩或者拉伸适应性的变化,同时,根据动画窗口变化实时绘制窗口内显示的系统桌面上的图标(或插件)。
请参阅图7a、图7b和图7c,图7a为本申请实施例提供的显示控制方法中显示屏拉伸操作开始时的界面示意图,图7b为本申请实施例提供的显示控制方法中显示屏拉伸操作进行中的界面示意图,图7c为本申请实施例提供的显示控制方法中显示屏拉伸操作终止时的界面示意图。为了便于读者理解方案,此处以某即时通讯应用程序的聊天界面为例,该应用程序的过渡动画播放过程中,过渡动画的显示内容为拉伸操作过程中该聊天界面的实际内容、动画效果为聊天界面的窗口随着屏幕的横向拉伸而逐渐边框。并且,由于动画内容为实时绘制的,即使在拉伸过程中接收到了信息的信息,也能够及时地显示在界面上。与此同时,随着屏幕的宽度变大,界面中的控件的位置会随着屏幕的拉伸而改变,例如,控件之间的间距变大,聊天窗口中的信息在每一行可以显示更多的字数。
通过上述方案,在屏幕调整的这段时间内,通过运行在前台的应用程序播放动画来实现过渡效果,避免在由大屏切换到小屏或者由小屏切换到大屏的过程中由于显示界面尺寸 的变化而导致的突变,实现显示界面的流畅转换。
可选的,在一实施例中,控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画的步骤之前,还包括:当检测到电子设备开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第一图像;
控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画的步骤,包括:显示第一图像,并控制前台应用程序绘制过渡动画;当过渡动画绘制完成时,终止第一图像的显示,并播放过渡动画直至屏幕调整操作终止。
前台应用程序在由当前显示界面切换至动画窗口时,需要对动画进行绘制,可能会出现闪屏,为了避免这一现象,在播放过渡动画之前,当检测到电子设备开始执行屏幕调整操作时,先对当前屏幕的显示画面进行截屏,得到第一图像,将第一图像显示在当前界面上。也就是说,将第一图像覆盖在前台应用程序的窗口之上进行显示,在第一图像之下,电子设备控制前台应用程序绘制过渡动画。在这个过程中,过渡动画的绘制过程对于用户来说是不可见的,在过渡动画进行绘制的同时,用户可以看到的是显示在前台应用程序之上的第一图像,这种情况下不会有闪屏发生。而若过渡动画绘制完成,则终止第一图像的显示,同时开始播放过渡动画直至屏幕调整操作终止。
可以理解的是,“播放过渡动画直至屏幕调整操作终止”以及“在屏幕调整操作的执行过程中播放过渡动画”都是指,过渡动画需要在屏幕调整操作开始的时刻开始播放,并且需要在屏幕调整操作终止的时刻完成播放,也就是前文所强调的过渡动画的时长等于屏幕调整操作的时长。
可选的,在一实施例中,当屏幕调整操作终止时,按照屏幕调整操作后的屏幕尺寸,对前台应用程序的窗口进行重新绘制和显示的步骤,包括:
当屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像;
显示第二图像,并按照屏幕调整操作后的屏幕尺寸,对前台应用程序的窗口进行重新布局和绘制;
在重新绘制完成后,终止第二图像的显示,并显示重新绘制的前台应用程序的窗口。
在动画播放完成后,前台应用程序退出动画的播放画面切换到正常的显示界面时,可能会出现闪屏现象。根据与上一实施例类似的原理,为了避免这种闪屏,在屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像,将第二图像显示在当前界面上,也就是说,将第二图像覆盖在前台应用程序的窗口之上进行显示。在第二图像之下,前台应用程序完成对由动画播放画面到正常的显示界面的切换,这个过程中,按照屏幕调整操作完成后的屏幕尺寸对前台应用程序的窗口进行重新布局和绘制,在重新绘制完成后,终止第二图像的显示,同时显示重新绘制的前台应用程序的窗口。在第二图像的显示过程中,动画播放画面到正常的显示界面的切换过程对用户来说是不可见的。用户可以看到的是显示在前台应用程序之上的第二图像,这种情况下不会有闪屏发生。
可选的,在一实施例中,还可以结合前述两个实施例,在屏幕调整操作开始时截屏得到第一图像,将第一图像显示在当前界面上。在第一图像之下,电子设备控制前台应用程序绘制过渡动画。在屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像,将第二图像显示在当前界面上,在第二图像之下,前台应用程序完成对由动画播放画面到正常的显示界面的切换。通过该实施例的方案,将系统和应用程序适配结合,在屏幕的伸缩过程中,随着显示屏幕的伸缩(屏幕大小随之改变)改变绘制内容,从应用层面实现了显示界面的无极调节。
可选的,在一实施例中,控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画的步骤,包括:
确定屏幕调整操作过程中的最大屏幕显示尺寸,将最大屏幕显示尺寸设置为前台应用程序的窗口的目标尺寸;
控制前台应用程序在屏幕调整操作的执行过程中,在目标尺寸的窗口内播放过渡动画。
对于拉伸操作(或伸展操作)来说,屏幕调整操作过程中的最大屏幕显示尺寸为拉伸操作完成时的屏幕尺寸,对于收缩操作(弯折操作)来说,屏幕调整操作过程中的最大屏幕显示尺寸为收缩操作开始时的屏幕尺寸。
例如,在一实施例中,确定屏幕调整操作过程中的最大屏幕显示尺寸,将最大屏幕显示尺寸设置为前台应用程序的窗口的目标尺寸的步骤,包括:当屏幕调整操作为拉伸操作时,确定拉伸操作完成后的第一屏幕显示尺寸,将第一屏幕显示尺寸设置为前台应用程序的窗口的目标尺寸;当屏幕调整操作为收缩操作时,获取收缩操作前的第二屏幕尺寸,将第二屏幕尺寸设置为前台应用程序的窗口的目标尺寸。
以收缩操作为例,假设将该收缩操作将1920*1920的屏幕大小调节为1920*1080的屏幕大小,当收缩操作开始时,系统向前台应用程序发送第一指示信息,该第一指示信息指示前台应用程序仍然按照收缩前的1920*1920来绘制窗口的大小。随着显示屏的横向收缩,屏幕的宽度逐渐缩小,从1920缩小至1080,但是对于前台应用程序来说,其“逻辑屏幕”的大小仍然为1920*1920,一直到收缩操作结束,动画播放完成后,系统再调整窗口管理服务中的窗口尺寸参数,使得前台应用程序的窗口调整为1920*1080,此时,应用程序再根据调整后的窗口尺寸参数重新布局,按照重新布局后的窗口对该前台应用程序进行绘制和显示。也就是说,本实施例中,系统为应用程序提供了可以将应用程序的窗口显示到物理屏幕之外的能力,也就是说,“逻辑屏幕”可以大于物理屏幕。在屏幕缩小的过程中,应用程序窗口尺寸参数并未减小,过渡动画的显示内容的尺寸小于“逻辑屏幕”尺寸。“逻辑屏幕”始终为1920*1920,而过渡动画的显示内容随着物理屏幕的缩小逐渐由1920*1920缩小至1920*1080。
反之,对于拉伸操作来说,是屏幕尺寸由小到大的过程。假设将该拉伸操作将1920*1080的屏幕大小调节为1920*1920的屏幕大小。当拉伸操作开始时,系统调整窗口管理服务中的窗口尺寸参数,使得前台应用程序的窗口调整为1920*1920。并且系统向前台应用程序发送第二指示信息,该第二指示信息指示前台应用程序按照拉伸后的1920*1920来绘制过渡动画的窗口的大小。此时,物理屏幕的大小仍然为1920*1080,只是系统为应用程序提供了可以将应用程序的窗口显示到物理屏幕之外的能力,使得“逻辑屏幕”大于物理屏幕。在屏幕拉伸过程中,应用程序窗口尺寸参数保持不变,过渡动画的显示内容的尺寸由1920*1080逐渐变化为等于1920*1920。
可以理解的是,上文实施例中,要想实现在伸缩屏幕时,由前台应用程序播放过渡动画,需要应用程序在开发时就设置为支持过渡动画的适配播放。而对于一些可能在开发时没有做适配设计的应用程序来说,也需要一种能够过渡的动画效果。
示例性地,在一实施例中,控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画的步骤之前,该方法还可以包括:
检测前台应用程序应用是否支持过渡动画的适配播放;
若是,则执行控制前台应用程序在屏幕调整操作的执行过程中播放过渡动画;
若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
获取屏幕调整操作后的前台应用程序的第一显示界面,对显示界面进行缩放处理,得到与屏幕调整操作前的屏幕尺寸适配的第二显示界面;
显示第三图像,并将第二显示界面显示在第三图像之下;
在屏幕调整操作的执行过程中,通过系统动画视图控制第三图像和第二显示界面进行 缩放处理,以使第三图像和第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,第三图像的透明度由100%调整为0,将第二显示界面的透明度由0调整为100%。
该实施例中,系统通过检测前台应用程序向应用框架层发送的窗口创建请求中是否携带有预设标识来判断前台应用程序是否进行了过渡动画的适配。如果应用程序在开发时就设置为支持过渡动画的适配播放,则在其向应用框架层发送的窗口创建请求中增加一个标志位,用于表示其支持过渡动画的适配播放。反之,如果系统检测到窗口创建请求中没有携带该标识,则判定前台应用程序不支持过渡动画的适配播放。此时,可以通过系统层面进行一些动画的设置来实现画面的流畅过渡,比如,开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第三图像;获取屏幕调整操作后的前台应用程序的第一显示界面,对显示界面进行缩放处理,得到与屏幕调整操作前的屏幕尺寸适配的第二显示界面;显示第三图像的同时在第三图像之下显示第二显示界面,在屏幕调整操作的执行过程中,通过系统动画视图控制第三图像和第二显示界面进行缩放处理,以使第三图像和第二显示界面的大小与屏幕尺寸适配,比如拉伸操作下,则同时控制第三图像和第二显示界面随着屏幕的拉伸而拉伸,其中,在缩放处理过程中,第三图像的透明度由100%调整为0,将第二显示界面的透明度由0调整为100%,逐渐使第三图像消失,将其的第二显示界面显示出来。
本实施例通过系统层面实现过渡动画,这种方式虽然也可以实现画面的过渡,但是流畅性以及对显示内容的适配性可能较低,比如,获取到的第一显示界面中显示内容可能仍然是调整操作开始时的,因此,该方案可以仅用于前台应用不适配的场景下。而上文中通过应用层面设置适配应用内容的过渡动画具有更高的流畅度,以及与内容的适配性,用户可以直观地感受到屏幕伸缩中显示内容的无极显示,不会有闪屏和画面模糊、重影等显示缺陷。
本申请实施例还提供一种显示控制装置,所述装置包括:
程序确定模块,用于当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
动画播放模块,用于控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
窗口绘制模块,用于当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
在一些实施例中,所述窗口绘制模块,还用于:
在所述过渡动画的播放过程中,根据所述前台应用程序的显示画面实时绘制所述过渡动画的显示内容。
在一些实施例中,所述动画播放模块,还用于当检测到所述电子设备开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第一图像;以及
显示所述第一图像,并控制所述前台应用程序绘制过渡动画;
当所述过渡动画绘制完成时,终止所述第一图像的显示,并播放所述过渡动画直至所述屏幕调整操作终止。
在一些实施例中,所述窗口绘制模块,还用于:
当所述屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像;
显示所述第二图像,并按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新布局和绘制;
在重新绘制完成后,终止所述第二图像的显示,并显示重新绘制的所述前台应用程序 的窗口。
在一些实施例中,所述窗口绘制模块,还用于:
确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中,在所述目标尺寸的窗口内播放过渡动画。
在一些实施例中,所述屏幕调整操作为伸缩操作,所述伸缩操作包括拉伸操作和收缩操作;所述窗口绘制模块,还用于:
当所述屏幕调整操作为拉伸操作时,确定所述拉伸操作完成后的第一屏幕显示尺寸,将所述第一屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
当所述屏幕调整操作为收缩操作时,获取所述收缩操作前的第二屏幕尺寸,将所述第二屏幕尺寸设置为所述前台应用程序的窗口的目标尺寸。
在一些实施例中,所述动画播放模块,还用于:
检测所述前台应用程序应用是否支持过渡动画的适配播放;
若是,则执行所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画;
若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
获取所述屏幕调整操作后的前台应用程序的第一显示界面,对所述显示界面进行缩放处理,得到与所述屏幕调整操作前的屏幕尺寸适配的第二显示界面;
显示所述第三图像,并将所述第二显示界面显示在所述第三图像之下;
在所述屏幕调整操作的执行过程中,通过系统动画视图控制所述第三图像和所述第二显示界面进行缩放处理,以使所述第三图像和所述第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,所述第三图像的透明度由100%调整为0,将所述第二显示界面的透明度由0调整为100%。
在一些实施例中,所述动画播放模块,还用于:
检测所述前台应用程序向应用框架层发送的窗口创建请求中是否携带有预设标识,其中,是则判定所述前台应用程序支持过渡动画的适配播放,否则判定所述前台应用程序不支持过渡动画的适配播放。
在一实施例中还提供一种显示控制装置。请参阅图8,图8为本申请实施例提供的显示控制装置300的结构示意图。其中该显示控制装置300应用于电子设备,该显示控制装置300包括程序确定模块301、动画播放模块302以及窗口绘制模块303,如下:
程序确定模块301,用于当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
动画播放模块302,用于控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
窗口绘制模块303,用于当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
应当说明的是,本申请实施例提供的显示控制装置与上文实施例中的显示控制方法属于同一构思,通过该显示控制装置可以实现显示控制方法实施例中提供的任一方法,其具体实现过程详见显示控制方法实施例,此处不再赘述。
由上可知,本申请实施例提出的显示控制装置,在屏幕调整的这段时间内,通过动画实现过渡效果,避免在由大屏切换到小屏或者由小屏切换到大屏的过程中,由于显示界面 尺寸的变化而导致的突变,实现显示界面的流畅转换。
本申请实施例还提供一种电子设备。所述电子设备可以是智能手机、平板电脑等设备。请参阅图9,图9为本申请实施例提供的电子设备的第一种结构示意图。电子设备400包括处理器401和存储器402。其中,处理器401与存储器402电性连接。
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或调用存储在存储器402内的计算机程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
存储器402可用于存储计算机程序和数据。存储器402存储的计算机程序中包含有可在处理器中执行的指令。计算机程序可以组成各种功能模块。处理器401通过调用存储在存储器402的计算机程序,从而执行各种功能应用以及数据处理。
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的计算机程序,从而实现各种功能:
当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
在一些实施例中,请参阅图10,图10为本申请实施例提供的电子设备的第二种结构示意图。电子设备400还包括:射频电路403、柔性显示屏404、控制电路405、输入单元406、音频电路407、传感器408以及电源409。其中,处理器401分别与射频电路403、柔性显示屏404、控制电路405、输入单元406、音频电路407、传感器408以及电源409电性连接。
射频电路403用于收发射频信号,以通过无线通信与网络设备或其他电子设备进行通信。
柔性显示屏404可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。
控制电路405与柔性显示屏404电性连接,用于控制柔性显示屏404显示信息。
输入单元406可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元406可以包括指纹识别模组。
音频电路407可通过扬声器、传声器提供用户与电子设备之间的音频接口。其中,音频电路407包括麦克风。所述麦克风与所述处理器401电性连接。所述麦克风用于接收用户输入的语音信息。
传感器408用于采集外部环境信息。传感器408可以包括环境亮度传感器、加速度传感器、陀螺仪等传感器中的一种或多种。
电源409用于给电子设备400的各个部件供电。在一些实施例中,电源409可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
虽然图中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上 的计算机程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的计算机程序,从而实现各种功能:
当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
由上可知,本申请实施例提供了一种电子设备,所述电子设备在屏幕调整的这段时间内,通过动画实现过渡效果,避免在由大屏切换到小屏或者由小屏切换到大屏的过程中,由于显示界面尺寸的变化而导致的突变。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的显示控制方法。
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可以存储于计算机可读存储介质中,所述计算机可读存储介质可以包括但不限于:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
此外,本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是某些实施例还包括没有列出的步骤或模块,或某些实施例还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。
以上对本申请实施例所提供的显示控制方法、装置、存储介质及电子设备进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种显示控制方法,其中,应用于包含有柔性显示屏的电子设备,所述方法包括:
    当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
    控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
    当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
  2. 如权利要求1所述的显示控制方法,其中,所述方法还包括:
    在所述过渡动画的播放过程中,根据所述前台应用程序的显示画面实时绘制所述过渡动画的显示内容。
  3. 如权利要求2所述的显示控制方法,其中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画之前,还包括:
    当检测到所述电子设备开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第一图像;
    所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,包括:
    显示所述第一图像,并控制所述前台应用程序绘制过渡动画;
    当所述过渡动画绘制完成时,终止所述第一图像的显示,并播放所述过渡动画直至所述屏幕调整操作终止。
  4. 如权利要求2所述的显示控制方法,其中,所述当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示,包括:
    当所述屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像;
    显示所述第二图像,并按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新布局和绘制;
    在重新绘制完成后,终止所述第二图像的显示,并显示重新绘制的所述前台应用程序的窗口。
  5. 如权利要求4所述的显示控制方法,其中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,包括:
    确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
    控制所述前台应用程序在所述屏幕调整操作的执行过程中,在所述目标尺寸的窗口内播放过渡动画。
  6. 如权利要求5所述的显示控制方法,其中,所述屏幕调整操作为伸缩操作,所述伸缩操作包括拉伸操作和收缩操作;
    所述确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸,包括:
    当所述屏幕调整操作为拉伸操作时,确定所述拉伸操作完成后的第一屏幕显示尺寸,将所述第一屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
    当所述屏幕调整操作为收缩操作时,获取所述收缩操作前的第二屏幕尺寸,将所述第二屏幕尺寸设置为所述前台应用程序的窗口的目标尺寸。
  7. 如权利要求1所述的显示控制方法,其中,所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画之前,还包括:
    检测所述前台应用程序应用是否支持过渡动画的适配播放;
    若是,则执行所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画;
    若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
    获取所述屏幕调整操作后的前台应用程序的第一显示界面,对所述显示界面进行缩放处理,得到与所述屏幕调整操作前的屏幕尺寸适配的第二显示界面;
    显示所述第三图像,并将所述第二显示界面显示在所述第三图像之下;
    在所述屏幕调整操作的执行过程中,通过系统动画视图控制所述第三图像和所述第二显示界面进行缩放处理,以使所述第三图像和所述第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,所述第三图像的透明度由100%调整为0,将所述第二显示界面的透明度由0调整为100%。
  8. 如权利要求7所述的显示控制方法,其中,所述检测所述前台应用程序应用是否支持过渡动画的适配播放,包括:
    检测所述前台应用程序向应用框架层发送的窗口创建请求中是否携带有预设标识,其中,是则判定所述前台应用程序支持过渡动画的适配播放,否则判定所述前台应用程序不支持过渡动画的适配播放。
  9. 一种显示控制装置,其中,应用于包含有柔性显示屏的电子设备,所述装置包括:
    程序确定模块,用于当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
    动画播放模块,用于控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
    窗口绘制模块,用于当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
  10. 如权利要求9所述的显示控制装置,其中,所述窗口绘制模块,还用于:
    在所述过渡动画的播放过程中,根据所述前台应用程序的显示画面实时绘制所述过渡动画的显示内容。
  11. 如权利要求10所述的显示控制装置,其中,所述动画播放模块,还用于当检测到所述电子设备开始执行屏幕调整操作时,对当前屏幕的显示画面进行截屏,得到第一图像;以及
    显示所述第一图像,并控制所述前台应用程序绘制过渡动画;
    当所述过渡动画绘制完成时,终止所述第一图像的显示,并播放所述过渡动画直至所述屏幕调整操作终止。
  12. 如权利要求10所述的显示控制装置,其中,所述窗口绘制模块,还用于:
    当所述屏幕调整操作终止时,对当前屏幕的显示画面进行截屏,得到第二图像;
    显示所述第二图像,并按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新布局和绘制;
    在重新绘制完成后,终止所述第二图像的显示,并显示重新绘制的所述前台应用程序的窗口。
  13. 如权利要求12所述的显示控制装置,其中,所述窗口绘制模块,还用于:
    确定所述屏幕调整操作过程中的最大屏幕显示尺寸,将所述最大屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
    控制所述前台应用程序在所述屏幕调整操作的执行过程中,在所述目标尺寸的窗口内 播放过渡动画。
  14. 如权利要求13所述的显示控制装置,其中,所述屏幕调整操作为伸缩操作,所述伸缩操作包括拉伸操作和收缩操作;所述窗口绘制模块,还用于:
    当所述屏幕调整操作为拉伸操作时,确定所述拉伸操作完成后的第一屏幕显示尺寸,将所述第一屏幕显示尺寸设置为所述前台应用程序的窗口的目标尺寸;
    当所述屏幕调整操作为收缩操作时,获取所述收缩操作前的第二屏幕尺寸,将所述第二屏幕尺寸设置为所述前台应用程序的窗口的目标尺寸。
  15. 如权利要求9所述的显示控制装置,其中,所述动画播放模块,还用于:
    检测所述前台应用程序应用是否支持过渡动画的适配播放;
    若是,则执行所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画;
    若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
    获取所述屏幕调整操作后的前台应用程序的第一显示界面,对所述显示界面进行缩放处理,得到与所述屏幕调整操作前的屏幕尺寸适配的第二显示界面;
    显示所述第三图像,并将所述第二显示界面显示在所述第三图像之下;
    在所述屏幕调整操作的执行过程中,通过系统动画视图控制所述第三图像和所述第二显示界面进行缩放处理,以使所述第三图像和所述第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,所述第三图像的透明度由100%调整为0,将所述第二显示界面的透明度由0调整为100%。
  16. 如权利要求15所述的显示控制装置,其中,所述动画播放模块,还用于:
    检测所述前台应用程序向应用框架层发送的窗口创建请求中是否携带有预设标识,其中,是则判定所述前台应用程序支持过渡动画的适配播放,否则判定所述前台应用程序不支持过渡动画的适配播放。
  17. 一种计算机可读存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至8任一项所述的显示控制方法。
  18. 一种电子设备,包括处理器和存储器,所述存储器存储有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行:
    当检测到所述电子设备开始执行屏幕调整操作时,确定前台应用程序,其中,所述屏幕调整操作用于调整所述柔性显示屏的屏幕尺寸;
    控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画,其中,所述过渡动画的显示内容的尺寸随着屏幕尺寸的改变而动态调整,以使所述显示内容与屏幕尺寸适配;
    当所述屏幕调整操作终止时,按照所述屏幕调整操作后的屏幕尺寸,对所述前台应用程序的窗口进行重新绘制和显示。
  19. 如权利要求18所述的电子设备,其中,所述处理器通过调用所述计算机程序,还用于执行:
    在所述过渡动画的播放过程中,根据所述前台应用程序的显示画面实时绘制所述过渡动画的显示内容。
  20. 如权利要求19所述的电子设备,其中,所述处理器通过调用所述计算机程序,还用于执行:
    检测所述前台应用程序应用是否支持过渡动画的适配播放;
    若是,则执行所述控制所述前台应用程序在所述屏幕调整操作的执行过程中播放过渡动画;
    若否,则对当前屏幕的显示画面进行截屏,得到第三图像;
    获取所述屏幕调整操作后的前台应用程序的第一显示界面,对所述显示界面进行缩放处理,得到与所述屏幕调整操作前的屏幕尺寸适配的第二显示界面;
    显示所述第三图像,并将所述第二显示界面显示在所述第三图像之下;
    在所述屏幕调整操作的执行过程中,通过系统动画视图控制所述第三图像和所述第二显示界面进行缩放处理,以使所述第三图像和所述第二显示界面的大小与屏幕尺寸适配,其中,在缩放处理过程中,所述第三图像的透明度由100%调整为0,将所述第二显示界面的透明度由0调整为100%。
PCT/CN2021/117767 2020-11-16 2021-09-10 显示控制方法、装置、存储介质及电子设备 Ceased WO2022100260A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21890788.9A EP4246306A4 (en) 2020-11-16 2021-09-10 DISPLAY CONTROL METHOD AND APPARATUS, STORAGE MEDIUM AND ELECTRONIC DEVICE
US18/318,258 US12340455B2 (en) 2020-11-16 2023-05-16 Display control method, non-transitory computer-readable storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011281034.4A CN112269555A (zh) 2020-11-16 2020-11-16 显示控制方法、装置、存储介质及电子设备
CN202011281034.4 2020-11-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/318,258 Continuation US12340455B2 (en) 2020-11-16 2023-05-16 Display control method, non-transitory computer-readable storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2022100260A1 true WO2022100260A1 (zh) 2022-05-19

Family

ID=74339397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117767 Ceased WO2022100260A1 (zh) 2020-11-16 2021-09-10 显示控制方法、装置、存储介质及电子设备

Country Status (4)

Country Link
US (1) US12340455B2 (zh)
EP (1) EP4246306A4 (zh)
CN (1) CN112269555A (zh)
WO (1) WO2022100260A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954542A (zh) * 2023-09-18 2023-10-27 荣耀终端有限公司 一种显示方法及电子设备

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269555A (zh) 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 显示控制方法、装置、存储介质及电子设备
CN112947687B (zh) * 2021-03-02 2024-07-30 Oppo广东移动通信有限公司 设备控制方法、装置、存储介质及电子设备
CN115016720A (zh) * 2021-03-04 2022-09-06 北京小米移动软件有限公司 移动终端控制方法及装置、移动终端及存储介质
CN115248670A (zh) * 2021-04-27 2022-10-28 北京小米移动软件有限公司 显示屏控制方法及其装置、电子设备、存储介质
CN113206915B (zh) * 2021-04-28 2022-11-29 Oppo广东移动通信有限公司 显示方法及装置、计算机可读介质和电子设备
CN113452834B (zh) * 2021-06-16 2023-09-26 Oppo广东移动通信有限公司 一种显示方法、装置、存储介质及电子设备
CN113806727B (zh) * 2021-08-12 2022-12-02 荣耀终端有限公司 一种电子设备登录账号的切换方法及电子设备
CN115793776A (zh) * 2021-09-09 2023-03-14 Oppo广东移动通信有限公司 电子设备的控制方法、装置、存储介质及电子设备
CN114003161A (zh) * 2021-10-12 2022-02-01 深圳柔显系统技术有限公司 图像处理方法、电子设备及存储介质
CN116149531A (zh) * 2021-11-19 2023-05-23 华为终端有限公司 快照处理方法和装置
WO2023140492A1 (ko) * 2022-01-20 2023-07-27 삼성전자주식회사 컨텐츠를 표시하는 방법 및 장치
CN114756188B (zh) * 2022-03-31 2025-11-25 联想(北京)有限公司 一种处理方法和电子设备
CN116954768A (zh) * 2022-04-12 2023-10-27 北京小米移动软件有限公司 调整窗口尺寸的方法和装置、电子设备、可读存储介质
CN116132572B (zh) 2022-04-20 2023-12-12 华为技术有限公司 界面显示方法及电子设备
CN115273675B (zh) * 2022-08-24 2023-12-29 京东方科技集团股份有限公司 显示装置、控制方法、显示设备以及计算机存储介质
CN118514498A (zh) * 2023-02-17 2024-08-20 长城汽车股份有限公司 车辆天窗的控制方法、装置、电子设备及车辆
CN117135257B (zh) * 2023-03-13 2024-08-30 荣耀终端有限公司 一种图像显示方法、电子设备及计算机可读存储介质
CN120223797B (zh) * 2023-12-19 2026-03-24 荣耀终端股份有限公司 应用的控制方法、电子设备及可读介质
CN119254884B (zh) * 2024-01-09 2025-10-17 荣耀终端股份有限公司 桌面显示方法、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107331296A (zh) * 2017-06-27 2017-11-07 武汉天马微电子有限公司 柔性显示系统及其控制方法
US20180052579A1 (en) * 2015-07-13 2018-02-22 International Business Machines Corporation Provision of extended content on a flexible display
CN109542568A (zh) * 2018-11-23 2019-03-29 苏州思必驰信息科技有限公司 用于Android系统设备的屏幕适配方法及系统
CN111465917A (zh) * 2018-09-25 2020-07-28 深圳市柔宇科技有限公司 可弯折电子设备及其界面适配方法
CN111459367A (zh) * 2020-04-03 2020-07-28 维沃移动通信有限公司 一种显示方法及电子设备
CN112269555A (zh) * 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 显示控制方法、装置、存储介质及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223271A1 (en) * 2013-02-04 2014-08-07 Google Inc. Systems and methods of creating an animated content item
KR102066716B1 (ko) * 2013-06-20 2020-01-15 삼성전자주식회사 동작 방법 및 그 전자 장치
CN105630510A (zh) * 2016-02-04 2016-06-01 腾讯科技(深圳)有限公司 应用页面的动画处理方法和装置
CN107870929A (zh) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Hybrid框架下应用页面的翻页方法及系统
CN108735100A (zh) 2018-05-21 2018-11-02 上海创功通讯技术有限公司 一种柔性显示装置及其控制方法、控制装置
KR102255793B1 (ko) * 2018-06-14 2021-05-25 삼성전자주식회사 디스플레이 영역의 크기 변경이 가능한 플렉시블 디스플레이를 포함하는 전자 장치 및 그 제어 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180052579A1 (en) * 2015-07-13 2018-02-22 International Business Machines Corporation Provision of extended content on a flexible display
CN107331296A (zh) * 2017-06-27 2017-11-07 武汉天马微电子有限公司 柔性显示系统及其控制方法
CN111465917A (zh) * 2018-09-25 2020-07-28 深圳市柔宇科技有限公司 可弯折电子设备及其界面适配方法
CN109542568A (zh) * 2018-11-23 2019-03-29 苏州思必驰信息科技有限公司 用于Android系统设备的屏幕适配方法及系统
CN111459367A (zh) * 2020-04-03 2020-07-28 维沃移动通信有限公司 一种显示方法及电子设备
CN112269555A (zh) * 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 显示控制方法、装置、存储介质及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4246306A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954542A (zh) * 2023-09-18 2023-10-27 荣耀终端有限公司 一种显示方法及电子设备
CN116954542B (zh) * 2023-09-18 2024-03-08 荣耀终端有限公司 一种显示方法及电子设备

Also Published As

Publication number Publication date
CN112269555A (zh) 2021-01-26
US12340455B2 (en) 2025-06-24
EP4246306A4 (en) 2024-06-05
EP4246306A1 (en) 2023-09-20
US20230298245A1 (en) 2023-09-21

Similar Documents

Publication Publication Date Title
WO2022100260A1 (zh) 显示控制方法、装置、存储介质及电子设备
WO2021232961A1 (zh) 显示控制方法、装置、存储介质及电子设备
CN110602321B (zh) 应用程序切换方法、装置、电子装置及存储介质
CN113687808B (zh) 桌面图标的布局方法、装置、存储介质及电子设备
JP2021525430A (ja) 表示制御方法及び端末
EP4184412A1 (en) Method and apparatus for presenting resources
CN110058828A (zh) 应用程序显示方法、装置、电子设备及存储介质
KR102823221B1 (ko) 전자기기의 제어 방법, 장치, 전자기기 및 판독가능 저장 매체
CN111459333A (zh) 一种内容显示方法及电子设备
CN111752460B (zh) 屏幕控制方法、装置、电子设备及计算机可读取存储介质
CN113452834B (zh) 一种显示方法、装置、存储介质及电子设备
CN111459363A (zh) 信息展示方法、装置、设备及存储介质
WO2022059707A1 (ja) 情報処理装置、情報処理方法及び情報処理プログラム
US12099718B2 (en) Device control method and apparatus, storage medium, and electronic device
CN115809033A (zh) 内容显示方法、装置、存储介质及电子设备
CN116320582A (zh) 视频展示方法、装置、电子设备及存储介质
CN116033219A (zh) 基于图片的视频播放方法、装置、电子设备及存储介质
CN114205524B (zh) 显示控制方法和终端
CN117576266A (zh) 页面显示方法、装置、设备及存储介质
CN113741853A (zh) 设备控制方法、装置、存储介质及电子设备
CN113973140B (zh) 设备控制方法、装置、存储介质及电子设备
CN108170362A (zh) 一种应用运行状态控制方法及移动终端
CN115793776A (zh) 电子设备的控制方法、装置、存储介质及电子设备
CN114815971B (zh) 信息展示方法、装置、电子设备及存储介质
CN114723871B (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: 21890788

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021890788

Country of ref document: EP

Effective date: 20230616

WWW Wipo information: withdrawn in national office

Ref document number: 2021890788

Country of ref document: EP