CN113391735A - Display form adjusting method and device, electronic equipment and storage medium - Google Patents

Display form adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113391735A
CN113391735A CN202010180586.XA CN202010180586A CN113391735A CN 113391735 A CN113391735 A CN 113391735A CN 202010180586 A CN202010180586 A CN 202010180586A CN 113391735 A CN113391735 A CN 113391735A
Authority
CN
China
Prior art keywords
display
sliding
display interface
adjusting
interface
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.)
Pending
Application number
CN202010180586.XA
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010180586.XA priority Critical patent/CN113391735A/en
Publication of CN113391735A publication Critical patent/CN113391735A/en
Pending legal-status Critical Current

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (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 is applicable to the field of electronic equipment, and provides a display form adjusting method, a display form adjusting device, electronic equipment and a storage medium, wherein the display form adjusting method comprises the following steps: and if the sliding operation on the touch screen of the electronic equipment is detected, acquiring the sliding parameters of the display interface of the electronic equipment, and adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface. The display object can be characters or images, the display form of the display object on the display interface is adjusted according to the sliding parameters of the display interface, the display object is displayed according to the corresponding display form, and the legibility of the display object can be improved.

Description

Display form adjusting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for adjusting a display form, an electronic device, and a storage medium.
Background
The existing electronic device generally allows a user to perform a sliding operation on a display interface, and the display interface slides according to the sliding operation to display the content of the corresponding interface. In the sliding process of the display interface, on one hand, visual residue can be caused; on the other hand, due to the technical limitation of screen display devices, some types of screens may have text or picture smear in some special scenes, thereby causing the readability of the display content on the display interface to be reduced during the sliding process of the display interface.
Disclosure of Invention
The embodiment of the application provides a display form adjusting method and device, electronic equipment and a storage medium, so that the legibility of display contents of a display interface is improved in the sliding process of the display interface.
In a first aspect, an embodiment of the present application provides a method for adjusting a display form, including: if the sliding operation on a touch screen of the electronic equipment is detected, acquiring sliding parameters of a display interface of the electronic equipment; and adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface.
In the above embodiment, when the sliding operation on the touch screen of the electronic device is detected, the sliding parameter of the display interface is acquired, the display form of the display object on the display interface is adjusted according to the sliding parameter of the display interface, and the sliding parameter of the display interface reflects the sliding state of the display interface, so that when the display interface is in different sliding states, the display object is displayed according to the corresponding display form, the display form of the display object is adapted to the sliding state of the display interface, and the legibility of the display object is improved.
In a possible implementation manner of the first aspect, the adjusting the display form of the display object on the display interface according to the sliding parameter of the display interface includes: and adjusting the display form of the display object on the display interface according to the sliding speed of the display interface. For example, as the sliding speed of the display interface increases, the display form of the display object on the display interface is adjusted to improve the resolution of the display object, so that the legibility of the display object is improved during the sliding process of the display interface.
In a possible implementation manner of the first aspect, the adjusting a display form of a display object on the display interface according to the sliding speed of the display interface includes: and when the display object is in a preset display form, if the sliding speed of the display interface is greater than or equal to the preset speed, adjusting the display form of the display object on the display interface according to the mapping relation between the preset sliding speed of the display interface and the display form. The preset display form refers to a state that the display object is easily distinguished by a user, if the speed of the display interface is lower than the preset speed, the readability of the display object cannot be influenced by the sliding of the display interface, and the display form of the display object is not changed in the sliding process of the display interface; and when the sliding speed of the display interface is greater than or equal to the preset speed, adjusting the display form of the display object according to the mapping relation between the preset sliding speed of the display interface and the display form so as to improve the legibility of the display object in the sliding process of the display interface.
In a possible implementation manner of the first aspect, the adjusting a display form of a display object on a display interface according to a preset mapping relationship between a sliding speed of the display interface and the display form includes:
if the display interface is in an accelerated sliding state, adjusting the display form of the display object on the display interface according to a first relational expression between the sliding speed of the display interface and the display form; and if the display interface is in a deceleration sliding state, adjusting the display form of the display object on the display interface according to a second relational expression of the sliding speed and the display form of the display interface. Taking the font as an example of the display object, in the process of gradually increasing the sliding speed of the display interface, the resolution of the display object is gradually increased, for example, the font is increased; in the process of gradually reducing the sliding speed of the display interface, the resolution of the display object is gradually reduced, for example, the font is reduced, so that the display form of the display object is adapted to the sliding speed of the display interface, and a user can conveniently view the electronic device.
In a possible implementation manner of the first aspect, the adjusting the display form of the display object on the display interface according to the sliding speed of the display interface further includes: and if the sliding direction of the display interface is consistent with the preset direction, adjusting the display form of the display object on the display interface according to the sliding speed of the display interface. For example, when the display interface slides vertically, the display mode of the display object on the display interface is adjusted according to the sliding speed of the display interface, and when the display interface slides horizontally, the display mode of the display object is not adjusted.
In a possible implementation manner of the first aspect, the display object is a character, the display form of the display object includes a font width, a font height, a font weight, a font size, a font color, a font face rate, and/or a font middle porch size, and the resolution of the character is improved by changing the font width, the font height, the font weight, the font size, the font color, the font face rate, and/or the font middle porch size during the sliding process of the display interface.
In a possible implementation manner of the first aspect, the acquiring a sliding parameter of a display interface of the electronic device includes:
and calculating the sliding parameters of the display interface according to the sliding position, the sliding distance and the sliding time of the sliding operation.
In a second aspect, an embodiment of the present application provides an apparatus for adjusting a display mode, including:
the electronic equipment comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a sliding parameter of a display interface of the electronic equipment if the sliding operation on a touch screen of the electronic equipment is detected;
and the adjusting module is used for adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface.
In a possible implementation manner of the second aspect, the sliding parameter of the display interface includes a sliding speed of the display interface, and correspondingly, the adjusting module is specifically configured to: and adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
In a possible implementation manner of the second aspect, the adjusting module is specifically further configured to: and when the display object is in a preset display form, if the sliding speed of the display interface is greater than or equal to the preset speed, adjusting the display form of the display object on the display interface according to the mapping relation between the preset sliding speed of the display interface and the display form.
In a possible implementation manner of the second aspect, the adjusting module is specifically further configured to:
if the display interface is in an accelerated sliding state, adjusting the display form of the display object on the display interface according to a first relational expression between the sliding speed of the display interface and the display form;
and if the display interface is in a deceleration sliding state, adjusting the display form of the display object on the display interface according to a second relational expression of the sliding speed and the display form of the display interface.
In a possible implementation manner of the second aspect, the sliding parameter of the display interface further includes a sliding direction of the display interface, and correspondingly, the adjusting module is specifically configured to: and if the sliding direction of the display interface is consistent with the preset direction, adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
In a possible implementation manner of the second aspect, the display object is a character, and the display form of the display object includes a font width, a font height, a font weight, a font size, a font color, a font face rate, and/or a font midriff size.
In a possible implementation manner of the second aspect, the obtaining module is specifically configured to: and calculating the sliding parameters of the display interface according to the sliding position, the sliding distance and the sliding time of the sliding operation.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is implemented to implement the method according to the first aspect when executed by a processor.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method according to the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device to which the method provided in the embodiment of the present application is applied;
fig. 2 is an application scenario diagram of an adjustment method for a display form according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for adjusting a display mode according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of a display form of text provided in an embodiment of the present application;
fig. 5 is a scene diagram of an adjustment method for a display form according to an embodiment of the present application;
FIG. 6 is another view of another exemplary embodiment of a method for adjusting a display mode;
fig. 7 is a schematic diagram of an adjusting apparatus for displaying an image according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The method for adjusting the display form provided in the embodiment of the present application is applied to the electronic device 100, where the electronic device 100 may be a mobile phone, a tablet computer, an Augmented Reality (AR)/Virtual Reality (VR) device, and the like, and the specific type of the electronic device is not limited in any way in the embodiment of the present application.
For ease of understanding, the electronic device 100 according to the embodiment of the present application will be described first. Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure.
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 charging 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, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
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, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
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 processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
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.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
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 charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
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 sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during 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 further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (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 electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting 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 capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
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 gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
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. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the 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. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
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 bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
Referring to fig. 2, fig. 2 is an application scene diagram of the method for adjusting a display form according to the embodiment of the present invention, when a user views content, such as display objects, such as characters and images, displayed on a display interface of an electronic device, the user performs a sliding operation on a touch screen, and the display interface slides according to the sliding operation to update the display object on the display interface. For example, when a user views information, there are 100 information records stored in the electronic device currently, and 10 information records that can be displayed on the display interface, and by performing a sliding operation on the touch screen, the display interface is slid, and a display object on the display interface is updated, all the information records stored in the electronic device can be sequentially viewed. Because the display object slides along with the display interface in the sliding process, the resolution of the display object is reduced and the readability of the display object is reduced due to the influence of factors such as visual residues or smear in the sliding process of the display object. In the embodiment of the application, when the display interface slides, the sliding parameters of the display interface are obtained, and the display form of the display object on the display interface is adjusted according to the sliding parameters of the display interface. The sliding parameters include sliding speed, sliding direction, sliding time and the like, for example, when the sliding speed of the display interface reaches a preset speed value, the word size or the word weight of the characters on the display interface is increased, and the word weight is the stroke thickness, so that the resolution of the characters displayed on the display interface is increased, and the readability of the characters is improved.
The method provided by the embodiment of the invention is explained in detail below with reference to fig. 1-2.
Referring to fig. 3, an embodiment of the present disclosure provides a method for adjusting a display mode, including:
s101: and if the sliding operation on the touch screen of the electronic equipment is detected, acquiring the sliding parameters of the display interface of the electronic equipment.
The sliding parameters of the display interface comprise the sliding speed, the sliding direction, the sliding distance and the like of the display interface. When the electronic equipment detects the sliding operation on the touch screen, the sliding parameters of the display interface are adjusted according to the sliding position, the sliding distance and the sliding time of the sliding operation. The sliding position of the sliding operation refers to a starting position and an ending position of the sliding operation, the distance between the starting position and the ending position is a sliding distance, and the duration of the sliding operation is a sliding time. For example, the greater the sliding distance of the sliding operation, the greater the sliding speed of the display interface; or the longer the sliding time of the sliding operation is, the greater the sliding speed of the display interface is; or calculating the sliding speed of the sliding operation, wherein the larger the sliding speed of the sliding operation is, the larger the sliding speed of the display interface is, and the sliding direction of the display interface is consistent with the sliding direction of the sliding operation.
S102: and adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface.
The display object is a character or an image, and if the display object is a character, the display form of the display object comprises the font width, the font height, the font weight, the font size, the font color, the font face rate and/or the font middle palace size; if the display object is an image, the display form of the display object includes the brightness, contrast, hue, and the like of the image.
Taking the display object as a character and the sliding parameter as a speed as an example, when the sliding speed of the display interface is greater than or equal to a first preset speed, one or more of the font width, the font height, the font weight, the font size, the font face rate or the font middle palace size of the character can be adjusted to improve the resolution of the character and enhance the readability. For example, as shown in fig. 4, in the coordinate system, the width of the font increases in the XO direction, the height of the font increases in the YO direction, the weight of the font increases in the OZ direction, and the resolution of the character increases as the width of the font, the height of the font, and the weight of the font increases.
In a possible implementation manner, when the display object is in the preset display form and the sliding speed of the display interface is greater than or equal to the first preset speed, the display form of the display object is adjusted. Display shape with display object as characterFor example, the initial character weight of the character is set to w0Maximum word weight of wmaxThe maximum word weight can be set according to the size and the resolution of the touch screen, when the word weight of the character is larger than the maximum word weight, the readability of the character can be affected by continuously increasing the word weight, and the preset display form is that the current word weight w meets w0<w<wmax. If the current word weight w satisfies w0<w<wmaxAnd when the sliding speed of the display interface is greater than or equal to a first preset speed, adjusting the character weight of the font. Specifically, as shown in fig. 5(a), if the current word weight is smaller than the maximum word weight easily distinguished by the user, when the sliding speed of the display interface is smaller than the first preset speed, the display interface is in a static or slow sliding state, the readability of the characters cannot be affected by the sliding of the display interface, and the word weight remains unchanged. When the sliding speed of the display interface is greater than or equal to the first preset speed, the readability of the characters is affected by the sliding of the display interface, and the character weight of the characters needs to be adjusted to improve the resolution of the characters and increase the readability. As shown in fig. 5(B), when the sliding speed of the display interface is greater than or equal to the first preset speed, if the sliding speed of the display interface gradually increases, that is, the display interface is in an accelerated sliding state, the word weight of the text is adjusted according to the first relational expression between the sliding speed of the display interface and the display form. For example, the word weight of the character is adjusted to be gradually increased according to the first relation w ═ f (v) to improve the resolution of the character, and when the word weight reaches the maximum word weight wmaxWhen the word weight is not increased any more. When the sliding speed of the display interface is greater than or equal to the first preset speed, if the sliding speed of the display interface is gradually reduced, the display interface is in a speed reduction sliding state, for example, when the sliding operation lasts for a period of time, the sliding speed of the sliding interface reaches a speed greater than the first preset speed, the user releases his hand and does not slide any more, at this time, the display interface enters the speed reduction sliding state, and the character weight of the characters is adjusted according to a second relational expression between the sliding speed of the display interface and the display form. For example, the word weight of the character is adjusted to be gradually reduced according to the second relation w ═ f' (v), until the initial word weight is reached, and the word weight is not reduced any more. If the display interface is in a uniform sliding state and the sliding speed is highIf the speed is larger than or equal to the first preset speed, the current word weight is kept unchanged. The size of the word weight may correspond to the sliding speed of the display interface, for example, when the sliding speed of the display interface reaches a preset speed, the word weight of the character is correspondingly adjusted to a preset value, and if the current word weight has reached the small word weight corresponding to the preset speed, the word weight is not adjusted when the sliding speed of the display interface reaches the preset speed; the small word size may also correspond to an increase in the sliding speed of the display interface, for example, the word increase ratio may be adjusted according to the increase ratio of the sliding speed during the sliding of the display interface.
It should be noted that, in other possible implementation manners, if the display object is a text, the display form is a font width, a font height, a font size, a font face rate, a font middle size, or the like, and when the text is in the preset display form, if the sliding speed of the display interface is greater than or equal to the first preset speed, the display form of the text is adjusted according to the mapping relationship between the sliding speed of the display interface and the display form. For example, as shown in fig. 6(a), if the current font size is larger than the minimum font size easily distinguishable by the user and smaller than the maximum font size easily distinguishable by the user, when the sliding speed of the display interface is smaller than the first preset speed, the display interface is in a static or slow sliding state, the readability of the characters cannot be affected by the sliding of the display interface, and the font size remains unchanged. As shown in fig. 6(B), when the display interface is in the accelerated sliding state, the font size of the text is gradually increased according to the sliding speed to increase the resolution of the text until the maximum font size is reached. And when the display interface is in a deceleration sliding state, gradually reducing the character size of the characters according to the sliding speed until the character size is reduced to the minimum character size. For another example, when the display interface is in an accelerated sliding state, the size of the middle palace of the characters is gradually increased according to the sliding speed so as to increase the resolution of the characters until the size of the middle palace of the characters is increased to the maximum. When the display interface is in a deceleration sliding state, the size of the middle palace of the characters is gradually reduced according to the sliding speed until the size is reduced to the minimum size of the middle palace of the characters.
In a possible implementation manner, if the sliding direction of the display interface is consistent with the preset direction, the display form of the display object on the display interface is adjusted according to the sliding speed of the display interface. For example, the preset direction is a vertical direction of the electronic device, the vertical direction is a direction on the display interface that is consistent with a display direction of the display object, and only when the sliding direction of the display interface is the vertical direction, for example, the sliding direction shown in fig. 6(B), when the sliding speed of the display interface is greater than or equal to the preset speed, the display form of the display object on the display interface is adjusted according to the sliding speed of the display interface. When the sliding direction of the display interface is inconsistent with the preset direction, for example, the display interface slides to the left or the display interface slides to the right, the display form of the display object is adjusted according to the content displayed on the display interface. For example, in a left-right page-turning scene, when the display content is completely displayed and cannot be slid further, the font width of the text displayed on the display interface is increased to represent the corresponding semantics, for example, to represent that the current interface cannot be slid further.
In the above embodiment, if the electronic device detects a sliding operation on the touch screen, the sliding parameter of the display interface is acquired, and the display form of the display object on the display interface is adjusted according to the sliding parameter of the display interface, so that the display form of the display object is adapted to the sliding state of the display interface, and the readability of the display object is improved.
Fig. 7 is a block diagram showing a configuration of an adjusting apparatus for a display mode according to an embodiment of the present application, which corresponds to the method for adjusting a display mode described in the above embodiment.
As shown in fig. 7, the display form adjustment apparatus according to the embodiment of the present application includes:
the acquisition module 10 is configured to acquire a sliding parameter of a display interface of an electronic device if a sliding operation on a touch screen of the electronic device is detected;
and the adjusting module 20 is configured to adjust a display form of the display object on the display interface according to the sliding parameter of the display interface.
In a possible implementation manner, the sliding parameter of the display interface includes a sliding speed of the display interface, and correspondingly, the adjusting module 20 is specifically configured to: and adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
In a possible implementation manner, the adjusting module 20 is further specifically configured to: and when the display object is in a preset display form, if the sliding speed of the display interface is greater than or equal to the preset speed, adjusting the display form of the display object on the display interface according to the mapping relation between the preset sliding speed of the display interface and the display form.
In a possible implementation manner, the adjusting module 20 is further specifically configured to:
if the display interface is in an accelerated sliding state, adjusting the display form of the display object on the display interface according to a first relational expression between the sliding speed of the display interface and the display form;
and if the display interface is in a deceleration sliding state, adjusting the display form of the display object on the display interface according to a second relational expression of the sliding speed and the display form of the display interface.
In a possible implementation manner, the sliding parameter of the display interface further includes a sliding direction of the display interface, and correspondingly, the adjusting module 20 is specifically configured to: and if the sliding direction of the display interface is consistent with the preset direction, adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
In a possible implementation manner, the display object is a character, and the display form of the display object includes a font width, a font height, a font weight, a font size, a font color, a font face rate, and/or a font midriff size.
In a possible implementation manner, the obtaining module 10 is specifically configured to: and calculating the sliding parameters of the display interface according to the sliding position, the sliding distance and the sliding time of the sliding operation.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/electronic device, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and 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.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for adjusting a display form, comprising:
if the sliding operation on a touch screen of the electronic equipment is detected, acquiring sliding parameters of a display interface of the electronic equipment;
and adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface.
2. The method for adjusting the display form according to claim 1, wherein the sliding parameter of the display interface includes a sliding speed of the display interface, and correspondingly, the adjusting the display form of the display object on the display interface according to the sliding parameter of the display interface includes:
and adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
3. The method for adjusting the display form according to claim 2, wherein the adjusting the display form of the display object on the display interface according to the sliding speed of the display interface comprises:
and when the display object is in a preset display form, if the sliding speed of the display interface is greater than or equal to the preset speed, adjusting the display form of the display object on the display interface according to the mapping relation between the preset sliding speed of the display interface and the display form.
4. The method for adjusting display form according to claim 3, wherein the adjusting the display form of the display object on the display interface according to the preset mapping relationship between the sliding speed of the display interface and the display form comprises:
if the display interface is in an accelerated sliding state, adjusting the display form of the display object on the display interface according to a first relational expression between the sliding speed of the display interface and the display form;
and if the display interface is in a deceleration sliding state, adjusting the display form of the display object on the display interface according to a second relational expression of the sliding speed and the display form of the display interface.
5. The method for adjusting the display form according to claim 2, wherein the sliding parameters of the display interface further include a sliding direction of the display interface, and correspondingly, adjusting the display form of the display object on the display interface according to the sliding speed of the display interface includes:
and if the sliding direction of the display interface is consistent with the preset direction, adjusting the display form of the display object on the display interface according to the sliding speed of the display interface.
6. The method for adjusting display form according to claim 1, wherein the display object is a character, and the display form of the display object includes a font width, a font height, a font weight, a font size, a font color, a font face rate, and/or a font midriff size.
7. The method for adjusting display form according to claim 1, wherein the acquiring of the sliding parameter of the display interface of the electronic device includes:
and calculating the sliding parameters of the display interface according to the sliding position, the sliding distance and the sliding time of the sliding operation.
8. An apparatus for adjusting a display mode, comprising:
the electronic equipment comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a sliding parameter of a display interface of the electronic equipment if the sliding operation on a touch screen of the electronic equipment is detected;
and the adjusting module is used for adjusting the display form of the display object on the display interface according to the sliding parameters of the display interface.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for adjusting the display form according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method for adjusting the display form according to any one of claims 1 to 7.
CN202010180586.XA 2020-03-13 2020-03-13 Display form adjusting method and device, electronic equipment and storage medium Pending CN113391735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010180586.XA CN113391735A (en) 2020-03-13 2020-03-13 Display form adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010180586.XA CN113391735A (en) 2020-03-13 2020-03-13 Display form adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113391735A true CN113391735A (en) 2021-09-14

Family

ID=77616259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010180586.XA Pending CN113391735A (en) 2020-03-13 2020-03-13 Display form adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113391735A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116702701A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Word weight adjusting method, terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030164861A1 (en) * 2002-03-04 2003-09-04 Monique Barbanson Legibility of selected content
US20040113952A1 (en) * 2000-12-18 2004-06-17 Stephen Randall Computing device with user interface for navigating a contacts list
US20120005569A1 (en) * 2010-07-05 2012-01-05 Roh Hyeongseok Mobile terminal and method for controlling the same
US20130055150A1 (en) * 2011-08-24 2013-02-28 Primesense Ltd. Visual feedback for tactile and non-tactile user interfaces
US8438496B1 (en) * 2007-05-09 2013-05-07 Adobe Systems Incorporated Content sensitive automatic scrolling
JP2014130577A (en) * 2012-11-30 2014-07-10 Semiconductor Energy Lab Co Ltd Semiconductor device and program
CN106445358A (en) * 2016-09-14 2017-02-22 传线网络科技(上海)有限公司 Slide control method and terminal device
CN109656639A (en) * 2018-12-25 2019-04-19 深圳创维数字技术有限公司 A kind of interface rolling motion method, apparatus, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040113952A1 (en) * 2000-12-18 2004-06-17 Stephen Randall Computing device with user interface for navigating a contacts list
US20030164861A1 (en) * 2002-03-04 2003-09-04 Monique Barbanson Legibility of selected content
US8438496B1 (en) * 2007-05-09 2013-05-07 Adobe Systems Incorporated Content sensitive automatic scrolling
US20120005569A1 (en) * 2010-07-05 2012-01-05 Roh Hyeongseok Mobile terminal and method for controlling the same
US20130055150A1 (en) * 2011-08-24 2013-02-28 Primesense Ltd. Visual feedback for tactile and non-tactile user interfaces
JP2014130577A (en) * 2012-11-30 2014-07-10 Semiconductor Energy Lab Co Ltd Semiconductor device and program
CN106445358A (en) * 2016-09-14 2017-02-22 传线网络科技(上海)有限公司 Slide control method and terminal device
CN109656639A (en) * 2018-12-25 2019-04-19 深圳创维数字技术有限公司 A kind of interface rolling motion method, apparatus, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116702701A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Word weight adjusting method, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN110798568B (en) Display control method of electronic equipment with folding screen and electronic equipment
CN113395382B (en) Method for data interaction between devices and related devices
CN114489533A (en) Screen projection method and device, electronic equipment and computer readable storage medium
CN111552451A (en) Display control method and device, computer readable medium and terminal equipment
CN113691271A (en) Data transmission method and wearable device
CN114490174A (en) File system detection method, electronic device and computer readable storage medium
CN114880251A (en) Access method and access device of storage unit and terminal equipment
WO2022042768A1 (en) Index display method, electronic device, and computer readable storage medium
CN113467735A (en) Image adjusting method, electronic device and storage medium
CN113518189B (en) Shooting method, shooting system, electronic equipment and storage medium
CN114356109A (en) Character input method, electronic device and computer readable storage medium
CN113542574A (en) Shooting preview method under zooming, terminal, storage medium and electronic equipment
CN113901485B (en) Application program loading method, electronic device and storage medium
CN113674258B (en) Image processing method and related equipment
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN113467747B (en) Volume adjusting method, electronic device and storage medium
CN114661258A (en) Adaptive display method, electronic device, and storage medium
CN114466238A (en) Frame demultiplexing method, electronic device and storage medium
CN113867520A (en) Device control method, electronic device, and computer-readable storage medium
CN113364067B (en) Charging precision calibration method and electronic equipment
CN113132532B (en) Ambient light intensity calibration method and device and electronic equipment
CN114125144B (en) Method, terminal and storage medium for preventing false touch
WO2023207715A1 (en) Screen-on control method, electronic device, and computer-readable storage medium
CN114610195B (en) Icon display method, electronic device and storage medium
CN113509145B (en) Sleep risk monitoring method, electronic device and storage medium

Legal Events

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