WO2020078290A1 - 圆角屏幕的显示方法、计算机设备以及存储介质 - Google Patents

圆角屏幕的显示方法、计算机设备以及存储介质 Download PDF

Info

Publication number
WO2020078290A1
WO2020078290A1 PCT/CN2019/110889 CN2019110889W WO2020078290A1 WO 2020078290 A1 WO2020078290 A1 WO 2020078290A1 CN 2019110889 W CN2019110889 W CN 2019110889W WO 2020078290 A1 WO2020078290 A1 WO 2020078290A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
display
rounded
area
preset
Prior art date
Application number
PCT/CN2019/110889
Other languages
English (en)
French (fr)
Inventor
丁河
Original Assignee
奇酷互联网络科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020078290A1 publication Critical patent/WO2020078290A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the present application relates to the field of display screens, and in particular to the display method of rounded corner screens, computer equipment, and storage media.
  • the main purpose of the present application is to provide a method for displaying a rounded corner screen, which aims to solve the technical problem that the existing display screen devices are often not smooth at right angles.
  • This application provides a method for displaying a rounded corner screen, including:
  • the step of acquiring the display background color of the APP display interface currently displayed on the screen it includes:
  • the four corner right-angle areas are respectively set as the preset rounded corner areas with a black background color.
  • the step of respectively setting the four right-angled edge areas as the preset rounded corner areas with a black background color includes:
  • the preset first frame is a rectangular frame formed by connecting four rounded corners with black background;
  • the step of respectively setting the four right-angled edge areas as the preset rounded corner areas with a black background color includes:
  • the height dimension of the first picture where the first picture includes two rounded corners with a black background, and the same corner edge common to the two rounded corners, and the height dimension is a height value perpendicular to the same corner edge;
  • the step of respectively setting the four right-angled edge areas as the preset rounded corner areas with a black background color includes:
  • the third picture and the symmetric picture of the third picture are respectively covered on the four right-angled areas according to a preset rule, so that the four right-angled areas are displayed as symmetrical rounded corners.
  • the step of obtaining the transition color of the boundary area between the preset rounded area and the APP display interface according to the display base color and the rounded corner color of the preset rounded area includes:
  • the first color is set as the transition color.
  • the step of obtaining the transition color of the boundary area between the preset rounded area and the APP display interface according to the display background color and the rounded background color of the preset rounded area includes:
  • the second color corresponding to the average pixel value is set as the transition color.
  • the step of displaying the transition color on the boundary area between the preset rounded area and the APP display interface includes:
  • the present application also provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the foregoing method are implemented.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps of the above method.
  • This application uses a software method to fill the transition between the preset rounded area and the border area of the APP display interface to realize the display of the hardware right angle as a smooth rounded corner to meet the user's visual experience and reduce The hardware polishing process saves costs.
  • FIG. 1 is a schematic flowchart of a method for displaying a rounded corner screen according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
  • a method for displaying a rounded corner screen includes:
  • the display background color of the currently displayed APP display interface is obtained in real time by calling a designated interface to obtain the real-time color of the right-angle area.
  • the real-time color of the right-angle area is directly obtained, so that a suitable transition color can be selected according to the real-time color of the right-angle area.
  • the transition color of this embodiment is the intermediate color of black and the real-time color of the above-mentioned right-angle area.
  • the real-time color of the right-angle area is white.
  • the mixed color of black and white is gray, the transition color is gray.
  • the above-mentioned boundary area refers to an arc-shaped area that forms a rounded corner. For example, if the preset rounded-angle area is composed of 20 pixels, the arc-shaped area occupies about 3 to 4 pixels.
  • the above gray is filled in the above 3 to 4 pixel positions to achieve a smooth transition from the black background to white, making the rounded corners display more natural and smooth, avoiding the abrupt change from black to white directly, and avoiding the appearance of Zigzag transition interface from black to white directly.
  • step S1 of acquiring the display background color of the APP display interface currently displayed on the screen it includes:
  • the size parameter of this embodiment includes the coordinate data of the display screen, so as to identify the edge area of the display screen through the coordinate data.
  • the starting points of the four right-angled edge areas are obtained by identifying the intersecting edge areas, that is, the intersection points of the edge areas are the starting points of the right-angle edge areas, and four edges are respectively delineated according to the starting points of the right-angle edge areas according to the preset right-angle coverage area Right angle area.
  • the four preset rounded corner areas are respectively covered on the four right-angled corner areas, so as to cover the four right-angled corner areas, and finally appear as rounded corners, the rounded corners are concave toward the display area.
  • the arc area makes the edge angle of the display interface appear convex arc shape.
  • the rounded corners of this embodiment are implemented by a software method, and the display layer in the display data is controlled by the screen manager.
  • the display layer of this embodiment includes two layers of Layer, including a rounded Layer and a right-angled Layer, and is read in real time from the Buffer Take the display background color of the APP display interface, and participate in the synthesis of the display interface through the Surfaceflinger (Surface Manager).
  • step S13 of setting the four right-angle edge areas as the preset rounded corner areas with a black background color respectively includes:
  • S131 Adjust the size of the preset first frame, where the preset first frame is a rectangular frame formed by connecting four rounded corners with a black background color.
  • the rounded corner layer in this embodiment is a hollow rectangular frame formed by connecting four rounded corners with a black background color.
  • the size of the hollow rectangular frame and the size of the four rounded corners with a black background color can be variably adjusted, and the hollow rectangular frame The size is adjusted in proportion to the size of the rounded corners of the four black backgrounds to meet the needs of display screens of different sizes. For example, if the display screen is 6 inches, each round corner of the black background includes 20 pixels; if the display screen is 4 inches, each round corner of the black background includes 15 pixels.
  • S132 Cover the adjusted first preset frame on the display screen, so that the rounded corners of the four black background colors cover the four right-angled areas of the display screen.
  • the resource file of the rounded layer in this embodiment uses the xxx.9.png picture.
  • the Layout Params is configured as MATCH_PARENT, Android will automatically stretch the picture to the position of the parent view, so only need to set the coordinate position of the parent view
  • the preset first frame after adjusting the size can be covered on the display screen, and the rounded corners of the four black background colors can cover the four right-angled areas of the display screen.
  • step S13 of setting the four right-angle edge areas as the preset rounded corner areas with a black background color respectively includes:
  • S133 Obtain the height dimension of the first picture, where the first picture includes two rounded corners with a black background color, and the same corner edge shared by the two rounded corners, and the height dimension is the height perpendicular to the same corner edge value.
  • the rounded corner layer in this embodiment is a first picture composed of two rounded corners with a black background color and the same corner border shared by the two rounded corners.
  • the size of the first picture and the size of the two rounded corners with a black background color are divided by the height
  • the size can be adjusted outside and outside, and the size of the first picture is proportional to the size of the two rounded corners of the black background to adjust to meet the needs of different sizes of display screens.
  • S134 Change the length dimension of the same corner edge line, so that the first picture covers the first designated area of the display screen, so that the two black background corners of the first picture cover the display screen
  • the two designated edges are at right angles.
  • each round corner of the black background color includes 20 pixels and the height is 20 pixels; if the display screen is 4 inches, each round corner of the black background color includes 15 pixels. Point, the height is still 20 pixels.
  • S135 Generate a second picture according to the adjusted first picture, wherein the first picture and the second picture are mirror images of each other.
  • the first picture in this embodiment only covers two adjacent right-angle areas. In order to cover four right-angle areas at the same time, it is necessary to generate a mirror image of the first picture, that is, the second picture, to pass the first picture and the second picture at the same time. Realize coverage of four right angle areas.
  • the first picture of this embodiment is more convenient for software design and size adjustment than a hollow rectangular frame formed by connecting four rounded corners with black background color.
  • the first picture can be set according to the distance between the two right-angle areas of the lower end of the screen display surface, and the second picture is set to cover the two right-angle areas of the upper end of the screen display surface.
  • the first picture can be set according to the distance between the two right-angle areas on the right end of the screen display surface, and the second picture is set to cover the two right-angle areas on the left end of the screen display surface.
  • the upper end, the lower end, the left end, and the right end of the screen display surface are determined by the direction in which the user is viewing the screen display surface normally, the screen display surface corresponding to the top of the user's head is the upper end, and the screen display surface corresponding to the user's chin is the lower end
  • the direction of the screen display surface corresponding to the user's right-hand end is the right end, and the direction of the screen display surface corresponding to the user's left-hand end is the left end.
  • S136 Control the second picture to cover the second designated area of the display screen, so that the two black background corners of the second picture cover the two designated edges of the display screen that are not covered at right angles region.
  • the rounded corner layer in this embodiment includes the first picture and the second picture.
  • the coordinate position of the parent view of the first picture is at the lower edge of the screen.
  • the coordinate position of the parent view of the two pictures is on the upper edge of the screen, and it is dynamically updated to the Surfaceflinger, so that the rounded Layer always participates in the synthesis of Surfaceflinger.
  • step S13 of setting the four right-angle edge areas as the preset rounded corner areas with a black background color respectively includes:
  • S137 Obtain the size parameter of the third picture according to one of the right-angled edge areas, where the third picture includes a rounded corner with a black background color.
  • the third picture in this embodiment includes only a resource picture with rounded corners in black background, which makes the software design easier and the size of the area covering the right angle is more convenient to adjust.
  • S138 Generate a symmetric picture of the third picture according to axis symmetry and center symmetry, respectively.
  • the rounded corner layer is divided into four parts, respectively corresponding to the right-angle area covering the lower right end of the screen display surface, the right-angle area at the lower left end, the right-angle area at the upper right end, and the right-angle area at the upper left end.
  • the third picture corresponding to the right-angled area at the lower right end is generated in advance by software, and then the axisymmetric pictures of the third picture are generated according to the axial symmetry to correspond to the right-angled area at the lower left end and the right-angled area at the upper right end, The central symmetry generates a centrally symmetric picture of the third picture corresponding to the right-angled area at the upper left end.
  • the above four partial right-angle areas corresponding to the rounded corner pictures can be generated by software to achieve individualized display.
  • the rounded corner size corresponding to the upper two right-angle areas is larger than the round corner size corresponding to the lower two right-angle areas To enhance the three-dimensional display.
  • S139 The third picture and the symmetric picture of the third picture are respectively covered on the four right-angled areas according to preset rules, so that the four right-angled areas are displayed as symmetrical rounded corners.
  • the preset rule in this embodiment is a one-to-one correspondence rule, for example, one-to-one matching each right-angle area according to the direction of each rounded arc area, for example, the direction of the rounded area It corresponds to the right-angle area at the left end of the lower end; or it is named according to the file when the rounded corner image is generated, and corresponds to each right-angle area one by one.
  • step S2 of obtaining the transition color of the boundary area between the preset rounded area and the APP display interface according to the display base color and the rounded corner color of the preset rounded area includes:
  • a preset matching table is used to pre-match the mixed color of the common APP display background color and black, so that the corresponding mixed color can be called as the transition color of the border area in time according to the acquired APP display background color, with a smooth color obvious change. For example, if the APP shows that the background color is white, the corresponding mixed color is gray.
  • S202 Obtain the first color corresponding to the display base color and the rounded corner color of the preset rounded corner area from the preset matching table, where the first color is the display base color and the rounded corner The middle color of the background color.
  • the first color in this embodiment is a mixed color of the display background color and the rounded corner background color of the preset rounded corner area to achieve a smooth transition.
  • This embodiment searches through the comparison of RGB values. For example, if the display background color is white and the corresponding RGB value is 255, check that the corresponding first color with an RGB value of 255 is gray, and then obtain the RGB value corresponding to gray to fill The property bar of the middle color.
  • the property bar of the intermediate color is updated to the manager in real time, and the Surfaceflinger is involved in the synthesis of the display interface at all times, so that the selected intermediate color is set to the transition color, so that the rounded corner transition is more natural and smooth, and avoid suddenly.
  • step S2 of obtaining the transition color of the boundary area between the preset rounded area and the APP display interface according to the display base color and the rounded corner color of the preset rounded area includes:
  • the first pixel value corresponding to the display background color of the APP display interface is obtained in real time through the color recognition interface.
  • the first pixel value in this embodiment is obtained based on pixel coordinate data.
  • the pixel coordinate data includes 16-bit color values and 24-bit colors. Value or 32-bit color value. According to the attributes of the color recognition interface, the corresponding form of pixel coordinate data is selected.
  • Other embodiments of this application can also obtain the brightness value and the pixel value at the same time in order to obtain the mixed color more accurately, but the performance requirements of the color recognition interface are higher, the interface development cost is higher, and the calculation amount is large, this embodiment is preferred Only the pixel value represented by the 16-bit color value is obtained.
  • S205 Calculate the average pixel value of the second pixel value corresponding to the black color of the rounded corner background and the first pixel value.
  • the average pixel value of this embodiment includes the average value of the pixel coordinate data corresponding to each coordinate position, so as to obtain the mixture of the display background color and the rounded background color of the preset rounded area more accurately and intelligently Color to further enhance the smooth transition effect.
  • the average pixel value is updated to the manager in real time, and through the participation of Surfaceflinger in the synthesis of the display interface, the color corresponding to the average pixel value is set to the transition color, which further makes the rounded corner transition more natural and smooth, and avoids abrupt feeling .
  • the step of displaying the transition color on the boundary area between the preset rounded corner area and the APP display interface includes:
  • the specified number of pixels in this embodiment refers to the width gradient of the transition area, so as to set the color of each pixel of the transition area according to the width gradient of the transition area. For example, if the width of the transition area is 3 pixels, three pixels will fill From the rounded corners of the black background color to the display interface, the colors are respectively the first mixed color close to black, the average color, and the second mixed color close to the background color of the currently running APP. For example, if the background color of the currently running APP is white, the first mixed color is dark gray, the average color is normal color number gray, and the second mixed color is light gray.
  • the GPU / HWC synthesizes the layer, because the rounded layer of the picture has a transparency effect, it also makes the transition arc very smooth. Enhanced the transition effect after the arc position takes the middle value of the currently displayed APP background color and black.
  • This embodiment uses a software method to fill in the transitional color of the preset rounded area and the boundary area of the APP display interface to realize the display of the right angle of the hardware as a rounded corner to meet the user's visual experience, and at the same time reduce The hardware polishing process saves costs.
  • an embodiment of the present application further provides a computer device.
  • the computer device may be a server, and its internal structure may be as shown in FIG. 2.
  • the computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the memory device provides an environment for operating systems and computer programs in non-volatile storage media.
  • the database of the computer device is used to store all data required for the display process of the rounded screen.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize the display method of the round corner screen.
  • the processor executes the method for displaying the rounded corner screen, including: obtaining the display background color of the APP display interface currently displayed on the display screen; obtaining the pre-calculation according to the display background color and the rounded corner color of the preset rounded corner area Set a transition color of the border area between the rounded area and the APP display interface, wherein the background color of the rounded area is black; display the transitional color on the predetermined rounded area and the The junction area of the APP display interface.
  • FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored.
  • a method for displaying a rounded corner screen is implemented, which includes: obtaining the display of the APP display interface currently displayed on the display screen Background color; according to the display background color and the rounded corner color of the preset rounded corner area, the transition color of the boundary area between the preset rounded corner area and the APP display interface is obtained, wherein the preset rounded corner area
  • the background color of the rounded corners is black; the transitional color is displayed on the boundary area between the preset rounded corner area and the APP display interface.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM random access memory
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

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

