This application claims priority to Chinese Patent Application No. 201510281266.2 filed on May 28, 2015, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to an electronic device and a method for controlling display interfaces displayed on a touch screen of the electronic device.
Watches and other wearable devices have begun to offer functions beyond simple display of the time. For example, some watches have incorporated touch screens and offer the ability to receive touch operations of the user.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
The term “module” refers to logic embodied in computing or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein can be implemented as either software and/or computing modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY™, flash memory, and hard disk drives. The term “comprising”, when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series and the like.
The present disclosure is described in relation to an electronic device and a method for controlling display interfaces displayed on a touch screen of the electronic device.
The touch screen 10 can be a resistance touch screen, a capacitance touch screen, an optical touch screen, or an infrared touch screen. Referring to
The processor 22 executes one or more computerized codes and other applications of the electronic device 100 to provide functions of the electronic device 100. The storage 20 can be a non-transitory computer-readable medium and can be an internal storage device, such as a random access memory (RAM) for temporary storage of information, and/or a read only memory (ROM) for permanent storage of information. The storage 20 can also be an external storage device, such as an external hard disk, a storage card, or a data storage medium. The storage 20 pre-stores a plurality of sliding directions and a plurality of applications corresponding to the plurality of sliding directions. Optionally, each of the plurality of applications has a human-computer interface displayed on the touch screen 10. In at least one embodiment, the plurality of sliding directions include a first sliding direction and a second sliding direction. The plurality of applications include a first application corresponding to the first sliding direction and a second application corresponding to the second sliding direction. The first sliding direction can be in a horizontal direction, and the second sliding direction can be in a vertical direction. The first application can be a weather forecast program, and the second application can be an instant messaging program. In other embodiment, the plurality of sliding directions further include a clockwise direction and a counterclockwise direction, and the plurality of applications further include a health management program.
In at least one embodiment, the display interface controlling system 30 can include, but is not limited to, a display controlling module 31, an identifying module 32, and an executing module 33. The above mentioned modules 31-33 can include computerized instructions in the form of one or more computer-readable programs that can be stored in a non-transitory computer-readable medium, such as the storage 20, and be executed by the processor 22 of the electronic device 100.
The display controlling module 31 is configured to control the touch screen 10 to form the display region 12 and the two touch regions 14. In detail, if the display region 12 and the two touch regions 14 physically separate from each other, the display controlling module 31 outputs a first command to actuate the display region 12 and the two touch regions 14. If the display region 12 and the two touch regions 14 are different areas of the touch screen 10, the display controlling module 31 sends a second command to the touch screen 10 to actuate the display region 12 and the two touch regions 14.
The identifying module 32 is configured to identify sliding operations applied on the touch screen 10. The executing module 33 is configured to execute different operations and adjust display contents in the display region 12 according to the sliding operations identified by the identifying module 32. Detailed description will be illustrated below.
Referring to
If a sliding operation is applied on one of the touch regions 14, the identifying module 32 detects the sliding operation, and the executing module 33 executes one of the plurality of applications stored in the storage 20 and controls the display region 12 to display a human-computer interface. Referring to
At block 61, the display controlling module controls the touch screen to form the display region and the two touch regions symmetrically disposed on two sides of the display region.
At block 62, the identifying module determines whether the two sliding operations are respectively applied on the two touch regions. If the two first sliding operations are respectively applied on the two touch regions, block 63 is implemented; if only one sliding operation is applied on the one of the touch regions, block 67 is implemented.
At block 63, the identifying module determines whether the two sliding operations are in reverse direction. If the two sliding operations are in reverse direction, block 65 is implemented; if two sliding operations are not in reverse direction, block 64 is implemented.
At block 64, the identifying module determines whether the two sliding operations are in forward direction. If the two sliding operations are in forward direction, block 66 is implemented; if two sliding operations are not in forward direction, block 63 is implemented.
At block 65, the executing module controls the display surface displayed on the display region to zoom in.
At block 66, the executing module controls the display surface displayed on the display region to zoom out.
At block 67, the executing module executes one of the plurality of applications stored in the storage and controls the display region to display the human-computer interface. If the sliding operation is in a horizontal direction, the executing module executes the first application and controls the display region to display the first human-computer interface related to the first application. If the sliding operation is in a vertical direction, the executing module executes the second application and controls the display region to display the second human-computer interface related to the second application.
In summary, the display interface controlling system 30 of the electronic device 100 can selectively change the display interface displayed on the touch screen 10 according different touch operations, thereby satisfying different user requirements.
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201510281266.2 | May 2015 | CN | national |