CN106201317A - Icon word Zoom method, device and terminal unit - Google Patents
Icon word Zoom method, device and terminal unit Download PDFInfo
- Publication number
- CN106201317A CN106201317A CN201610537755.4A CN201610537755A CN106201317A CN 106201317 A CN106201317 A CN 106201317A CN 201610537755 A CN201610537755 A CN 201610537755A CN 106201317 A CN106201317 A CN 106201317A
- Authority
- CN
- China
- Prior art keywords
- gesture
- touch screen
- icon
- icon word
- word
- 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.)
- Pending
Links
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
- G06F3/04883—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 for inputting data by handwriting, e.g. gesture or text
-
- 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/04817—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 using icons
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术,尤其涉及一种图标文字缩放方法、装置和终端设备。The present invention relates to computer technology, in particular to an icon text scaling method, device and terminal equipment.
背景技术Background technique
移动终端目前基本都采用触控屏幕作为输入设备,在触控屏幕上检测用户对屏幕上各图标、各选项等元素的点击、拖动等触控手势,从而实现对移动终端的控制。移动终端为了便于携带,触控屏幕的尺寸都比较有限,因此触控屏幕上的图标及文字大小在缺省状态下也都较小。但移动终端的使用者可能有老人或视力不佳者,这些用户可能无法看清触控屏幕上缺省状态下的文字。而目前为了调整移动终端触控屏幕上文字的大小,需要用户进入移动终端的设置页面,找到用于更改字体大小的选项,然后才能完成对文字大小的更改。但这个过程过于繁琐,对于需要经常更换字体大小的用户而言十分不便。At present, mobile terminals basically use touch screens as input devices, and touch gestures such as clicking and dragging of icons, options and other elements on the screen are detected on the touch screen, so as to realize control of the mobile terminal. In order to be easy to carry, the size of the touch screen of the mobile terminal is relatively limited, so the size of icons and text on the touch screen are also small by default. However, users of mobile terminals may have elderly people or people with poor eyesight, and these users may not be able to see clearly the text in the default state on the touch screen. At present, in order to adjust the size of characters on the touch screen of the mobile terminal, the user needs to enter the setting page of the mobile terminal to find an option for changing the font size, and then the modification of the character size can be completed. But this process is too cumbersome and inconvenient for users who need to change the font size frequently.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种图标文字缩放方法、装置和终端设备。In order to overcome the problems existing in the related technologies, the present disclosure provides an icon text scaling method, device and terminal equipment.
根据本公开实施例的第一方面,提供一种图标文字缩放方法,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a method for zooming icon text, including:
检测用户在触控屏幕上输入的手势;Detect gestures entered by the user on the touch screen;
确认所述输入的手势为预设的图标文字缩放手势;Confirming that the input gesture is a preset icon text zooming gesture;
控制所述触控屏幕上的图标文字进行缩放。Control the icon text on the touch screen to zoom.
本公开的实施例提供的技术方案可以包括以下有益效果:通过检测用户在触控屏幕上输入的手势,当确认输入的手势为预设的图标文字缩放手势时,控制触控屏幕上的图标文字进行缩放,使用户需用户在触控屏幕上进行一次输入即可完成对图标文字的缩放操作,无需用户切换多个页面,也无需用户进行多次输入,简化了操作流程,节约了用户的时间,提高了用户体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by detecting the gesture input by the user on the touch screen, when it is confirmed that the input gesture is a preset zoom gesture of the icon text, control the icon text on the touch screen Zooming allows the user to complete the zooming operation of the icon text with one input on the touch screen, without the need for the user to switch between multiple pages, and without the need for the user to perform multiple inputs, which simplifies the operation process and saves the user's time , improving the user experience.
在公开本实施例的一种实现方式中,所述控制所述触控屏幕上的图标文字进行缩放,包括:In an implementation manner of the present embodiment, the controlling the scaling of the icon text on the touch screen includes:
控制所述触控屏幕上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;controlling the icon text on the touch screen to be scaled by a preset number of font sizes or scaled according to a preset scaling parameter;
或者,控制所述触控屏幕上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。Alternatively, the icon text on the touch screen is controlled to zoom continuously until the preset icon text zooming gesture is not detected on the touch screen.
本公开的实施例提供的技术方案可以包括以下有益效果:通过不同的图标文字缩放方式,能够通过检测用户在触控屏幕上输入的手势,提供多种图标文字缩放方案,使得在简化图标文字调整方法的基础上,丰富了图标文字调整方法的灵活度。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: through different icon text scaling methods, various icon text scaling schemes can be provided by detecting the gestures input by the user on the touch screen, so that the icon text adjustment can be simplified Based on the method, the flexibility of the icon text adjustment method is enriched.
在公开本实施例的一种实现方式中,所述控制所述触控屏幕上的图标文字进行缩放,包括:In an implementation manner of the present embodiment, the controlling the scaling of the icon text on the touch screen includes:
遍历所述触控屏幕上的所有图标,控制与所述触控屏幕上所有图标对应的图标文字进行缩放;Traversing all the icons on the touch screen, controlling the icon text corresponding to all the icons on the touch screen to scale;
或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。Alternatively, a target range is determined according to the input gesture, and icon text corresponding to icons within the target range is controlled to zoom.
本公开的实施例提供的技术方案可以包括以下有益效果:当确定用户在触控屏幕上输入了图标文字缩放手势后,可以根据不同的输入点确定目标范围,从而控制触控屏幕上的所有图标文字或目标范围内的图标文字进行缩放,使得在简化图标文字调整方法的基础上,丰富了图标文字调整方法的灵活度。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: after it is determined that the user has input the icon text zoom gesture on the touch screen, the target range can be determined according to different input points, thereby controlling all icons on the touch screen The text or the icon text within the target range is scaled, so that the flexibility of the icon text adjustment method is enriched on the basis of simplifying the icon text adjustment method.
在公开本实施例的一种实现方式中,所述方法还包括:In an implementation manner of disclosing this embodiment, the method further includes:
确定所述触控屏幕上的图标文字大小是否达到预设的大小阈值;Determine whether the icon text size on the touch screen reaches a preset size threshold;
若所述触控屏幕上的图标文字大小达到预设的大小阈值,则不对所述触控屏幕上的图标文字进行缩放。If the size of the icon text on the touch screen reaches a preset size threshold, the icon text on the touch screen is not scaled.
本公开的实施例提供的技术方案可以包括以下有益效果:由于终端设备的触控屏幕大小和分辨率都有限,在确定图标文字大未达到预设的大小阈值后,不对触控屏幕上的图标文字进行缩放,使得调整后的图标文字大小能够适于触控屏幕显示。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: Since the size and resolution of the touch screen of the terminal device are limited, after it is determined that the size of the icon text does not reach the preset size threshold, the icons on the touch screen will not be adjusted. The text is scaled so that the adjusted icon text size can be suitable for display on the touch screen.
在公开本实施例的一种实现方式中,所述预设的图标文字缩放手势,包括:In an implementation manner of disclosing this embodiment, the preset icon text zooming gesture includes:
预设的图标文字缩小手势和预设的图标文字放大手势;Preset gestures for shrinking icon text and preset gestures for zooming in icon text;
所述确认所述输入的手势为预设的图标文字缩放手势,包括:The gesture for confirming the input is a preset icon text zooming gesture, including:
确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势;Confirming that the input gesture is a preset icon text shrinking gesture or a preset icon text zooming gesture;
所述控制所述触控屏幕上的图标文字进行缩放,包括:Said controlling the scaling of the icon text on said touch screen includes:
若所述输入的手势为预设的图标文字缩小手势,则控制所述触控屏幕上的图标文字进行缩小;If the input gesture is a preset icon text shrinking gesture, then controlling the icon text on the touch screen to shrink;
若所述输入的手势为预设的图标文字法放大手势,则控制所述触控屏幕上的图标文字进行放大。If the input gesture is a preset enlarging gesture of icon text, the icon text on the touch screen is controlled to be enlarged.
在公开本实施例的一种实现方式中,所述预设的图标文字缩小手势,包括:在触控屏幕上两个触摸点的距离逐渐缩小的手势;In an implementation manner of the disclosed embodiment, the preset icon text shrinking gesture includes: a gesture of gradually shrinking the distance between two touch points on the touch screen;
所述预设的图标文字法放大手势,包括:在触控屏幕上两个触摸点的距离逐渐增大的手势。The preset icon text enlargement gesture includes: a gesture in which the distance between two touch points on the touch screen gradually increases.
在公开本实施例的一种实现方式中,所述控制所述触控屏幕上的图标文字进行缩放,包括:In an implementation manner of the present embodiment, the controlling the scaling of the icon text on the touch screen includes:
若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定所述触控屏幕上的图标文字进行缩小的缩小幅度,并控制所述触控屏幕上的图标文字根据所述缩小幅度进行缩小;If the input gesture is a gesture in which the distance between the two touch points on the touch screen is gradually reduced, then according to the shortened length of the distance between the two touch points, it is determined that the icon text on the touch screen is reduced. Reduce the range, and control the icon text on the touch screen to shrink according to the reduction range;
若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定所述触控屏幕上的图标文字进行增大的增大幅度,并控制所述触控屏幕上的图标文字根据所述增大幅度进行增大。If the input gesture is a gesture in which the distance between two touch points on the touch screen gradually increases, then according to the length of the increase in the distance between the two touch points, determine the icon text on the touch screen to perform increasing the increasing range, and controlling the icon text on the touch screen to increase according to the increasing range.
本公开的实施例提供的技术方案可以包括以下有益效果:采用两个触摸点之间的距离远近来作为预设的图标文字缩放手势,便于用户记忆和使用,也适于用户单手操作,进一步简化了图标文字缩放的操作,也更便于用户使用,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the distance between two touch points is used as the preset icon text zooming gesture, which is convenient for users to remember and use, and is also suitable for users to operate with one hand. Simplifies the operation of icon text scaling, and is more convenient for users to use, improving user experience.
根据本公开实施例的第二方面,提供一种图标文字缩放装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided an icon text scaling device, including:
检测模块,被配置为检测用户在触控屏幕上输入的手势;A detection module configured to detect gestures input by the user on the touch screen;
确认模块,被配置为确认所述输入的手势为预设的图标文字缩放手势;The confirmation module is configured to confirm that the input gesture is a preset icon text zoom gesture;
控制模块,被配置为控制所述触控屏幕上的图标文字进行缩放。The control module is configured to control the scaling of the icon text on the touch screen.
在公开本实施例的一种实现方式中,所述控制模块,具体被配置为控制所述触控屏幕上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;或者,控制所述触控屏幕上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。In an implementation manner of the disclosed embodiment, the control module is specifically configured to control the icon text on the touch screen to be zoomed by a preset number of font sizes or zoomed according to a preset zoom parameter; or, Controlling the icon text on the touch screen to zoom continuously until the preset icon text zooming gesture is not detected on the touch screen.
在公开本实施例的一种实现方式中,所述控制模块,还被配置为遍历所述触控屏幕上的所有图标,控制与所述触控屏幕上所有图标对应的图标文字进行缩放;或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。In an implementation manner of the disclosed embodiment, the control module is further configured to traverse all the icons on the touch screen, and control the icon text corresponding to all the icons on the touch screen to zoom; or , determining a target range according to the input gesture, and controlling icon characters corresponding to icons within the target range to zoom.
在公开本实施例的一种实现方式中,所述确认模块,还被配置为确定所述触控屏幕上的图标文字大小是否达到预设的大小阈值;In an implementation manner of the disclosed embodiment, the confirmation module is further configured to determine whether the size of the icon text on the touch screen reaches a preset size threshold;
所述控制模块,具体被配置为若所述触控屏幕上的图标文字大小达到预设的大小阈值,则不对所述触控屏幕上的图标文字进行缩放。The control module is specifically configured to not scale the icon text on the touch screen if the size of the icon text on the touch screen reaches a preset size threshold.
在公开本实施例的一种实现方式中,所述预设的图标文字缩放手势,包括:In an implementation manner of disclosing this embodiment, the preset icon text zooming gesture includes:
预设的图标文字缩小手势和预设的图标文字放大手势;Preset gestures for shrinking icon text and preset gestures for zooming in icon text;
所述确认模块,具体被配置为确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势;The confirmation module is specifically configured to confirm that the input gesture is a preset zoom-out gesture of icon text or a preset zoom-in gesture of icon text;
所述处理模块,具体被配置为若所述输入的手势为预设的图标文字缩小手势,则控制所述触控屏幕上的图标文字进行缩小;若所述输入的手势为预设的图标文字法放大手势,则控制所述触控屏幕上的图标文字进行放大。The processing module is specifically configured to control the icon text on the touch screen to shrink if the input gesture is a preset icon text shrinking gesture; if the input gesture is a preset icon text If the zoom-in gesture is not performed, the icon text on the touch screen is controlled to zoom in.
在公开本实施例的一种实现方式中,所述预设的图标文字缩小手势,包括:在触控屏幕上两个触摸点的距离逐渐缩小的手势;In an implementation manner of the disclosed embodiment, the preset icon text shrinking gesture includes: a gesture of gradually shrinking the distance between two touch points on the touch screen;
所述预设的图标文字法放大手势,包括:在触控屏幕上两个触摸点的距离逐渐增大的手势。The preset icon text enlargement gesture includes: a gesture in which the distance between two touch points on the touch screen gradually increases.
在公开本实施例的一种实现方式中,所述处理模块,具体被配置为若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定所述触控屏幕上的图标文字进行缩小的缩小幅度,并控制所述触控屏幕上的图标文字根据所述缩小幅度进行缩小;若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定所述触控屏幕上的图标文字进行增大的增大幅度,并控制所述触控屏幕上的图标文字根据所述增大幅度进行增大。In an implementation manner of the disclosed embodiment, the processing module is specifically configured to, if the input gesture is a gesture in which the distance between two touch points on the touch screen is gradually The length of the distance of the touch point is reduced, and the reduction range of the icon text on the touch screen is determined, and the icon text on the touch screen is controlled to be reduced according to the reduction range; if the input gesture is In the gesture where the distance between two touch points gradually increases on the touch screen, according to the length of the increase in the distance between the two touch points, the increase range of the icon text on the touch screen is determined, And control the icon text on the touch screen to increase according to the increase range.
根据本公开实施例的第三方面,提供一种终端设备,包括:处理器、触控屏幕以及用于存储处理器可执行指令的存储器;According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including: a processor, a touch screen, and a memory for storing instructions executable by the processor;
所述处理器,被配置为检测用户在所述触控屏幕上输入的手势;确认所述输入的手势为预设的图标文字缩放手势;控制所述触控屏幕上的图标文字进行缩放;The processor is configured to detect a gesture input by the user on the touch screen; confirm that the input gesture is a preset icon text zooming gesture; control the icon text on the touch screen to zoom;
所述触控屏幕用于显示图标和图标文字,并获取用户输入的手势。The touch screen is used for displaying icons and icon texts, and acquiring gestures input by users.
在公开本实施例的一种实现方式中,所述处理器,具体被配置为控制所述触控屏幕上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;或者,控制所述触控屏幕上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。In an implementation manner of the disclosed embodiment, the processor is specifically configured to control the icon text on the touch screen to be zoomed by a preset number of font sizes or zoomed according to a preset zoom parameter; or, Controlling the icon text on the touch screen to zoom continuously until the preset icon text zooming gesture is not detected on the touch screen.
在公开本实施例的一种实现方式中,所述处理器,还被配置为遍历所述触控屏幕上的所有图标,控制与所述触控屏幕上所有图标对应的图标文字进行缩放;或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。In an implementation manner of the present embodiment, the processor is further configured to traverse all the icons on the touch screen, and control the icon text corresponding to all the icons on the touch screen to zoom; or , determining a target range according to the input gesture, and controlling icon characters corresponding to icons within the target range to zoom.
在公开本实施例的一种实现方式中,所述处理器,还被配置为确定所述触控屏幕上的图标文字大小是否达到预设的大小阈值;若所述触控屏幕上的图标文字大小达到预设的大小阈值,则不对所述触控屏幕上的图标文字进行缩放。In an implementation manner of the disclosed embodiment, the processor is further configured to determine whether the size of the icon text on the touch screen reaches a preset size threshold; if the icon text on the touch screen If the size reaches the preset size threshold, the icon text on the touch screen will not be scaled.
在公开本实施例的一种实现方式中,所述预设的图标文字缩放手势,包括:In an implementation manner of disclosing this embodiment, the preset icon text zooming gesture includes:
预设的图标文字缩小手势和预设的图标文字放大手势;Preset gestures for shrinking icon text and preset gestures for zooming in icon text;
所述处理器,具体被配置为确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势;若所述输入的手势为预设的图标文字缩小手势,则控制所述触控屏幕上的图标文字进行缩小;若所述输入的手势为预设的图标文字法放大手势,则控制所述触控屏幕上的图标文字进行放大。The processor is specifically configured to confirm that the input gesture is a preset zoom-out gesture of icon text or a preset zoom-in gesture of icon text; if the input gesture is a preset zoom-out gesture of icon text, control the The icon text on the touch screen is reduced; if the input gesture is a preset icon text enlargement gesture, the icon text on the touch screen is controlled to be enlarged.
在公开本实施例的一种实现方式中,所述预设的图标文字缩小手势,包括:在触控屏幕上两个触摸点的距离逐渐缩小的手势;In an implementation manner of the disclosed embodiment, the preset icon text shrinking gesture includes: a gesture of gradually shrinking the distance between two touch points on the touch screen;
所述预设的图标文字法放大手势,包括:在触控屏幕上两个触摸点的距离逐渐增大的手势。The preset icon text enlargement gesture includes: a gesture in which the distance between two touch points on the touch screen gradually increases.
在公开本实施例的一种实现方式中,所述处理器,具体被配置为若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定所述触控屏幕上的图标文字进行缩小的缩小幅度,并控制所述触控屏幕上的图标文字根据所述缩小幅度进行缩小;若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定所述触控屏幕上的图标文字进行增大的增大幅度,并控制所述触控屏幕上的图标文字根据所述增大幅度进行增大。In an implementation manner of the disclosed embodiment, the processor is specifically configured to, if the input gesture is a gesture in which the distance between two touch points on the touch screen is gradually The length of the distance of the touch point is reduced, and the reduction range of the icon text on the touch screen is determined, and the icon text on the touch screen is controlled to be reduced according to the reduction range; if the input gesture is In the gesture where the distance between two touch points gradually increases on the touch screen, according to the length of the increase in the distance between the two touch points, the increase range of the icon text on the touch screen is determined, And control the icon text on the touch screen to increase according to the increase range.
本公开的实施例提供的技术方案可以包括以下有益效果:通过检测用户在触控屏幕上输入的手势,当确认输入的手势为预设的图标文字缩放手势时,控制触控屏幕上的图标文字进行缩放,使用户需用户在触控屏幕上进行一次输入即可完成对图标文字的缩放操作,无需用户切换多个页面,也无需用户进行多次输入,简化了操作流程,节约了用户的时间,提高了用户体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by detecting the gesture input by the user on the touch screen, when it is confirmed that the input gesture is a preset zoom gesture of the icon text, control the icon text on the touch screen Zooming allows the user to complete the zooming operation of the icon text with one input on the touch screen, without the need for the user to switch between multiple pages, and without the need for the user to perform multiple inputs, which simplifies the operation process and saves the user's time , improving the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1A至图1D为通过配置页面修改终端设备图标文字大小的示意图;1A to 1D are schematic diagrams of modifying the text size of terminal device icons through the configuration page;
图2为根据一示例性实施例示出的图标文字缩放方法的流程图;Fig. 2 is a flowchart of a method for zooming icon text according to an exemplary embodiment;
图3A至图3C为本公开实施例提供的图标文字缩放方法的一种具体实施场景示意图;FIG. 3A to FIG. 3C are schematic diagrams of specific implementation scenarios of the method for zooming icon text provided by the embodiments of the present disclosure;
图4是根据一示例性实施例示出的一种图标文字缩放装置的框图;Fig. 4 is a block diagram of an icon text scaling device according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种终端设备的实体的框图;Fig. 5 is a block diagram showing entities of a terminal device according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种终端设备的框图。Fig. 6 is a block diagram of a terminal device according to an exemplary embodiment.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
目前的终端设备都采用触控屏幕作为显示装置以及输入装置,增大了终端设备的屏占比,同时使得对于终端设备的控制更加灵活。同时,目前的终端设备中的各种功能都是由应用(Application,APP)的形式存在,各APP在终端设备的主页面都是由一个图标以及图标下方的文字来表示。为了便于用户手持操作,终端设备的触控屏幕大小仍是有限的,因此,触控屏幕上显示的图标文字大小在缺省状态下也一般较小。但对于一些老人或视力不佳者,将可能无法看清触控屏幕上缺省状态下大小的文字,对于其他用户,也可能想缩小触控屏幕上的文字大小。那么用户就需要更改终端设备中的图标文字大小设置。由于终端设备基本都安装有智能操作系统,因此,对终端设备的各种配置和参数的修改,一般都需要用户进入专用的配置页面进行修改。但随着终端设备功能的日益强大,配置页面中可供用户进行修改的内容越来越多,用户在其中寻找修改图标文字大小的过程较为繁琐,影响用户体验。Current terminal devices all use a touch screen as a display device and an input device, which increases the screen ratio of the terminal device and makes the control of the terminal device more flexible. At the same time, various functions in current terminal devices exist in the form of applications (Applications, APPs), and each APP is represented by an icon and text below the icon on the main page of the terminal device. In order to facilitate the user's hand-held operation, the size of the touch screen of the terminal device is still limited. Therefore, the size of the icon text displayed on the touch screen is generally small by default. However, for some old people or people with poor eyesight, they may not be able to read the text of the default size on the touch screen. For other users, they may also want to reduce the size of the text on the touch screen. Then the user needs to change the icon text size setting in the terminal device. Since the terminal equipment is basically equipped with an intelligent operating system, the modification of various configurations and parameters of the terminal equipment generally requires the user to enter a dedicated configuration page for modification. However, with the increasingly powerful functions of terminal devices, more and more content can be modified by users on the configuration page, and the process for users to find and modify the text size of icons is relatively cumbersome, which affects user experience.
图1A至图1D为通过配置页面修改终端设备图标文字大小的示意图。图1A为终端设备缺省页面示意图,其中,各图标分别代表一个APP或功能,在每个图标下方都有与图标对应的文字,用户表示该图标所具有的功能名称或APP名称。为了修改对各图标对应的文字大小,用户需要进行配置页面进行修改,首先在图1A所示页面中点击“设置”图标,进入如图1B所示的设置页面。图1B为终端设备设置页面示意图,在图1B所示页面中,具有多种配置修改选项,用户需要在其中寻找所需修改的内容对应的选项,由于可修改的内容很多,对于某些配置或功能的修改,可能还需进入二级、三级等下级的配置页面。在图1B所示页面中,为了修改图标文字大小,首先需要选择“字体大小”选项,选择完后将进入图1C所示页面。图1C为终端设备的文字大小修改页面示意图,在图1C所示页面中,可以看到还是由针对终端设备的文字大小的多种设置选项,其中包括“图标字体大小”选项,在该选项下方具有滑动条,用户在滑动条上滑动游标来调整终端设备触控屏幕上的图标文字大小。其中,在图1C所示示意图中,滑动条上的游标向左滑动则图标文字的大小将减小,滑动条上的游标向右滑动则图标文字的大小将增大,游标在滑动条上滑动的距离越长,则图标文字减小或增大的幅度也越大。在将滑动条上的游标向右滑动一定距离后,退出设置页面后,终端设备显示图标的页面将如图1D所示。图1D与图1A相比,各图标对应的文字大小增大,将便于相应用户使用。FIG. 1A to FIG. 1D are schematic diagrams of modifying the text size of a terminal device icon through a configuration page. FIG. 1A is a schematic diagram of a default page of a terminal device, wherein each icon represents an APP or function, and there is text corresponding to the icon under each icon, and the user indicates the function name or APP name of the icon. In order to modify the text size corresponding to each icon, the user needs to modify the configuration page. First, click the "Settings" icon on the page shown in FIG. 1A to enter the setting page shown in FIG. 1B. Figure 1B is a schematic diagram of the terminal device setting page. In the page shown in Figure 1B, there are various configuration modification options. To modify the function, it may be necessary to enter the second-level, third-level and other lower-level configuration pages. In the page shown in FIG. 1B , in order to modify the text size of the icon, you first need to select the “font size” option, and you will enter the page shown in FIG. 1C after selection. Figure 1C is a schematic diagram of the text size modification page of the terminal device. On the page shown in Figure 1C, you can see that there are still a variety of setting options for the text size of the terminal device, including the "icon font size" option, under this option There is a slide bar, and the user slides the cursor on the slide bar to adjust the icon text size on the touch screen of the terminal device. Wherein, in the schematic diagram shown in Figure 1C, if the cursor on the slide bar slides to the left, the size of the icon text will decrease, and if the cursor on the slide bar slides to the right, the size of the icon text will increase, and the cursor slides on the slide bar. The longer the distance, the greater the reduction or increase of the icon text. After sliding the cursor on the sliding bar to the right for a certain distance and exiting the setting page, the page where the terminal device displays icons will be as shown in FIG. 1D . Compared with FIG. 1A in FIG. 1D , the text size corresponding to each icon is increased, which will be convenient for corresponding users to use.
从图1A至图1D中可以看出,为了调整终端设备触控屏幕上的图标文字大小,需要切换多个页面,进行多次操作,过程较为繁琐。It can be seen from FIG. 1A to FIG. 1D that in order to adjust the icon text size on the touch screen of the terminal device, it is necessary to switch multiple pages and perform multiple operations, and the process is relatively cumbersome.
有鉴于此,本公开提供一种图标文字缩放方法、装置和终端设备,用于解决上述问题。在本公开以下各实施例中,以智能手机为例,对本公开提供的图标文字缩放方法进行示例性说明,但本公开提供的图标文字缩放方法不限于应用在智能手机中,任一种具有触控屏幕的终端设备,都可以应用本公开实施例提供的方法。In view of this, the present disclosure provides an icon text zooming method, device and terminal equipment to solve the above problems. In the following embodiments of the present disclosure, taking a smart phone as an example, the icon text zooming method provided in the present disclosure is exemplified, but the icon text zoom method provided in the present disclosure is not limited to the application in smart phones, and any The method provided by the embodiment of the present disclosure can be applied to any terminal device that controls the screen.
图2为根据一示例性实施例示出的图标文字缩放方法的流程图,本实施例提供的图标文字缩放方法可以应用于任一种具有触控屏幕的终端设备中,如图2所示,该方法包括以下步骤:Fig. 2 is a flow chart of a method for zooming icon text according to an exemplary embodiment. The method for zooming icon text provided in this embodiment can be applied to any terminal device with a touch screen, as shown in Fig. 2 , the The method includes the following steps:
在步骤S201中,检测用户在触控屏幕上输入的手势。In step S201, a gesture input by a user on the touch screen is detected.
用户在使用具有触控屏幕的终端设备时,触控屏幕即为终端设备的主要输入装置,用户在触控屏幕上通过点击、拖曳、长按等操作,对终端设备进行控制,不同的操作在不同场景中对应不同的操作结果。终端设备可以检测到用户在触控屏幕上输入的手势,根据该手势判断所需执行的操作。When a user uses a terminal device with a touch screen, the touch screen is the main input device of the terminal device. The user controls the terminal device through operations such as clicking, dragging, and long pressing on the touch screen. Different operations are in Different scenarios correspond to different operation results. The terminal device can detect the gesture input by the user on the touch screen, and judge the operation to be performed according to the gesture.
在本实施例中,是以在触控屏幕上检测用户输入的手势为例,检测用户在触控屏幕上通过触摸方式输入的手势。但本发明不以此为限,还可以采用任一种能够检测到用户输入的手势的方法检测用户输入的手势。例如通过非触摸式的感应检测方法,检测用户在触控屏幕上方通过非触摸方式输入的手势。或者还可以通过视频检测的方法,通过终端设备的摄像设备,通过拍摄用户在使用终端设备时的视频信息,在拍摄的视频信息中检测用户输入的手势。In this embodiment, the gesture input by the user on the touch screen is detected as an example, and the gesture input by the user on the touch screen through touch is detected. However, the present invention is not limited thereto, any gesture input by the user may be detected by any method capable of detecting the gesture input by the user. For example, a non-touch sensing detection method is used to detect a gesture input by a user on the touch screen in a non-touch manner. Alternatively, a video detection method may be used to detect gestures input by the user in the captured video information by capturing video information of the user using the terminal device through the camera device of the terminal device.
在步骤S202中,确认输入的手势为预设的图标文字缩放手势。In step S202, it is confirmed that the input gesture is a preset zoom gesture of icon text.
在终端设备中,预设有多种控制手势与具体操作的对应关系,当检测到用户输入的手势后,终端设备将判断该手势是否与预设的图标文字缩放手势一致。由于用户在触控屏幕上输入的手势一般没有参考点,而是可能在触控屏幕的任意位置输入,因此终端设备中预设的图标文字缩放手势并不以触控屏幕中的任一点作为参考点,而是根据一个或多个相对参考点之间的相对位置关系以及具体操作来组成的。另外,由于用户是用手指在触控屏幕上进行手势输入,一般不能精确地输入与预设手势完全一致的手势,因此预设的图标文字缩放手势中各参考点之间的相对位置关系应该具有一定的误差范围,以适应用户输入的手势可能产生的误差。这里预设的图标文字缩放手势可以是与终端设备中已经预设的任一种手势不同的手势。但出于需要用户便于记忆的考虑,该预设的图标文字缩放手势需要与文字缩放动作相关,例如预设的图标文字缩放手势可以是两个触摸点之间的距离减小或增大,或者是一个触摸点不动、另一个触摸点向上或向下移动等。In the terminal device, there are preset corresponding relationships between various control gestures and specific operations. When a gesture input by the user is detected, the terminal device will determine whether the gesture is consistent with the preset icon text zooming gesture. Since the gestures input by the user on the touch screen generally do not have a reference point, but may be input at any position on the touch screen, the icon text zoom gesture preset in the terminal device does not use any point on the touch screen as a reference Points, but based on the relative positional relationship between one or more relative reference points and specific operations. In addition, because users use their fingers to perform gesture input on the touch screen, they generally cannot accurately input gestures that are completely consistent with the preset gestures. Therefore, the relative positional relationship between the reference points in the preset icon text zoom gesture should have A certain margin of error to accommodate the possible errors of gestures input by the user. The icon text zooming gesture preset here may be a gesture different from any preset gesture in the terminal device. However, for the sake of easy memory for the user, the preset icon text zooming gesture needs to be related to the text zooming action. For example, the preset icon text zooming gesture can be that the distance between two touch points decreases or increases, or One touch point does not move, another touch point moves up or down, etc.
在步骤S203中,控制触控屏幕上的图标文字进行缩放。In step S203, the icon text on the touch screen is controlled to zoom.
当确定用户在触控屏幕上输入的手势为预设的图标文字缩放手势时,则终端设备控制触控屏幕上的图标文字进行相应的缩小或放大显示。终端设备可以在确定用户输入的手势为预设的图标文字缩放手势时,控制图标文字进行预设数量个字号的缩小或放大或者根据预设缩放参数进行缩放。也即在终端设备中预先设置有一次图标文字缩放的预设字号或预设的缩放参数,例如一次缩放一个字号等,那么当确认用户输入的手势为预设的图标文字缩放手势时,即可控制图标文字预设数量个字号的缩小或放大或者根据预设缩放参数进行缩放。终端设备也可以根据检测到的手势的持续时间长短对字体进行持续缩小或放大,在一定时间内(例如1秒)缩小或放大预设数量个字号或者根据预设缩放参数进行缩放,直至检测不到用户输入的手势或检测到的手势与预设的图标文字缩放手势不同;或者预设的图标文字缩放手势可以设置多个阶段,在检测到用户输入的手势后,进一步地判断该手势与预设的图标文字缩放手势的那个阶段匹配,从而确定图标文字缩小或放大的幅度。When it is determined that the gesture input by the user on the touch screen is a preset icon text zooming gesture, the terminal device controls the icon text on the touch screen to be correspondingly reduced or enlarged for display. When the terminal device determines that the gesture input by the user is a preset zooming gesture of the icon text, it can control the icon text to shrink or enlarge a preset number of font sizes or zoom in according to a preset zoom parameter. That is to say, the terminal device is preset with a preset font size or preset zoom parameters for icon text zooming, such as zooming one font size at a time, etc., then when it is confirmed that the gesture input by the user is the preset icon text zooming gesture, you can Control the reduction or enlargement of the icon text by a preset number of font sizes or zoom in according to the preset scaling parameters. The terminal device can also continuously reduce or enlarge the font according to the duration of the detected gesture, reduce or enlarge the font size by a preset number within a certain period of time (for example, 1 second), or zoom in according to the preset scaling parameters until no gesture is detected. The gesture input by the user or the detected gesture is different from the preset icon text zoom gesture; or the preset icon text zoom gesture can be set in multiple stages. After the gesture input by the user is detected, it is further judged that the gesture is different from the preset Match the phase of the icon text zooming gesture set, so as to determine the reduction or enlargement range of the icon text.
根据本实施例提供的图标文字缩放方法对触控屏幕上的图标文字进行缩放,仅需用户在触控屏幕上进行一次输入即可完成全部操作,无需用户切换多个页面,也无需用户进行多次输入,简化了操作流程,节约了用户的时间。According to the icon text zooming method provided in this embodiment, the icon text on the touch screen is zoomed, and the user only needs to input once on the touch screen to complete all operations, and the user does not need to switch multiple pages, and does not need the user to perform multiple operations. One-time input simplifies the operation process and saves the user's time.
本实施例提供的图标文字缩放方法,通过检测用户在触控屏幕上输入的手势,当确认输入的手势为预设的图标文字缩放手势时,控制触控屏幕上的图标文字进行缩放,使用户需用户在触控屏幕上进行一次输入即可完成对图标文字的缩放操作,无需用户切换多个页面,也无需用户进行多次输入,简化了操作流程,节约了用户的时间,提高了用户体验。The icon text scaling method provided in this embodiment, by detecting the gesture input by the user on the touch screen, when it is confirmed that the input gesture is the preset icon text zooming gesture, the icon text on the touch screen is controlled to zoom, so that the user The zoom operation of the icon text can be completed only by one input from the user on the touch screen, without the need for the user to switch between multiple pages, and without the need for the user to make multiple inputs, which simplifies the operation process, saves the user's time, and improves the user experience .
由于在终端设备的触控屏幕上,可能同时显示多个图标,各图标分别具有对应的图标文字,因此,在上述步骤S203中,在确定了输入的手势为预设的图标文字缩放手势时,可以遍历触控屏幕上的所有图标,并控制与触控屏幕上图标对应的图标文字进行缩放。也就是说,当检测到用户输入的图标文字缩放手势后,将终端设备上显示的所有图标文字都进行相应的缩小或放大。或者,在确定了输入的手势为预设的图标文字缩放手势时,还可以根据输入的手势确定目标范围,该目标范围内的图标文字为确定需要缩放的图标文字。用户输入的不同手势可以对应不同的目标范围,例如可以确定用户输入的手势在触控屏幕上距离最远的两个点,根据这个两个点确定一个面积最大的矩形区域(或圆形区域),区域内即为目标范围。当确定了目标区域后,控制目标范围内的图标对应的图标文字进行缩放。从而可以实现对特定区域内的图标文字进行缩放。Since multiple icons may be displayed simultaneously on the touch screen of the terminal device, and each icon has a corresponding icon text, therefore, in the above step S203, when it is determined that the input gesture is a preset icon text zooming gesture, All the icons on the touch screen can be traversed, and the icon text corresponding to the icon on the touch screen can be controlled to scale. That is to say, after the zooming gesture of the icon text input by the user is detected, all the icon texts displayed on the terminal device are correspondingly reduced or enlarged. Alternatively, when it is determined that the input gesture is a preset icon text zooming gesture, a target range may also be determined according to the input gesture, and the icon text within the target range is the icon text that needs to be zoomed. Different gestures input by the user can correspond to different target ranges. For example, the two points farthest from the gesture input by the user on the touch screen can be determined, and a rectangular area (or circular area) with the largest area can be determined based on these two points. , the area within is the target range. After the target area is determined, the icon text corresponding to the icons within the target range is controlled to be scaled. In this way, the icon text in a specific area can be zoomed.
另外,由于终端设备的触控屏幕大小和分辨率都有限,因此在触控屏幕上所显示的图标文字的大小也是有限的,不能多大或过小,若文字过大,则可能导致在触控屏幕上无法显示完全或显示错误,若文字过小,则用户可能无法看清。因此,在确定了输入的手势为预设的图标文字缩放手势时,还需要判断当前触控屏上所小时的图标文字的大小是否已经达到终端设备中所预设的文字大小阈值。终端设备中所预设的文字大小阈值包括文字的最大阈值和最小阈值,在该最大阈值和最小阈值之间的文字大小是终端设备的触控屏幕上能够正常显示且用户可以看清的文字大小。若判断当前的图标文字大小未达到预设的大小阈值,也即是位于文字的最大阈值和最小阈值范围内,那么再控制触控屏幕上的图标文字进行缩放,否则将不对图标文字大小进行缩放。具体而言,当图标的文字大小为最大阈值,且检测到的手势为放大,则不对图标文字进行放大;当图标的文字大小为最小阈值,且检测到的手势为缩小,则不对图标文字进行缩小。另外,在对图标文字进行放大或缩小的过程中,也不能使图标文字的大小超过预设的大小阈值。In addition, due to the limited size and resolution of the touch screen of the terminal device, the size of the icon text displayed on the touch screen is also limited, and cannot be too large or too small. Incomplete or incorrect display on the screen, if the text is too small, the user may not be able to read it. Therefore, when it is determined that the input gesture is a preset icon text zooming gesture, it is also necessary to determine whether the size of the icon text currently displayed on the touch screen has reached the preset text size threshold in the terminal device. The preset text size threshold in the terminal device includes the maximum threshold and the minimum threshold of the text, and the text size between the maximum threshold and the minimum threshold is the text size that can be normally displayed on the touch screen of the terminal device and can be seen clearly by the user . If it is judged that the size of the current icon text does not reach the preset size threshold, that is, it is within the range of the maximum threshold and the minimum threshold of the text, then control the icon text on the touch screen to scale, otherwise the icon text size will not be scaled . Specifically, when the text size of the icon is the maximum threshold and the detected gesture is zoom in, the icon text will not be enlarged; when the text size of the icon is the minimum threshold and the detected gesture is zoom out, the icon text will not be zoomed in. zoom out. In addition, in the process of enlarging or reducing the icon text, the size of the icon text cannot exceed a preset size threshold.
下面以一种具体的图标缩放手势,对本公开实施例提供的图标文字缩放方法进行示意性说明。图3A至图3C为本公开实施例提供的图标文字缩放方法的一种具体实施场景示意图。其中,图3A与图1A相同,为终端设备缺省页面示意图。图3B为用户在终端设备的触控屏幕上输入图标文字缩放手势的示意图,其中,在本实施例中,以在触控屏幕上两个触摸点的距离逐渐缩小的手势为预设的图标文字缩小手势,以在触控屏幕上两个触摸点的距离逐渐增大的手势为预设的图标文字法放大手势。用户在触控屏幕上使用两个手指分别触摸触控屏幕上两个不同的点,并将两个手指之间的距离逐渐增大,那么终端设备将在触控屏幕上检测到具有两个触摸点,并且两个触摸点之间的距离逐渐增大,则终端设备可以确定用户输入的手势为预设的图标文字法放大手势。图3C为图1A中图标文字增大后的示意图,图3C与图3A相比,各图标对应的文字大小增大。另外,如图3A至图3C所示场景的图标文字缩放场景中,用户仅需使用一只手的两根手指在触控屏幕上进行触控操作即可完成图标文字的缩小操作,更加便于用户操作。图标文字缩小的场景与放大场景类似,此处不再赘述。The icon text zooming method provided by the embodiment of the present disclosure will be schematically described below with a specific icon zooming gesture. FIG. 3A to FIG. 3C are schematic diagrams of a specific implementation scenario of the icon text zooming method provided by an embodiment of the present disclosure. Wherein, FIG. 3A is the same as FIG. 1A , and is a schematic diagram of a default page of a terminal device. Fig. 3B is a schematic diagram of a user inputting a zooming gesture of an icon text on the touch screen of a terminal device, wherein, in this embodiment, a gesture in which the distance between two touch points on the touch screen gradually shrinks is used as the default icon text The pinch-out gesture is a gesture in which the distance between two touch points gradually increases on the touch screen as a preset icon-text zoom-in gesture. The user uses two fingers on the touch screen to touch two different points on the touch screen, and gradually increases the distance between the two fingers, then the terminal device will detect two touches on the touch screen. point, and the distance between the two touch points gradually increases, the terminal device may determine that the gesture input by the user is a preset icon letter zoom-in gesture. FIG. 3C is a schematic diagram of the enlarged text of the icon in FIG. 1A . Compared with FIG. 3A , the size of the text corresponding to each icon in FIG. 3C is increased. In addition, in the icon text zooming scene of the scenes shown in Figure 3A to Figure 3C, the user only needs to use two fingers of one hand to perform a touch operation on the touch screen to complete the icon text zooming operation, which is more convenient for users operate. The scenario of zooming out the icon text is similar to the zooming-in scenario, and will not be repeated here.
从图3A至图3C中可以看出,与图1A至图1D所示场景相比,本公开所示实施例提供的图标文字缩放方法在进行图标文字放大操作时,无需切换页面,而且仅需用户进行一次操作,大大节约了用户的时间。It can be seen from FIG. 3A to FIG. 3C that, compared with the scenarios shown in FIG. 1A to FIG. 1D , the icon text scaling method provided by the embodiment of the present disclosure does not need to switch pages when performing icon text zoom-in operations, and only needs to The user performs one operation, which greatly saves the user's time.
进一步地,在图3B所示场景中,除了在触控屏幕上检测两个触摸点是否增大以外,还可以检测两个触摸点之间增大的距离长度,根据两个触摸点之间增大的距离长度的不同,确定图3C中各图标文字所增大的幅度。两个触摸点之间增大的距离越长,则相应的各图标文字所增大的幅度越大。Further, in the scene shown in FIG. 3B , in addition to detecting whether the two touch points increase on the touch screen, it is also possible to detect the increased distance between the two touch points. The difference in the length of the large distance determines the magnitude of the increase of each icon text in FIG. 3C. The longer the increased distance between the two touch points, the greater the increased range of the corresponding icons.
图4是根据一示例性实施例示出的一种图标文字缩放装置的框图,如图4所示,该图标文字缩放装置40,包括:Fig. 4 is a block diagram of an icon text scaling device according to an exemplary embodiment. As shown in Fig. 4, the icon text scaling device 40 includes:
检测模块41,被配置为检测用户在触控屏幕上输入的手势;The detection module 41 is configured to detect a gesture input by the user on the touch screen;
确认模块42,被配置为确认所述输入的手势为预设的图标文字缩放手势;The confirmation module 42 is configured to confirm that the input gesture is a preset icon text zoom gesture;
控制模块43,被配置为控制所述触控屏幕上的图标文字进行缩放。The control module 43 is configured to control the icon text on the touch screen to zoom.
本实施例提供的图标文字缩放装置用于实现图2所示的图标文字缩放方法的技术方案,其实现原理和技术效果类似,此处不再赘述。The icon text scaling device provided in this embodiment is used to realize the technical solution of the icon text scaling method shown in FIG. 2 , and its implementation principle and technical effect are similar, and will not be repeated here.
可选地,在图4所示实施例中,控制模块43,具体被配置为控制所述触控屏幕上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;或者,控制所述触控屏幕上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。Optionally, in the embodiment shown in FIG. 4 , the control module 43 is specifically configured to control the icon text on the touch screen to be zoomed by a preset number of font sizes or zoomed according to a preset zoom parameter; or, Controlling the icon text on the touch screen to zoom continuously until the preset icon text zooming gesture is not detected on the touch screen.
可选地,在图4所示实施例中,控制模块43,还被配置为遍历所述触控屏幕上的所有图标,控制与所述触控屏幕上所有图标对应的图标文字进行缩放;或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。Optionally, in the embodiment shown in FIG. 4 , the control module 43 is further configured to traverse all the icons on the touch screen, and control the icon text corresponding to all the icons on the touch screen to zoom; or , determining a target range according to the input gesture, and controlling icon characters corresponding to icons within the target range to zoom.
可选地,在图4所示实施例中,确认模块42,还被配置为确定所述触控屏幕上的图标文字大小是否达到预设的大小阈值。控制模块43,具体被配置为若所述触控屏幕上的图标文字大小达到预设的大小阈值,则不对所述触控屏幕上的图标文字进行缩放。Optionally, in the embodiment shown in FIG. 4 , the confirmation module 42 is further configured to determine whether the size of the icon text on the touch screen reaches a preset size threshold. The control module 43 is specifically configured to not scale the icon text on the touch screen if the size of the icon text on the touch screen reaches a preset size threshold.
可选地,在图4所示实施例中,所述预设的图标文字缩放手势,包括:预设的图标文字缩小手势和预设的图标文字放大手势。确认模块42,具体被配置为确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势。处理模块43,具体被配置为若所述输入的手势为预设的图标文字缩小手势,则控制所述触控屏幕上的图标文字进行缩小;若所述输入的手势为预设的图标文字法放大手势,则控制所述触控屏幕上的图标文字进行放大。Optionally, in the embodiment shown in FIG. 4 , the preset icon text zooming gesture includes: a preset icon text zoom-out gesture and a preset icon text zoom-in gesture. The confirmation module 42 is specifically configured to confirm that the input gesture is a preset zoom-out gesture of icon text or a preset zoom-in gesture of icon text. The processing module 43 is specifically configured to control the icon text on the touch screen to shrink if the input gesture is a preset icon text shrinking gesture; The gesture of zooming in is to control the icon text on the touch screen to zoom in.
可选地,在图4所示实施例中,所述预设的图标文字缩小手势,包括:在触控屏幕上两个触摸点的距离逐渐缩小的手势;所述预设的图标文字法放大手势,包括:在触控屏幕上两个触摸点的距离逐渐增大的手势。Optionally, in the embodiment shown in FIG. 4 , the preset icon text shrinking gesture includes: a gesture in which the distance between two touch points on the touch screen is gradually reduced; the preset icon text zoom-in gesture Gestures include: a gesture in which the distance between two touch points gradually increases on the touch screen.
可选地,在图4所示实施例中,处理模块43,具体被配置为若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定所述触控屏幕上的图标文字进行缩小的缩小幅度,并控制所述触控屏幕上的图标文字根据所述缩小幅度进行缩小;若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定所述触控屏幕上的图标文字进行增大的增大幅度,并控制所述触控屏幕上的图标文字根据所述增大幅度进行增大。Optionally, in the embodiment shown in FIG. 4 , the processing module 43 is specifically configured to, if the input gesture is a gesture in which the distance between two touch points on the touch screen is gradually The length of the distance of the touch point is reduced, and the reduction range of the icon text on the touch screen is determined, and the icon text on the touch screen is controlled to be reduced according to the reduction range; if the input gesture is In the gesture where the distance between two touch points gradually increases on the touch screen, according to the length of the increase in the distance between the two touch points, the increase range of the icon text on the touch screen is determined, And control the icon text on the touch screen to increase according to the increase range.
图4描述了图标文字缩放装置的内部功能模块和结构示意,图5是根据一示例性实施例示出的一种终端设备的实体的框图,参照图5,该终端设备500可具体实现为:处理器511、触控屏幕512以及用于存储处理器511可执行指令的存储器513。处理器511可以为任一种可应用于终端设备中的处理器。Fig. 4 describes the internal functional modules and schematic structure of the icon text zooming device. Fig. 5 is a block diagram of an entity of a terminal device according to an exemplary embodiment. Referring to Fig. 5, the terminal device 500 can be specifically implemented as: processing A device 511, a touch screen 512, and a memory 513 for storing instructions executable by the processor 511. The processor 511 may be any processor applicable to a terminal device.
处理器511,被配置为检测用户在触控屏幕512上输入的手势;确认所述输入的手势为预设的图标文字缩放手势;控制触控屏幕512上的图标文字进行缩放。The processor 511 is configured to detect a gesture input by the user on the touch screen 512 ; confirm that the input gesture is a preset icon text zooming gesture; and control the icon text on the touch screen 512 to zoom.
触控屏幕512用于显示图标和图标文字,并获取用户输入的手势。The touch screen 512 is used for displaying icons and icon texts, and acquiring gestures input by the user.
可选地,处理器511,具体被配置为控制触控屏幕512上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;或者,控制触控屏幕512上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。Optionally, the processor 511 is specifically configured to control the icon text on the touch screen 512 to be scaled by a preset number of font sizes or to zoom according to a preset scaling parameter; or, to control the icon text on the touch screen 512 to continuously Zooming until the preset icon text zooming gesture is not detected on the touch screen.
可选地,处理器511,还被配置为遍历触控屏幕512上的所有图标,控制与触控屏幕512上所有图标对应的图标文字进行缩放;或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。Optionally, the processor 511 is further configured to traverse all the icons on the touch screen 512, and control the icon text corresponding to all the icons on the touch screen 512 to zoom; or, determine the target range according to the input gesture, Control the scaling of the icon text corresponding to the icons within the target range.
可选地,处理器511,还被配置为确定触控屏幕512上的图标文字大小是否达到预设的大小阈值;若触控屏幕512上的图标文字大小达到预设的大小阈值,则不对触控屏幕512上的图标文字进行缩放。Optionally, the processor 511 is further configured to determine whether the size of the icon text on the touch screen 512 reaches a preset size threshold; if the size of the icon text on the touch screen 512 reaches the preset size threshold, the touch The icon text on the control screen 512 is zoomed.
可选地,所述预设的图标文字缩放手势,包括:预设的图标文字缩小手势和预设的图标文字放大手势;处理器511,具体被配置为确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势;若所述输入的手势为预设的图标文字缩小手势,则控制触控屏幕512上的图标文字进行缩小;若所述输入的手势为预设的图标文字法放大手势,则控制触控屏幕512上的图标文字进行放大。Optionally, the preset icon text zooming gesture includes: a preset icon text zoom-out gesture and a preset icon text zoom-in gesture; the processor 511 is specifically configured to confirm that the input gesture is a preset Icon text reduction gesture or preset icon text enlargement gesture; if the input gesture is a preset icon text reduction gesture, then control the icon text on the touch screen 512 to shrink; if the input gesture is a preset The icon text on the touch screen 512 is controlled to enlarge the icon text.
可选地,所述预设的图标文字缩小手势,包括:在触控屏幕512上两个触摸点的距离逐渐缩小的手势;所述预设的图标文字法放大手势,包括:在触控屏幕512上两个触摸点的距离逐渐增大的手势。Optionally, the preset zoom-in gesture of icon text includes: a gesture in which the distance between two touch points on the touch screen 512 gradually shrinks; the preset zoom-in gesture of icon text includes: A gesture in which the distance between two touch points on 512 gradually increases.
可选地,处理器511,具体被配置为若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定触控屏幕512上的图标文字进行缩小的缩小幅度,并控制触控屏幕512上的图标文字根据所述缩小幅度进行缩小;若所述输入的手势为在触控屏幕512上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定触控屏幕512上的图标文字进行增大的增大幅度,并控制触控屏幕512上的图标文字根据所述增大幅度进行增大。Optionally, the processor 511 is specifically configured to, if the input gesture is a gesture in which the distance between two touch points gradually decreases on the touch screen, determine according to the length of the decrease in the distance between the two touch points. The icon text on the touch screen 512 is reduced by the reduction range, and the icon text on the touch screen 512 is controlled to be reduced according to the reduction range; if the input gesture is two touch points on the touch screen 512 If the distance gradually increases, according to the increased length of the distance between the two touch points, determine the increasing range of the icon text on the touch screen 512, and control the icon text on the touch screen 512 according to the The increase range is increased.
在上述信息的终端设备的实施例中,应理解,该处理器511可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,而前述的存储器可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random AccessMemory,RAM)、快闪存储器、硬盘或者固态硬盘。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment of the above information terminal device, it should be understood that the processor 511 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), etc. General-purpose processor can be microprocessor or this processor also can be any conventional processor etc., and aforementioned memory can be read-only memory (Read-Only Memory, ROM), random access memory (Random AccessMemory, RAM) , flash memory, hard disk or solid state disk. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
图6是根据一示例性实施例示出的一种终端设备的框图。例如,该终端设备600可以是智能手机、平板电脑等终端设备。参照图6,终端设备600可以包括以下一个或多个组件:处理组件602,存储器604,电力组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传感器组件614,以及通信组件616。Fig. 6 is a block diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 600 may be a terminal device such as a smartphone or a tablet computer. 6, terminal device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614 , and the communication component 616.
处理组件602通常控制终端设备600的整体操作,诸如与显示,数据通信,多媒体操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。The processing component 602 generally controls the overall operations of the terminal device 600, such as operations associated with display, data communication, multimedia operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 602 may include one or more modules that facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602 .
存储器604被配置为存储各种类型的数据以支持在终端设备600的操作。这些数据的示例包括用于在终端设备600上操作的任何应用程序或方法的指令,各类数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 604 is configured to store various types of data to support operations at the terminal device 600 . Examples of these data include instructions for any application or method operating on the terminal device 600 , various data, messages, pictures, videos, and the like. The memory 604 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件606为终端设备600的各种组件提供电力。电力组件606可以包括电源管理系统,一个或多个电源,及其他与为终端设备600生成、管理和分配电力相关联的组件。The power component 606 provides power to various components of the terminal device 600 . Power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for end device 600 .
多媒体组件608包括在所述终端设备600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The multimedia component 608 includes a screen providing an output interface between the terminal device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当终端设备600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a microphone (MIC), which is configured to receive an external audio signal when the terminal device 600 is in an operation mode, such as a calling mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 616 . In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。The I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like.
传感器组件614包括一个或多个传感器,用于为终端设备600提供各个方面的状态评估。例如,传感器组件614可以检测到终端设备600的打开/关闭状态,组件的相对定位,例如所述组件为终端设备600的显示器和小键盘,传感器组件614还可以检测终端设备600或终端设备600一个组件的位置改变,用户与终端设备600接触的存在或不存在,终端设备600访问或加速/减速和终端设备600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 614 includes one or more sensors for providing status assessments of various aspects of the terminal device 600 . For example, the sensor component 614 can detect the opening/closing state of the terminal device 600, the relative positioning of components, for example, the components are the display and the keypad of the terminal device 600, and the sensor component 614 can also detect the terminal device 600 or a terminal device 600 Changes in the positions of components, presence or absence of user contact with the terminal device 600 , access or acceleration/deceleration of the terminal device 600 and temperature changes of the terminal device 600 . The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 614 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件616被配置为便于终端设备600和其他设备之间有线或无线方式的通信。终端设备600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 616 is configured to facilitate wired or wireless communication between the terminal device 600 and other devices. The terminal device 600 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端设备600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the terminal device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由终端设备600的处理器620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, which can be executed by the processor 620 of the terminal device 600 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端设备600的处理组件602执行时,使得终端设备600的处理组件602能够执行一种图标文字缩放方法,该方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processing component 602 of the terminal device 600, the processing component 602 of the terminal device 600 can execute a method for zooming icon text, the method includes :
检测用户在触控屏幕上输入的手势;Detect gestures entered by the user on the touch screen;
确认所述输入的手势为预设的图标文字缩放手势;Confirming that the input gesture is a preset icon text zooming gesture;
控制所述触控屏幕上的图标文字进行缩放。Control the icon text on the touch screen to zoom.
进一步地,所述控制所述触控屏幕上的图标文字进行缩放,包括:Further, the controlling the scaling of the icon text on the touch screen includes:
控制所述触控屏幕上的图标文字进行预设数量个字号的缩放或者根据预设缩放参数进行缩放;controlling the icon text on the touch screen to be scaled by a preset number of font sizes or scaled according to a preset scaling parameter;
或者,控制所述触控屏幕上的图标文字连续缩放,直至在所述触控屏幕上检测不到所述预设的图标文字缩放手势。Alternatively, the icon text on the touch screen is controlled to zoom continuously until the preset icon text zooming gesture is not detected on the touch screen.
进一步地,所述控制所述触控屏幕上的图标文字进行缩放,包括:Further, the controlling the scaling of the icon text on the touch screen includes:
遍历所述触控屏幕上的所有图标,控制与所述触控屏幕上所有图标对应的图标文字进行缩放;Traversing all the icons on the touch screen, controlling the icon text corresponding to all the icons on the touch screen to scale;
或者,根据所述输入的手势确定目标范围,控制所述目标范围内的图标对应的图标文字进行缩放。Alternatively, a target range is determined according to the input gesture, and icon text corresponding to icons within the target range is controlled to zoom.
进一步地,所述方法还包括:Further, the method also includes:
确定所述触控屏幕上的图标文字大小是否达到预设的大小阈值;Determine whether the icon text size on the touch screen reaches a preset size threshold;
若所述触控屏幕上的图标文字大小达到预设的大小阈值,则不对所述触控屏幕上的图标文字进行缩放。If the size of the icon text on the touch screen reaches a preset size threshold, the icon text on the touch screen is not scaled.
进一步地,所述预设的图标文字缩放手势,包括:Further, the preset icon text zoom gesture includes:
预设的图标文字缩小手势和预设的图标文字放大手势;Preset gestures for shrinking icon text and preset gestures for zooming in icon text;
所述确认所述输入的手势为预设的图标文字缩放手势,包括:The gesture for confirming the input is a preset icon text zooming gesture, including:
确认所述输入的手势为预设的图标文字缩小手势或预设的图标文字放大手势;Confirming that the input gesture is a preset icon text shrinking gesture or a preset icon text zooming gesture;
所述控制所述触控屏幕上的图标文字进行缩放,包括:Said controlling the scaling of the icon text on said touch screen includes:
若所述输入的手势为预设的图标文字缩小手势,则控制所述触控屏幕上的图标文字进行缩小;If the input gesture is a preset icon text shrinking gesture, then controlling the icon text on the touch screen to shrink;
若所述输入的手势为预设的图标文字法放大手势,则控制所述触控屏幕上的图标文字进行放大。If the input gesture is a preset enlarging gesture of icon text, the icon text on the touch screen is controlled to be enlarged.
进一步地,所述预设的图标文字缩小手势,包括:在触控屏幕上两个触摸点的距离逐渐缩小的手势;Further, the preset icon text reduction gesture includes: a gesture of gradually reducing the distance between two touch points on the touch screen;
所述预设的图标文字法放大手势,包括:在触控屏幕上两个触摸点的距离逐渐增大的手势。The preset icon text enlargement gesture includes: a gesture in which the distance between two touch points on the touch screen gradually increases.
进一步地,所述控制所述触控屏幕上的图标文字进行缩放,包括:Further, the controlling the scaling of the icon text on the touch screen includes:
若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐缩小的手势,则根据所述两个触摸点的距离缩小的长度,确定所述触控屏幕上的图标文字进行缩小的缩小幅度,并控制所述触控屏幕上的图标文字根据所述缩小幅度进行缩小;If the input gesture is a gesture in which the distance between the two touch points on the touch screen is gradually reduced, then according to the shortened length of the distance between the two touch points, it is determined that the icon text on the touch screen is reduced. Reduce the range, and control the icon text on the touch screen to shrink according to the reduction range;
若所述输入的手势为在触控屏幕上两个触摸点的距离逐渐增大的手势,则根据所述两个触摸点的距离增大的长度,确定所述触控屏幕上的图标文字进行增大的增大幅度,并控制所述触控屏幕上的图标文字根据所述增大幅度进行增大。If the input gesture is a gesture in which the distance between two touch points on the touch screen gradually increases, then according to the length of the increase in the distance between the two touch points, determine the icon text on the touch screen to perform increasing the increasing range, and controlling the icon text on the touch screen to increase according to the increasing range.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求书来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610537755.4A CN106201317A (en) | 2016-07-08 | 2016-07-08 | Icon word Zoom method, device and terminal unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610537755.4A CN106201317A (en) | 2016-07-08 | 2016-07-08 | Icon word Zoom method, device and terminal unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106201317A true CN106201317A (en) | 2016-12-07 |
Family
ID=57472913
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610537755.4A Pending CN106201317A (en) | 2016-07-08 | 2016-07-08 | Icon word Zoom method, device and terminal unit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106201317A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106486037A (en) * | 2016-12-20 | 2017-03-08 | 北京猎豹移动科技有限公司 | Based on the advertisement demonstration method of application, device and electronic equipment |
| CN108418967A (en) * | 2018-02-06 | 2018-08-17 | 网易(杭州)网络有限公司 | APP lookup methods, device, medium and computing device |
| WO2020093363A1 (en) * | 2018-11-09 | 2020-05-14 | 深圳迈瑞生物医疗电子股份有限公司 | Method applied to monitoring device for responding to touch operation and monitoring device |
| CN113112395A (en) * | 2021-03-11 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Picture processing method and device and storage medium |
| CN114415886A (en) * | 2022-01-07 | 2022-04-29 | 维沃移动通信有限公司 | Application icon management method and electronic equipment |
| CN117519859A (en) * | 2022-07-30 | 2024-02-06 | 荣耀终端有限公司 | Interface adjustment method and electronic device |
Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102298487A (en) * | 2010-06-24 | 2011-12-28 | 英业达股份有限公司 | Control method of touch screen and electronic device applying same |
| CN102520816A (en) * | 2011-11-10 | 2012-06-27 | 广东威创视讯科技股份有限公司 | Scaling and rotating combined touch method, device and system |
| CN102968273A (en) * | 2012-11-20 | 2013-03-13 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and page-zooming method thereof |
| CN103019594A (en) * | 2012-12-06 | 2013-04-03 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and page zooming method thereof |
| CN103186341A (en) * | 2012-01-03 | 2013-07-03 | 深圳富泰宏精密工业有限公司 | System and method for controlling zooming and rotation of file on touch screen |
| CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
| CN103207742A (en) * | 2012-01-13 | 2013-07-17 | 深圳富泰宏精密工业有限公司 | Article selecting method and system |
| CN103246470A (en) * | 2012-02-02 | 2013-08-14 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
| US20130321400A1 (en) * | 2012-06-05 | 2013-12-05 | Apple Inc. | 3D Map Views for 3D Maps |
| CN103440104A (en) * | 2013-08-22 | 2013-12-11 | 广东欧珀移动通信有限公司 | Scaling method and system for display content |
| CN103713844A (en) * | 2012-10-09 | 2014-04-09 | 宏达国际电子股份有限公司 | Method for zooming screen picture and electronic device |
| CN105335087A (en) * | 2014-08-02 | 2016-02-17 | 苹果公司 | context-specific user interface |
| US20160105331A1 (en) * | 2014-10-13 | 2016-04-14 | Samsung Electronics Co., Ltd. | Electronic device and gateway for network service, and operation method therefor |
| CN105511789A (en) * | 2015-12-08 | 2016-04-20 | 魅族科技(中国)有限公司 | Icon processing method and terminal |
| CN105589637A (en) * | 2014-11-11 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Gesture-based scaling method and device |
-
2016
- 2016-07-08 CN CN201610537755.4A patent/CN106201317A/en active Pending
Patent Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102298487A (en) * | 2010-06-24 | 2011-12-28 | 英业达股份有限公司 | Control method of touch screen and electronic device applying same |
| CN102520816A (en) * | 2011-11-10 | 2012-06-27 | 广东威创视讯科技股份有限公司 | Scaling and rotating combined touch method, device and system |
| CN103186341A (en) * | 2012-01-03 | 2013-07-03 | 深圳富泰宏精密工业有限公司 | System and method for controlling zooming and rotation of file on touch screen |
| CN103207742A (en) * | 2012-01-13 | 2013-07-17 | 深圳富泰宏精密工业有限公司 | Article selecting method and system |
| CN103246470A (en) * | 2012-02-02 | 2013-08-14 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
| US20130321400A1 (en) * | 2012-06-05 | 2013-12-05 | Apple Inc. | 3D Map Views for 3D Maps |
| CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
| CN103713844A (en) * | 2012-10-09 | 2014-04-09 | 宏达国际电子股份有限公司 | Method for zooming screen picture and electronic device |
| CN102968273A (en) * | 2012-11-20 | 2013-03-13 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and page-zooming method thereof |
| CN103019594A (en) * | 2012-12-06 | 2013-04-03 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and page zooming method thereof |
| CN103440104A (en) * | 2013-08-22 | 2013-12-11 | 广东欧珀移动通信有限公司 | Scaling method and system for display content |
| CN105335087A (en) * | 2014-08-02 | 2016-02-17 | 苹果公司 | context-specific user interface |
| US20160105331A1 (en) * | 2014-10-13 | 2016-04-14 | Samsung Electronics Co., Ltd. | Electronic device and gateway for network service, and operation method therefor |
| CN105589637A (en) * | 2014-11-11 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Gesture-based scaling method and device |
| CN105511789A (en) * | 2015-12-08 | 2016-04-20 | 魅族科技(中国)有限公司 | Icon processing method and terminal |
Non-Patent Citations (2)
| Title |
|---|
| 《电脑报2011合订本》编写组: "《电脑报 2012合订本 下》", 31 December 2012, 重庆:重庆出版社 * |
| 王战伟: "《计算机组成与维护》", 30 May 2015, 西安:西安电子科技大学出版社 * |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106486037A (en) * | 2016-12-20 | 2017-03-08 | 北京猎豹移动科技有限公司 | Based on the advertisement demonstration method of application, device and electronic equipment |
| CN108418967A (en) * | 2018-02-06 | 2018-08-17 | 网易(杭州)网络有限公司 | APP lookup methods, device, medium and computing device |
| CN108418967B (en) * | 2018-02-06 | 2021-06-18 | 网易(杭州)网络有限公司 | APP searching method, device, medium and computing equipment |
| WO2020093363A1 (en) * | 2018-11-09 | 2020-05-14 | 深圳迈瑞生物医疗电子股份有限公司 | Method applied to monitoring device for responding to touch operation and monitoring device |
| CN112822980A (en) * | 2018-11-09 | 2021-05-18 | 深圳迈瑞生物医疗电子股份有限公司 | Touch operation responding method applied to monitoring equipment and monitoring equipment |
| CN113112395A (en) * | 2021-03-11 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Picture processing method and device and storage medium |
| CN113112395B (en) * | 2021-03-11 | 2024-01-09 | 宇龙计算机通信科技(深圳)有限公司 | Image processing method, device and storage medium |
| CN114415886A (en) * | 2022-01-07 | 2022-04-29 | 维沃移动通信有限公司 | Application icon management method and electronic equipment |
| CN117519859A (en) * | 2022-07-30 | 2024-02-06 | 荣耀终端有限公司 | Interface adjustment method and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3121701A1 (en) | Method and apparatus for single-hand operation on full screen | |
| CN106201317A (en) | Icon word Zoom method, device and terminal unit | |
| CN105955607A (en) | Content sharing method and apparatus | |
| CN106648412A (en) | Projector control method, device and projector | |
| CN106980409B (en) | Input control method and device | |
| CN108595074A (en) | Status bar operating method, device and computer readable storage medium | |
| CN104133623B (en) | Page zoom-in and zoom-out method and apparatus | |
| CN106293396A (en) | terminal control method, device and terminal | |
| WO2015139469A1 (en) | Webpage adjustment method and device, and electronic device | |
| CN106843592A (en) | Touch control method and device and mobile terminal | |
| CN105912258A (en) | Method and device for operation processing | |
| CN106598429A (en) | Method and device for adjusting window of mobile terminal | |
| US20160062581A1 (en) | Method and device for displaying file | |
| CN106095236A (en) | The method and device of arranging desktop icons | |
| CN107402711A (en) | Volume adjusting method, device and computer-readable recording medium | |
| CN105892869A (en) | Image position adjusting method and device | |
| CN106888309A (en) | The fingerprint recognition reminding method and device of video terminal | |
| CN116954540A (en) | Application display method, device and terminal | |
| CN106095313A (en) | The method and device that touch panel device event triggers | |
| CN106775210A (en) | The method and apparatus that wallpaper is changed | |
| CN106527886A (en) | Picture display method and apparatus | |
| CN106445376B (en) | Webpage operation method and device | |
| CN106126050B (en) | Menu display method and device | |
| CN106775247A (en) | The method and intelligent terminal of application icon movement | |
| CN105843490A (en) | Invalid entry deleting method and device as well as equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
| RJ01 | Rejection of invention patent application after publication |