US 12,079,905 B2
Page display method and apparatus for third-party application, and electronic device
Kaifa Zeng, Guangdong (CN); and Linjie Xu, Guangdong (CN)
Assigned to GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed by GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed on Nov. 9, 2022, as Appl. No. 17/983,836.
Application 17/983,836 is a continuation of application No. PCT/CN2021/086887, filed on Apr. 13, 2021.
Claims priority of application No. 202010473977.0 (CN), filed on May 29, 2020.
Prior Publication US 2023/0071987 A1, Mar. 9, 2023
Int. Cl. G06T 11/00 (2006.01); G06F 1/3234 (2019.01); G06F 3/147 (2006.01)
CPC G06T 11/001 (2013.01) [G06F 1/3265 (2013.01); G06F 3/147 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of displaying a page of a third party application, comprising:
obtaining a background color and a foreground color in scripts of the third party application, in response to an activation command of activating the third party application and in response to an electronic device entering a power saving mode;
adjusting the background color to a first color and adjusting the foreground color to a second color, wherein a brightness value of the first color is less than a first brightness threshold, a brightness value of the second color is greater than a second brightness threshold, and the first brightness threshold is less than or equal to the second brightness threshold;
taking the first color to render a background region of the third party application, and taking the second color to render a foreground region of the third party application, to obtain a page of the third party application; and
displaying the rendered page of the third party application;
wherein, the adjusting the background color to a first color and adjusting the foreground color to a second color, comprises:
obtaining a third brightness threshold, comparing the brightness value of the background color to the third brightness threshold, comparing the brightness value of the foreground color to the third brightness threshold;
adjusting a part of the background color having a brightness value greater than or equal to the third brightness threshold to the first color, and adjusting a part of the foreground color having a brightness value less than the third brightness threshold to the second color; wherein the rest part of the background color having a brightness value less than the third brightness threshold remains unchanged, and the rest part of the foreground color having a brightness value greater than or equal to the third brightness threshold remains unchanged.