CN114217720B - Screen rotating method and equipment - Google Patents

Screen rotating method and equipment Download PDF

Info

Publication number
CN114217720B
CN114217720B CN202210159795.5A CN202210159795A CN114217720B CN 114217720 B CN114217720 B CN 114217720B CN 202210159795 A CN202210159795 A CN 202210159795A CN 114217720 B CN114217720 B CN 114217720B
Authority
CN
China
Prior art keywords
screen
display
layer
rotation angle
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210159795.5A
Other languages
Chinese (zh)
Other versions
CN114217720A (en
Inventor
杨裕伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210159795.5A priority Critical patent/CN114217720B/en
Publication of CN114217720A publication Critical patent/CN114217720A/en
Application granted granted Critical
Publication of CN114217720B publication Critical patent/CN114217720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to the technical field of terminals, in particular to a screen turning method and screen turning equipment. The screen turning method is applied to electronic equipment, a display screen of the electronic equipment comprises a waterfall screen area, and the method comprises the following steps: after the screen turning response condition is detected to be met, the rotation angle of the electronic equipment is obtained according to a set period; determining display parameters of a background layer according to the rotation angle, wherein the coverage range of the background layer comprises the waterfall screen area; and displaying the background layer according to the display parameters, wherein the display level of the background layer is positioned below the current picture layer. Through the method provided by the application, dynamic change of the display parameters of the waterfall screen area can be realized in the screen rotating process, the phenomenon of 'black edges' suddenly appearing is avoided, and the user experience is effectively improved.

Description

Screen rotating method and equipment
Technical Field
The application relates to the technical field of terminals, in particular to a screen turning method and screen turning equipment.
Background
The waterfall screen is a new screen style in the field of intelligent terminals, and screens on two sides of the waterfall screen are bent downwards at an ultra-large folding angle and hung on two sides of a machine body like a waterfall. Due to the bending of the waterfall screen area, the display effect of the area in the cross screen mode is not ideal, and therefore, the terminal configured with the waterfall screen usually displays only in the vertical screen mode by using the waterfall screen area.
Based on the display mechanism, in the process of turning the screen from the vertical screen mode to the horizontal screen mode of the terminal with the waterfall screen, after the terminal is switched to the horizontal screen mode, the waterfall screen areas on two sides can suddenly form 'black edges', so that the visual discomfort of a user is caused, and the user experience is poor.
Disclosure of Invention
The application provides a screen turning method and screen turning equipment, which can dynamically adjust display parameters of an area of a waterfall screen in the screen turning process, so that a 'black edge' formed in the area of the waterfall screen suddenly is avoided, and user experience is improved.
In a first aspect, the present technical solution provides a screen rotation method, where the method is applied to an electronic device, a display screen of the electronic device includes a waterfall screen area, and the method includes: after the condition that a screen turning response condition is met is detected, the rotation angle of the electronic equipment is obtained according to a set period; determining display parameters of a background layer according to the rotation angle, wherein the coverage range of the background layer comprises the waterfall screen area; and displaying the background layer according to the display parameters, wherein the display level of the background layer is positioned below the current picture layer.
With reference to the first aspect, in some implementations of the first aspect, the detecting that the screen turn response condition is met includes: and determining that screen turning response conditions are met according to the attitude information of the electronic equipment and screen turning service setting information.
With reference to the first aspect, in certain implementations of the first aspect, the obtaining a rotation angle of the electronic device includes: acquiring current angle information of the electronic equipment by using a sensor; and determining the rotation angle according to the current angle information and the initial angle information of the electronic equipment.
With reference to the first aspect, in certain implementations of the first aspect, the display parameter includes transparency and/or brightness.
With reference to the first aspect, in some implementation manners of the first aspect, the determining a display parameter of a background layer according to the rotation angle includes: and determining the transparency and/or the brightness corresponding to the rotation angle according to the positive correlation between the rotation angle and the transparency and/or the brightness.
With reference to the first aspect, in certain implementations of the first aspect, determining the transparency and/or the brightness corresponding to the rotation angle according to a positive correlation between the rotation angle and the transparency and/or the brightness includes: according to the formula
Figure 287850DEST_PATH_IMAGE001
Determining the transparency and/or the brightness corresponding to the rotation angle; wherein y is the transparency or the brightness; and x is the rotation angle, and the value of x is 0-90 degrees.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: and determining a second color value of the background layer according to the first color value of the current picture layer.
With reference to the first aspect, in some implementation manners of the first aspect, determining the second color value of the background layer according to the first color value of the current picture layer includes: sampling is carried out at a plurality of sampling positions of the current picture layer to obtain a plurality of first color values; and determining a second color value of the background layer according to the average value of the plurality of first color values.
In a second aspect, the present technical solution provides a screen rotating apparatus, including: the acquisition unit is used for acquiring the rotation angle of the electronic equipment according to a set period after detecting that the screen rotation response condition is met; the determining unit is used for determining display parameters of a background layer according to the rotation angle, and the coverage range of the background layer comprises the waterfall screen area; and the display unit is used for displaying the background layer according to the display parameters, and the display level of the background layer is positioned below the current picture layer.
With reference to the second aspect, in some implementation manners of the second aspect, the obtaining unit is specifically configured to determine that a screen turn response condition is met according to the posture information of the electronic device and the screen turn service setting information.
With reference to the second aspect, in some implementations of the second aspect, the obtaining unit is specifically configured to obtain current angle information of the electronic device by using a sensor; and determining the rotation angle according to the current angle information and the initial angle information of the electronic equipment.
With reference to the second aspect, in certain implementations of the second aspect, the display parameter includes transparency and/or brightness.
With reference to the second aspect, in certain implementations of the second aspect, the determining unit is specifically configured to determine, according to a positive correlation between a rotation angle and the transparency and/or the brightness, the transparency and/or the brightness corresponding to the rotation angle.
With reference to the second aspect, in some implementations of the second aspect, the determining unit is specifically configured to determine the second value according to a formula
Figure 603425DEST_PATH_IMAGE001
Determining the transparency and/or the brightness corresponding to the rotation angle; wherein y is the transparency or the brightness; and x is the rotation angle, and the value of x is 0-90 degrees.
With reference to the second aspect, in some implementation manners of the second aspect, the determining unit is further configured to determine a second color value of the background layer according to the first color value of the current picture layer.
With reference to the second aspect, in some implementation manners of the second aspect, the determining unit is specifically configured to perform sampling at a plurality of sampling positions of the current picture layer to obtain a plurality of first color values; and determining a second color value of the background layer according to the average value of the plurality of first color values.
In a third aspect, the present technical solution provides a screen rotating apparatus, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the first aspect or the method of any possible implementation of the first aspect.
In a fourth aspect, the present technical solution provides a screen turning device, where the device includes a storage medium and a central processing unit, where the storage medium may be a non-volatile storage medium, where a computer-executable program is stored in the storage medium, and the central processing unit is connected to the non-volatile storage medium and executes the computer-executable program to implement the first aspect or the method in any possible implementation manner of the first aspect.
In a fifth aspect, the present technical solution provides a chip, where the chip includes a processor and a data interface, and the processor reads an instruction stored in a memory through the data interface to execute the method in the first aspect or any possible implementation manner of the first aspect.
Optionally, as an implementation manner, the chip may further include a memory, where instructions are stored in the memory, and the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the processor is configured to execute the first aspect or the method in any possible implementation manner of the first aspect.
In a sixth aspect, the present technical solution provides a computer-readable storage medium storing program code for execution by a device, the program code including instructions for performing the method of the first aspect or any possible implementation manner of the first aspect.
In the above technical solution, first, after it is detected that the screen rotation response condition is satisfied, the rotation angle of the electronic device can be obtained according to a set period. Then, the display parameters of the background layer can be determined according to the rotation angle, and the coverage range of the background layer comprises a waterfall screen area. And finally, displaying the background layer according to the obtained display parameters, wherein the display level of the background layer is positioned below the current picture layer. By the technical scheme, the display parameters of the background layer can be dynamically adjusted according to the rotation angle of the electronic equipment in the screen rotating process. Because the background picture layer covers the waterfall screen area, the waterfall screen area in the user visual angle can present a dynamically changing visual effect, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of an electronic device configured with a waterfall screen;
FIG. 2 is a schematic view of a display scene of an electronic device configured with a waterfall screen;
FIG. 3 is a schematic diagram of a related art screen rotation method;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a screen turning method provided by an embodiment of the present application;
FIG. 7 is a schematic flow chart of a screen turning method provided by an embodiment of the present application;
FIG. 8 is another schematic diagram of a screen turning method provided by an embodiment of the present application;
FIG. 9 is another schematic diagram of a screen turning method provided by an embodiment of the present application;
FIG. 10 is another schematic flow chart diagram of a screen turning method provided by an embodiment of the present application;
FIG. 11 is another schematic flow chart of a screen turning method provided by an embodiment of the present application;
FIG. 12 is another schematic diagram of a screen turning method provided by an embodiment of the present application;
FIG. 13 is another schematic flow chart diagram of a screen turning method provided by an embodiment of the present application;
fig. 14 is a schematic structural diagram of a screen rotating device provided in an embodiment of the present application.
Detailed Description
Prior to the description of the embodiments of the present application, a description will be given of a related art.
The waterfall screen refers to a screen pattern in which two screens are bent downward with an ultra-large curvature. Fig. 1 is a schematic structural diagram of an electronic device equipped with a waterfall screen. In a case where the electronic apparatus is horizontally placed, 1A in fig. 1 is a top view of the electronic apparatus. As shown in fig. 1A, the waterfall screen 10 includes two side bending regions and a middle flat region. The two side bending areas are called waterfall screen areas 11, and the middle straight area is called non-waterfall screen area 12. Fig. 1B is a front view of the electronic apparatus. As shown in fig. 1B, the waterfall screen areas 11 on both sides are bent toward the bottom of the body at an oversized folding angle to wrap both sides of the body, thereby replacing the original frames on both sides.
Due to the bending of the waterfall screen area, the display effect of the area in the landscape mode is not ideal. Therefore, as shown in fig. 2, for an electronic device configured with a waterfall screen, in the vertical screen mode, the display area utilized by the first display window 21 includes a waterfall screen area and a non-waterfall screen area. In the landscape mode, the second display window 22 utilizes a display area including only a non-waterfall screen area, and the waterfall screen area does not display any more picture content.
Based on the display mechanism, in the prior art, when the screen rotation operation is started, as shown in fig. 3A, the electronic device is in the vertical screen mode, and at this time, the screen capture operation is performed on the display screen of the first display window 21, so as to obtain the screenshot 30.
During the screen rotation, the first display window 21 always displays the screenshot 30, as shown in fig. 3B. Meanwhile, the electronic device redraws the first display window 21, and completes coordinate system transformation, so as to obtain a second display window 22 in a landscape mode as shown in fig. 3C.
When the electronic device switches to the landscape mode, as shown in fig. 3C, the electronic device may display a new display on the second display window 22. Since the second display window 22 is not displayed using the waterfall screen area 11, the waterfall screen area 11 may suddenly appear as a graphic "black border" causing visual discomfort to the user.
The present application is proposed to solve the above problems.
According to the method and the device, the display parameters of the waterfall screen area can be dynamically adjusted in the screen turning process, so that the display characteristics of gradual change are presented. Therefore, the phenomenon that the black edge appears in the waterfall screen area suddenly after the mode is switched to the horizontal screen mode can be avoided. The technical solution in the present application will be described below with reference to the accompanying drawings.
The screen rotating method provided by the embodiment of the application can be applied to any electronic equipment configured with a waterfall screen. For example, a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the present application does not set any limit to a specific type of the electronic device.
For example, fig. 4 shows a schematic structural diagram of the electronic device 100 provided in the embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a sensor module 180, a key 190, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like, and optionally, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an acceleration sensor 180E, a distance sensor 180F, a fingerprint sensor 180H, and a touch sensor 180K.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a screen rotation function) required by at least one function, and the like. The storage data area may store data (such as rotation angle, display parameters, etc.) created during the use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary.
In the process of executing the screen turning operation, the gyroscope sensor 180B and the acceleration sensor 180E can be used for recognizing the posture of the electronic device together. Specifically, based on the angular velocity information determined by the gyro sensor 180B and the acceleration information determined by the acceleration sensor 180E, the rotation posture of the electronic device from the portrait mode to the landscape mode can be identified. And, rotation angle information and the like of the electronic device in various directions can be determined.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint characteristics to unlock a fingerprint, access an application lock, photograph a fingerprint, answer an incoming call with a fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android (Android) system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 5 is a block diagram of a software structure of the electronic device 100 according to an embodiment of the present disclosure. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a direction setting unit and a window drawing unit. The direction setting unit can be used for setting window display direction information of the application program by a user, and if the window display direction information is allowed to be turned, the direction setting unit can be used for allowing the user to turn the screen. The window drawing unit may be configured to perform redrawing of the display window in the screen rotation scene, for example, redrawing the vertical screen display window into the horizontal screen display window.
The application layer may also include a series of application packages (not shown). The application packages may include cameras, galleries, maps, videos, wireless Local Area Networks (WLANs), and other applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
The application framework layer may include a display rotation (display rotation) unit, a window controller service (window manager service) unit, and a screen rotation activation (animation) unit, etc.
The direction calculation (display rotation) unit may be configured to monitor direction information of the electronic device reported by the sensor, and calculate a rotation angle of the electronic device.
A window manager service (window manager service) unit is used to manage the window program. The window controller service unit can obtain the size of the display window, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The window controller service unit may also call a screen rotation animation unit for managing animation display of the window.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: a layer mixing (surface blender) unit, a sensor unit, a three-dimensional graphic processing library (e.g., openGL ES), and the like.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver and a sensor driver.
Fig. 6 is a schematic scene diagram of the screen turning method provided in the embodiment of the present application, where the scene may be a screen turning scene of an electronic device, and specifically may be a screen turning scene in which the electronic device switches from a vertical screen mode to a horizontal screen mode.
For convenience of understanding, in the following embodiments of the present application, an electronic device having a structure shown in fig. 4 and 5 is taken as an example, and a screen turning method provided in the embodiments of the present application is described with reference to a scenario shown in fig. 6. As shown in fig. 7, the screen turning method provided in the embodiment of the present application includes:
101, the electronic device detects that the screen turn response condition is satisfied.
First, a method of the electronic device determining that the screen turn response condition is satisfied will be described.
In one possible implementation manner, the electronic device may determine whether the screen turning response condition is satisfied according to the posture information of the electronic device.
Specifically, the electronic device can acquire the posture information of the electronic device in real time through the sensor. The types of sensors involved may include, for example, but are not limited to, gyroscope sensors, acceleration sensors, distance sensors, and the like. The electronic equipment can determine that the screen rotation response condition is met after determining that the electronic equipment is in the rotation posture from the vertical screen direction to the transverse screen direction according to the collected posture information.
In another possible implementation manner, the electronic device may determine whether the screen turning response condition is met according to the posture information and the screen turning service setting information.
The screen turning service setting information may specifically include screen turning service setting information of a system level and screen turning service setting information of an application level. Specifically, when the screen turning service setting information at the system level is in the on state, it can be considered that the electronic device system allows the screen turning operation to be performed. Correspondingly, when the screen turning service setting information of the application level is in the open state, the third-party application is considered to be allowed to execute screen turning operation in the using process.
Taking the screen turning service setting information of the system level as an example, the screen turning service setting information may be the setting information of the system "auto-rotation" option. When the "auto-rotate" option is turned on, in one implementation, a user may turn on a setup function, select the "auto-rotate" option, and set it to an on state. In another implementation, as shown in FIG. 8, the user may open the system drop down menu 80 by a gesture operation that slides the screen down from the top box. Then, it can be set to the on state by clicking on the "auto-rotate" button 801 in the pull-down menu.
In the implementation mode, the electronic equipment can further read the screen rotating service setting information after determining that the electronic equipment is in the rotating posture according to the collected posture information. After detecting that the screen turning service setting information is in the opening state, the electronic equipment can determine that the screen turning response condition is met. The step of detecting that the screen turning service setting information is in the on state may include detecting that the screen turning service setting information of the system level is in the on state, or detecting that the screen turning service setting information of the system level and the screen turning service setting information of the application level are in the on state at the same time.
102, the electronic device performs screen capture operation on the display screen of the non-waterfall screen area, and displays the first screen capture on the current screen layer.
After determining that the screen turning response condition is met, the electronic equipment can further execute screen turning response.
Because the coordinate system of the electronic device needs to be changed when the electronic device is switched from the vertical screen mode to the horizontal screen mode, the first display window in the vertical screen mode needs to be redrawn in the screen turning response process, so as to obtain the second display window in the horizontal screen mode. In order to block the disordered layout generated during the layout redrawing of the display window, the embodiment of the application can firstly execute the screen capturing operation on the current display picture in the first display window. Before switching to the landscape mode, a first screenshot obtained by the screenshot operation can be always displayed in the first display window.
Specifically, when the screen capture operation is performed, as shown in fig. 9A in fig. 9, the screen capture operation may be performed only on the non-waterfall screen area 12 of the first display window 21. Thus, when the first cut-out 90 obtained by the screen capture operation is displayed in the first display window 21, the coverage area thereof only includes the non-waterfall screen area 12.
It should be noted that, as shown in fig. 9B in fig. 9, the display layers of the first display window 21 may include a current picture layer 211 and a background layer 212. Wherein the display hierarchy of the background layer 212 is located below the current picture layer 211. The first cut 90 obtained by the screen capture operation may be displayed in the current picture layer 211.
103, the electronic device obtains the rotation angle of the electronic device according to the set period.
In the screen turning process of the electronic equipment, the rotation angle of the electronic equipment can be acquired according to a set period. In one implementation, the current angle information may be obtained using a sensor. Furthermore, the rotation angle of the electronic equipment can be calculated according to the current angle information and the initial angle information of the electronic equipment. The value of the setting period can be flexibly set according to requirements.
1041, the electronic device determines the display parameter of the background layer according to the rotation angle.
And 105, the electronic equipment displays the background layer according to the display parameters.
According to the foregoing description, the coverage of the first screenshot includes only the non-waterfall screen area 12. Therefore, under the condition that the current picture layer and the background layer are displayed in an overlapping mode, the display content of the background layer in the waterfall screen area is not shielded by the current picture layer. Therefore, in the rotation process of the electronic device from the vertical screen mode to the horizontal screen mode, the display state of the waterfall screen area can present a dynamically changing visual effect under the visual angle of a user only by dynamically adjusting the display parameters of the background layer.
In the embodiment of the present application, the display parameter of the background layer may include, but is not limited to, brightness and/or transparency.
Specifically, in some implementations, the rotation angle of the electronic device and the display parameter of the background layer may be in a positive correlation. That is, the larger the rotation angle of the electronic device is, the larger the value of the background layer display parameter is. For convenience of understanding, the embodiments of the present application take transparency as an example, and describe a conversion manner between a rotation angle and a display parameter of a background layer.
In an exemplary implementation, the positive correlation between the rotation angle and the transparency of the background layer may be represented by the following formula:
Figure 469750DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 602267DEST_PATH_IMAGE002
the degree of transparency is indicated and,
Figure 353185DEST_PATH_IMAGE003
indicating the angle of rotation. Wherein the angle of rotation
Figure 647900DEST_PATH_IMAGE003
Can range from 0 ° to 90 °. The value of the transparency is continuously increased along with the increase of the rotation angle. And when the rotation angle reaches 90 degrees, the value of the corresponding transparency reaches 1, and the screen rotating process is finished.
In other implementations, the mapping relationship between the rotation angle and the display parameter may be established in advance. Furthermore, in the rotation process of the electronic equipment, the display parameters corresponding to the current rotation angle can be obtained according to the mapping relation. For the convenience of understanding, the manner of converting between the rotation angle and the display parameter of the background layer is still described by taking transparency as an example.
For example, the mapping relationship between the rotation angle and the transparency may be pre-established as follows: transparency of 30% corresponding to 0 ° to 30 °; transparency of 60% corresponding to 31 ° to 60 °; the transparency was 100% for 61 ° to 90 °. It should be noted that the above is only an exemplary description, and should not be taken as a limitation of the present application.
In the embodiment of the application, because the first screenshot in the current image layer does not cover the waterfall screen area, the display content of the background image layer in the waterfall screen area is not shielded by the current image layer under the condition of superposition display. On the basis, in the screen turning process of the electronic equipment, the display parameters of the background layer are dynamically adjusted according to the change of the rotation angle, the visual experience of dynamic change of the waterfall screen area can be brought to a user, the phenomenon that the waterfall screen area suddenly forms a black edge after the screen turning is finished is avoided, and the user experience is improved.
Fig. 10 is another schematic flow chart of a screen turning method provided in an embodiment of the present application. In another embodiment of the present application, as shown in fig. 10, before performing the step 105, the method may further include:
1042, the electronic device determines a second color value of the background layer according to the first color value of the current picture layer.
In the embodiment of the application, the color value of the background layer can be set according to the color value of the current picture layer.
Specifically, sampling may be performed at a plurality of sampling positions of the current picture layer to obtain a plurality of first color values. The number and the positions of the plurality of sampling positions can be preset. For example, the location range of the several sampling locations may be: and in the non-waterfall screen area, the distance from the non-waterfall screen area to the waterfall screen area is smaller than the area range of a set threshold value.
Then, a second color value of the background layer may be determined according to the plurality of first color values. In one implementation, an average value of the plurality of first color values may be used as the second color value of the background layer.
By the method, the color value of the background image layer is similar to the color value of the current image layer, so that the color contrast between the waterfall screen area and the non-waterfall screen area under the user visual angle is reduced, and the visual experience of the user is further improved.
In another implementation manner, in order to simplify the implementation process and increase the screen turn response speed, the color value of the background layer may also be a preset fixed value. For example, the color may be any color such as black or white, which is not limited in the present application.
In the embodiment of the present application, the execution sequence of step 1041 and step 1042 is not limited. In other implementations, step 1042 may be performed in an order prior to step 1041.
Fig. 11 is another flowchart of a screen turning method provided in an embodiment of the present application. As shown in fig. 11, a screen turning method provided in the embodiment of the present application includes:
301, the electronic device monitors the attitude information reported by the sensor.
And 302, the electronic equipment determines whether the electronic equipment is in a rotation posture from the vertical screen to the horizontal screen according to the acquired posture information. If yes, go to step 303; otherwise, step 301 is continued.
303, the electronic device determines whether the screen rotation service setting information is in an on state. If so, go to step 304; otherwise, proceed to step 303.
304, the electronic device performs a screen capture operation on the display screen of the non-waterfall screen area, and displays the first screen capture on the current screen layer.
The electronic device 305 acquires its own rotation angle according to a set period.
And 306, the electronic equipment determines the display parameters of the background layer according to the rotation angle.
307, the electronic device determines a second color value of the background layer according to the first color value of the current picture layer.
And 308, the electronic equipment displays the background layer according to the obtained display parameter and the second color value.
In the embodiment of the application, the display hierarchy of the background layer is located below the current picture layer. And the display content of the current picture layer does not cover the waterfall screen area. Based on this, this application is at the commentaries on classics screen in-process, through the display parameter according to rotation angle dynamic adjustment background picture layer, can make waterfall screen region's display state dynamic change, has promoted user's visual experience.
For ease of understanding, fig. 12 shows an example of a scenario of the screen scrolling method provided in the present application, which is used for comparison with the existing screen scrolling scenario shown in fig. 3.
In an exemplary implementation scenario, the display parameter is still taken as transparency, and the aforementioned positive relationship between transparency and rotation angle is taken as an example for description.
As shown in fig. 12A, the electronic device is in the portrait mode, and at this time, a screen capture operation is performed on the display screen of the non-waterfall screen area in the first display window 21, so as to obtain a first screenshot 90. A first screenshot 90 is displayed in the current picture layer 211. At this time, the acquired rotation angle x may be, for example, 10 °. The corresponding transparency y of the background layer 212 is 1/9. Since the first cut-out 90 does not cover the waterfall screen area 11, in the case of the overlay display, the display state of the waterfall screen area 11 coincides with the background layer 212, which may be light gray as shown in 12A in fig. 12, for example.
During the screen rotation, the first display window 21 always displays the first cut 90, as shown in 12B in fig. 12. The rotation angle x acquired again may be 45 °, for example. At this time, the transparency y of the background image layer 212 is 1/2. Since the first cut-off image 90 does not cover the waterfall screen area 11, in the case of the overlay display, the display state of the waterfall screen area 11 coincides with the background image layer 212, and may be dark gray as shown in 12B in fig. 12, for example.
When the electronic device switches to the landscape mode, as shown in fig. 12C, the electronic device may display the display screen 91 in the landscape mode on the second display window 22. The acquisition rotation angle x may be 90 °, for example. At this time, the transparency y of the background image layer 212 takes a value of 1. Since the display screen 91 is not displayed using the waterfall screen area 11, in the case of the overlay display, the display state of the waterfall screen area 11 coincides with the background layer 212, and may be black as shown in 12C in fig. 12, for example.
Therefore, compared with the screen turning scene shown in fig. 3, based on the technical scheme of the application, the display effect of the waterfall screen area can be dynamically changed along with the change of the rotation angle of the electronic equipment, and visual discomfort caused by sudden change of the waterfall screen area after the screen turning is finished is avoided.
On the basis of the software structure block diagram shown in fig. 5, fig. 13 shows another flowchart of the screen turning method provided by the present application. As shown in fig. 13, a screen turning method provided in an embodiment of the present application may include:
401, the direction calculating unit monitors the direction information of the electronic device reported by the sensor unit.
In the embodiment of the application, the direction calculation unit located in the application framework layer can monitor the direction information reported by the sensor unit located in the system layer in real time. The direction information reported by the sensor unit may be received from a sensor driver (not shown in fig. 13) located in the kernel layer. The direction calculation unit may determine whether the electronic device is in a rotational posture according to the received direction information. Step 402 may be further performed upon determining that the electronic device is in a rotational position.
The direction calculation unit reads the screen rotation service setting information from the direction setting unit 402.
The direction setting unit positioned in the application program layer can store the screen turning service setting information of the application program. The direction calculation unit may obtain the service transfer setting information of the current application program from the direction setting unit after determining that the electronic device is in the rotation posture.
And 403, determining that the screen turning response condition is met according to the screen turning service setting information and the direction information by the direction calculation unit.
In the embodiment of the application, after the electronic equipment is determined to be in the rotating posture according to the direction information, the fact that the user has the screen rotating requirement can be shown. On the basis, if the direction calculation unit determines that the screen turning service setting information is in the on state, the screen turning service setting information indicates that the current application program allows screen turning. At this time, the direction calculation unit may determine that the screen turn response condition is satisfied.
The direction calculation unit sends 404 a window drawing instruction to the window drawing unit.
After determining that the screen rotation response condition is satisfied, the direction calculation unit may send a window drawing instruction to a window drawing unit located at the application layer. The window drawing instruction can be used for instructing the window drawing unit to redraw the display window, so that the first display window in the vertical screen mode is converted into the second display window in the horizontal screen mode. Meanwhile, the window drawing instruction may also be used to instruct the window drawing unit to freeze the screen. Freezing the screen means that the window drawing unit stops receiving the input event and keeps the current screen display content unchanged.
The window drawing unit performs window redrawing according to the window drawing instruction 405, and freezes the screen.
406, the direction calculation unit sends a screen capture instruction to the window control unit.
The direction calculation unit may also send a screen capture instruction to a window control unit located at the application framework layer. The screen capture instruction can be used for instructing the window control unit to capture the screen of the display content of the current picture layer in the display window.
And 407, the window control unit performs screen capture operation on the display content of the current picture layer to obtain a first screenshot.
Specifically, the window control unit may call an animation control unit (not shown in fig. 13) located in the application framework layer, and capture the display content of the current picture layer through the animation control unit. In the embodiment of the application, the screen capture range only includes a non-waterfall screen area of the current picture layer. In the screen conversion process, the obtained first screenshot can be always displayed on the current picture layer and is used for shielding the disordered layout generated in the window redrawing process.
408, the direction calculating unit periodically obtains the direction information of the electronic device reported by the sensor unit.
409, the direction calculating unit determines the display parameters of the background layer according to the direction information of the electronic equipment.
The direction calculation unit may determine a rotation angle thereof according to the direction information of the electronic device. Furthermore, the display parameters of the background layer can be obtained according to the relationship between the rotation angle and the display parameters. For the specific calculation method, reference may be made to the foregoing embodiments, which are not described herein again.
And 410, the direction calculation unit sends the display parameters of the background layer to the window control unit.
And 411, the window control unit sends the display parameters of the background layer and the display parameters of the current picture layer to the layer mixing unit.
In a specific implementation process, the window control unit may invoke an animation control unit (not shown in fig. 13), and convert the display parameters of the background layer and the display parameters of the current picture layer into a data format that can be recognized by the layer mixing unit located in the system layer through the animation control unit. The format-converted display parameters may then be sent to the layer blending unit.
It should be noted that, in the actual execution process, the parameter information sent to the layer mixing unit may further include a plurality of display-related information such as window position information, window size information, and layer level information.
And 412, the layer mixing unit executes layer mixing and sends the mixed display data to the display driver for displaying.
In this embodiment of the present application, the layer mixing unit may perform layer mixing on the background layer and the current picture layer according to the received display parameter. Wherein, the display hierarchy of the background layer is positioned below the current picture layer.
Then, the layer mixing unit may send the mixed display data to a three-dimensional graphics processing unit of the system layer. The three-dimensional graphic processing unit can write the received display data into the memory of the electronic equipment.
Furthermore, the display driver in the kernel layer can display the background layer and the current picture layer by reading the display data in the memory. During specific display, according to the foregoing description, since the coverage area of the first screenshot only includes the non-waterfall screen region, the display content of the background layer in the waterfall screen region is not blocked by the current image layer when the current image layer and the background layer are displayed in a superimposed manner.
According to the method and the device, in the screen turning process of the electronic equipment from the vertical screen mode to the horizontal screen mode, the direction calculating unit located on the application program frame layer can dynamically adjust the display parameters of the background layer according to the direction information of the electronic equipment. The layer mixing unit located in the system layer can mix the background layer and the current picture layer according to the dynamically changed display parameters. Because the first screenshot of the current image layer does not cover the waterfall screen area, the display state of the waterfall screen area can present a dynamically changing visual effect under the visual angle of a user.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application can be implemented in hardware or a combination of hardware and computer software in conjunction with the steps of the various examples described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the implementation of embodiments.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 14 shows a possible composition diagram of the screen turning device in the above embodiment, as shown in fig. 14, the screen turning device 600 may include: an acquisition unit 601, a determination unit 602, and a display unit 603, wherein:
the obtaining unit 601 is configured to obtain the rotation angle of the electronic device according to a set period after detecting that the screen rotation response condition is satisfied.
A determining unit 602, configured to determine a display parameter of a background layer according to the rotation angle, where a coverage area of the background layer includes the waterfall screen area.
A display unit 603, configured to display the background layer according to the display parameter, where a display level of the background layer is located below a current picture layer.
In a possible implementation manner, the obtaining unit 601 is specifically configured to determine that a screen turn response condition is satisfied according to the posture information of the electronic device and the screen turn service setting information.
In a possible implementation manner, the obtaining unit 601 is specifically configured to obtain current angle information of the electronic device by using a sensor; and determining the rotation angle according to the current angle information and the initial angle information of the electronic equipment.
In one possible implementation, the display parameters include transparency and/or brightness.
In a possible implementation manner, the determining unit 602 is specifically configured to determine, according to a positive correlation between a rotation angle and the transparency and/or the brightness, the transparency and/or the brightness corresponding to the rotation angle.
In a possible implementation manner, the determining unit 602 is specifically configured to determine the value of the parameter according to a formula
Figure 826072DEST_PATH_IMAGE001
Determining the transparency and/or the brightness corresponding to the rotation angle; wherein y is the transparency or the brightness; and x is the rotation angle, and the value of x is 0-90 degrees.
In a possible implementation manner, the determining unit 602 is further configured to determine a second color value of the background layer according to the first color value of the current picture layer.
In a possible implementation manner, the determining unit 602 is specifically configured to perform sampling at a plurality of sampling positions of the current picture layer to obtain a plurality of first color values; and determining a second color value of the background layer according to the average value of the plurality of first color values.
It should be understood that the electronic device herein is embodied in the form of a functional unit. The term "unit" herein may be implemented by software and/or hardware, and is not particularly limited thereto. For example, a "unit" may be a software program, a hardware circuit, or a combination of both that implement the above-described functions. The hardware circuitry may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group of processors) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
The application further provides a screen turning device which comprises a storage medium and a central processing unit, wherein the storage medium can be a nonvolatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit is connected with the nonvolatile storage medium and executes the computer executable program to achieve the screen turning method.
The present application further provides a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the steps of the screen turning method of the present application.
The present application further provides a computer program product comprising instructions for causing a computer to perform the steps of the screen turning method of the present application when the computer program product is run on a computer or any at least one processor.
The application also provides a chip, which comprises a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface so as to execute corresponding operations and/or processes executed by the screen turning method provided by the application.
Optionally, the chip further comprises a memory, the memory is connected with the processor through a circuit or a wire, and the processor is used for reading and executing the computer program in the memory. Further optionally, the chip further comprises a communication interface, and the processor is connected to the communication interface. The communication interface is used for receiving data and/or information needing to be processed, and the processor acquires the data and/or information from the communication interface and processes the data and/or information. The communication interface may be an input output interface.
The memory may be a read-only memory (ROM), other types of static storage devices that may store static information and instructions, a Random Access Memory (RAM), or other types of dynamic storage devices that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
In the embodiment of the present application, "and/or" describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and the like, refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A screen turning method is characterized in that the method is applied to electronic equipment, a display screen of the electronic equipment comprises a waterfall screen area, and the electronic equipment comprises a direction calculation unit, a window control unit, an animation control unit, a layer mixing unit and a display driver; the direction calculation unit, the window control unit and the animation control unit are positioned on an application program framework layer, the layer mixing unit is positioned on a system layer, and the display driver is positioned on a kernel layer; the method comprises the following steps:
after the direction calculation unit detects that a screen turning response condition is met, acquiring a rotation angle of the electronic equipment according to a set period in the screen turning process of the electronic equipment from a vertical screen mode to a horizontal screen mode;
the direction calculation unit determines display parameters of a background layer according to the rotation angle, and the coverage range of the background layer comprises the waterfall screen area;
the direction calculation unit displays the background layer according to the display parameters, and the display level of the background layer is positioned below the current picture layer;
the direction calculating unit displays the background layer according to the display parameter, and includes:
the direction calculation unit sends the display parameters of the background layer to the layer mixing unit through the window control unit; the layer mixing unit is used for mixing the background layer and the current picture layer according to the display parameters of the background layer and sending the mixed display data to the display driver for displaying;
before the direction calculation unit acquires the rotation angle of the electronic device according to a set period, the method further includes:
the direction calculation unit sends a screen capture instruction to the window control unit;
the window control unit responds to the screen capture instruction to call the animation control unit, and the animation control unit captures the display content of the non-waterfall screen area of the current picture layer to obtain a first screenshot;
and displaying the first cut map on the current picture layer in the screen turning process of the electronic equipment from a vertical screen mode to a horizontal screen mode.
2. The method of claim 1, wherein detecting that a turn screen response condition is satisfied comprises:
and determining that screen turning response conditions are met according to the attitude information of the electronic equipment and screen turning service setting information.
3. The method of claim 1, wherein obtaining the rotation angle of the electronic device comprises:
acquiring current angle information of the electronic equipment by using a sensor;
and determining the rotation angle according to the current angle information and the initial angle information of the electronic equipment.
4. The method of claim 1, wherein the display parameter comprises transparency and/or brightness.
5. The method according to claim 4, wherein determining the display parameters of the background layer according to the rotation angle comprises:
and determining the transparency and/or the brightness corresponding to the rotation angle according to the positive correlation between the rotation angle and the transparency and/or the brightness.
6. The method according to claim 5, wherein determining the transparency and/or the brightness corresponding to the rotation angle according to the positive correlation between the rotation angle and the transparency and/or the brightness comprises:
according to the formula
Figure FDF0000019288300000011
Determining the transparency and/or the brightness corresponding to the rotation angle;
wherein y is the transparency or the brightness; and x is the rotation angle, and the value of x is 0-90 degrees.
7. The method of claim 1, further comprising:
and determining a second color value of the background layer according to the first color value of the current picture layer.
8. The method of claim 7, wherein determining the second color value of the background layer according to the first color value of the current picture layer comprises:
sampling is carried out at a plurality of sampling positions of the current picture layer to obtain a plurality of first color values;
and determining a second color value of the background layer according to the average value of the plurality of first color values.
9. An electronic device, comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the screen turning method of any of claims 1-8.
10. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the screen turning method of any one of claims 1 to 8.
CN202210159795.5A 2022-02-22 2022-02-22 Screen rotating method and equipment Active CN114217720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210159795.5A CN114217720B (en) 2022-02-22 2022-02-22 Screen rotating method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210159795.5A CN114217720B (en) 2022-02-22 2022-02-22 Screen rotating method and equipment

