WO2014089971A1 - 一种移动终端支持左右手模式切换的实现方法及装置 - Google Patents
一种移动终端支持左右手模式切换的实现方法及装置 Download PDFInfo
- Publication number
- WO2014089971A1 WO2014089971A1 PCT/CN2013/079868 CN2013079868W WO2014089971A1 WO 2014089971 A1 WO2014089971 A1 WO 2014089971A1 CN 2013079868 W CN2013079868 W CN 2013079868W WO 2014089971 A1 WO2014089971 A1 WO 2014089971A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- hand mode
- control
- mobile terminal
- right hand
- coordinate value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1626—Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0279—Improving the user comfort or ergonomics
- H04M1/0281—Improving the user comfort or ergonomics for providing single handed use or left/right hand conversion
Definitions
- the present invention belongs to the field of mobile terminals, and in particular, to a method and an apparatus for implementing a mobile terminal to support left and right hand mode switching.
- the display images on the operation interface of the mobile terminal are all completed in the UI layer, and the UI layer includes various UI controls, and each UI control displays a corresponding part.
- the UI control may include some sub-items, and the writing sub-items are on the UI interface.
- each trigger button or option button such as the OK and cancel buttons displayed in the message box, and the function button under the operation panel at the bottom of the browser, or the TAB page button at the top of the dial interface, etc.
- these sub-items in the current mobile terminal The locations are all determined, and are all set according to the habits of the user holding the mobile terminal right, that is, usually in the right-hand mode, the commonly used sub-items are placed on the right half of the screen, and the less common sub-items are placed on the left half of the screen.
- the operation is not very convenient, and it is easy to press the wrong button.
- an object of the present invention is to provide a method and an apparatus for implementing a mobile terminal to support left and right hand mode switching, which aims to solve the problem that an existing mobile terminal has only one default right hand mode, so that a left hand user cannot conveniently use the mobile terminal. The problem is solved.
- the method for supporting a left-right hand mode switching of the mobile terminal includes the following steps:
- the child of the UI control is refreshed and displayed using the default coordinate value
- the child of the UI control is refreshed and displayed using the changed coordinate value.
- the mobile terminal supporting the left and right hand mode switching device includes:
- a setting information acquiring unit configured to acquire current left and right hand mode setting information when a method corresponding to the UI control of the mobile terminal interface is invoked
- a first refresh display unit configured to: when the left and right hand mode setting information is a default setting, the child of the UI control is refreshed and displayed by using a default coordinate value;
- a second refresh display unit configured to: when the left and right hand mode setting information is a switching setting, the child item of the UI control is refreshed and displayed using the changed coordinate value.
- the user can set the left and right hand mode of the mobile terminal by himself, and when it is the default setting, that is, the right hand mode, the position of each sub item on the currently invoked UI control remains unchanged, or The display is refreshed according to the default coordinate position.
- the setting is switched, that is, the left-hand mode
- the coordinate position of each sub-item on the currently invoked UI control is changed, and the symmetric mapping is performed to the opposite side screen display, that is, the sub-screen on the left half of the screen.
- the item is displayed on the right half of the screen, and the sub-item on the right half of the screen is displayed on the left half of the screen.
- the right-hand mode is switched to the left-hand mode.
- the coordinate transformation can also be performed. Switch to the left-hand mode so that you can meet the mobile terminal usage habits of each user.
- FIG. 1 is a flowchart of a method for implementing a mobile terminal to support left and right hand mode switching according to a first embodiment of the present invention
- FIG. 2 is a flowchart of a method for implementing a mobile terminal to support left and right hand mode switching according to a second embodiment of the present invention
- FIG. 3 is a flowchart of a method for implementing a mobile terminal to support left and right hand mode switching according to a third embodiment of the present invention
- FIG. 4 is a structural block diagram of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a fourth embodiment of the present invention.
- FIG. 5 is a structural block diagram of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a fifth embodiment of the present invention.
- FIG. 6 is a structural block diagram of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a sixth embodiment of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 is a flowchart of a method for implementing a mobile terminal supporting left and right hand mode switching according to a first embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
- Step S101 When the method corresponding to the UI control of the mobile terminal interface is invoked, the current left and right hand mode setting information is obtained.
- the UI layer of the display interface of the mobile terminal includes a plurality of UI controls.
- the interface corresponding to the control is displayed.
- the UI control includes a sub-item, the embodiment is to make each The position of the child item can be displayed in the corresponding position according to the left and right hand mode set by the user, which is convenient for the user to operate. Therefore, when the method corresponding to the UI control is invoked in this step, the left and right hand mode setting information currently set is first obtained, and then the left and right hand mode setting information is used to determine whether to adjust the position of the control child item.
- Step S102 When the left and right hand mode setting information is the default setting, the child of the UI control is refreshed and displayed using the default coordinate value.
- the default setting here is usually the right-hand mode, indicating that the user needs to restore the left-right mode of the mobile terminal to the default setting. Therefore, the child of the UI control refreshes and displays the interface corresponding to the UI control by using the original default coordinate value.
- Step S103 When the left and right hand mode setting information is a switching setting, the child of the UI control is refreshed and displayed using the changed coordinate value.
- the switching mode described herein is a left hand mode
- the child of the UI control needs to be symmetrically mapped to the opposite side screen, that is, the child of the left half of the screen.
- the corresponding map is displayed on the right half of the screen.
- the sub-items of the right half of the screen are mapped to the left half of the screen. Therefore, the coordinate values of the sub-items need to be changed so that the sub-items are displayed on the opposite screen.
- the default settings and the switching settings described in this embodiment are the right-hand mode and the left-hand mode, respectively.
- the default setting may also be the left-hand mode. Accordingly, the switching is set to the right-hand mode.
- the left and right hand mode setting information set by the user it is determined whether the position of the control sub-item needs to be changed.
- the coordinate value of the change sub-item is mapped to the opposite-side screen, so that the user can It is necessary to select a suitable operation mode, such as a left-hand mode or a right-hand mode, which is more advantageous for the user to operate the mobile terminal.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- FIG. 2 is a flowchart of a method for implementing a mobile terminal supporting left and right hand mode switching according to a second embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
- Step S201 receiving and saving left and right hand mode setting information input by the user
- Step S202 adding a mode setting interface for the UI control
- Step S203 When the method corresponding to the UI control of the mobile terminal interface is invoked, the current left and right hand mode setting information is obtained.
- the user first needs to set the left and right hand mode in the related setting interface of the mobile terminal, that is, whether the right hand mode or the left hand mode is selected, and the mode is usually set to the right hand mode.
- the mode setting information interface after each UI control calls the interface, the left and right hand mode setting information of the current mobile terminal can be known.
- Step S204 When the left and right hand mode setting information is a default setting, the child of the UI control is refreshed and displayed by using a default coordinate value;
- Step S205 when the left and right hand mode setting information is a switching setting, acquiring a horizontal axis coordinate value of each sub item of the current UI control, and a horizontal width value of the screen of the mobile terminal;
- Step S206 the difference between the horizontal width value and the horizontal axis coordinate value of each sub item is taken as the horizontal axis coordinate value after the sub item is changed;
- Step S207 The child of the UI control refreshes and displays the UI interface by using the changed horizontal axis coordinate value and the previous vertical axis coordinate value.
- Each sub-item in the UI control has its own coordinate value, which determines the specific position of the sub-item, and is symmetrically distributed due to the sub-items in the left-right mode.
- On the left and right screens so if the default setting is selected , each sub item is displayed on the screen according to the default coordinate value. If the switch setting is selected, the difference between the horizontal width value of the user screen and the default horizontal coordinate value is used as the changed horizontal coordinate value, and the longitudinal coordinate of the child item. The value is inconvenient, thus completing the mapping of the child coordinate values, and realizing the left and right mode switching.
- a mode setting interface is added to each UI control containing a sub-item, which ensures that the format of the writing control code is unified, facilitates expansion, and performs coordinate transformation or performs a null operation according to the acquired left-right hand mode setting information.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- FIG. 3 is a flowchart of a method for implementing a mobile terminal supporting left and right hand mode switching according to a third embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
- Step S301 receiving and saving left and right hand mode setting information input by the user
- Step S302 analyzing location information of each sub-item in each UI control in the mobile terminal, and finding a UI control in which the sub-item display positions in the left-hand mode and the right-hand mode are inconsistent;
- Step S303 adding a mode setting interface for the UI control
- Step S304 when the method corresponding to the UI control of the mobile terminal interface is invoked, acquiring current left and right hand mode setting information;
- Step S205 when the left and right hand mode setting information is the default setting, the child of the UI control is refreshed and displayed by using the default coordinate value;
- Step S206 when the left and right hand mode setting information is a switching setting, acquiring a horizontal axis coordinate value of each sub item of the current UI control, and a horizontal width value of the screen of the mobile terminal;
- Step S207 the difference between the horizontal width value and the horizontal axis coordinate value of each sub item is taken as the horizontal axis coordinate value after the sub item is changed;
- Step S208 the child of the UI control refreshes and displays the UI interface by using the changed horizontal axis coordinate value and the previous vertical axis coordinate value.
- the embodiment only adds a mode setting interface to the UI control whose sub-item position is inconsistent in the left-right mode, because in many cases, the sub-item position is the same in the left-right mode, according to the control. Whether the child is located in the axis of the screen to judge, so when the child is located in the axis of the screen, there is no need to perform coordinate transformation, and there is no need to obtain specific left and right hand mode setting information. Only the sub-items with inconsistent left and right hand mode positions are coordinate transformed. Compared with the second embodiment, the method provided by the embodiment improves the execution efficiency.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- FIG. 4 is a diagram showing the structure of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a fourth embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
- the setting information obtaining unit 401 is configured to acquire current left and right hand mode setting information when the method corresponding to the mobile terminal interface UI control is invoked;
- a first refresh display unit 402 configured to: when the left and right hand mode setting information is a default setting, the child of the UI control is refreshed and displayed using a default coordinate value;
- the second refresh display unit 403 is configured to: when the left and right hand mode setting information is a switching setting, the child item of the UI control is refreshed and displayed using the changed coordinate value.
- Each of the functional units provided in this embodiment corresponds to the steps in the first embodiment.
- the setting information acquiring unit 401 obtains the current left and right hand mode setting information.
- the first refresh display unit 402 controls the child of the UI control to refresh the display using the default coordinate value
- the left and right hand mode setting information is the switching setting
- the second refresh display unit 403 controls the The children of the UI control are refreshed using the changed coordinate values.
- the coordinate value of the change sub-item is mapped to the opposite-side screen, so that the user can It is necessary to select a suitable operation mode, such as a left-hand mode or a right-hand mode, which is more advantageous for the user to operate the mobile terminal.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- FIG. 5 is a diagram showing the structure of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a fifth embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
- the information setting unit 51 is configured to receive and save left and right hand mode setting information input by the user;
- An interface adding unit 52 configured to add a mode setting interface to the UI control
- the setting information obtaining unit 53 is configured to acquire current left and right hand mode setting information when the method corresponding to the UI control of the mobile terminal interface is invoked;
- a first refresh display unit 54 configured to: when the left and right hand mode setting information is a default setting, the child of the UI control is refreshed and displayed using a default coordinate value;
- the second refresh display unit 55 is configured to: when the left and right hand mode setting information is a switching setting, the child item of the UI control is refreshed and displayed using the changed coordinate value.
- the second refresh display unit 55 includes:
- the coordinate obtaining module 551 is configured to: when the left and right hand mode setting information is a switching setting, acquire a horizontal axis coordinate value of each sub item of the current UI control, and a horizontal width value of the screen of the mobile terminal;
- a coordinate transformation module 552 configured to use a difference between the horizontal width value and a horizontal axis coordinate value of each sub item as a horizontal axis coordinate value after the sub item is changed;
- each of the functional units and the functional modules provided in this embodiment implements the respective steps in the second embodiment.
- the embodiment adds an information setting unit 51 and an interface adding unit 52 to the fourth embodiment.
- the left and right hand mode is set by itself, and a mode setting interface is added to each UI control, and specific mode setting information can be obtained through the interface.
- this embodiment also discloses a specific preferred structure of the second refresh display unit 55.
- the child item mapping is realized by coordinate transformation, and the child item is displayed on the opposite side screen.
- FIG. 6 is a diagram showing the structure of an apparatus for implementing a left-right hand mode switching of a mobile terminal according to a sixth embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
- the information setting unit 61 is configured to receive and save left and right hand mode setting information input by the user;
- the control analyzing unit 62 analyzes the position information of each sub item in each UI control in the mobile terminal to find a UI control whose position display position is inconsistent in the left hand mode and the right hand mode;
- An interface adding unit 63 configured to add a mode setting interface to the UI control
- the setting information obtaining unit 64 is configured to acquire current left and right hand mode setting information when the method corresponding to the mobile terminal interface UI control is invoked;
- a first refresh display unit 65 configured to: when the left and right hand mode setting information is a default setting, the child of the UI control uses a default coordinate value to refresh the display;
- the second refresh display unit 66 is configured to: when the left and right hand mode setting information is a switching setting, the child item of the UI control is refreshed and displayed using the changed coordinate value.
- the second refresh display unit 66 includes:
- the coordinate obtaining module 661 is configured to: when the left and right hand mode setting information is a switching setting, acquire a horizontal axis coordinate value of each sub item of the current UI control, and a horizontal width value of the screen of the mobile terminal;
- a coordinate transformation module 662 configured to use a difference between the horizontal width value and a horizontal axis coordinate value of each sub-item as a horizontal axis coordinate value after the sub-item is changed;
- the UI display module 663 for the child of the UI control, refreshes and displays the UI interface using the changed horizontal axis coordinate value and the previous vertical axis coordinate value.
- the functional units and the functional modules provided in this embodiment respectively implement the steps in the third embodiment.
- the difference between this embodiment and the third embodiment is that the present embodiment first analyzes the positions of the sub-items of each UI control, only The UI control with different position of the left and right mode sub-items adds a mode setting interface. In the specific implementation, it is only necessary to determine whether the position of the sub-item of the UI control is located in the axis of the screen. When located at the central axis, it is not necessary to obtain the left-right mode setting information, according to The default position display is sufficient, so the present embodiment improves the system execution efficiency as compared with the fifth embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明适用于移动终端技术领域,提供一种移动终端支持左右手模式切换的实现方法及装置,所述方法包括:移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。本发明根据左右手模式设置信息,判断是否需要变更控件子项位置,当为切换模式时,变更子项的坐标值相应映射到对边屏幕,因此通过本发明,用户可以根据自身需要选择合适的操作模式,比如左手模式或右手模式,这样更加有利于用户操作移动终端。
Description
技术领域
本发明属于移动终端领域,尤其涉及一种移动终端支持左右手模式切换的实现方法及装置。
背景技术
目前移动终端操作界面上显示图像都是在UI层中完成,UI层中包括各个UI控件,各个UI控件显示出对应的部分,UI控件可能包括有一些子项,这写子项在UI界面上具体表现为各个触发按键或者选项按键,比如消息框中所显示的确定和取消按键,又如浏览器底部操作面板下的功能按键,或者拨号界面顶端TAB页按键等,目前移动终端中这些子项的位置都是确定的,都是根据右手持移动终端的用户的习惯而设置,即通常都是右手模式,将常用的子项放在右半边屏幕,不常用的子项放在左半边屏幕,但是对于习惯于左手操作移动终端的用户来说,操作不是很方便,容易按错键。
发明内容
鉴于上述问题,本发明的目的在于提供一种移动终端支持左右手模式切换的实现方法及装置,旨在解决现有移动终端只有一种默认的右手模式,使得左手用户无法方便的使用移动终端的技术问题得以解决。
一方面,所述移动终端支持左右手模式切换方法包括下述步骤:
移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
另一方面,所述移动终端支持左右手模式切换装置包括:
设置信息获取单元,用于在移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
第一刷新显示单元,用于当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
第二刷新显示单元,用于当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
本发明的有益效果是:本发明技术方案中,用户可以自行设置移动终端左右手模式,当为默认设置时,即右手模式,此时当前被调用的UI控件上的各个子项位置不变,还是按照默认坐标位置刷新显示,当为切换设置时,即左手模式,此时改变当前被调用的UI控件上的各个子项的坐标位置,对称映射到对边屏幕显示,即左半边屏幕上的子项对应显示在右半边屏幕,右半边屏幕上的子项显示在左半边屏幕,这样经过位置变换后,实现了右手模式向左手模式的切换,同理如果在右手模式下,亦可通过坐标变换切换到左手模式,这样就可以满足各个用户的移动终端使用习惯。
附图说明
图 1 是本发明第一 实施例提供的 移动终端支持左右手模式切换的实现方法的流程图 ;
图 2 是本发明第二 实施例提供的 移动终端支持左右手模式切换的实现方法的流程图 ;
图 3 是本发明第三实施例提供的 移动终端支持左右手模式切换的实现方法的流程图 ;
图 4 是本发明第四实施例提供的 移动终端支持左右手模式切换的实现装置的结构方框图 ;
图 5 是本发明第五实施例提供的 移动终端支持左右手模式切换的实现装置的结构方框图;
图 6 是 本发明第六实施例提供的 移动终端支持左右手模式切换的实现装置的结构方框图 。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。
实施例一:
图1示出了本发明第一实施例提供的移动终端支持左右手模式切换的实现方法的流程,为了便于说明仅示出了与本发明实施例相关的部分。
步骤S101、移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息。
移动终端显示界面的UI层上包括有多个UI控件,当控件对应的方法被调用时,即可显示出该控件对应的界面,其中当UI控件包含子项时,本实施例就是为了使得各个子项的位置能够按照用户自己设置的左右手模式在相应位置显示出,便于用户操作。因此本步骤中在UI控件对应的方法被调用时,首先获取到当前设置的左右手模式设置信息,再根据所述左右手模式设置信息决定是否调整控件子项的位置。
步骤S102、当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示。
此处的默认设置通常是右手模式,表明用户需要将移动终端的左右手模式恢复到默认设置,因此,此时UI控件的子项使用原先的默认坐标值刷新并显示出该UI控件对应的界面。
步骤S103、当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
如果所述左右手模式设置信息为切换设置时,相应的,这里所述的切换模式为左手模式,因此需要将UI控件的子项对称映射到对边屏幕显示出,即位于左半边屏幕的子项对应映射到右半边屏幕显示出,右半边屏幕的子项对应映射到左半边屏幕显示出,因此这里需要变更子项的坐标值,使得子项在对边屏幕显示出。显然本实施例所述的默认设置和切换设置分别是右手模式和左手模式,当然所述默认设置也可以是左手模式,相应的,所述切换设置为右手模式。
本实施例根据用户设置的左右手模式设置信息,判断是否需要变更控件子项位置,当为切换模式时,变更子项的坐标值相应映射到对边屏幕,因此通过本发明实施例,用户可以根据自身需要选择合适的操作模式,比如左手模式或右手模式,这样更加有利于用户操作移动终端。
实施例二:
图2示出了本发明第二实施例提供的移动终端支持左右手模式切换的实现方法的流程,为了便于说明仅示出了与本发明实施例相关的部分。
步骤S201、接收并保存用户输入的左右手模式设置信息;
步骤S202、为UI控件添加模式设置接口;
步骤S203、移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息。
本实施例中,首先用户需要在移动终端的相关设置界面中设置左右手模式,即选择右手模式还是左手模式,通常默设置为右手模式,本实施例中针对各个UI控件都添加一个用于获取左右手模式设置信息的接口,各个UI控件调用该接口后即可知晓当前移动终端的左右手模式设置信息。
步骤S204、当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
步骤S205、当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值;
步骤S206、将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值;
步骤S207、该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
上述步骤S205-S207对应实现了实施例一中的步骤S103,UI控件中的每个子项都有各自的坐标值,该坐标值决定了子项的具体位置,由于左右模式中子项时对称分布在左右屏幕上,因此若选择了默认设置
,则各个子项根据默认的坐标值在屏幕端显示出,若选择了切换设置,则用户屏幕横向宽度值与默认的横向坐标值的差值作为变更后的横向坐标值,子项的纵向坐标值不便,这样就完成了子项坐标值的映射,实现了左右模式切换。
本实施例中对各个含有子项的UI控件均添加了模式设置接口,保证了编写控件代码的格式统一,便于扩展,根据获取到的左右手模式设置信息执行坐标变换或者执行空操作。
实施例三:
图3示出了本发明第三实施例提供的移动终端支持左右手模式切换的实现方法的流程,为了便于说明仅示出了与本发明实施例相关的部分。
步骤S301、接收并保存用户输入的左右手模式设置信息;
步骤S302、分析移动终端中的各个UI控件中各个子项的位置信息,找出左手模式和右手模式中子项显示位置不一致的UI控件;
步骤S303、为UI控件添加模式设置接口;
步骤S304、移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
步骤S205、当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
步骤S206、当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值;
步骤S207、将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值;
步骤S208、该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
本实施例与实施二不同之处在于,本实施例只对左右模式中子项位置不一致的UI控件添加模式设置接口,由于在很多情况时,左右模式中该子项位置都一样,具体根据控件的子项是否位于屏幕中轴线来判断,因此当子项位于屏幕中轴线时,就无需进行坐标变换,也无需获取具体的左右手模式设置信息,只有对左右手模式位置不一致的子项完成坐标变换,与实施例二相比,本实施例提供的方法提高了执行效率。
实施例四:
图4示出了本发明第四实施例提供的移动终端支持左右手模式切换的实现装置的结构,为了便于说明仅示出了与本发明实施例相关的部分。
本实施例提供的移动终端支持左右手模式切换的实现装置包括:
设置信息获取单元401,用于在移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
第一刷新显示单元402,用于当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
第二刷新显示单元403,用于当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
本实施例提供的各个功能单元对应实现了实施例一中的各个步骤,具体的,在移动终端界面UI控件对应的方法被调用时,设置信息获取单元401获取当前的左右手模式设置信息,当所述左右手模式设置信息为默认设置时,第一刷新显示单元402控制该UI控件的子项使用默认坐标值刷新显示,当所述左右手模式设置信息为切换设置时,第二刷新显示单元403控制该UI控件的子项使用变更后的坐标值刷新显示。本实施例根据用户设置的左右手模式设置信息,判断是否需要变更控件子项位置,当为切换模式时,变更子项的坐标值相应映射到对边屏幕,因此通过本发明实施例,用户可以根据自身需要选择合适的操作模式,比如左手模式或右手模式,这样更加有利于用户操作移动终端。
实施例五:
图5示出了本发明第五实施例提供的移动终端支持左右手模式切换的实现装置的结构,为了便于说明仅示出了与本发明实施例相关的部分。
本实施例提供的移动终端支持左右手模式切换的实现装置包括:
信息设置单元51,用于接收并保存用户输入的左右手模式设置信息;
接口添加单元52,用于为UI控件添加模式设置接口;
设置信息获取单元53,用于在移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
第一刷新显示单元54,用于当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
第二刷新显示单元55,用于当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
其中所述第二刷新显示单元55包括:
坐标获取模块551,用于当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值;
坐标变换模块552,用于将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值;
UI显示模块553,用于该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
本实施例提供的各个功能单元及功能模块对应实现了实施例二中的各个步骤,另一方面,本实施例在实施例四的基础上增加了信息设置单元51、接口添加单元52,用户可以自行设置左右手模式,并且对每个UI控件添加模式设置接口,通过该接口就可以或得到具体的模式设置信息,此外,本实施例还公开了第二刷新显示单元55的一种具体优选的结构,通过坐标变换实现子项映射,实现了将子项显示在对边屏幕。
实施例六:
图6示出了本发明第六实施例提供的移动终端支持左右手模式切换的实现装置的结构,为了便于说明仅示出了与本发明实施例相关的部分。
本实施例提供的移动终端支持左右手模式切换的实现装置包括:
信息设置单元61,用于接收并保存用户输入的左右手模式设置信息;
控件分析单元62,用分析移动终端中的各个UI控件中各个子项的位置信息,找出左手模式和右手模式中子项显示位置不一致的UI控件;
接口添加单元63,用于为UI控件添加模式设置接口;
设置信息获取单元64,用于在移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;
第一刷新显示单元65,用于当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;
第二刷新显示单元66,用于当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
其中所述第二刷新显示单元66包括:
坐标获取模块661,用于当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值;
坐标变换模块662,用于将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值;
UI显示模块663,用于该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
本实施例提供的各个功能单元及功能模块对应实现了实施例三中的各个步骤,本实施例与实施例三不同之处在于,本实施首先要分析各个UI控件的子项的位置,只对左右模式子项位置不一样的UI控件添加模式设置接口,具体实现时,只需要判断该UI控件的子项的位置是否位于屏幕中轴线,当位于中轴线时,无需获取左右手模式设置信息,按照默认位置显示即可,因此本实施与实施例五相比,提高了系统执行效率。
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。
Claims (10)
- 一种移动终端支持左右手模式切换的实现方法,其特征在于,所述方法包括:移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
- 如权利要求1所述方法,其特征在于,所述移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息步骤之前,还包括:为UI控件添加模式设置接口。
- 如权利要求2所述方法,其特征在于,所述为移动终端的UI控件添加模式设置接口步骤之前,还包括: 分析移动终端中的各个UI控件中各个子项的位置信息,找出左手模式和右手模式中子项显示位置不一致的UI控件。
- 如权利要求3所述方法,其特征在于,所述分析移动终端中的各个UI控件中各个子项的位置信息,找出左手模式和右手模式中子项显示位置不一致的UI控件步骤之前,还包括: 接收并保存用户输入的左右手模式设置信息。
- 如权利要求1-4中任一项所述方法,其特征在于,所述当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示步骤,具体包括: 当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值; 将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值; 该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
- 一种移动终端支持左右手模式切换的实现装置,其特征在于,所述装置包括:设置信息获取单元,用于在移动终端界面UI控件对应的方法被调用时,获取当前的左右手模式设置信息;第一刷新显示单元,用于当所述左右手模式设置信息为默认设置时,该UI控件的子项使用默认坐标值刷新显示;第二刷新显示单元,用于当所述左右手模式设置信息为切换设置时,该UI控件的子项使用变更后的坐标值刷新显示。
- 如权利要求6所述装置, 其特征在于,所述装置包括: 接口添加单元,用于为UI控件添加模式设置接口。
- 如权利要求 7 所述装置, 其特征在于,所述装置包括: 控件分析单元,用分析移动终端中的各个 UI 控件中各个子项的位置信息,找出左手模式和右手模式中子项显示位置不一致的 UI 控件。
- 如权利要求8所述装置, 其特征在于,所述装置包括: 信息设置单元,用于接收并保存用户输入的左右手模式设置信息。
- 如权利要求6-9中任一项所述方法,其特征在于,所述第二刷新显示单元包括: 坐标获取模块,用于当所述左右手模式设置信息为切换设置时,获取当前UI控件各个子项的横轴坐标值,以及移动终端屏幕的横向宽度值; 坐标变换模块,用于将所述横向宽度值与各个子项的横轴坐标值的差值作为该子项变更后的横轴坐标值; UI显示模块,用于该UI控件的子项使用变更后的横轴坐标值以及先前的纵轴坐标值刷新并显示出UI界面。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210539189.2 | 2012-12-13 | ||
| CN2012105391892A CN103034415A (zh) | 2012-12-13 | 2012-12-13 | 一种移动终端支持左右手模式切换的实现方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014089971A1 true WO2014089971A1 (zh) | 2014-06-19 |
Family
ID=48021358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/079868 Ceased WO2014089971A1 (zh) | 2012-12-13 | 2013-07-23 | 一种移动终端支持左右手模式切换的实现方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103034415A (zh) |
| WO (1) | WO2014089971A1 (zh) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103034415A (zh) * | 2012-12-13 | 2013-04-10 | 广东欧珀移动通信有限公司 | 一种移动终端支持左右手模式切换的实现方法及装置 |
| CN104133619A (zh) * | 2013-05-03 | 2014-11-05 | 腾讯科技(深圳)有限公司 | 操作界面的设置方法及装置 |
| CN104423792A (zh) * | 2013-09-10 | 2015-03-18 | 中兴通讯股份有限公司 | 改变触摸屏幕终端图标位置的方法、装置及移动终端 |
| CN104777994A (zh) * | 2014-01-15 | 2015-07-15 | 东莞市步步高通信软件有限公司 | 智能识别用户左手或右手持握移动终端的方法和系统 |
| CN104281367A (zh) * | 2014-09-28 | 2015-01-14 | 北京数字天域科技股份有限公司 | 一种移动终端系统管理方法及装置 |
| CN106681629A (zh) * | 2016-12-06 | 2017-05-17 | 广州视源电子科技股份有限公司 | 显示模式切换方法及装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1845041A (zh) * | 2005-04-08 | 2006-10-11 | 环达电脑(上海)有限公司 | 具有预览屏幕的电子装置的操作模式转换方法 |
| CN101404688A (zh) * | 2008-11-03 | 2009-04-08 | 中兴通讯股份有限公司 | 一种改变手机左右按键功能的方法及装置 |
| CN102624977A (zh) * | 2012-02-17 | 2012-08-01 | 深圳市金立通信设备有限公司 | 根据用户左右手使用习惯进行手机界面切换的系统及方法 |
| CN103034415A (zh) * | 2012-12-13 | 2013-04-10 | 广东欧珀移动通信有限公司 | 一种移动终端支持左右手模式切换的实现方法及装置 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101916161B (zh) * | 2010-08-04 | 2012-10-10 | 宇龙计算机通信科技(深圳)有限公司 | 基于手指按压区域图形选择界面模式的方法及移动终端 |
| CN102479035A (zh) * | 2010-11-23 | 2012-05-30 | 汉王科技股份有限公司 | 具有触摸屏的电子设备及显示左右手控制界面的方法 |
| CN102750134B (zh) * | 2011-04-18 | 2015-03-18 | 北京易信通联信息技术有限公司 | 一种生成手持终端操作系统图形界面的方法及手持终端 |
| CN102810039A (zh) * | 2011-05-31 | 2012-12-05 | 中兴通讯股份有限公司 | 左右手自适应的虚拟键盘显示方法及终端 |
| CN102299996A (zh) * | 2011-08-19 | 2011-12-28 | 华为终端有限公司 | 一种手持设备操作方式识别方法及手持设备 |
| CN102647500A (zh) * | 2012-03-20 | 2012-08-22 | 深圳市金立通信设备有限公司 | 基于左右手使用习惯调整手机显示界面的系统及方法 |
| CN102799356B (zh) * | 2012-06-19 | 2018-07-17 | 中兴通讯股份有限公司 | 优化移动终端大屏触屏单手操作的系统、方法及移动终端 |
| CN102750102A (zh) * | 2012-06-28 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | 移动终端和操作控件位置更换方法 |
-
2012
- 2012-12-13 CN CN2012105391892A patent/CN103034415A/zh active Pending
-
2013
- 2013-07-23 WO PCT/CN2013/079868 patent/WO2014089971A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1845041A (zh) * | 2005-04-08 | 2006-10-11 | 环达电脑(上海)有限公司 | 具有预览屏幕的电子装置的操作模式转换方法 |
| CN101404688A (zh) * | 2008-11-03 | 2009-04-08 | 中兴通讯股份有限公司 | 一种改变手机左右按键功能的方法及装置 |
| CN102624977A (zh) * | 2012-02-17 | 2012-08-01 | 深圳市金立通信设备有限公司 | 根据用户左右手使用习惯进行手机界面切换的系统及方法 |
| CN103034415A (zh) * | 2012-12-13 | 2013-04-10 | 广东欧珀移动通信有限公司 | 一种移动终端支持左右手模式切换的实现方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103034415A (zh) | 2013-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014089971A1 (zh) | 一种移动终端支持左右手模式切换的实现方法及装置 | |
| WO2015076547A1 (ko) | 가상 키보드를 모바일 단말에서 디스플레이하는 방법 및 모바일 단말 | |
| WO2015180013A1 (zh) | 一种终端的触摸操作方法及装置 | |
| WO2015016516A1 (en) | Method and device for managing tab window indicating application group including heterogeneous applications | |
| WO2015109865A1 (zh) | 空调运行模式自定义控制方法及系统 | |
| WO2018161603A1 (zh) | 移动终端图像绘制的控制方法、装置、介质及电子设备 | |
| WO2011025239A2 (ko) | 모션을 이용한 ui 제공방법 및 이를 적용한 디바이스 | |
| WO2017028613A1 (zh) | 基于遥控器app控制终端的方法及装置 | |
| WO2017215187A1 (zh) | 遥控方法及遥控器 | |
| WO2015144052A1 (en) | Method and apparatus for collecting statistics on network information | |
| WO2014194627A1 (en) | Method and device for controlling the displaying of interface content | |
| WO2018113187A1 (zh) | 一种显示控制方法及显示装置 | |
| WO2016058258A1 (zh) | 终端远程控制方法和系统 | |
| CN111373315A (zh) | 显示器自动调节亮度的方法、装置及存储介质 | |
| WO2013000358A1 (zh) | 背光控制方法 | |
| WO2018126888A1 (zh) | 电视功能的快捷启动设置方法及装置 | |
| WO2017084303A1 (zh) | 电视桌面系统的切换方法及切换控制系统 | |
| WO2017036208A1 (zh) | 显示界面中的信息提取方法及系统 | |
| WO2017084305A1 (zh) | 终端控制方法及系统 | |
| WO2017032060A1 (zh) | 一种界面操作方法、装置以及智能手表 | |
| WO2016101252A1 (zh) | 智能电视的频道信息显示方法及装置 | |
| WO2019051684A1 (zh) | 图片编辑方法、移动终端以及可读储存介质 | |
| WO2014048239A1 (zh) | 智能电视播放方法及智能电视 | |
| WO2017059686A1 (zh) | 桌面显示方法及装置 | |
| WO2018045854A1 (zh) | 一种调节移动终端界面字体大小的方法及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13863156 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13863156 Country of ref document: EP Kind code of ref document: A1 |