Abstract

圆角屏幕的显示方法、计算机设备以及存储介质,其中,圆角屏幕的显示方法,包括:获取显示屏幕当前显示的APP显示界面的显示底色(S1);根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色(S2);将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域(S3)。通过软件方法将预设圆角区域与所述APP显示界面的交界区域填充上两者的过渡色,实现将硬件直角显示为圆滑圆角,以满足用户的视觉感受,且同时减少了硬件打磨过程,节约成本。

Description

圆角屏幕的显示方法、计算机设备以及存储介质 技术领域
本申请涉及到显示屏幕领域,特别是涉及到圆角屏幕的显示方法、计算机设备以及存储介质。
背景技术
目前各式各样的移动终端涌入人们的生活中,移动终端的显示屏幕也各式各样,但为简化加工工艺,市面上的显示屏幕多为直角矩形状,以省掉打磨工艺,降低成本,但直角矩形状显示屏幕影响用户的视觉感受,感觉生硬而不够圆滑。
发明内容
本申请的主要目的为提供一种圆角屏幕的显示方法,旨在解决现有显示屏幕装置多为直角不够圆滑的技术问题。
本申请提供了一种圆角屏幕的显示方法,包括:
获取显示屏幕当前显示的APP显示界面的显示底色;
根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色;
将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域。
优选地,所述获取屏幕当前显示的APP显示界面的显示底色的步骤之前,包括:
识别所述显示屏幕的尺寸参数;
根据所述尺寸参数获取所述显示屏幕的四个边缘直角区域;
将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域。
优选地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
调整预设第一框架的尺寸,其中所述预设第一框架为四个黑色底色的圆角连线而成的矩形框;
将调整尺寸后的预设第一框架覆盖于所述显示屏幕,使所述四个黑色底色的圆角覆盖所述显示屏幕的四个边缘直角区域。
优选地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
获取第一图片的高度尺寸,其中所述第一图片包括两个黑色底色的圆角,以及两个圆角共有的同一角边线,所述高度尺寸为垂直所述同一角边线的高度值;
改变所述同一角边线的长度尺寸,使所述第一图片覆盖于所述显示屏幕的第一指定区域,使所述第一图片的两个黑色底色的圆角覆盖所述显示屏幕的两个指定边缘直角区域;
根据调整好尺寸的所述第一图片生成第二图片,其中所述第一图片与所述第二图片互为镜像图片;
控制所述第二图片覆盖于所述显示屏幕的第二指定区域,使所述第二图片中的两个黑色底色的圆角覆盖所述显示屏幕的未覆盖的两个指定边缘直角区域。
优选地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
根据一个所述边缘直角区域获取第三图片的尺寸参数,其中所述第三图片包括一个黑色底色的圆角;
根据轴对称和中心对称分别生成所述第三图片的对称图片;
将所述第三图片以及所述第三图片的对称图片,分别按照预设规则覆盖于所述四个边缘直角区域,使所述四个边缘直角区域显示为对称的圆角。
优选地,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤, 包括:
调取预设匹配表;
从所述预设匹配表中获取所述显示底色以及预设圆角区域的圆角底色对应的第一颜色,其中所述第一颜色为所述显示底色以及所述圆角底色的中间色;
将所述第一颜色设置为所述过渡色。
优选地,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤,包括:
调取颜色识别接口获取的所述APP显示界面的显示底色对应的第一像素值;
计算所述圆角底色的黑色对应的第二像素值与所述第一像素值的平均像素值;
将所述平均像素值对应的第二颜色设置为所述过渡色。
优选地,所述将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域的步骤之前,包括:
获取所述交界区域的圆弧处对应的指定数量像素点;
增大所述指定数量像素点的透明度。
本申请还提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法的步骤。
本申请通过软件方法将预设圆角区域与所述APP显示界面的交界区域的填充上两者的过渡色,实现将硬件直角显示为圆滑的圆角,以满足用户的视觉感受,且同时减少了硬件打磨过程,节约成本。
附图说明
图1本申请一实施例的圆角屏幕的显示方法的流程示意图;
图2本申请一实施例的计算机设备的内部结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,本申请一实施例的圆角屏幕的显示方法,包括:
S1:获取显示屏幕当前显示的APP显示界面的显示底色。
本实施例通过调用指定的接口实时获取当前显示的APP显示界面的显示底色,以获得直角区域的实时颜色。当整个APP显示界面的颜色不均一时,直接获取直角区域的实时颜色,以便根据直角区域的实时颜色选择合适的过渡色。
S2:根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色。
本实施例的过渡色为黑色与上述直角区域的实时颜色的中间颜色,比如直角区域的实时颜色为白色,因为黑色和白色的混合色为灰色,则过渡色为灰色。上述交界区域指构成圆角的弧形区域,比如预设圆角区域由20个像素点构成,则弧形区域约占据3到4个像素点。
S3:将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域。
比如将上述灰色填充于上述3到4个像素点位置,以实现黑色底色到白色的圆滑过渡,使圆角显示更自然,更圆滑,避免了从黑色直接变为白色的突兀,同时避免出现从黑色直接变为白色的锯齿状过渡界面。
进一步地,所述获取屏幕当前显示的APP显示界面的显示底色的步骤S1之前,包括:
S11:识别所述显示屏幕的尺寸参数。
本实施例的尺寸参数包括显示屏幕的坐标数据,以便通过坐标数据识别显示屏幕的边缘区域。
S12:根据所述尺寸参数获取所述显示屏幕的四个边缘直角区域。
本实施例通过识别相交的边缘区域获取到四个边缘直角区域起点,即边缘区域的相交点为边缘直角区域起点,按照预设直角覆盖区域尺寸依据所述边缘直角区域起点分别划定四个边缘直角区域。
S13:将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域。
本实施例通过将四个预设圆角区域分别覆盖于上述四个边缘直角区域,以实现遮盖四个边缘直角区域,并最终呈现为圆角,上述圆角为方向正对于显示区域的凹型的圆弧区域,使显示界面的边缘角呈现外凸的圆弧状。本实施例的圆角通过软件方法实现,通过屏幕管理器控制显示数据中的显示层实现,本实施例的显示层包括两层Layer,包括圆角Layer和直角Layer,并通过从Buffer中实时读取APP显示界面的显示底色,并通过Surfaceflinger(Surface管理器)将圆角Layer时时参与显示界面的合成。
进一步地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤S13,包括:
S131:调整预设第一框架的尺寸,其中所述预设第一框架为四个黑色底色的圆角连线而成的矩形框。
本实施例的圆角Layer为四个黑色底色的圆角连线而成的中空矩形框,中空矩形框的尺寸以及四个黑色底色的圆角的尺寸均可变动调整,且中空矩形框的尺寸与四个黑色底色的圆角的尺寸呈比例变化调整,以满足不同尺寸的显示屏幕的需求。举例地,显示屏幕为6寸,则每个黑色底色的圆角包括20个像素点;显示屏幕为4寸,则每个黑色底色的圆角包括15个像素点。
S132:将调整尺寸后的预设第一框架覆盖于所述显示屏幕,使所述四个黑色底色的圆角覆盖所述显示屏幕的四个边缘直角区域。
本实施例的圆角Layer的资源文件采用xxx.9.png图片,只要Layout Params配置成MATCH_PARENT则Android会自动实现图片拉伸到parent view的位置,所以只需要设置好parent view的坐标位置,即 可实现将调整尺寸后的预设第一框架覆盖于所述显示屏幕,且使所述四个黑色底色的圆角覆盖所述显示屏幕的四个边缘直角区域。
进一步地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤S13,包括:
S133:获取第一图片的高度尺寸,其中所述第一图片包括两个黑色底色的圆角,以及两个圆角共有的同一角边线,所述高度尺寸为垂直所述同一角边线的高度值。
本实施例的圆角Layer为两个黑色底色的圆角以及两个圆角共有的同一角边线组成的第一图片,第一图片的尺寸以及两个黑色底色的圆角的尺寸除高度尺寸外均可变动调整,且第一图片的尺寸与两个黑色底色的圆角的尺寸呈比例变化调整,以满足不同尺寸的显示屏幕的需求。
S134:改变所述同一角边线的长度尺寸,使所述第一图片覆盖于所述显示屏幕的第一指定区域,使所述第一图片的两个黑色底色的圆角覆盖所述显示屏幕的两个指定边缘直角区域。
本实施例通过改变所述同一角边线的长度尺寸,实现对不同尺寸的显示屏幕的直角区域进行覆盖,高度尺寸可根据设定高度值保持不变。举例地,显示屏幕为6寸,则每个黑色底色的圆角包括20个像素点,高度为20个像素点;显示屏幕为4寸,则每个黑色底色的圆角包括15个像素点,高度仍为20个像素点。
S135:根据调整好尺寸的所述第一图片生成第二图片,其中所述第一图片与所述第二图片互为镜像图片。
本实施例的第一图片只实现覆盖相邻的两个直角区域,为实现同时覆盖四个直角区域,需要生成第一图片的镜像图片即第二图片,以通过第一图片和第二图片同时实现覆盖四个直角区域。本实施例的第一图片相比于四个黑色底色的圆角连线而成的中空矩形框,更方便软件设计及尺寸调整。本实施例的第一图片可根据屏幕显示面的下端两个直角区域的距离尺寸设定,则第二图片则为覆盖屏幕显示面的上端两个直角区域而设定。本申请另一实施例的第一图片可根据屏幕显示面的右端两个直角区域的距离尺寸设定,则第二图片则为覆盖屏幕显示面的左端两个直 角区域而设定。本实施例中屏幕显示面的上端、下端、左端和右端以用户正对正常观看屏幕显示面的方向而定,用户头顶对应的屏幕显示面方向为上端、用户下巴对应的屏幕显示面方向为下端,用户右手端对应的屏幕显示面方向为右端,用户左手端对应的屏幕显示面方向为左端。
S136:控制所述第二图片覆盖于所述显示屏幕的第二指定区域,使所述第二图片中的两个黑色底色的圆角覆盖所述显示屏幕的未覆盖的两个指定边缘直角区域。
本实施例的圆角Layer包括第一图片和第二图片,通过分别设置第一图片和第二图片的parent view的坐标位置,让第一图片的parent view的坐标位置在屏幕的下端边缘,第二图片的parent view的坐标位置在屏幕的上端边缘,并动态更新到Surfaceflinger当中,让圆角Layer时时参与Surfaceflinger的合成。
进一步地,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤S13,包括:
S137:根据一个所述边缘直角区域获取第三图片的尺寸参数,其中所述第三图片包括一个黑色底色的圆角。
本实施例的第三图片仅包括一个黑色底色的圆角的资源图片,使软件设计更简便,且覆盖直角区域的尺寸更方便调节。
S138:根据轴对称和中心对称分别生成所述第三图片的对称图片。
本实施例将圆角Layer分成四个部分,分别对应覆盖屏幕显示面的下端右端的直角区域、下端左端的直角区域、上端右端的直角区域以及上端左端的直角区域。本实施例预先通过软件生成了下端右端的直角区域对应的第三图片,然后根据轴对称分别生成第三图片的轴对称图片,以分别对应下端左端的直角区域和上端右端的直角区域,同时根据中心对称生成了对应上端左端的直角区域的第三图片的中心对称图片。本申请其他实施例可分别通过软件生成上述四个部分直角区域对应圆角图片,以实现个性显示,比如设定上端两个直角区域对应的圆角尺寸大于下端两个直角区域对应的圆角尺寸,以增强显示立体感。
S139:将所述第三图片以及所述第三图片的对称图片,分别按照预 设规则覆盖于所述四个边缘直角区域,使所述四个边缘直角区域显示为对称的圆角。
本实施例的预设规则为一一对应的规则,比如根据各圆角的圆弧区域的走向一一匹配各直角区域,比如,圆角的圆弧区域的走向为
Figure PCTCN2019110889-appb-000001
则对应下端左端的直角区域;或根据生成圆角图片时的文件命名,一一对应各直角区域,比如图片命名为下端左端图片,则对应下端左端的的直角区域。
进一步地,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤S2,包括:
S201:调取预设匹配表。
本实施例通过预设匹配表预先匹配常用APP显示底色和黑色的混合色,以便根据获取的APP显示底色及时调用对应的混合色作为交界区域的过渡色,以圆滑颜色的明显变化。比如APP显示底色为白色,则对应的混合色为灰色。
S202:从所述预设匹配表中获取所述显示底色以及预设圆角区域的圆角底色对应的第一颜色,其中所述第一颜色为所述显示底色以及所述圆角底色的中间色。
本实施例的第一颜色即为所述显示底色以及预设圆角区域的圆角底色的混合色,以实现圆滑过渡。本实施例通过RGB值的比对进行查找,比如显示底色为白色,对应的RGB值为255,则查看RGB值为255的对应的第一颜色为灰色,则获取灰色对应的RGB值填充到中间色的属性栏。
S203:将所述第一颜色设置为所述过渡色。
本实施例通过将中间色的属性栏参数实时更新到管理器,并通过Surfaceflinger并时时参与显示界面的合成,实现选定的中间颜色设置为所述过渡色,使圆角过渡更自然平滑,避免突兀感。
进一步地,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤S2,包括:
S204:调取颜色识别接口获取的所述APP显示界面的显示底色对应的第一像素值。
本实施例通过颜色识别接口实时获取APP显示界面的显示底色对应的第一像素值,本实施例的第一像素值根据像素坐标数据得到,上述像素坐标数据包括16位颜色值、24位颜色值或32位颜色值。根据颜色识别接口的属性选择对应形式的像素坐标数据。本申请其他实施例还可以同时获取亮度值和像素值,以便更精准地获取到混合色,但对颜色识别接口的性能要求较高,接口开发成本较高,且计算量大,本实施例优选只获取16位颜色值表示的像素值。
S205:计算所述圆角底色的黑色对应的第二像素值与所述第一像素值的平均像素值。
本实施例的平均像素值包括各坐标位置分别对应的像素坐标数据的各平均值,以便更精准地、更智能地获取到所述显示底色以及预设圆角区域的圆角底色的混合色,进一步提升圆滑过渡的效果。
S206:将所述平均像素值对应的第二颜色设置为所述过渡色。
本实施例将平均像素值实时更新到管理器,并通过Surfaceflinger时时参与显示界面的合成,实现将平均像素值对应的颜色设置为所述过渡色,进一步使圆角过渡更自然平滑,避免突兀感。
进一步地,所述将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域的步骤S3之前,包括:
S31:获取所述交界区域的圆弧处对应的指定数量像素点。
本实施例的指定数量像素点指过渡区的宽度梯次,以便根据过渡区的宽度梯次设定过渡区各像素点的颜色,比如过渡区的宽度为3个像素点,则三个像素点填充的颜色从黑色底色的圆角到显示界面,依次分别为靠近黑色的第一混合色、平均色、靠近当前运行APP的底色的第二混合色。比如当前运行APP的底色为白色,则第一混合色为深灰色、平均色为正常色号灰色、第二混合色为浅灰色。
S32:增大所述指定数量像素点的透明度。
本实施例通过让圆角Layer的图片越接近圆弧的位置,透明度越大, 这样GPU/HWC合成Layer的时候,由于圆角Layer的图片有透明度效果,也让过渡圆弧非常顺滑,进一步增强了圆弧位置取了当前显示APP的底色和黑色的中间值后的过渡效果。
本实施例通过软件方法将预设圆角区域与所述APP显示界面的交界区域的填充上两者的过渡色,实现将硬件直角显示为圆滑圆角,以满足用户的视觉感受,且同时减少了硬件打磨过程,节约成本。
参照图2,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图2所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储圆角屏幕的显示过程需要的所有数据。该计算机设备的网络接口用于与外部的端通过网络连接通信。该计算机程序被处理器执行时以实现圆角屏幕的显示方法。
上述处理器执行上述圆角屏幕的显示方法,包括:获取显示屏幕当前显示的APP显示界面的显示底色;根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色;将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域。
本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定。
本申请一实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现圆角屏幕的显示方法,包括:获取显示屏幕当前显示的APP显示界面的显示底色;根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色; 将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种圆角屏幕的显示方法,其中,包括:
    获取显示屏幕当前显示的APP显示界面的显示底色;
    根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色,其中所述预设圆角区域的圆角底色为黑色;
    将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域。
  2. 根据权利要求1所述的圆角屏幕的显示方法,其中,所述获取屏幕当前显示的APP显示界面的显示底色的步骤之前,包括:
    识别所述显示屏幕的尺寸参数;
    根据所述尺寸参数获取所述显示屏幕的四个边缘直角区域;
    将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域。
  3. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述尺寸参数包括所述显示屏幕的坐标数据。
  4. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述根据所述尺寸参数获取显示屏幕的四个边缘直角区域包括:
    识别相交的边缘区域以获取到四个所述边缘直角区域的起点;
    按照预设直角覆盖区域尺寸并依据所述边缘直角区域起点分别划定所述四个边缘直角区域。
  5. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述圆角为方向正对于所述显示区域的凹型的圆弧区域,以使得所述显示界面的边缘角呈现外凸的圆弧状。
  6. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
    调整预设第一框架的尺寸,其中所述预设第一框架为四个黑色底 色的圆角连线而成的矩形框;
    将调整尺寸后的预设第一框架覆盖于所述显示屏幕,使所述四个黑色底色的圆角覆盖所述显示屏幕的四个边缘直角区域。
  7. 根据权利要求6所述的圆角屏幕的显示方法,其中,所述矩形框的尺寸与所述四个黑色底色的圆角的尺寸呈比例调整。
  8. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
    获取第一图片的高度尺寸,其中所述第一图片包括两个黑色底色的圆角,以及两个圆角共有的同一角边线,所述高度尺寸为垂直所述同一角边线的高度值;
    改变所述同一角边线的长度尺寸,使所述第一图片覆盖于所述显示屏幕的第一指定区域,使所述第一图片的两个黑色底色的圆角覆盖所述显示屏幕的两个指定边缘直角区域;
    根据调整好尺寸的所述第一图片生成第二图片,其中所述第一图片与所述第二图片互为镜像图片;
    控制所述第二图片覆盖于所述显示屏幕的第二指定区域,使所述第二图片中的两个黑色底色的圆角覆盖所述显示屏幕的未覆盖的两个指定边缘直角区域。
  9. 根据权利要求8所述的圆角屏幕的显示方法,其中,所述第一图片的尺寸与所述两个黑色底色的圆角的尺寸除高度尺寸外均能够变动调整,且所述第一图片的尺寸与所述两个黑色底色的圆角的尺寸会呈比例变化调整。
  10. 根据权利要求8所述的圆角屏幕的显示方法,其中,所述第一图片根据所述屏幕显示面的右端两个直角区域的距离尺寸设定,所述第二图片为覆盖所述屏幕显示面的左端两个直角区域设定。
  11. 根据权利要求2所述的圆角屏幕的显示方法,其中,所述将所述四个边缘直角区域分别设置为黑色底色的所述预设圆角区域的步骤,包括:
    根据一个所述边缘直角区域获取第三图片的尺寸参数,其中所述第三图片包括一个黑色底色的圆角;
    根据轴对称和中心对称分别生成所述第三图片的对称图片;
    将所述第三图片以及所述第三图片的对称图片,分别按照预设规则覆盖于所述四个边缘直角区域,使所述四个边缘直角区域显示为对称的圆角。
  12. 根据权利要求2所述的圆角屏幕的显示方法,其中,当整个所述APP显示界面的颜色不均一时,直接获取所述直角区域的实时颜色,以便根据直角区域的实时颜色选择合适的过渡色。
  13. 根据权利要求13所述的圆角屏幕的显示方法,其中,所述过渡色为所述黑色与所述直角区域的实施颜色的中间颜色。
  14. 根据权利要求1所述的圆角屏幕的显示方法,其中,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤,包括:
    调取预设匹配表;
    从所述预设匹配表中获取所述显示底色以及预设圆角区域的圆角底色对应的第一颜色,其中所述第一颜色为所述显示底色以及所述圆角底色的中间色;
    将所述第一颜色设置为所述过渡色。
  15. 根据权利要求14所述的圆角屏幕的显示方法,其中,所述将所述第一颜色设置为所述过渡色包括:
    将所述中间色的属性栏参数实时更新到管理器;
    通过Surfaceflinger参与所述显示界面的合成,以实现选定的所述中间色为所述过渡色。
  16. 根据权利要求1所述的圆角屏幕的显示方法,其中,所述根据所述显示底色以及预设圆角区域的圆角底色,得到所述预设圆角区域与所述APP显示界面的交界区域的过渡色的步骤,包括:
    调取颜色识别接口获取的所述APP显示界面的显示底色对应的第一像素值;
    计算所述圆角底色的黑色对应的第二像素值与所述第一像素值的平均像素值;
    将所述平均像素值对应的第二颜色设置为所述过渡色。
  17. 根据权利要求1所述的圆角屏幕的显示方法,其中,所述将所述过渡色显示于所述预设圆角区域与所述APP显示界面的交界区域的步骤之前,包括:
    获取所述交界区域的圆弧处对应的指定数量像素点;
    增大所述指定数量像素点的透明度。
  18. 根据权利要求1所述的圆角屏幕的显示方法,其中,所述交界区域为构成所述圆角的弧形区域。
  19. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至18中任一项所述方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至18中任一项所述的方法的步骤。