Publications (2)

Publication Number Publication Date
CN114217720A CN114217720A (en) 2022-03-22
CN114217720B true CN114217720B (en) 2023-04-07

Family

ID=80709155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210159795.5A Active CN114217720B (en) 2022-02-22 2022-02-22 Screen rotating method and equipment

Country Status (1)

Country Link
CN (1) CN114217720B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442894B (en) * 2022-04-06 2022-09-02 荣耀终端有限公司 Screen display picture adjusting method and device and electronic equipment
CN116069223B (en) * 2023-03-07 2023-08-04 荣耀终端有限公司 Anti-shake method, anti-shake device and wearable equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360005A (en) * 2020-03-04 2021-09-07 Oppo广东移动通信有限公司 Color cast adjusting method and related product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140104220A (en) * 2013-02-20 2014-08-28 삼성전자주식회사 Method and apparatus for screen transition in electronic device using transparent display
KR101801554B1 (en) * 2013-07-11 2017-11-27 삼성전자주식회사 User terminal device for displaying contents and methods thereof
KR20200045241A (en) * 2018-10-22 2020-05-04 삼성전자주식회사 foldable Electronic Device and the method for Displaying Plurality of Pages of Contents thereof
CN111341284A (en) * 2018-12-19 2020-06-26 富泰华工业(深圳)有限公司 Electronic device and display screen brightness adjusting method thereof
CN112445448B (en) * 2019-08-30 2022-07-22 华为技术有限公司 Flexible screen display method and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360005A (en) * 2020-03-04 2021-09-07 Oppo广东移动通信有限公司 Color cast adjusting method and related product

