Method for Adjusting Display Attribute, and Related Device

    公开(公告)号:US20220398997A1

    公开(公告)日:2022-12-15

    申请号:US17622542

    申请日:2020-06-24

    Abstract: A method for adjusting a display attribute, and a related device, to make a display effect of an element on a page more prominent. The method includes obtaining a first luminance and a second luminance on a page, where the first luminance is a luminance of an element on the page, and the second luminance is a luminance of a background region in which the element is displayed; determining a first contrast ratio between the element and the background region based on the first luminance and the second luminance; and adjusting a display attribute of the element when the first contrast ratio is less than a preset contrast ratio.

    Method for adjusting display attribute, and related device

    公开(公告)号:US12198659B2

    公开(公告)日:2025-01-14

    申请号:US17622542

    申请日:2020-06-24

    Abstract: A method for adjusting a display attribute, and a related device, to make a display effect of an element on a page more prominent. The method includes obtaining a first luminance and a second luminance on a page, where the first luminance is a luminance of an element on the page, and the second luminance is a luminance of a background region in which the element is displayed; determining a first contrast ratio between the element and the background region based on the first luminance and the second luminance; and adjusting a display attribute of the element when the first contrast ratio is less than a preset contrast ratio.

    Dark mode display interface processing method, electronic device, and storage medium

    公开(公告)号:US12014663B2

    公开(公告)日:2024-06-18

    申请号:US17631344

    申请日:2020-08-05

    Abstract: A method for: obtaining a first display interface including a plurality of elements, which includes a first background element and a first element displayed on it through superimposing; determining a target processing manner corresponding to each of the plurality of elements, which is used to adjust at least one of brightness, chrominance, and contrast of the element; processing each of the plurality of elements in the target processing manner, to obtain a rendering parameter of each element; and rendering each of the plurality of elements, to display a second display interface, wherein a second background element in the second display interface corresponds to the first background element, a second element in the second display interface corresponds to the first element, black contrast of the second element is different from that of the second background element, and brightness of the second element is greater than brightness of the second background element.

Patent Agency Ranking