Method for adjusting screen brightness and user terminal
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsJianlin Li, Xingxing Tang
Life of this patent
Estimating the term…
Abstract
A method and a terminal for adjusting screen brightness include the follows. A target pressure value and a target touch duration of a touch operation performed in a touch area by a user is detected. A target brightness adjustment amount corresponding to the target touch duration is acquired according to a preset correspondence relationship between a touch duration and a brightness adjustment amount, when a preset condition is met. Screen brightness is adjusted based on the target brightness adjustment amount.
Claims6
A method for adjusting screen brightness, comprising:
- detecting a target pressure value and a target touch duration of a touch operation performed in a touch area by a user;
- acquiring a target brightness adjustment amount corresponding to the target touch duration according to a preset correspondence relationship between a touch duration and a brightness adjustment amount, when a preset condition is met, the preset condition comprising that the target pressure value is greater than a preset pressure threshold;
- and
- adjusting screen brightness based on the target brightness adjustment amount;
- wherein the touch area comprises a first preset touch area and a second preset touch area, the first preset touch area and the second preset touch area are two areas that do not coincide, and adjusting the screen brightness based on the target brightness adjustment amount comprises:
- decreasing the screen brightness based on a target brightness reduction amount when the touch operation is performed in the first preset touch area;
- and increasing the screen brightness based on a target brightness increase amount when the touch operation is performed in the second preset touch area;
- wherein the preset condition further comprises:
- target fingerprint information input by the touch operation matches with preset fingerprint information, the preset fingerprint information comprises first preset fingerprint information and second preset fingerprint information, the first preset fingerprint information is different from the second preset fingerprint information;
- and adjusting the screen brightness based on the target brightness adjustment amount comprises:
- decreasing the screen brightness based on a target brightness reduction amount when the target fingerprint information matches with the first preset fingerprint information;
- and increasing the screen brightness based on a target brightness increase amount when the target fingerprint information matches with the second preset fingerprint information.
A user terminal, comprising:
- a processor and a memory connected with the processor, wherein the memory is configured to store program codes, and the processor is configured to call the program codes stored in the memory to:
- detect a target pressure value and a target touch duration of a touch operation performed in a touch area by a user;
- acquire a target brightness adjustment amount corresponding to the target touch duration according to a preset correspondence relationship between a touch duration and a brightness adjustment amount when a preset condition is met, the preset condition comprising that the target pressure value is greater than a preset pressure threshold;
- and
- adjust screen brightness based on the target brightness adjustment amount;
- wherein the touch area comprises a first preset touch area and a second preset touch area, the first preset touch area and the second preset touch area are two areas that do not coincide, and the processor configured to adjust the screen brightness based on the target brightness adjustment amount is further configured to:
- decrease the screen brightness based on a target brightness reduction amount when the touch operation is performed in the first preset touch area;
- and increase the screen brightness based on a target brightness increase amount when the touch operation is performed in the second preset touch area;
- and
- wherein the preset condition further comprises:
- target fingerprint information input by the touch operation matches with preset fingerprint information, the preset fingerprint information comprises first preset fingerprint information and second preset fingerprint information, the first preset fingerprint information is different from the second preset fingerprint information;
- and the processor configured to adjust the screen brightness based on the target brightness adjustment amount is further configured to:
- decrease the screen brightness based on a target brightness reduction amount when the target fingerprint information matches with the first preset fingerprint information;
- and increase the screen brightness based on a target brightness increase amount when the target fingerprint information matches with the second preset fingerprint information.
Dependencies are inferred from the claim text.