PCT/CN2019/110889 2018-10-17 2019-10-12 圆角屏幕的显示方法、计算机设备以及存储介质 WO2020078290A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811210950.1 2018-10-17
CN201811210950.1A CN109375978A (zh) 2018-10-17 2018-10-17 圆角屏幕的显示方法、计算机设备以及存储介质

Publications (1)

Publication Number Publication Date
WO2020078290A1 true WO2020078290A1 (zh) 2020-04-23

Family

ID=65400731

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110889 WO2020078290A1 (zh) 2018-10-17 2019-10-12 圆角屏幕的显示方法、计算机设备以及存储介质

Country Status (2)

Country Link
CN (1) CN109375978A (zh)
WO (1) WO2020078290A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857699A (zh) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 圆角图像显示方法、装置、电子设备和可读存储介质
CN112261242A (zh) * 2020-10-21 2021-01-22 合肥芯颖科技有限公司 一种图像数据处理方法及装置
CN117032468A (zh) * 2023-10-09 2023-11-10 深圳市微克科技有限公司 一种基于智能手环的圆角矩形绘制方法、系统及介质
CN117032468B (zh) * 2023-10-09 2024-05-31 深圳市微克科技股份有限公司 一种基于智能手环的圆角矩形绘制方法、系统及介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375978A (zh) * 2018-10-17 2019-02-22 奇酷互联网络科技(深圳)有限公司 圆角屏幕的显示方法、计算机设备以及存储介质
WO2020215207A1 (zh) * 2019-04-23 2020-10-29 华为技术有限公司 处理图层的方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202838A1 (en) * 2010-02-17 2011-08-18 Samsung Electronics Co., Ltd. Apparatus and method for providing user interface
CN107577514A (zh) * 2017-09-20 2018-01-12 广州市千钧网络科技有限公司 一种不规则图层裁剪拼接方法和系统
CN107656791A (zh) * 2017-10-18 2018-02-02 珠海市魅族科技有限公司 显示的方法、终端设备、计算机装置及存储介质
CN108492720A (zh) * 2018-03-30 2018-09-04 联想(北京)有限公司 一种显示屏及电子设备
CN108615499A (zh) * 2018-07-23 2018-10-02 京东方科技集团股份有限公司 显示优化及显示驱动方法及装置、显示装置、存储介质
CN109375978A (zh) * 2018-10-17 2019-02-22 奇酷互联网络科技(深圳)有限公司 圆角屏幕的显示方法、计算机设备以及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9881398B2 (en) * 2012-11-06 2018-01-30 Applied Materials, Inc. Trend dynamic sensor imaging using contour maps to visualize multiple trend data sets in a single view
TWI545489B (zh) * 2014-09-16 2016-08-11 群創光電股份有限公司 觸控面板與觸控顯示面板
CN106527580B (zh) * 2016-09-28 2020-08-04 北京小米移动软件有限公司 电子设备和显示方法
CN107391073B (zh) * 2017-07-26 2020-07-10 北京小米移动软件有限公司 显示模组及电子设备
CN107704221A (zh) * 2017-08-24 2018-02-16 上海与德科技有限公司 屏幕的圆角显示方法、移动终端及存储介质
CN107577495B (zh) * 2017-09-05 2019-05-31 Oppo广东移动通信有限公司 界面显示方法、装置及终端
CN107643885A (zh) * 2017-10-13 2018-01-30 北京小米移动软件有限公司 显示屏幕、图像显示方法以及终端和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202838A1 (en) * 2010-02-17 2011-08-18 Samsung Electronics Co., Ltd. Apparatus and method for providing user interface
CN107577514A (zh) * 2017-09-20 2018-01-12 广州市千钧网络科技有限公司 一种不规则图层裁剪拼接方法和系统
CN107656791A (zh) * 2017-10-18 2018-02-02 珠海市魅族科技有限公司 显示的方法、终端设备、计算机装置及存储介质
CN108492720A (zh) * 2018-03-30 2018-09-04 联想(北京)有限公司 一种显示屏及电子设备
CN108615499A (zh) * 2018-07-23 2018-10-02 京东方科技集团股份有限公司 显示优化及显示驱动方法及装置、显示装置、存储介质
CN109375978A (zh) * 2018-10-17 2019-02-22 奇酷互联网络科技(深圳)有限公司 圆角屏幕的显示方法、计算机设备以及存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857699A (zh) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 圆角图像显示方法、装置、电子设备和可读存储介质
CN112261242A (zh) * 2020-10-21 2021-01-22 合肥芯颖科技有限公司 一种图像数据处理方法及装置
CN112261242B (zh) * 2020-10-21 2022-09-27 合肥芯颖科技有限公司 一种图像数据处理方法及装置
CN117032468A (zh) * 2023-10-09 2023-11-10 深圳市微克科技有限公司 一种基于智能手环的圆角矩形绘制方法、系统及介质
CN117032468B (zh) * 2023-10-09 2024-05-31 深圳市微克科技股份有限公司 一种基于智能手环的圆角矩形绘制方法、系统及介质

