主权项 |
1. A method for achieving translation of a screen display interface, comprising:
sensing a first operation action of a user on a sensing screen; generating a first operation instruction when the first operation action is sensed; determining whether the first operation instruction belongs to a translation instruction that is preset for translating the display interface; if it is determined that the operation instruction belongs to the translation instruction, translating the screen display interface to a preset region by a preset distance towards a direction of an action region according to the first operation instruction, displaying the translated screen display interface in the preset region corresponding to a flipped or rotated sensing screen region, wherein the action region is a position region mapping the first operation action to the sensing screen; and sensing a second operation action of the user on the sensing screen in the preset region, and generating a second operation instruction when the second operation action is sensed, and when transmitting the second operation instruction to an application other than a current system drive program, a data coordinate (w, q) in the transmitted second operation instruction satisfy: (w, q)=(t−h, s−v), where (t, s), (h, v) are a coordinate mapping the second operation action to the sensing screen and a coordinate of a center point of the translated screen display interface respectively in a coordinate space that takes a center point of the sensing screen as an origin, and the second operation action is at least one operation action taking place after the first operation action. |