Also Published As

Publication number Publication date
CN114217720A (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN114217720B (en) Screen rotating method and equipment
EP3943881A1 (en) Method and apparatus for measuring geometric parameter of object, and terminal
US11460916B2 (en) Interface interaction apparatus and method
CN107357540B (en) Display direction adjusting method and mobile terminal
CN108153503B (en) Display control method and related product
CN111353930B (en) Data processing method and device, electronic equipment and storage medium
CN111176764B (en) Display control method and terminal equipment
CN104081307A (en) Image processing apparatus, image processing method, and program
CN110489027B (en) Handheld input device and display position control method and device of indication icon of handheld input device
CN110209326B (en) Screenshot method and device, folding screen device and storage medium
CN111882642B (en) Texture filling method and device for three-dimensional model
WO2017005070A1 (en) Display control method and device
JP2014130551A (en) Information display apparatus, information display system, control method thereof, and program
JP2022084658A (en) Method for generating 3d object arranged in extended real space
CN101727177A (en) Mouse simulation system and application method thereof
CN114549683A (en) Image rendering method and device and electronic equipment
CN110633336B (en) Method and device for determining laser data search range and storage medium
CN109254710B (en) Screen rotation method and device, terminal equipment and computer readable storage medium
CN111798573B (en) Electronic fence boundary position determination method and device and VR equipment
CN109189244B (en) Terminal display method and device, terminal and readable storage medium
CN113473003B (en) Image display method and apparatus
EP4227876A1 (en) Method for displaying two-dimensional code, and electronic device
US11961251B2 (en) Continuous surface and depth estimation
US11380071B2 (en) Augmented reality system and display method for anchoring virtual object thereof
CN117631891A (en) Screen content display method and device, storage medium and electronic equipment

Legal Events

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