Also Published As

Publication number Publication date
CN109375978A (zh) 2019-02-22

Similar Documents

Publication Publication Date Title
WO2020078290A1 (zh) 圆角屏幕的显示方法、计算机设备以及存储介质
WO2021169307A1 (zh) 人脸图像的试妆处理方法、装置、计算机设备和存储介质
CN107221306B (zh) 校正拼接设备屏幕中图像亮度的方法、装置及显示设备
US20210333870A1 (en) Image rendering method, device, system, storage medium, image display method and computer device
US10643300B2 (en) Image display method, custom method of shaped cambered curtain, and head-mounted display device
US11625861B2 (en) Point cloud colorization system with real-time 3D visualization
CN109741289B (zh) 一种图像融合方法和vr设备
US20070188511A1 (en) Multilevel texture processing method for mapping multiple images onto 3D models
WO2023093291A1 (zh) 图像处理方法、装置、计算机设备和计算机程序产品
CN107452049B (zh) 一种三维头部建模方法及装置
US20200394770A1 (en) Method for optimal body or face protection with adaptive dewarping based on context segmentation layers
WO2019101005A1 (zh) 像素补偿方法、装置和终端设备
CN110503599B (zh) 图像处理方法和装置
WO2019071990A1 (zh) 图像处理方法及装置
WO2022116397A1 (zh) 虚拟视点深度图处理方法、设备、装置及存储介质
CN109302629B (zh) 一种用于为图片切换画框的方法及显示终端
CN109242761B (zh) 一种图片显示方法及装置
WO2021184931A1 (zh) 适用于光学穿透式头戴显示器的颜色对比增强绘制方法、装置以及系统
WO2021218467A1 (zh) 一种证件照制作方法及终端、存储介质
WO2021139456A1 (zh) 一种无限视觉边界的图像动态渲染的计算方法及系统
CN105808185A (zh) 终端的显示方法、终端的显示装置和终端
CN112770095A (zh) 全景投影方法、装置及电子设备
US20190370944A1 (en) Keystone correction method and device
US10440354B2 (en) Light field display control method and apparatus, and light field display device
WO2022062604A1 (zh) 投影画面调节方法、装置、投影仪和存储介质

Legal Events

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

Ref document number: 19873301

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19873301

Country of ref document: EP

Kind code of ref document: A1