Abstract:
Embodiments of the present invention provide a character input prompting method and relate to the field of computers, so that a modification or insertion process can be simpler. The method includes: obtaining a position of a cursor; obtaining a first character before the position of the cursor and adjacent to the cursor and a second character after the position of the cursor and adjacent to the cursor, where the first character is a single character or a character string including multiple characters, and the second character is a single character or a character string including multiple characters; obtaining, from an input method database, a character grammatically associated with at least one of: the first character and the second character; and prompting, in the form of a candidate character list, a user for the character grammatically associated with at least one of: the first character and the second character.
Abstract:
The present invention discloses a method for adjusting backlight brightness and an electronic device, which relates to the field of manufacturing of liquid crystal displays, and which is used to resolve a problem that, in a process of adjusting backlight brightness of an LCD, a user sees obvious flickering in the light adjustment process. The electronic device includes a light sensor (21) and a microcontroller (22) connected to the light sensor (21), where the light sensor (21) is configured to acquire an ambient luminance signal of a current time point; and the microcontroller (22) is configured to: read the ambient luminance signal of the current time point from the light sensor (21), and obtain through calculation a first target backlight brightness value of the electronic device at the current time point according to the ambient luminance signal of the current time point, where the microcontroller (22) is further configured to: if the electronic device is in a normal screen-on state, adjust from a first initial backlight brightness value to the first target backlight brightness value step by step, where the first initial backlight brightness value is a first target backlight brightness value of the electronic device at a previous time point.