Display adaptation method and apparatus for application, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsJunxiang Wang, Guoju Zhang, Yizhong Hu
Life of this patent
Estimating the term…
Abstract
A display adaptation method for an application executed by a terminal includes: displaying a setting interface for setting at least one zone boundary of an interface safe operation zone, the interface safe operation zone being a zone used for displaying a human-computer interaction control responsive to one or more gesture operations in the application; receiving a boundary setting operation triggered on the setting interface; determining positional parameters of zone boundaries of the interface safe operation zone according to the boundary setting operation; and generating, according to the positional parameters, the interface safe operation zone adapted to the terminal.
Claims13
A display adaptation method for an application executed by a terminal, comprising:
- displaying a background layer of an application running on the terminal, the background layer includes one or more of a virtual soldier, a virtual animal, or a virtual anime character;
- displaying a setting interface for setting zone boundaries of an interface safe operation zone, wherein the zone boundaries include a left boundary, a right boundary, an upper boundary, and a lower boundary, and wherein a four-sided area defined between the left, the right, the upper, and the lower boundaries of the zone boundaries and screen boundaries of a screen of the terminal is inactive and is not a zone used for displaying a human-computer interaction control responsive to one or more gesture operations in the application;
- setting the interface safe operation zone to be functionally and visually separate from and independent of the background layer of the application, wherein the background layer is greater in area than the interface safe operation zone;
- receiving a boundary setting operation triggered on the setting interface;
- determining offset values between of the zone boundaries of the interface safe operation zone and the screen boundaries of the screen of the terminal according to the boundary setting operation, wherein the offset values include a left offset value X1 between the left boundary of the interface safe operation zone and a left screen boundary of the screen of the terminal, a right offset value X2 between the right boundary of the interface safe operation zone and a right screen boundary of the screen of the terminal, an upper offset value Y1 between the upper boundary of the interface safe operation zone and an upper screen boundary of the screen of the terminal, and a lower offset value Y2 between the lower boundary of the interface safe operation zone and a lower screen boundary of the screen of the terminal;
- and
- generating, according to the offset values, the interface safe operation zone adapted to the terminal.
A display adaptation apparatus for an application, comprising:
- a memory and a processor coupled to the memory, the processor being configured to:
- display a background layer of an application running on the terminal, the background layer includes one or more of a virtual soldier, a virtual animal, or a virtual anime character;
- display a setting interface for setting zone boundaries of an interface safe operation zone, wherein the zone boundaries include a left boundary, a right boundary, an upper boundary, and a lower boundary, and wherein a four-sided area defined between the left, the right, the upper, and the lower boundaries of the zone boundaries and screen boundaries of a screen of the terminal is inactive and is not a zone used for displaying a human-computer interaction control responsive to one or more gesture operations in the application;
- set the interface safe operation zone to be functionally and visually separate from and independent of the background layer of the application, wherein the background layer is greater in area than the interface safe operation zone;
- receive a boundary setting operation triggered on the setting interface;
- determine offset values between of the zone boundaries of the interface safe operation zone and the screen boundaries of the screen of the terminal according to the boundary setting operation, wherein the offset values include a left offset value X1 between the left boundary of the interface safe operation zone and a left screen boundary of the screen of the terminal, a right offset value X2 between the right boundary of the interface safe operation zone and a right screen boundary of the screen of the terminal, an upper offset value Y1 between the upper boundary of the interface safe operation zone and an upper screen boundary of the screen of the terminal, and a lower offset value Y2 between the lower boundary of the interface safe operation zone and a lower screen boundary of the screen of the terminal;
- and
- generate, according to the offset values, the interface safe operation zone adapted to the terminal.
A non-transitory computer-readable storage medium, the storage medium storing at least one instruction, at least one program, and a code set or an instruction set, the at least one instruction, the at least one program, and the code set or the instruction set being loaded and executed by a processor of a terminal to implement:
- displaying a background layer of an application running on the terminal, the background layer includes one or more of a virtual soldier, a virtual animal, or a virtual anime character;
- displaying a setting interface for setting zone boundaries of an interface safe operation zone, wherein the zone boundaries include a left boundary, a right boundary, an upper boundary, and a lower boundary, and wherein a four-sided area defined between the left, the right, the upper, and the lower boundaries of the zone boundaries and screen boundaries of a screen of the terminal is inactive and is not a zone used for displaying a human-computer interaction control responsive to one or more gesture operations;
- setting the interface safe operation zone to be functionally and visually separate from and independent of the background layer of the application, wherein the background layer is greater in area than the interface safe operation zone;
- receiving a boundary setting operation triggered on the setting interface;
- determining offset values between of the zone boundaries of the interface safe operation zone and the screen boundaries of the screen of the terminal according to the boundary setting operation, wherein the offset values include a left offset value X1 between the left boundary of the interface safe operation zone and a left screen boundary of the screen of the terminal, a right offset value X2 between the right boundary of the interface safe operation zone and a right screen boundary of the screen of the terminal, an upper offset value Y1 between the upper boundary of the interface safe operation zone and an upper screen boundary of the screen of the terminal, and a lower offset value Y2 between the lower boundary of the interface safe operation zone and a lower screen boundary of the screen of the terminal;
- generating, according to the positional parameters, the interface safe operation zone adapted to the terminal;
- and
- generating, according to the offset values, the interface safe operation zone adapted to the terminal.
Dependencies are inferred from the claim text.