[go: up one dir, main page]

HK1215092B - Device, method, and graphical user interface for adjusting the appearance of a control - Google Patents

Device, method, and graphical user interface for adjusting the appearance of a control Download PDF

Info

Publication number
HK1215092B
HK1215092B HK16103076.3A HK16103076A HK1215092B HK 1215092 B HK1215092 B HK 1215092B HK 16103076 A HK16103076 A HK 16103076A HK 1215092 B HK1215092 B HK 1215092B
Authority
HK
Hong Kong
Prior art keywords
content
control
values
appearance
display
Prior art date
Application number
HK16103076.3A
Other languages
Chinese (zh)
Other versions
HK1215092A1 (en
Inventor
K·柯西恩达
T·S·乔恩
C·G·卡鲁纳穆尼
Original Assignee
苹果公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from US14/183,383 external-priority patent/US9305374B2/en
Application filed by 苹果公司 filed Critical 苹果公司
Publication of HK1215092A1 publication Critical patent/HK1215092A1/en
Publication of HK1215092B publication Critical patent/HK1215092B/en

Links

Description

用于调节控件的外观的设备、方法和图形用户界面Device, method and graphical user interface for adjusting the appearance of a control

技术领域Technical Field

本公开整体涉及具有显示器的电子设备,包括但不限于在其显示器上显示软键盘和其他虚拟控件的电子设备。The present disclosure generally relates to electronic devices having displays, including but not limited to electronic devices that display soft keyboards and other virtual controls on their displays.

背景技术Background Art

电子计算设备常常在其显示器上显示虚拟控件。例如,在使用便携式电子设备(例如智能电话、平板电脑、或笔记本电脑)上的应用程序时,键盘、菜单、对话框、提示、和其他控件可能出现和消失。Electronic computing devices often display virtual controls on their displays. For example, when using an application on a portable electronic device (such as a smart phone, tablet computer, or laptop computer), keyboards, menus, dialog boxes, prompts, and other controls may appear and disappear.

虚拟控件的初始显示可能使用户分心,使得用户短暂地失去其在应用程序中的位置。此外,显示在应用程序用户界面中的其他元件顶部的虚拟控件遮掩或遮蔽那些元件,这也使得用户更难保持应用程序中的上下文。这对于具有小显示器的便携式设备尤其如此,其中虚拟控件(例如键盘)可能占据显示器的很大部分。The initial display of virtual controls can be distracting, causing the user to briefly lose their place in the application. Furthermore, virtual controls displayed on top of other elements in the application's user interface can obscure or obscure those elements, making it more difficult for the user to maintain context within the application. This is particularly true for portable devices with small displays, where virtual controls (e.g., a keyboard) can take up a significant portion of the display.

发明内容Summary of the Invention

因此,需要具有有助于保持应用程序中的上下文的更少使人分心的虚拟控件的电子设备。这就需要用于调节虚拟控件的外观的新的方法和界面。此类设备、方法和界面减小了对用户所造成的认知负担并产生了更有效的人机界面。Therefore, there is a need for electronic devices with less distracting virtual controls that help maintain context within applications. This creates a need for new methods and interfaces for adjusting the appearance of virtual controls. Such devices, methods, and interfaces reduce the cognitive burden on users and create more effective human-computer interfaces.

通过所公开的设备减少或消除了与用于具有显示器的电子设备的用户界面相关联的上述缺陷和其他问题。在一些实施例中,该设备是台式计算机。在一些实施例中,设备是便携式的(例如,笔记本电脑、平板电脑或手持设备)。在一些实施例中,设备具有触摸板。在一些实施例中,该设备具有触敏显示器(又称为“触摸屏”或“触摸屏显示器”)。在一些实施例中,设备具有图形用户界面(GUI)、一个或多个处理器、存储器、以及存储在存储器中以用于执行多个功能的一个或多个模块、程序或指令集。在一些实施例中,用户主要通过触敏表面上的手指接触和手势来与GUI进行交互。在一些实施例中,这些功能任选地包括图像编辑、绘图、呈现、文字处理、网站创建、盘编辑、电子表格制作、玩游戏、接打电话、视频会议、收发电子邮件、即时消息发送、健身支持、数字摄影、数字视频记录、网络浏览、数字音乐播放、和/或数字视频播放。用于执行这些功能的可执行指令任选地被包括在被配置用于由一个或多个处理器执行的非暂态计算机可读存储介质或其他计算机程序产品中。The above-mentioned defects and other problems associated with the user interface of the electronic device with display are reduced or eliminated by the disclosed device. In some embodiments, the device is a desktop computer. In some embodiments, the device is portable (e.g., a laptop, tablet computer or handheld device). In some embodiments, the device has a touch pad. In some embodiments, the device has a touch-sensitive display (also known as a "touch screen" or "touch screen display"). In some embodiments, the device has a graphical user interface (GUI), one or more processors, memory, and one or more modules, programs or instruction sets stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI mainly through finger contacts and gestures on the touch-sensitive surface. In some embodiments, these functions optionally include image editing, drawing, presentation, word processing, website creation, disk editing, spreadsheet production, playing games, making and receiving calls, video conferencing, sending and receiving emails, instant messaging, fitness support, digital photography, digital video recording, web browsing, digital music playback, and/or digital video playback. The executable instructions for performing these functions are optionally included in a non-transient computer-readable storage medium or other computer program product configured for execution by one or more processors.

根据一些实施例,在具有显示器的电子设备处执行一种方法。该方法包括:在显示器上显示用户界面;确定与显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;基于第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及在显示器的相应区域中显示控件,其中控件的外观基于第一内容和第一组控件外观值来确定。According to some embodiments, a method is performed at an electronic device having a display. The method includes: displaying a user interface on the display; determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and displaying a control in the corresponding area of the display, wherein an appearance of the control is determined based on the first content and the first set of control appearance values.

根据一些实施例,电子设备包括被配置为显示用户界面的显示单元和耦接到显示单元的处理单元。该处理单元被配置为:确定与显示器的相应区域的对应第一内容的一个或多个内容显示属性的第一组内容显示值;基于第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及启用对显示器的相应区域中的控件的显示,其中控件的外观基于第一内容和第一组控件外观值来确定。According to some embodiments, an electronic device includes a display unit configured to display a user interface and a processing unit coupled to the display unit. The processing unit is configured to: determine a first set of content display values for one or more content display attributes corresponding to first content in a corresponding area of the display; determine a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and enable display of a control in the corresponding area of the display, wherein the appearance of the control is determined based on the first content and the first set of control appearance values.

根据一些实施例,电子设备包括显示器、任选的触敏表面、任选的用于检测与触敏表面的接触的强度的一个或多个传感器、一个或多个处理器、存储器、和一个或多个程序;所述一个或多个程序被存储在存储器中并被配置为由一个或多个处理器执行,并且所述一个或多个程序包括用于执行上述方法的操作的指令。根据一些实施例,如上述方法中所描述的,电子设备上的图形用户界面包括在上述方法中显示的一个或多个元件,所述一个或多个元件响应于输入进行更新,该电子设备具有显示器、任选的触敏表面、任选的用于检测与触敏表面的接触的强度的一个或多个传感器、存储器、和用于执行存储在存储器中的一个或多个程序的一个或多个处理器。根据一些实施例,计算机可读存储介质在其中存储有指令,所述指令当由具有显示器、任选的触敏表面、和任选的用于检测与触敏表面的接触的强度的一个或多个传感器的电子设备执行时使得该设备执行上述方法的操作。根据一些实施例,电子设备包括:显示器、任选的触敏表面、和任选的用于检测与触敏表面的接触的强度的一个或多个传感器;以及用于执行上述方法的操作的装置。根据一些实施例,在具有显示器、任选的触敏表面、和任选的用于检测与触敏表面的接触的强度的一个或多个传感器的电子设备中使用的信息处理装置包括用于执行上述方法的操作的装置。According to some embodiments, an electronic device includes a display, an optional touch-sensitive surface, one or more sensors for detecting the intensity of contacts with the touch-sensitive surface, one or more processors, memory, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the operations of the above-described method. According to some embodiments, as described in the above-described method, a graphical user interface on the electronic device includes one or more elements displayed in the above-described method, the one or more elements being updated in response to input, the electronic device having a display, an optional touch-sensitive surface, one or more sensors for detecting the intensity of contacts with the touch-sensitive surface, memory, and one or more processors for executing the one or more programs stored in the memory. According to some embodiments, a computer-readable storage medium has stored therein instructions that, when executed by an electronic device having a display, an optional touch-sensitive surface, and one or more sensors for detecting the intensity of contacts with the touch-sensitive surface, cause the device to perform the operations of the above-described method. According to some embodiments, the electronic device includes: a display, an optional touch-sensitive surface, and one or more sensors for detecting the intensity of contacts with the touch-sensitive surface; and means for performing the operations of the above-described method. According to some embodiments, an information processing apparatus for use in an electronic device having a display, optionally a touch-sensitive surface, and optionally one or more sensors for detecting intensity of contacts with the touch-sensitive surface includes means for performing the operations of the above-described method.

因此,为具有显示器的电子设备提供更少地使人分心同时仍然是用户容易看到和易于交互的虚拟控件,从而提高有效性、效率、以及用户对此类设备的满意度。Thus, providing electronic devices with displays with virtual controls that are less distracting while still easy for users to see and interact with improves the effectiveness, efficiency, and user satisfaction with such devices.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更好地理解各种所述实施例,应该结合以下附图并且参考下方的具体实施方式,在所有附图中,类似的附图标号指示对应的部件。For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, wherein like reference numerals designate corresponding parts throughout.

图1A是示出了根据一些实施例的具有触敏显示器的便携式多功能设备的框图。Figure 1A is a block diagram illustrating a portable multifunction device with a touch-sensitive display in accordance with some embodiments.

图1B是示出了根据一些实施例的用于事件处理的示例性部件的框图。FIG1B is a block diagram illustrating exemplary components for event processing according to some embodiments.

图2示出了根据一些实施例的具有触摸屏的便携式多功能设备。FIG2 illustrates a portable multifunction device with a touch screen in accordance with some embodiments.

图3是根据一些实施例的具有显示器和触敏表面的示例性多功能设备的框图。3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface in accordance with some embodiments.

图4A示出了根据一些实施例的便携式多功能设备上的应用程序的菜单的示例性用户界面。Figure 4A illustrates an exemplary user interface for a menu of applications on a portable multifunction device in accordance with some embodiments.

图4B示出了根据一些实施例的用于具有与显示器分开的触敏表面的多功能设备的示例性用户界面。Figure 4B shows an exemplary user interface for a multifunction device with a touch-sensitive surface that is separate from the display in accordance with some embodiments.

图5A-5K根据一些实施例示出了用于调节控件的外观的示例性假想用户界面。5A-5K illustrate exemplary hypothetical user interfaces for adjusting the appearance of a control, according to some embodiments.

图6根据一些实施例示例性地示出了针对显示控件的区域中的内容所确定的假想的示例性的一组内容显示属性值。FIG6 exemplarily illustrates a hypothetical exemplary set of content display property values determined for content in a region of a display control according to some embodiments.

图7是根据一些实施例的已被分配给可被用于经由插补法确定内容外观值的对应的预定组的控件外观值的假想的预定组的内容显示值的示意图。7 is a diagram of a hypothetical predetermined set of content display values that have been assigned to a corresponding predetermined set of control appearance values that may be used to determine content appearance values via interpolation, in accordance with some embodiments.

图8根据一些实施例示例性地示出了控件的假想的示例性的一组控件外观参数值。FIG8 exemplarily illustrates a hypothetical exemplary set of control appearance parameter values for a control according to some embodiments.

图9A-9G是示出根据一些实施例的一种调节控件的外观的方法的流程图。9A-9G are flow diagrams illustrating a method of adjusting the appearance of a control according to some embodiments.

图10为根据一些实施例的电子设备的功能框图。10 is a functional block diagram of an electronic device in accordance with some embodiments.

具体实施方式DETAILED DESCRIPTION

在使用设备上的应用程序时,电子设备常常显示出现和消失的虚拟控件。Electronic devices often display virtual controls that appear and disappear while using applications on the device.

如上所述,虚拟控件的初始显示可能使用户分心,从而使得用户短暂地失去其在应用程序中的位置。此外,显示在应用程序用户界面中的其他元件顶部的虚拟控件遮掩或遮蔽那些元件,这也使得用户更难保持应用程序中的上下文。这对于具有小显示器的便携式设备尤其如此,其中虚拟控件(例如键盘)可能占据显示器的很大部分。As described above, the initial display of virtual controls can be distracting, causing the user to briefly lose their place in the application. Furthermore, virtual controls displayed on top of other elements in the application's user interface obscure or mask those elements, making it more difficult for the user to maintain context within the application. This is particularly true for portable devices with small displays, where virtual controls (e.g., a keyboard) can take up a significant portion of the display.

这里,公开了具有半透明虚拟控件的电子设备,半透明虚拟控件的外观自动地调节,使得控件更少使人分心,同时用户仍然容易看到并易于交互。Disclosed herein are electronic devices having translucent virtual controls whose appearance automatically adjusts so that the controls are less distracting while still being easy for the user to see and interact with.

给定的半透明控件被显示在显示器的特定区域中的内容上方。设备确定所述特定区域中的各个内容显示属性的值(例如控件下方的内容的色调、饱和度、亮度、和/或对比度的值)。继而,设备基于所确定的内容显示属性值来确定各个控件外观参数的一组值(例如模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、控件中用户界面元件的不透明度、和/或控件中的文本颜色的值)。半透明控件的外观然后基于控件下方的内容和所确定的控件外观参数值。内容显示属性值、控件外观参数值、并且因此还有控件的外观随着控件下方的内容改变而自动地动态更新。A given translucent control is displayed above the content in a specific area of the display. The device determines the values of various content display properties in the specific area (e.g., the hue, saturation, brightness, and/or contrast values of the content below the control). Then, the device determines a set of values for various control appearance parameters based on the determined content display property values (e.g., blur radius, saturation adjustment, opacity of white overlays, opacity of black overlays, opacity of user interface elements in the control, and/or the value of text color in the control). The appearance of the translucent control is then based on the content below the control and the determined control appearance parameter values. The content display property values, control appearance parameter values, and therefore the appearance of the control are automatically and dynamically updated as the content below the control changes.

这些调节产生外观比不透明控件或简单地以固定方式模糊下方内容的半透明控件更少地使人分心的半透明控件。同时,这些调节产生容易看到且易于交互的半透明控件。总体而言,这些调节提供了减小对用户所造成的认知负担并生成更有效的人机界面的半透明控件。These adjustments create a translucent control that is less distracting than an opaque control or a translucent control that simply obscures underlying content in a fixed manner. At the same time, these adjustments create a translucent control that is easy to see and interact with. Overall, these adjustments provide a translucent control that reduces the cognitive burden on the user and creates a more effective human-computer interface.

需注意,本文所述的对半透明控件的调节也可应用于其他类型的半透明用户界面元件(例如任务栏、托盘、和状态栏)。It should be noted that the adjustments to translucent controls described herein can also be applied to other types of translucent user interface elements (eg, taskbars, trays, and status bars).

下方,图1A-1B、图2和图3提供了对示例性设备的描述。图4A-4B和5A-5K示出了用于调节控件的外观的示例性用户界面。图9A-9G是示出一种调节控件的外观的方法的流程图。图5A-5K中的用户界面被用于阐释图9A-9G中的过程。Below, Figures 1A-1B, 2, and 3 provide a description of an exemplary device. Figures 4A-4B and 5A-5K illustrate exemplary user interfaces for adjusting the appearance of a control. Figures 9A-9G are flow charts illustrating a method for adjusting the appearance of a control. The user interfaces in Figures 5A-5K are used to illustrate the process in Figures 9A-9G.

示例性设备Exemplary devices

现在将详细地参考实施例,这些实施例的实例在附图中被示出。在下方的详细描述中给出了许多具体细节,以便提供对各种所述实施例的充分理解。但是,对本领域的普通技术人员将显而易见的是,各种所述实施例可在没有这些具体细节的情况下被实践。在其他情况下,没有详细描述熟知的方法、过程、部件、电路、和网络,以便不会不必要地模糊实施例的各个方面。Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. Numerous specific details are provided in the detailed description below to provide a full understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments may be practiced without these specific details. In other cases, well-known methods, processes, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure various aspects of the embodiments.

还将理解的是,虽然术语“第一”、“第二”等在本文中在一些情况下被用于描述各种元素,但是这些元素不应受到这些术语的限制。这些术语只是用来将一个元素与另一元素区分开。例如,第一接触可以被命名为第二接触,并且类似地,第二接触可以被命名为第一接触,而不脱离各种所述实施例的范围。第一接触和第二接触均为接触,但它们不是同一个接触。It will also be understood that, although the terms "first", "second" etc. are used to describe various elements in some cases herein, these elements should not be limited by these terms. These terms are simply used to distinguish one element from another. For example, the first contact can be named as the second contact, and similarly, the second contact can be named as the first contact, without departing from the scope of the various described embodiments. Both the first contact and the second contact are contacts, but they are not the same contact.

在本文中对各种所述实施例的描述中所使用的术语只是为了描述特定实施例,而并非旨在进行限制。如在对各种所述实施例的描述和所附权利要求书中所使用的那样,单数形式“一个”(“a”,“an”)和“该”旨在也包括复数形式,除非上下文明确地另外指出。还将理解的是,本文中所使用的术语“和/或”是指并且涵盖相关联的所列出的项目中的一个或多个项目的任何和全部可能的组合。还将理解的是,术语“包括”(“includes”“including”“comprises”和/或“comprising”)当在本说明书中使用时是指定存在所陈述的特征、整数、步骤、操作、元件和/或部件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、部件和/或其分组。The terms used in the description of the various described embodiments herein are only for the purpose of describing specific embodiments and are not intended to be limiting. As used in the description of the various described embodiments and in the appended claims, the singular forms "a", "an" and "the" are intended to also include the plural forms, unless the context clearly indicates otherwise. It will also be understood that the terms "and/or" used herein refer to and encompass any and all possible combinations of one or more of the associated listed items. It will also be understood that the terms "includes", "including", "comprises" and/or "comprising" when used in this specification specify the presence of stated features, integers, steps, operations, elements and/or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and/or their groupings.

根据上下文,如本文所用,术语“如果”任选地被解释为意为“当……时”(“when”或“upon”)或“响应于确定”或“响应于检测到”。类似地,根据上下文,短语“如果确定……”或“如果检测到[所陈述的条件或事件]”任选地被解释为意指“当确定……时”或“响应于确定……”或“当检测到[所陈述的条件或事件]时”或“响应于检测到[所陈述的条件或事件]”。As used herein, the term "if" is optionally interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that..." or "if [stated condition or event] is detected" are optionally interpreted to mean "when it is determined that..." or "in response to determining that..." or "when [stated condition or event] is detected" or "in response to detecting [stated condition or event]," depending on the context.

描述了电子设备、用于此类设备的用户界面和用于使用此类设备的相关联过程的实施例。在一些实施例中,该设备是还包含其他功能(诸如PDA和/或音乐播放器功能)的便携式通信设备诸如移动电话。便携式多功能设备的示例性实施例包括但不限于来自AppleInc(Cupertino,California)的iPod和设备。任选地使用其他便携式电子设备诸如具有触敏表面(例如,触摸屏显示器和/或触摸板)的膝上型电脑或平板电脑。还应当理解的是,在一些实施例中,设备不是便携式通信设备,而是具有触敏表面(例如,触摸屏显示器和/或触摸板)的台式计算机。Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communication device such as a mobile phone that also includes other functions (such as a PDA and/or music player functions). Exemplary embodiments of portable multifunction devices include, but are not limited to, iPods and devices from Apple Inc (Cupertino, California). Other portable electronic devices such as laptops or tablets with touch-sensitive surfaces (e.g., touch screen displays and/or touch pads) are optionally used. It should also be understood that in some embodiments, the device is not a portable communication device, but rather a desktop computer with a touch-sensitive surface (e.g., touch screen displays and/or touch pads).

在下方的讨论中,描述了一种包括显示器和触敏表面的电子设备。然而,应当理解,电子设备任选地包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操纵杆。In the following discussion, an electronic device including a display and a touch-sensitive surface is described. However, it should be understood that the electronic device optionally includes one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.

设备通常支持多种应用程序,诸如以下各项中的一者或多者:绘图应用程序、呈现应用程序、文字处理应用程序、网站创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、健身支持应用程序、照片管理应用程序、数字相机应用程序、数字视频相机应用程序、web浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。The device typically supports a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.

在设备上执行的各种应用程序任选地使用至少一个共用的物理用户接口设备诸如触敏表面。触敏表面的一种或多种功能以及显示在设备上的对应信息任选地从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,设备的共用物理架构(诸如触敏表面)任选地利用对于用户而言直观且清楚的用户界面来支持各种应用程序。Various applications executing on the device optionally use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the device optionally adjust and/or change from one application to the next and/or within a respective application. In this way, the common physical architecture of the device (such as a touch-sensitive surface) optionally supports the various applications with a user interface that is intuitive and clear to the user.

注意力现在被引向具有触敏显示器的便携式设备的实施例。图1A是示出了根据一些实施例的具有触敏显示器112的便携式多功能设备100的框图。触敏显示器112有时为了方便被叫做“触摸屏”,并且有时被称为或被叫做触敏显示器系统。设备100包括存储器102(其任选地包括一个或多个计算机可读存储介质)、存储器控制器122、一个或多个处理单元(CPU)120、外围设备接口118、RF电路108、音频电路110、扬声器111、麦克风113、输入/输出(I/O)子系统106、其他输入或控制设备116、和外部端口124。设备100任选地包括一个或多个光学传感器164。设备100任选地包括用于检测设备100上的接触的强度的一个或多个强度传感器165(例如,触敏表面,诸如设备100的触敏显示器系统112)。设备100任选地包括用于在设备100上生成触觉输出的一个或多个触觉输出发生器167(例如,在触敏表面诸如设备100的触敏显示器系统112或设备300的触摸板355上生成触觉输出)。这些部件任选地通过一条或多条通信总线或信号线103进行通信。Attention is now directed to embodiments of portable devices with touch-sensitive displays. Figure 1A is a block diagram illustrating a portable multifunction device 100 with a touch-sensitive display 112 in accordance with some embodiments. Touch-sensitive display 112 is sometimes referred to as a "touch screen" for convenience, and is sometimes referred to as or referred to as a touch-sensitive display system. Device 100 includes memory 102 (which optionally includes one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral device interface 118, RF circuitry 108, audio circuitry 110, a speaker 111, a microphone 113, an input/output (I/O) subsystem 106, other input or control devices 116, and external ports 124. Device 100 optionally includes one or more optical sensors 164. Device 100 optionally includes one or more intensity sensors 165 for detecting intensity of contact on device 100 (e.g., a touch-sensitive surface, such as touch-sensitive display system 112 of device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touch pad 355 of device 300). These components optionally communicate via one or more communication buses or signal lines 103.

如在本说明书和权利要求书中所使用的,术语触敏表面上的接触的“强度”是指触敏表面上的接触(例如,手指接触)的力或压力(每单位面积的力),或者是指触敏表面上的接触的力或压力的替代物(代用物)。接触的强度具有值范围,该值范围包括至少四个不同的值并且更典型地包括上百个不同的值(例如,至少256个)。接触的强度任选地使用各种方法和各种传感器或传感器组合来确定(或测量)。例如,在触敏表面下方或相邻于触敏表面的一个或多个力传感器任选地用于测量触敏表面上的各个点处的力。在一些实施例中,来自多个力传感器的力测量被合并(例如,加权平均)以确定所估计的接触力。类似地,触笔的压敏顶端任选地用于确定触笔在触敏表面上的压力。可替代地,在触敏表面上所检测到的接触面积的大小和/或其变化、邻近接触的触敏表面的电容和/或其变化、和/或邻近接触的触敏表面的电阻和/或其变化任选地被用作触敏表面上的接触的力或压力的替代物。在一些具体实施中,接触力或压力的替代物测量直接用于确定是否已超过强度阈值(例如,强度阈值是以对应于替代物测量的单位来描述)。在一些实施例中,接触力或压力的替代物测量被转换成所估计的力或压力,并且所估计的力或压力用于确定是否已超过强度阈值(例如,强度阈值是以压力的单位所测量的压力阈值)。As used in this specification and claims, the term "intensity" of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or to a surrogate (surrogate) for the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values that includes at least four different values and more typically includes hundreds of different values (e.g., at least 256). The intensity of a contact is optionally determined (or measured) using various methods and various sensors or sensor combinations. For example, one or more force sensors below or adjacent to the touch-sensitive surface are optionally used to measure the force at various points on the touch-sensitive surface. In some embodiments, the force measurements from multiple force sensors are combined (e.g., weighted averaged) to determine an estimated contact force. Similarly, the pressure-sensitive tip of the stylus is optionally used to determine the pressure of the stylus on the touch-sensitive surface. Alternatively, the size of the contact area detected on the touch-sensitive surface and/or its change, the capacitance of the touch-sensitive surface adjacent to the contact and/or its change, and/or the resistance of the touch-sensitive surface adjacent to the contact and/or its change are optionally used as a surrogate for the force or pressure of the contact on the touch-sensitive surface. In some implementations, the surrogate measurement of the force or pressure of the contact is used directly to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the surrogate measurement). In some embodiments, the surrogate measurement of the force or pressure of the contact is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether the intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure).

如本说明书和权利要求书中所使用的,术语“触觉输出”是指将由用户利用用户的触摸感所检测到的设备相对于设备的先前位置的物理位移、设备的部件(例如,触敏表面)相对于设备的另一个部件(例如,外壳)的物理位移、或部件相对于设备的质心的位移。例如,在设备或设备的部件与用户对触摸敏感的表面(例如,手指、手掌或用户的手部的其他部分)接触的情况下,通过物理位移生成的触觉输出将被用户解读为与设备或设备部件的物理特性上的所感知到的变化对应的触感。例如,触敏表面(例如,触敏显示器或触控板)的移动任选地被用户解读为是对物理致动按钮的“按下点击”或“松开点击”。在一些情况下,用户将感觉到触感,诸如“按下点击”或“松开点击”,即使在通过用户的移动而物理地被按压(例如,被移位)的与触敏表面相关联的物理致动按钮没有移动时也是如此。又如,触敏表面的移动任选地被用户解读为或感测为触敏表面的“粗糙度”,即使在触敏表面的光滑度无变化时也是如此。虽然用户对触摸的此类解读将受到用户的个体化感官知觉限制,但是有触摸的许多感官知觉是大多数用户共有的。因此,当触觉输出被描述为对应于用户的特定感官知觉(例如,“松开点击”、“按下点击”、“粗糙度”)时,除非另外陈述,否则所生成的触觉输出对应于设备或其部件的物理位移,该物理位移将会生成典型(或普通)用户的所描述的感官知觉。As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of a device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device that will be detected by a user using the user's sense of touch. For example, when a device or a component of the device is in contact with a surface that is touch-sensitive to a user (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in a physical property of the device or component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" on a physical actuation button. In some cases, the user will feel a tactile sensation, such as a "press click" or "release click," even when the physical actuation button associated with the touch-sensitive surface that was physically pressed (e.g., displaced) by the user's movement does not move. As another example, movement of a touch-sensitive surface may be interpreted or sensed by a user as "roughness" of the touch-sensitive surface, even when there is no change in the smoothness of the touch-sensitive surface. While such a user's interpretation of touch will be limited by the user's individualized sensory perceptions, many sensory perceptions of touch are common to most users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., "release click," "press click," "roughness"), unless otherwise stated, the generated tactile output corresponds to a physical displacement of the device or a component thereof that would generate the described sensory perception for a typical (or average) user.

应当理解,设备100只是便携式多功能设备的实例,并且设备100任选地具有比所示出的更多或更少的部件,任选地组合两个或更多个部件,或者任选地具有这些部件的不同配置或布置。图1A中所示的各种部件以硬件、软件、或硬件与软件两者的组合来实现,其包括一个或多个信号处理电路和/或专用集成电路。It should be understood that device 100 is only an example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown in FIG1A are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing circuits and/or application specific integrated circuits.

存储器102任选地包括高速随机存取存储器,并且还任选地包括非易失性存储器诸如一个或多个磁盘存储设备、闪存存储器设备、或其他非易失性固态存储器设备。设备100的其他部件(诸如CPU 120和外围设备接口118)对存储器102的访问任选地由存储器控制器122来控制。Memory 102 optionally includes high-speed random access memory and optionally includes non-volatile memory such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory 102 by other components of device 100 (such as CPU 120 and peripheral device interface 118) is optionally controlled by memory controller 122.

外围设备接口118可被用于将设备的输入和输出外围设备耦接到CPU 120和存储器102。所述一个或多个处理器120运行或执行存储在存储器102中的各种软件程序和/或指令集以执行设备100的各种功能并处理数据。Peripherals interface 118 may be used to couple the device's input and output peripherals to CPU 120 and memory 102. The one or more processors 120 run or execute various software programs and/or instruction sets stored in memory 102 to perform various functions of device 100 and process data.

在一些实施例中,外围设备接口118、CPU 120、和存储器控制器122任选地在单个芯片诸如芯片104上实现。在一些其他实施例中,它们任选地在独立的芯片上实现。In some embodiments, peripherals interface 118, CPU 120, and memory controller 122 are optionally implemented on a single chip, such as chip 104. In some other embodiments, they are optionally implemented on separate chips.

RF(射频)电路108接收和发送也被叫做电磁信号的RF信号。RF电路108将电信号转换为电磁信号/将电磁信号转换为电信号,并且经由电磁信号与通信网络及其他通信设备进行通信。RF电路108任选地包括用于执行这些功能的熟知的电路,包括但不限于天线系统、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编解码芯片组、用户身份模块(SIM)卡、存储器等等。RF电路108任选地通过无线通信与网络以及其他设备进行通信,该网络诸如互联网(也被称为万维网(WWW))、内联网和/或无线网络(诸如蜂窝电话网络、无线局域网(LAN)和/或城域网(MAN))。无线通信任选地使用多种通信标准、协议和技术中的任一者,包括但不限于全球移动通信系统(GSM)、增强数据GSM环境(EDGE)、高速下行链路分组接入(HSDPA)、高速上行链路分组接入(HSUPA)、演进、纯数据(EV-DO)、HSPA、HSPA+、双小区HSPA(DC-HSPDA)、长期演进(LTE)、近场通信(NFC)、宽带码分多址(W-CDMA)、码分多址(CDMA)、时分多址(TDMA)、蓝牙、无线保真(Wi-Fi)(例如,IEEE 802.11a、IEEE 802.11b、IEEE 802.11g和/或IEEE 802.11n)、互联网语音协议(VoiP)、Wi-MAX、电子邮件协议(例如,互联网消息访问协议(IMAP)和/或邮局协议(POP))、即时消息(例如,可扩展消息和存在协议(XMPP)、用于即时消息和存在利用扩展的会话发起协议(SIMPLE)、即时消息和存在服务(IMPS))、和/或短消息服务(SMS)、或包括在本文档提交日期还未开发出的通信协议的任何其他合适的通信协议。RF (radio frequency) circuitry 108 receives and transmits RF signals, also known as electromagnetic signals. RF circuitry 108 converts electrical signals into/from electromagnetic signals and communicates with a communication network and other communication devices via the electromagnetic signals. RF circuitry 108 optionally includes well-known circuitry for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec chipset, a subscriber identity module (SIM) card, memory, and the like. RF circuitry 108 optionally communicates with a network and other devices via wireless communications, such as the Internet (also known as the World Wide Web (WWW)), an intranet, and/or a wireless network (such as a cellular telephone network, a wireless local area network (LAN), and/or a metropolitan area network (MAN)). The wireless communication optionally uses any of a variety of communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed Downlink Packet Access (HSDPA), High Speed Uplink Packet Access (HSUPA), Evolution, Data Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Long Term Evolution (LTE), Near Field Communication (NFC), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11b), 802.11n), Voice over Internet Protocol (VoiP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and/or Post Office Protocol (POP)), instant messaging (e.g., Extensible Messaging and Presence Protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and/or Short Message Service (SMS), or any other suitable communication protocol, including communication protocols not yet developed on the date of filing of this document.

音频电路110、扬声器111和麦克风113提供用户和设备100之间的音频接口。音频电路110从外围设备接口118接收音频数据,将音频数据转换为电信号,并将电信号传输到扬声器111。扬声器111将电信号转换为人可听到的声波。音频电路110还接收由麦克风113根据声波转换的电信号。音频电路110将电信号转换为音频数据,并将音频数据传输到外围设备接口118以用于处理。音频数据任选地由外围设备接口118从存储器102和/或RF电路108进行检索并且/或者被传输至存储器102和/或RF电路108。在一些实施例中,音频电路110还包括耳麦接口(例如,图2中的212)。耳麦接口提供音频电路110和可移除的音频输入/输出外围设备之间的接口,该外围设备诸如仅输出的耳机或者具有输出(例如,单耳耳机或双耳耳机)和输入(例如,麦克风)两者的耳麦。The audio circuit 110, the speaker 111, and the microphone 113 provide an audio interface between the user and the device 100. The audio circuit 110 receives audio data from the peripheral device interface 118, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 111. The speaker 111 converts the electrical signals into sound waves that can be heard by a person. The audio circuit 110 also receives electrical signals converted from sound waves by the microphone 113. The audio circuit 110 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 118 for processing. The audio data is optionally retrieved from the memory 102 and/or the RF circuit 108 by the peripheral device interface 118 and/or is transmitted to the memory 102 and/or the RF circuit 108. In some embodiments, the audio circuit 110 also includes a headset interface (e.g., 212 in FIG. 2 ). The headset interface provides an interface between the audio circuitry 110 and a removable audio input/output peripheral, such as an output-only headset or a headset having both output (eg, a single or dual-ear headset) and input (eg, a microphone).

I/O子系统106将设备100上的输入/输出外围设备诸如触摸屏112和其他输入控制设备116耦接到外围设备接口118。I/O子系统106任选地包括显示控制器156、光学传感器控制器158、强度传感器控制器159、触觉反馈控制器161、和用于其他输入或控制设备的一个或多个输入控制器160。该一个或多个输入控制器160从其他输入或控制设备116接收电信号/将电信号发送至其他输入或控制设备116。其他输入控制设备116任选地包括物理按钮(例如,下压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击式转盘等等。在一些另选实施例中,一个或多个输入控制器160任选地耦接(或不耦接)到以下各项中的任一者:键盘、红外端口、USB端口、和指向设备诸如鼠标。所述一个或多个按钮(例如,图2中的208)任选地包括用于扬声器111和/或麦克风113的音量控制的增大/减小按钮。一个或多个按钮任选地包括下压按钮(例如,图2中的206)。The I/O subsystem 106 couples input/output peripherals on the device 100, such as the touch screen 112 and other input control devices 116, to a peripherals interface 118. The I/O subsystem 106 optionally includes a display controller 156, an optical sensor controller 158, an intensity sensor controller 159, a tactile feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive/send electrical signals from/to other input or control devices 116. Other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, and the like. In some alternative embodiments, the one or more input controllers 160 are optionally coupled (or not coupled) to any of the following: a keyboard, an infrared port, a USB port, and a pointing device such as a mouse. The one or more buttons (e.g., 208 in FIG2 ) optionally include an up/down button for volume control of the speaker 111 and/or microphone 113. The one or more buttons optionally include a push button (e.g., 206 in FIG2 ).

触敏显示器112提供设备和用户之间的输入接口和输出接口。显示控制器156从触摸屏112接收电信号和/或将电信号发送至触摸屏112。触摸屏112向用户显示视觉输出。视觉输出任选地包括图形、文本、图标、视频和它们的任何组合(统称为“图形”)。在一些实施例中,一些视觉输出或全部的视觉输出对应于用户界面对象。The touch-sensitive display 112 provides an input interface and an output interface between the device and the user. The display controller 156 receives and/or sends electrical signals to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output corresponds to user interface objects.

触摸屏112具有基于触感和/或触觉接触接受来自用户的输入的触敏表面、传感器或传感器组。触摸屏112和显示控制器156(与存储器102中的任何相关联的模块和/或指令集一起)检测触摸屏112上的接触(和该接触的任何移动或中断),并且将所检测到的接触转换为与显示在触摸屏112上的用户界面对象(例如,一个或多个软键、图标、网页或图像)的交互。在一个示例性实施例中,触摸屏112和用户之间的接触点对应于用户的手指。The touch screen 112 has a touch-sensitive surface, sensor, or sensor group that accepts input from the user based on tactile and/or haptic contact. The touch screen 112 and display controller 156 (together with any associated modules and/or instruction sets in memory 102) detect contact on the touch screen 112 (and any movement or interruption of that contact) and convert the detected contact into interaction with a user interface object (e.g., one or more soft keys, icons, web pages, or images) displayed on the touch screen 112. In an exemplary embodiment, the point of contact between the touch screen 112 and the user corresponds to the user's finger.

触摸屏112任选地使用LCD(液晶显示器)技术、LPD(发光聚合物显示器)技术、或LED(发光二极管)技术,但是在其他实施例中使用其他显示技术。触摸屏112和显示控制器156任选地使用现在已知的或以后将开发出的多种触摸感测技术中的任何触摸感测技术以及其他接近传感器阵列或用于确定与触摸屏112接触的一个或多个点的其他元件来检测接触及其任何移动或中断,该多种触摸感测技术包括但不限于电容性技术、电阻性技术、红外技术、和表面声波技术。在一个示例性实施例中,使用投射式互电容感测技术,诸如从AppleInc.(Cupertino,California)的iPod和发现的技术。The touch screen 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. The touch screen 112 and display controller 156 optionally use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive technology, resistive technology, infrared technology, and surface acoustic wave technology, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 112 to detect contact and any movement or interruption thereof. In one exemplary embodiment, projected mutual capacitance sensing technology is used, such as that found in the iPod and the iPhone from Apple Inc. (Cupertino, California).

触摸屏112任选地具有超过100dpi的视频分辨率。在一些实施例中,触摸屏具有约160dpi的视频分辨率。用户任选地使用任何合适的物体或附加物诸如触笔、手指等来与触摸屏112接触。在一些实施例中,将用户界面设计为主要与基于手指的接触和手势工作,由于手指在触摸屏上的较大接触区域,这可能不如基于触笔的输入精确。在一些实施例中,设备将基于手指的粗略输入翻译为精确的指针/光标位置或用于执行用户所期望的动作的命令。The touch screen 112 optionally has a video resolution exceeding 100 dpi. In some embodiments, the touch screen has a video resolution of approximately 160 dpi. The user optionally uses any suitable object or appendage, such as a stylus, finger, etc., to contact the touch screen 112. In some embodiments, the user interface is designed to work primarily with finger-based contacts and gestures, which may not be as precise as stylus-based input due to the larger contact area of a finger on the touch screen. In some embodiments, the device translates rough finger-based input into precise pointer/cursor positions or commands for performing the action desired by the user.

在一些实施例中,除了触摸屏之外,设备100任选地包括用于激活或去激活特定功能的触摸板(未示出)。在一些实施例中,触摸板是设备的触敏区域,该触敏区域与触摸屏不同,其不显示视觉输出。触摸板任选地是与触摸屏112分开的触敏表面,或者是由触摸屏形成的触敏表面的延伸部分。In some embodiments, in addition to the touch screen, device 100 optionally includes a touchpad (not shown) for activating or deactivating specific functions. In some embodiments, the touchpad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touchpad is optionally a touch-sensitive surface separate from touch screen 112 or an extension of the touch-sensitive surface formed by the touch screen.

设备100还包括用于为各种部件供电的电力系统162。电力系统162任选地包括电力管理系统、一个或多个电源(例如,电池、交流电(AC))、再充电系统、电力故障检测电路、功率转换器或逆变器、电力状态指示器(例如,发光二极管(LED))和与便携式设备中电力的生成、管理和分配相关联的任何其他部件。Device 100 also includes a power system 162 for powering the various components. Power system 162 optionally includes a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, power fault detection circuitry, a power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), and any other components associated with the generation, management, and distribution of power in a portable device.

设备100还任选地包括一个或多个光学传感器164。图1A示出了耦接到I/O子系统106中的光学传感器控制器158的光学传感器。光学传感器164任选地包括电荷耦合器件(CCD)或互补金属氧化物半导体(CMOS)光电晶体管。光学传感器164从环境接收通过一个或多个透镜而投射的光,并且将光转换为表示图像的数据。结合成像模块143(也叫做相机模块),光学传感器164任选地捕获静态图像或视频。在一些实施例中,光学传感器位于设备100的后部,与设备前部上的触摸屏显示器112相背对,使得触摸屏显示器能够用作用于静态图像和/或视频图像采集的取景器。在一些实施例中,另一个光学传感器位于设备的前部,使得在用户在触摸屏显示器上查看其他视频会议参与者时任选地获取用户的图像以用于视频会议。The device 100 also optionally includes one or more optical sensors 164. Figure 1A shows an optical sensor coupled to the optical sensor controller 158 in the I/O subsystem 106. The optical sensor 164 optionally includes a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 164 receives light projected from the environment through one or more lenses and converts the light into data representing an image. In conjunction with the imaging module 143 (also called a camera module), the optical sensor 164 optionally captures still images or video. In some embodiments, the optical sensor is located at the rear of the device 100, facing away from the touch screen display 112 on the front of the device, so that the touch screen display can be used as a viewfinder for still images and/or video image acquisition. In some embodiments, another optical sensor is located at the front of the device so that the user's image is optionally obtained for video conferencing when the user views other video conference participants on the touch screen display.

设备100还任选地包括一个或多个接触强度传感器165。图1A示出了耦接到I/O子系统106中的强度传感器控制器159的接触强度传感器。接触强度传感器165任选地包括一个或多个压阻应变计、电容式力传感器、电力传感器、压电力传感器、光学力传感器、电容式触敏表面或其他强度传感器(例如,用于测量触敏表面上的接触的力(或压力)的传感器)。接触强度传感器165从环境接收接触强度信息(例如,压力信息或压力信息的代用物)。在一些实施例中,至少一个接触强度传感器与触敏表面(例如,触敏显示器系统112)并置排列或邻近。在一些实施例中,至少一个接触强度传感器位于设备100的后部,与位于设备100的前部的触摸屏显示器112相背对。Device 100 also optionally includes one or more contact force sensors 165. FIG1A shows a contact force sensor coupled to force sensor controller 159 in I/O subsystem 106. Contact force sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of a contact on a touch-sensitive surface). Contact force sensor 165 receives contact force information (e.g., pressure information or a surrogate for pressure information) from the environment. In some embodiments, at least one contact force sensor is juxtaposed with or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact force sensor is located on the rear of device 100, opposite touch screen display 112 located on the front of device 100.

设备100还任选地包括一个或多个接近传感器166。图1A示出了耦接到外围设备接口118的接近传感器166。作为另外一种选择,接近传感器166耦接到I/O子系统106中的输入控制器160。在一些实施例中,当多功能设备被放置在用户耳朵附近时(例如,当用户打电话时),该接近传感器关闭并禁用触摸屏112。Device 100 also optionally includes one or more proximity sensors 166. FIG1A shows proximity sensor 166 coupled to peripherals interface 118. Alternatively, proximity sensor 166 is coupled to input controller 160 in I/O subsystem 106. In some embodiments, the proximity sensor turns off and disables touch screen 112 when the multifunction device is placed near a user's ear (e.g., when the user is on a phone call).

设备100还任选地包括一个或多个触觉输出发生器167。图1A示出了耦接到I/O子系统106中的触觉反馈控制器161的触觉输出发生器。触觉输出发生器167任选地包括一个或多个电声设备诸如扬声器或其他音频部件;和/或将能量转换成线性运动的机电设备,诸如电机、螺线管、电活性聚合物、压电致动器、静电致动器或其他触觉输出生成部件(例如,将电信号转换成设备上的触觉输出的部件)。接触强度传感器165从触觉反馈模块133接收触觉反馈生成指令,并且在设备100上生成能够由设备100的用户感测到的触觉输出。在一些实施例中,至少一个触觉输出发生器与触敏表面(例如,触敏显示器系统112)并置排列或邻近,并且任选地通过竖直地(例如,向设备100的表面之内/之外)或侧向地(例如,在与设备100的表面相同的平面中向前和向后)移动触敏表面来生成触觉输出。在一些实施例中,至少一个触觉输出发生器传感器位于设备100的后部,与位于设备100的前部的触摸屏显示器112相背对。Device 100 also optionally includes one or more tactile output generators 167. FIG1A shows a tactile output generator coupled to a tactile feedback controller 161 in I/O subsystem 106. Tactile output generator 167 optionally includes one or more electroacoustic devices such as speakers or other audio components; and/or electromechanical devices that convert energy into linear motion, such as motors, solenoids, electroactive polymers, piezoelectric actuators, electrostatic actuators, or other tactile output generating components (e.g., components that convert electrical signals into tactile outputs on the device). Contact force sensor 165 receives tactile feedback generation instructions from tactile feedback module 133 and generates tactile outputs on device 100 that can be sensed by a user of device 100. In some embodiments, at least one tactile output generator is collocated with or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112), and optionally generates tactile output by moving the touch-sensitive surface vertically (e.g., inward/outward of the surface of device 100) or laterally (e.g., forward and backward in the same plane as the surface of device 100). In some embodiments, at least one tactile output generator sensor is located on the rear of device 100, opposite touch screen display 112 located on the front of device 100.

设备100还任选地包括一个或多个加速度计168。图1A示出了耦接到外围设备接口118的加速度计168。作为另外一种选择,加速度计168任选地耦接到I/O子系统106中的输入控制器160。在一些实施例中,信息基于对从一个或多个加速度计所接收的数据的分析来在触摸屏显示器上以纵向视图或横向视图被显示。除了一个或多个加速度计168之外,设备100还任选地包括磁力仪(未示出)和GPS(或GLONASS或其他全球导航系统)接收器(未示出),以用于获取关于设备100的位置和取向(例如,纵向或横向)的信息。The device 100 also optionally includes one or more accelerometers 168. FIG1A shows an accelerometer 168 coupled to the peripherals interface 118. Alternatively, the accelerometer 168 is optionally coupled to the input controller 160 in the I/O subsystem 106. In some embodiments, information is displayed on the touch screen display in a portrait view or a landscape view based on an analysis of data received from the one or more accelerometers. In addition to the one or more accelerometers 168, the device 100 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) for obtaining information about the position and orientation (e.g., portrait or landscape) of the device 100.

在一些实施例中,存储在存储器102中的软件部件包括操作系统126、通信模块(或指令集)128、接触/运动模块(或指令集)130、图形模块(或指令集)132、文本输入模块(或指令集)134、全球定位系统(GPS)模块(或指令集)135以及应用程序(或指令集)136。此外,在一些实施例中,存储器102存储设备/全局内部状态157,如图1A和3中所示的。设备/全局内部状态157包括以下各项中的一者或多者:活动应用程序状态,该活动应用程序状态用于指示哪些应用程序(如果有的话)当前是活动的;显示状态,该显示状态用于指示什么应用程序、视图或其他信息占据触摸屏显示器112的各个区域;传感器状态,该传感器状态包括从设备的各个传感器和输入控制设备116获取的信息;和关于设备的位置和/或姿态的位置信息。In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a contact/motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a global positioning system (GPS) module (or instruction set) 135, and applications (or instruction sets) 136. In addition, in some embodiments, memory 102 stores a device/global internal state 157, as shown in Figures 1A and 3. The device/global internal state 157 includes one or more of the following: an active application state, which indicates which applications (if any) are currently active; a display state, which indicates what applications, views, or other information occupy various areas of the touch screen display 112; a sensor state, which includes information obtained from various sensors and input control devices 116 of the device; and position information regarding the position and/or posture of the device.

操作系统126(例如,Darwin、RTXC、LINUX、UNIX、OS X、WINDOWS、或嵌入式操作系统诸如VxWorks)包括用于控制和管理一般系统任务(例如,存储器管理、存储设备控制、电力管理等)并且有利于各种硬件部件和软件部件之间的通信的各种软件部件和/或驱动器。The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and/or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.) and facilitating communication between various hardware components and software components.

通信模块128有利于通过一个或多个外部端口124与其他设备进行通信,并且还包括用于处理由RF电路108和/或外部端口124所接收的数据的各种软件部件。外部端口124(例如,通用串行总线(USB)、火线等)适于直接耦接到其他设备或者间接地通过网络(例如,互联网、无线LAN等)来耦接。在一些实施例中,外部端口是与iPod(Apple Inc.的商标)设备上所使用的30针连接器相同的或类似的和/或与其兼容的多针(例如,30针)连接器。The communication module 128 facilitates communication with other devices via one or more external ports 124 and also includes various software components for processing data received by the RF circuitry 108 and/or the external ports 124. The external ports 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) are suitable for coupling directly to other devices or indirectly via a network (e.g., the Internet, a wireless LAN, etc.). In some embodiments, the external port is a multi-pin (e.g., 30-pin) connector that is the same as, similar to, and/or compatible with the 30-pin connector used on iPod (trademark of Apple Inc.) devices.

接触/运动模块130任选地检测与触摸屏112(结合显示控制器156)和其他触敏设备(例如,触摸板或物理点击式转盘)的接触。接触/运动模块130包括各种软件部件以用于执行与接触的检测相关的各种操作,诸如确定是否已发生接触(例如,检测手指按下事件)、确定接触的强度(例如,接触的力或压力,或接触的力或压力的替代物)、确定是否存在接触的移动并且在整个触敏表面上跟踪该移动(例如,检测一个或多个手指拖动事件)、以及确定接触是否已停止(例如,检测手指抬起事件或者接触中断)。接触/运动模块130从触敏表面接收接触数据。确定接触点的移动任选地包括确定接触点的速率(量值)、速度(量值和方向)、和/或加速度(量值和/或方向的改变),该接触点的移动由一系列接触数据来表示。这些操作任选地被应用于单个接触(例如,一个手指接触)或多个同时接触(例如,“多触摸”/多个手指接触)。在一些实施例中,接触/运动模块130和显示控制器156检测触摸板上的接触。The contact/motion module 130 optionally detects contact with the touch screen 112 (in conjunction with the display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact/motion module 130 includes various software components for performing various operations related to the detection of contact, such as determining whether contact has occurred (e.g., detecting a finger down event), determining the strength of the contact (e.g., the force or pressure of the contact, or a surrogate for the force or pressure of the contact), determining whether there has been movement of the contact and tracking that movement across the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has ceased (e.g., detecting a finger up event or contact break). The contact/motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of a contact point optionally includes determining the rate (magnitude), velocity (magnitude and direction), and/or acceleration (change in magnitude and/or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single contact (e.g., a single finger contact) or to multiple simultaneous contacts (e.g., "multi-touch"/multiple finger contacts). In some embodiments, contact/motion module 130 and display controller 156 detect contact on a touchpad.

在一些实施例中,接触/运动模块130使用一组一个或多个强度阈值来确定用户是否已执行操作(例如,确定用户是否已“点击”图标)。在一些实施例中,根据软件参数来确定强度阈值的至少一个子集(例如,强度阈值不是由特定物理致动器的激活阈值来确定的,并且可在不改变设备100的物理硬件的情况下被调整)。例如,在不改变触控板或触摸屏显示器硬件的情况下,触控板或触摸屏显示器的鼠标“点击”阈值可被设定成大量预定义的阈值中的任一个预定义的阈值。另外,在一些具体实施中,为设备的用户提供用于(例如,通过调节各个强度阈值和/或通过利用系统级点击“强度”参数来一次调节多个强度阈值)调节这组强度阈值中的一个或多个强度阈值的软件设置。In some embodiments, the contact/motion module 130 uses a set of one or more intensity thresholds to determine whether a user has performed an action (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation threshold of a particular physical actuator and can be adjusted without changing the physical hardware of the device 100). For example, a mouse "click" threshold for a touchpad or touchscreen display can be set to any one of a large number of predefined thresholds without changing the touchpad or touchscreen display hardware. In addition, in some embodiments, a software setting is provided for the user of the device to adjust one or more intensity thresholds in the set of intensity thresholds (e.g., by adjusting individual intensity thresholds and/or by adjusting multiple intensity thresholds at once using a system-level click "intensity" parameter).

接触/运动模块130任选地检测用户的手势输入。触敏表面上的不同手势具有不同的接触图案(例如,所检测到的接触的不同运动、时序和/或强度)。因此,任选地通过检测具体接触图案来检测手势。例如,检测单指轻击手势包括检测手指按下事件,然后在与手指按下事件相同的位置(或基本上相同的位置)处(例如,在图标的位置处)检测手指抬起(抬离)事件。又如,在触敏表面上检测手指轻扫手势包括检测手指按下事件,然后检测一个或多个手指拖动事件,并且随后检测手指抬起(抬离)事件。The contact/motion module 130 optionally detects gesture input from the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and/or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a single-finger tap gesture includes detecting a finger press event and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). For another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.

图形模块132包括用于在触摸屏112或其他显示器上渲染和显示图形的各种已知软件部件,包括用于改变所显示的图形的视觉效果(例如,亮度、透明度、饱和度、对比度或其他视觉属性)的部件。如本文所用,术语“图形”包括可被显示给用户的任何对象,非限制性地包括文本、网页、图标(诸如包括软键的用户界面对象)、数字图像、视频、动画等等。The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the visual effects (e.g., brightness, transparency, saturation, contrast, or other visual attributes) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including, but not limited to, text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, and the like.

在一些实施例中,图形模块132存储待使用的表示图形的数据。每个图形任选地被分配有对应的代码。图形模块132从应用程序等接收指定待显示的图形的一个或多个代码,在必要的情况下还一起接收坐标数据和其他图形属性数据,然后生成屏幕图像数据以输出至显示控制器156。In some embodiments, the graphics module 132 stores data representing graphics to be used. Each graphic is optionally assigned a corresponding code. The graphics module 132 receives one or more codes specifying the graphics to be displayed from an application program, along with coordinate data and other graphic attribute data, if necessary, and then generates screen image data for output to the display controller 156.

触觉反馈模块133包括用于生成指令的各种软件部件,这些指令由一个或多个触觉输出发生器167使用以响应于用户与设备100的交互而在设备100上的一个或多个位置处产生触觉输出。Haptic feedback module 133 includes various software components for generating instructions used by one or more tactile output generators 167 to produce tactile output at one or more locations on device 100 in response to user interaction with device 100 .

任选地为图形模块132的部件的文本输入模块134提供用于在各种应用程序(例如,联系人137、电子邮件140、IM 141、浏览器147和需要文本输入的任何其他应用程序)中输入文本的软键盘。Text input module 134, which is optionally a component of graphics module 132, provides a soft keyboard for entering text in various applications (e.g., contacts 137, email 140, IM 141, browser 147, and any other application requiring text input).

GPS模块135确定设备的位置并提供该信息以用于在各种应用程序中使用(例如,提供给电话138以用于在基于位置的拨号中使用,提供给相机143作为图片/视频元数据,以及提供给提供基于位置的服务的应用程序,诸如天气桌面小程序、当地黄页桌面小程序和地图/导航桌面小程序)。The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to the phone 138 for use in location-based dialing, to the camera 143 as picture/video metadata, and to applications that provide location-based services, such as the weather widget, the local yellow pages widget, and the map/navigation widget).

应用程序136任选地包括以下模块(或指令集)或者其子组或超集:Application 136 optionally includes the following modules (or instruction sets), or a subset or superset thereof:

·联系人模块137(有时叫做通讯录或联系人列表);Contacts module 137 (sometimes called address book or contact list);

·电话模块138;Telephone module 138;

·视频会议模块139;Video conferencing module 139;

·电子邮件客户端模块140;Email client module 140;

·即时消息(IM)模块141;Instant messaging (IM) module 141;

·健身支持模块142;Fitness support module 142;

·用于静态图像和/或视频图像的相机模块143;A camera module 143 for still and/or video images;

·图像管理模块144;Image management module 144;

·浏览器模块147;Browser module 147;

·日历模块148;Calendar module 148;

·桌面小程序模块149,其任选地包括以下各项中的一者或多者:天气桌面小程序149-1、股市桌面小程序149-2、计算器桌面小程序149-3、闹钟桌面小程序149-4、词典桌面小程序149-5和由用户获取的其他桌面小程序以及用户创建的桌面小程序149-6;Widget module 149, which optionally includes one or more of the following: weather widget 149-1, stock widget 149-2, calculator widget 149-3, alarm clock widget 149-4, dictionary widget 149-5, and other widgets acquired by the user and user-created widgets 149-6;

·用于形成用户创建的桌面小程序149-6的桌面小程序创建器模块150;A widget creator module 150 for forming user-created widgets 149-6;

·搜索模块151;Search module 151;

·视频和音乐播放器模块152,其任选地由视频播放器模块和音乐播放器模块构成;Video and music player module 152, which optionally consists of a video player module and a music player module;

·记事本模块153;Notepad module 153;

·地图模块154;和/或Map module 154; and/or

·在线视频模块155。Online video module 155.

任选地被存储在存储器102中的其他应用程序136的实例包括其他文字处理应用程序、其他图像编辑应用程序、绘图应用程序、呈现应用程序、支持JAVA的应用程序、加密、数字权益管理、声音识别、和声音复制。Examples of other applications 136 that are optionally stored in memory 102 include other word processing applications, other image editing applications, drawing applications, rendering applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice reproduction.

结合触摸屏112、显示控制器156、接触模块130、图形模块132、和文本输入模块134,联系人模块137任选地被用于管理通讯录或联系人列表(例如存储在存储器102或存储器370中的联系人模块137的应用程序内部状态192中),包括:将一个或多个姓名添加到通讯录;从通讯录删除一个或多个姓名;使一个或多个电话号码、一个或多个电子邮件地址、一个或多个物理地址或其他信息与姓名相关联;使图像与姓名相关联;对姓名进行归类和分类;提供电话号码或电子邮件地址以发起和/或促成通过电话138、视频会议139、电子邮件140、或IM 141的通信;等等。In conjunction with the touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, the contacts module 137 is optionally used to manage an address book or contact list (e.g., stored in the application internal state 192 of the contacts module 137 in memory 102 or memory 370), including: adding one or more names to the address book; deleting one or more names from the address book; associating one or more phone numbers, one or more email addresses, one or more physical addresses, or other information with a name; associating images with a name; categorizing and classifying names; providing phone numbers or email addresses to initiate and/or facilitate communication via telephone 138, video conferencing 139, email 140, or IM 141; and so on.

结合RF电路108、音频电路110、扬声器111、麦克风113、触摸屏112、显示控制器156、接触模块130、图形模块132、和文本输入模块134,电话模块138任选地被用于输入与电话号码对应的字符序列、访问通讯录137中的一个或多个电话号码、修改已输入的电话号码、拨打相应的电话号码、进行会话以及当会话完成时断开或挂断。如上所述,无线通信任选地使用多种通信标准、协议和技术中的任一者。In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, phone module 138 is optionally used to enter a character sequence corresponding to a telephone number, access one or more telephone numbers in address book 137, modify an entered telephone number, dial the corresponding telephone number, conduct a conversation, and disconnect or hang up when the conversation is complete. As described above, wireless communication optionally uses any of a variety of communication standards, protocols, and technologies.

结合RF电路108、音频电路110、扬声器111、麦克风113、触摸屏112、显示控制器156、光学传感器164、光学传感器控制器158、接触模块130、图形模块132、文本输入模块134、联系人列表137和电话模块138,视频会议模块139包括用于根据用户指令发起、进行和终止用户和一个或多个其他参与方之间的视频会议的可执行指令。In combination with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact module 130, graphics module 132, text input module 134, contact list 137, and phone module 138, video conferencing module 139 includes executable instructions for initiating, conducting, and terminating a video conference between a user and one or more other participants in accordance with user instructions.

结合RF电路108、触摸屏112、显示控制器156、接触模块130、图形模块132和文本输入模块134,电子邮件客户端模块140包括用于响应于用户指令来创建、发送、接收和管理电子邮件的可执行指令。结合图像管理模块144,电子邮件客户端模块140使得非常容易创建和发送具有由相机模块143拍摄的静态图像或视频图像的电子邮件。In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, email client module 140 includes executable instructions for creating, sending, receiving, and managing emails in response to user instructions. In conjunction with image management module 144, email client module 140 makes it very easy to create and send emails with still images or video images captured by camera module 143.

结合RF电路108、触摸屏112、显示控制器156、接触模块130、图形模块132和文本输入模块134,即时消息模块141包括用于以下操作的可执行指令:输入与即时消息对应的字符序列、修改先前输入的字符、传输相应即时消息(例如,使用短消息服务(SMS)或多媒体消息服务(MMS)协议以用于基于电话的即时消息或者使用XMPP、SIMPLE、或IMPS以用于基于互联网的即时消息)、接收即时消息以及查看所接收的即时消息。在一些实施例中,所传输和/或所接收的即时消息任选地包括图形、照片、音频文件、视频文件和/或MMS和/或增强消息服务(EMS)中所支持的其他附件。如本文所用,“即时消息”是指基于电话的消息(例如,使用SMS或MMS发送的消息)和基于互联网的消息(例如,使用XMPP、SIMPLE、或IMPS发送的消息)两者。In conjunction with the RF circuitry 108, the touch screen 112, the display controller 156, the contact module 130, the graphics module 132, and the text input module 134, the instant messaging module 141 includes executable instructions for entering a character sequence corresponding to an instant message, modifying previously entered characters, transmitting the corresponding instant message (e.g., using the Short Message Service (SMS) or Multimedia Message Service (MMS) protocol for phone-based instant messaging or using XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and/or received instant messages optionally include graphics, photos, audio files, video files, and/or other attachments supported in MMS and/or Enhanced Messaging Service (EMS). As used herein, "instant messaging" refers to both phone-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

结合RF电路108、触摸屏112、显示控制器156、接触模块130、图形模块132、文本输入模块134、GPS模块135、地图模块154、和音乐播放器模块146,健身支持模块142包括用于以下操作的可执行指令:(例如以时间、距离、和/或卡路里燃烧目标)创建健身;与健身传感器(运动设备)进行通信;接收健身传感器数据;校准用于监测健身的传感器;为健身选择和播放音乐;以及显示、存储和传输健身数据。In combination with the RF circuitry 108, the touch screen 112, the display controller 156, the contact module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154, and the music player module 146, the fitness support module 142 includes executable instructions for: creating a fitness (e.g., with a time, distance, and/or calorie burn goal); communicating with fitness sensors (sports equipment); receiving fitness sensor data; calibrating sensors for monitoring a fitness; selecting and playing music for a fitness; and displaying, storing, and transmitting fitness data.

结合触摸屏112、显示控制器156、一个或多个光学传感器164、光学传感器控制器158、接触模块130、图形模块132、和图像管理模块144,相机模块143包括用于以下操作的可执行指令:捕获静态图像或视频(包括视频流)并且将它们存储到存储器102中、修改静态图像或视频的特性、或从存储器102删除静态图像或视频。In conjunction with touch screen 112, display controller 156, one or more optical sensors 164, optical sensor controller 158, contact module 130, graphics module 132, and image management module 144, camera module 143 includes executable instructions for capturing still images or videos (including video streams) and storing them in memory 102, modifying the characteristics of still images or videos, or deleting still images or videos from memory 102.

结合触摸屏112、显示控制器156、接触模块130、图形模块132、文本输入模块134、和相机模块143,图像管理模块144包括用于以下操作的可执行指令:排列、修改(例如,编辑)、或以其他方式操控、加标签、删除、呈现(例如,在数字幻灯片或相册中)、以及存储静态图像和/或视频图像。In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slideshow or album), and storing still images and/or video images.

结合RF电路108、触摸屏112、显示系统控制器156、接触模块130、图形模块132、和文本输入模块134,浏览器模块147包括用于根据用户指令浏览互联网(包括搜索、链接到、接收、和显示网页或其部分、以及链接到网页的附件和其他文件)的可执行指令。In combination with the RF circuit 108, the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, and the text input module 134, the browser module 147 includes executable instructions for browsing the Internet (including searching for, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages) in accordance with user instructions.

结合RF电路108、触摸屏112、显示系统控制器156、接触模块130、图形模块132、文本输入模块134、电子邮件客户端模块140和浏览器模块147,日历模块148包括用于根据用户指令来创建、显示、修改和存储日历以及与日历相关联的数据(例如,日历条目、待办事项等)的可执行指令。In combination with the RF circuit 108, the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, the text input module 134, the email client module 140 and the browser module 147, the calendar module 148 includes executable instructions for creating, displaying, modifying and storing calendars and data associated with the calendar (e.g., calendar entries, to-do items, etc.) in accordance with user instructions.

结合RF电路108、触摸屏112、显示系统控制器156、接触模块130、图形模块132、文本输入模块134、和浏览器模块147,桌面小程序模块149是任选地由用户下载和使用的微型应用程序(例如,天气桌面小程序149-1、股市桌面小程序149-2、计算器桌面小程序149-3、闹钟桌面小程序149-4、和词典桌面小程序149-5)或由用户创建的微型应用程序(例如,用户创建的桌面小程序149-6)。在一些实施例中,桌面小程序包括HTML(超文本标记语言)文件、CSS(层叠样式表)文件和JavaScript文件。在一些实施例中,桌面小程序包括XML(可扩展标记语言)文件和JavaScript文件(例如,Yahoo!桌面小程序)。In conjunction with the RF circuit 108, the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, the text input module 134, and the browser module 147, the desktop widget module 149 is a mini-application that is optionally downloaded and used by the user (e.g., the weather desktop widget 149-1, the stock desktop widget 149-2, the calculator desktop widget 149-3, the alarm desktop widget 149-4, and the dictionary desktop widget 149-5) or a mini-application created by the user (e.g., the user-created desktop widget 149-6). In some embodiments, the desktop widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, the desktop widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., the Yahoo! desktop widget).

结合RF电路108、触摸屏112、显示系统控制器156、接触模块130、图形模块132、文本输入模块134和浏览器模块147,桌面小程序创建器模块150任选地被用户用于创建桌面小程序(例如,将网页的用户指定的部分调谐到桌面小程序中)。In combination with the RF circuit 108, the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, the text input module 134 and the browser module 147, the desktop widget creator module 150 is optionally used by a user to create a desktop widget (e.g., to tune a user-specified portion of a web page into a desktop widget).

结合触摸屏112、显示系统控制器156、接触模块130、图形模块132和文本输入模块134,搜索模块151包括根据用户指令来搜索匹配一个或多个搜索标准(例如,一个或多个用户指定的搜索词)的存储器102中的文本、音乐、声音、图像、视频和/或其他文件的可执行指令。In combination with the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, and the text input module 134, the search module 151 includes executable instructions for searching the memory 102 for text, music, sound, images, videos, and/or other files that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.

结合触摸屏112、显示系统控制器156、接触模块130、图形模块132、音频电路110、扬声器111、RF电路108、和浏览器模块147,视频和音乐播放器模块152包括允许用户下载和回放以一种或多种文件格式(诸如MP3或AAC文件)存储的所记录的音乐和其他声音文件的可执行指令,以及用于显示、呈现或以其他方式回放视频(例如,在触摸屏112上或在经由外部端口124连接的外部显示器上)的可执行指令。在一些实施例中,设备100任选地包括MP3播放器诸如iPod(Apple Inc.的商标)的功能。In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow a user to download and play back recorded music and other sound files stored in one or more file formats (such as MP3 or AAC files), as well as executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player such as an iPod (trademark of Apple Inc.).

结合触摸屏112、显示控制器156、接触模块130、图形模块132和文本输入模块134,记事本模块153包括用于根据用户指令来创建和管理记事本、待办事项等的可执行指令。In conjunction with the touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, the notepad module 153 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.

结合RF电路108、触摸屏112、显示系统控制器156、接触模块130、图形模块132、文本输入模块134、GPS模块135、和浏览器模块147,地图模块154任选地用于根据用户指令来接收、显示、修改、和存储地图以及与地图相关联的数据(例如,驾车路线;特定位置处或附近的商家和其他兴趣点的数据;和其他基于位置的数据)。In combination with the RF circuitry 108, the touch screen 112, the display system controller 156, the contact module 130, the graphics module 132, the text input module 134, the GPS module 135, and the browser module 147, the map module 154 is optionally used to receive, display, modify, and store maps and data associated with the maps (e.g., driving directions; data about businesses and other points of interest at or near a particular location; and other location-based data) in accordance with user instructions.

结合触摸屏112、显示系统控制器156、接触模块130、图形模块132、音频电路110、扬声器111、RF电路108、文本输入模块134、电子邮件客户端模块140和浏览器模块147,在线视频模块155包括用于以下操作的指令:允许用户访问、浏览、接收(例如,通过流式传输和/或下载)、回放(例如在触摸屏上或者在经由外部端口124所连接的外部显示器上)、发送具有至特定在线视频的链接的电子邮件,以及以其他方式管理一种或多种文件格式(诸如H.264)的在线视频。在一些实施例中,即时消息模块141而不是电子邮件客户端模块140被用于发送至特定在线视频的链接。In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, online video module 155 includes instructions for allowing a user to access, browse, receive (e.g., by streaming and/or downloading), play back (e.g., on the touch screen or on an external display connected via external port 124), send emails with links to specific online videos, and otherwise manage online videos in one or more file formats (such as H.264). In some embodiments, instant messaging module 141 is used instead of email client module 140 to send links to specific online videos.

上述每个所识别的模块和应用程序对应于用于执行上述一种或多种功能以及在本专利申请中所描述的方法(例如,本文中所描述的计算机实现的方法和其他信息处理方法)的一组可执行指令。这些模块(即指令集)不必被实现为单独的软件程序、过程或模块,因此这些模块的各种子组任选地在各种实施例中被组合或以其他方式重新布置。在一些实施例中,存储器102任选地存储上述模块和数据结构的子组。此外,存储器102任选地存储上面未描述的另外的模块和数据结构。Each of the above-mentioned identified modules and applications corresponds to a set of executable instructions for performing one or more of the above-mentioned functions and the methods described in this patent application (e.g., computer-implemented methods and other information processing methods described herein). These modules (i.e., instruction sets) do not have to be implemented as separate software programs, processes, or modules, so various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. In some embodiments, memory 102 optionally stores subsets of the above-mentioned modules and data structures. In addition, memory 102 optionally stores other modules and data structures not described above.

在一些实施例中,设备100是该设备上的预定义的一组功能的操作唯一地通过触摸屏和/或触摸板来执行的设备。通过使用触摸屏和/或触摸板作为用于设备100的操作的主要输入控制设备,任选地减少了设备100上的物理输入控制设备(诸如下压按钮、拨号盘等等)的数量。In some embodiments, device 100 is a device in which operation of a predefined set of functions on the device is performed exclusively through a touch screen and/or a touchpad. By using a touch screen and/or a touchpad as the primary input control device for operation of device 100, the number of physical input control devices (such as push buttons, dials, etc.) on device 100 is optionally reduced.

唯一地通过触摸屏和/或触摸板执行的预定义的一组功能任选地包括在用户界面之间进行导航。在一些实施例中,触摸板在被用户触摸时将设备100从显示在设备100上的任何用户界面导航到主菜单、home菜单或根菜单。在此类实施例中,使用触摸板来实现“菜单按钮”。在一些其他实施例中,菜单按钮是物理下压按钮或者其他物理输入控制设备,而不是触摸板。A predefined set of functions that are uniquely performed via the touch screen and/or touchpad optionally includes navigating between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates the device 100 from any user interface displayed on the device 100 to a main menu, home menu, or root menu. In such embodiments, the touchpad is used to implement a "menu button." In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a touchpad.

图1B是示出了根据一些实施例的用于事件处理的示例性部件的框图。在一些实施例中,存储器102(图1A中)或存储器370(图3)包括事件分类器170(例如,在操作系统126中)以及相应的应用程序136-1(例如,前述应用程序137-13、155、380-390中的任何应用程序)。FIG1B is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 102 (in FIG1A ) or memory 370 ( FIG3 ) includes an event classifier 170 (e.g., in operating system 126 ) and a corresponding application 136 - 1 (e.g., any of the aforementioned applications 137 - 13 , 155 , 380 - 390 ).

事件分类器170接收事件信息并确定待将事件信息递送到的应用程序136-1和应用程序136-1的应用程序视图191。事件分类器170包括事件监视器171和事件分配器模块174。在一些实施例中,应用程序136-1包括应用程序内部状态192,该应用程序内部状态192指示当应用程序是活动的或正在执行时显示在触敏显示器112上的一个或多个当前应用程序视图。在一些实施例中,设备/全局内部状态157被事件分类器170用于确定哪个(哪些)应用程序当前是活动的,并且应用程序内部状态192被事件分类器170用于确定待将事件信息递送到的应用程序视图191。Event classifier 170 receives event information and determines an application 136-1 and an application view 191 of application 136-1 to which the event information is to be delivered. Event classifier 170 includes an event monitor 171 and an event dispatcher module 174. In some embodiments, application 136-1 includes an application internal state 192 that indicates one or more current application views displayed on touch-sensitive display 112 when the application is active or executing. In some embodiments, device/global internal state 157 is used by event classifier 170 to determine which application(s) is currently active, and application internal state 192 is used by event classifier 170 to determine an application view 191 to which the event information is to be delivered.

在一些实施例中,应用程序内部状态192包括附加信息,诸如以下各项中的一者或多者:当应用程序136-1恢复执行时将被使用的恢复信息、指示正被应用程序136-1显示的信息或准备好用于被应用程序136-1显示的信息的用户界面状态信息、用于使得用户能够返回到应用程序136-1的前一状态或视图的状态队列、以及用户采取的先前动作的重复/撤销队列。In some embodiments, the application internal state 192 includes additional information, such as one or more of the following: resumption information to be used when the application 136-1 resumes execution, user interface state information indicating information being displayed by the application 136-1 or information ready for display by the application 136-1, a state queue for enabling the user to return to a previous state or view of the application 136-1, and a redo/undo queue of previous actions taken by the user.

事件监视器171从外围设备接口118接收事件信息。事件信息包括关于子事件(例如,作为多点触摸手势的一部分的触敏显示器112上的用户触摸)的信息。外围设备接口118传输其从I/O子系统106或传感器(诸如接近传感器166)、一个或多个加速度计168和/或麦克风113(通过音频电路110)所接收的信息。外围设备接口118从I/O子系统106所接收的信息包括来自触敏显示器112或触敏表面的信息。Event monitor 171 receives event information from peripherals interface 118. The event information includes information about sub-events (e.g., a user touch on touch-sensitive display 112 as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I/O subsystem 106 or sensors (such as proximity sensor 166), one or more accelerometers 168, and/or microphone 113 (through audio circuit 110). The information that peripherals interface 118 receives from I/O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

在一些实施例中,事件监视器171以预先确定的间隔将请求发送至外围设备接口118。作为响应,外围设备接口118传输事件信息。在其他实施例中,外围设备接口118仅当存在显著事件(例如,接收到高于预先确定的噪声阈值的输入和/或接收到超过预先确定的持续时间的输入)时才传输事件信息。In some embodiments, event monitor 171 sends requests to peripherals interface 118 at predetermined intervals. In response, peripherals interface 118 transmits event information. In other embodiments, peripherals interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and/or receiving an input for more than a predetermined duration).

在一些实施例中,事件分类器170还包括命中视图确定模块172和/或活动事件识别器确定模块173。In some embodiments, event classifier 170 also includes a hit view determination module 172 and/or an active event recognizer determination module 173 .

当触敏显示器112显示多于一个视图时,命中视图确定模块172提供用于确定子事件已在一个或多个视图内的什么地方发生的软件过程。视图由用户能在显示器上看到的控件和其他元件构成。When the touch-sensitive display 112 displays more than one view, the hit view determination module 172 provides software procedures for determining where within one or more views a sub-event has occurred. A view consists of controls and other elements that a user can see on the display.

与应用程序相关联的用户界面的另一方面是一组视图,本文中有时也称为应用程序视图或用户界面窗口,在其中显示信息并且发生基于触摸的手势。在其中检测到触摸的(相应应用程序的)应用程序视图任选地对应于在应用程序的程序化或视图分级结构内的程序化水平。例如,在其中检测到触摸的最低水平视图任选地被叫做命中视图,并且被识别为正确输入的那组事件任选地至少部分地基于开始基于触摸的手势的初始触摸的命中视图来确定。Another aspect of the user interface associated with an application is a set of views, sometimes also referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of the respective application) in which a touch is detected optionally correspond to programmatic levels within the application's programmatic or view hierarchy. For example, the lowest-level view in which a touch is detected is optionally called a hit view, and the set of events recognized as correct input is optionally determined based at least in part on the hit view of the initial touch that initiated the touch-based gesture.

命中视图确定模块172接收与基于触摸的手势的子事件相关的信息。当应用程序具有以分级结构组织的多个视图时,命中视图确定模块172将命中视图识别为该分级结构中的应当处理该子事件的最低视图。在大多数情况下,命中视图是发起子事件(即形成事件或潜在事件的子事件序列中的第一子事件)在其中发生的最低水平视图。一旦命中视图被命中视图确定模块所识别,命中视图通常接收与其被识别为命中视图所针对的同一触摸或输入源相关的所有子事件。Hit view determination module 172 receives information related to sub-events of touch-based gestures. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies the hit view as the lowest view in the hierarchy that should handle the sub-event. In most cases, the hit view is the lowest-level view in which the initiating sub-event (i.e., the first sub-event in a sequence of sub-events that form an event or potential event) occurs. Once a hit view is identified by the hit view determination module, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.

活动事件识别器确定模块173确定在视图分级结构内的哪个视图或哪些视图应接收特定的子事件序列。在一些实施例中,活动事件识别器确定模块173确定仅命中视图应当接收特定的子事件序列。在其他实施例中,活动事件识别器确定模块173确定包括子事件的物理位置的所有视图是活跃参与的视图,并且因此确定所有活跃参与的视图应接收特定的子事件序列。在其他实施例中,即使触摸子事件完全被局限到与一个特定视图相关联的区域,但是分级结构中更高的视图将仍然保持为活跃参与的视图。Active event recognizer determination module 173 determines which view or views within the view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, views higher in the hierarchy will still remain actively participating views.

事件分配器模块174将事件信息分配给事件识别器(例如,事件识别器180)。在包括活动事件识别器确定模块173的实施例中,事件分配器模块174将事件信息递送到由活动事件识别器确定模块173确定的事件识别器。在一些实施例中,事件分配器模块174在事件队列中存储事件信息,该事件信息由相应事件接收器模块182进行检索。Event dispatcher module 174 dispatches event information to event recognizers (e.g., event recognizer 180). In embodiments that include active event recognizer determination module 173, event dispatcher module 174 delivers the event information to the event recognizer determined by active event recognizer determination module 173. In some embodiments, event dispatcher module 174 stores the event information in an event queue, which is retrieved by corresponding event receiver module 182.

在一些实施例中,操作系统126包括事件分类器170。另选地,应用程序136-1包括事件分类器170。在另一个实施例中,事件分类器170是独立的模块,或者是存储在存储器102中的另一个模块(诸如接触/运动模块130)的一部分。In some embodiments, operating system 126 includes event classifier 170. Alternatively, application 136-1 includes event classifier 170. In another embodiment, event classifier 170 is a standalone module or part of another module stored in memory 102, such as contact/motion module 130.

在一些实施例中,应用程序136-1包括多个事件处理程序190和一个或多个应用程序视图191,其中每个应用程序视图包括用于处理发生在应用程序的用户界面的相应视图内的触摸事件的指令。应用程序136-1的每个应用程序视图191包括一个或多个事件识别器180。通常,相应应用程序视图191包括多个事件识别器180。在其他实施例中,事件识别器180中的一个或多个应用程序视图是独立模块的一部分,该独立模块诸如用户界面工具包(未示出)或应用程序136-1从中继承方法和其他属性的更高水平的对象。在一些实施例中,相应事件处理程序190包括以下各项中的一个或多个:数据更新器176、对象更新器177、GUI更新器178、和/或从事件分类器170所接收的事件数据179。事件处理程序190任选地利用或调用数据更新器176、对象更新器177或GUI更新器178以更新应用程序内部状态192。或者,应用程序视图191中的一个或多个应用程序视图包括一个或多个相应事件处理程序190。另外,在一些实施例中,数据更新器176、对象更新器177和GUI更新器178中的一者或多者被包括在相应应用程序视图191中。In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events that occur within a corresponding view of the application's user interface. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, a corresponding application view 191 includes multiple event recognizers 180. In other embodiments, one or more application views in event recognizer 180 are part of a separate module, such as a user interface toolkit (not shown) or a higher-level object from which application 136-1 inherits methods and other properties. In some embodiments, a corresponding event handler 190 includes one or more of the following: a data updater 176, an object updater 177, a GUI updater 178, and/or event data 179 received from event classifier 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177, or GUI updater 178 to update application internal state 192. Alternatively, one or more of application views 191 include one or more corresponding event handlers 190. Additionally, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in the corresponding application view 191.

相应的事件识别器180从事件分类器170接收事件信息(例如,事件数据179),并且从事件信息识别事件。事件识别器180包括事件接收器182和事件比较器184。在一些实施例中,事件识别器180还至少包括以下各项的子组:元数据183、和事件递送指令188(其任选地包括子事件递送指令)。A corresponding event identifier 180 receives event information (e.g., event data 179) from event classifier 170 and identifies an event from the event information. Event identifier 180 includes an event receiver 182 and an event comparator 184. In some embodiments, event identifier 180 also includes at least a subset of the following: metadata 183, and event delivery instructions 188 (which optionally include sub-event delivery instructions).

事件接收器182接收来自事件分类器170的事件信息。事件信息包括关于子事件的信息,例如触摸或触摸移动。根据子事件,事件信息还包括附加信息,诸如子事件的位置。当子事件涉及触摸的运动时,事件信息还任选地包括子事件的速率和方向。在一些实施例中,事件包括设备从一个取向旋转到另一个取向(例如,从纵向取向旋转到横向取向,或反之亦然),并且事件信息包括关于设备的当前取向(也被称为设备姿态)的对应信息。Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events, such as touches or touch movements. Depending on the sub-event, the event information also includes additional information, such as the location of the sub-event. When the sub-event involves the movement of a touch, the event information also optionally includes the rate and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another (e.g., from a portrait orientation to a landscape orientation, or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device posture).

事件比较器184将事件信息与预定义的事件或子事件定义进行比较,并基于比较来确定事件或子事件,或确定或更新事件或子事件的状态。在一些实施例中,事件比较器184包括事件定义186。事件定义186包含事件的定义(例如,预定义的子事件序列),例如事件1(187-1)、事件2(187-2)以及其他事件。在一些实施例中,事件187中的子事件例如包括触摸开始、触摸结束、触摸移动、触摸取消和多点触摸。在一个实例中,事件1(187-1)的定义是在被显示对象上的双击。例如,双击包括被显示对象上的预先确定时长的第一次触摸(触摸开始)、预先确定时长的第一次抬起(触摸结束)、被显示对象上的预先确定时长的第二次触摸(触摸开始)以及预先确定时长的第二次抬起(触摸结束)。在另一个实例中,事件2(187-2)的定义是被显示对象上的拖动。例如,拖动包括被显示对象上的预先确定时长的触摸(或接触)、触摸在触敏显示器112上的运动、以及触摸的抬起(触摸结束)。在一些实施例中,事件还包括用于一个或多个相关联的事件处理程序190的信息。Event comparator 184 compares the event information with predefined event or sub-event definitions and determines the event or sub-event based on the comparison, or determines or updates the state of the event or sub-event. In some embodiments, event comparator 184 includes event definition 186. Event definition 186 includes the definition of the event (e.g., a predefined sequence of sub-events), such as event 1 (187-1), event 2 (187-2), and other events. In some embodiments, the sub-events in event 187 include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one instance, event 1 (187-1) is defined as a double-click on a displayed object. For example, a double-click includes a first touch (touch start) of a predetermined duration on the displayed object, a first lift (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on the displayed object, and a second lift (touch end) of a predetermined duration. In another instance, event 2 (187-2) is defined as a drag on a displayed object. For example, dragging includes a touch (or contact) of a predetermined duration on a displayed object, movement of the touch on the touch-sensitive display 112, and lifting of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 190.

在一些实施例中,事件定义187包括用于相应的用户界面对象的事件的定义。在一些实施例中,事件比较器184执行命中测试以确定哪个用户界面对象与子事件相关联。例如,在其中在触敏显示器112上显示三个用户界面对象的应用程序视图中,当在触敏显示器112上检测到触摸时,事件比较器184执行命中测试以确定这三个用户界面对象中的哪个用户界面对象与该触摸(子事件)相关联。如果每个所显示的对象与相应的事件处理程序190相关联,则事件比较器使用该命中测试的结果来确定哪个事件处理程序190应当被激活。例如,事件比较器184选择与子事件和触发该命中测试的对象相关联的事件处理程序。In some embodiments, event definition 187 includes definitions of events for corresponding user interface objects. In some embodiments, event comparator 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view in which three user interface objects are displayed on touch-sensitive display 112, when a touch is detected on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects the event handler associated with the sub-event and the object that triggered the hit test.

在一些实施例中,相应事件187的定义还包括延迟动作,该延迟动作延迟事件信息的递送,直到已确定子事件序列是否确实对应于或不对应于事件识别器的事件类型之后。In some embodiments, the definition of the corresponding event 187 also includes a delay action that delays the delivery of the event information until after it has been determined whether the sub-event sequence does or does not correspond to the event type of the event identifier.

当相应事件识别器180确定子事件串不与事件定义186中的任何事件匹配时,该相应事件识别器180进入事件不可能、事件失败或事件结束状态,在此之后不理会基于触摸的手势的后续子事件。在这种情况下,对于命中视图保持活动的其他事件识别器(如果有的话)继续跟踪和处理持续的基于触摸的手势的子事件。When a corresponding event recognizer 180 determines that the sub-event string does not match any event in event definitions 186, the corresponding event recognizer 180 enters the event impossible, event failed, or event ended state, after which subsequent sub-events of the touch-based gesture are ignored. In this case, other event recognizers (if any) that remain active for the hit view continue to track and process sub-events of the ongoing touch-based gesture.

在一些实施例中,相应事件识别器180包括具有指示事件递送系统应该如何执行对活跃参与的事件识别器的子事件递送的可配置的属性、标记和/或列表的元数据183。在一些实施例中,元数据183包括指示事件识别器彼此如何交互或如何能够进行交互的可配置的属性、标志和/或列表。在一些实施例中,元数据183包括指示子事件是否被递送到视图或程序化分级结构中的变化的水平的可配置的属性、标记和/或列表。In some embodiments, corresponding event recognizers 180 include metadata 183 with configurable properties, flags, and/or lists that indicate how the event delivery system should perform sub-event delivery for actively participating event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate how event recognizers interact or can interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate whether sub-events are delivered to varying levels in a view or programmatic hierarchy.

在一些实施例中,当事件的一个或多个特定子事件被识别时,相应事件识别器180激活与事件相关联的事件处理程序190。在一些实施例中,相应事件识别器180将与该事件相关联的事件信息递送到事件处理程序190。激活事件处理程序190不同于将子事件发送(和延期发送)到相应的命中视图。在一些实施例中,事件识别器180抛出与所识别的事件相关联的标记,并且与该标记相关联的事件处理程序190获取该标记并执行预定义的过程。In some embodiments, when one or more specific sub-events of an event are recognized, the corresponding event recognizer 180 activates the event handler 190 associated with the event. In some embodiments, the corresponding event recognizer 180 delivers the event information associated with the event to the event handler 190. Activating the event handler 190 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event recognizer 180 throws a flag associated with the recognized event, and the event handler 190 associated with the flag retrieves the flag and performs a predefined process.

在一些实施例中,事件递送指令188包括递送关于子事件的事件信息而不激活事件处理程序的子事件递送指令。相反,子事件递送指令将事件信息递送到与子事件串相关联的事件处理程序或者递送到活跃参与的视图。与子事件串或与活跃参与的视图相关联的事件处理程序接收事件信息并执行预先确定的过程。In some embodiments, event delivery instructions 188 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instructions deliver the event information to an event handler associated with the sub-event string or to an actively participating view. The event handler associated with the sub-event string or the actively participating view receives the event information and performs a predetermined process.

在一些实施例中,数据更新器176创建和更新在应用程序136-1中使用的数据。例如,数据更新器176对联系人模块137中所使用的电话号码进行更新,或者对视频播放器模块145中所使用的视频文件进行存储。在一些实施例中,对象更新器177创建和更新在应用程序136-1中所使用的对象。例如,对象更新器176创建新的用户界面对象或更新用户界面对象的位置。GUI更新器178更新GUI。例如,GUI更新器178准备显示信息,并将其发送到图形模块132以用于显示在触敏显示器上。In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates phone numbers used in contact module 137 or stores video files used in video player module 145. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 176 creates new user interface objects or updates the positions of user interface objects. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends it to graphics module 132 for display on a touch-sensitive display.

在一些实施例中,一个或多个事件处理程序190包括数据更新器176、对象更新器177和GUI更新器178或者具有对数据更新器176、对象更新器177和GUI更新器178的访问权限。在一些实施例中,数据更新器176、对象更新器177和GUI更新器178被包括在相应应用程序136-1或应用程序视图191的单个模块中。在其他实施例中,它们被包括在两个或更多个软件模块中。In some embodiments, one or more event handlers 190 include or have access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of a corresponding application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.

应当理解,关于触敏显示器上的用户触摸的事件处理的上述讨论也适用于利用输入设备操作多功能设备100的其他形式的用户输入,并不是所有用户输入都是在触摸屏上发起的。例如,任选地与单个或多个键盘按下或保持协作的鼠标移动和鼠标按钮按下;触摸板上的接触移动(诸如点击、拖动、滚动等);触笔输入;设备的移动;口头指令;所检测到的眼睛移动;生物特征输入;和/或其任意组合任选地被用作与定义要被识别的事件的子事件对应的输入。It should be understood that the above discussion of event handling for user touches on a touch-sensitive display also applies to other forms of user input for operating the multifunction device 100 using an input device, and not all user input is initiated on a touch screen. For example, mouse movement and mouse button presses, optionally in conjunction with single or multiple keyboard presses or holds; contact movement on a touchpad (such as clicking, dragging, scrolling, etc.); stylus input; movement of the device; spoken commands; detected eye movement; biometric input; and/or any combination thereof, are optionally used as input corresponding to a sub-event defining an event to be recognized.

图2根据一些实施例示出了具有触摸屏112的便携式多功能设备100。触摸屏任选地在用户界面(UI)200内显示一个或多个图形。在该实施例中,以及在下文中描述的其他实施例中,用户能够通过例如利用一根或多根手指202(在附图中没有按比例绘制)或者利用一个或多个触笔203(在附图中没有按比例绘制)在图形上作出手势来选择这些图形中的一个或多个图形。在一些实施例中,当用户中断与一个或多个图形的接触时,发生对这一个或多个图形的选择。在一些实施例中,手势任选地包括一次或多次轻击、一次或多次轻扫(从左向右、从右向左、向上和/或向下)和/或已与设备100发生接触的手指的滚动(从右向左、从左向右、向上和/或向下)。在一些具体实施中或在一些情况下,不经意地与图形接触不会选择图形。例如,当对应于选择的手势是轻击时,在应用程序图标上方扫动的轻扫手势任选地不会选择对应的应用程序。FIG2 illustrates a portable multifunction device 100 with a touch screen 112, according to some embodiments. The touch screen optionally displays one or more graphics within a user interface (UI) 200. In this embodiment, as well as other embodiments described below, a user can select one or more of these graphics by, for example, gesturing on the graphics with one or more fingers 202 (not drawn to scale in the figures) or with one or more styluses 203 (not drawn to scale in the figures). In some embodiments, selection of the one or more graphics occurs when the user breaks contact with the one or more graphics. In some embodiments, the gesture optionally includes one or more taps, one or more swipes (from left to right, from right to left, upward, and/or downward), and/or a rolling motion of a finger that has made contact with the device 100 (from right to left, from left to right, upward, and/or downward). In some implementations or in some cases, inadvertent contact with a graphic does not select the graphic. For example, a swipe gesture sweeping over an application icon may not select the corresponding application when the gesture corresponding to selection is a tap.

设备100还任选地包括一个或多个物理按钮,诸如“home”按钮或菜单按钮204。如前所述,菜单按钮204任选地用于导航到任选地在设备100上被执行的一组应用程序中的任何应用程序136。另选地,在一些实施例中,菜单按钮被实现为显示在触摸屏112上的GUI中的软键。The device 100 also optionally includes one or more physical buttons, such as a "home" button or menu button 204. As previously described, the menu button 204 is optionally used to navigate to any application 136 in a set of applications that are optionally executed on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112.

在一个实施例中,设备100包括触摸屏112、菜单按钮204、用于对设备开关机供电并用于锁定设备的下压按钮206、一个或多个音量调节按钮208、用户身份模块(SIM)卡槽210、耳麦接口212、和对接/充电外部端口124。下压按钮206任选地被用于通过按下该按钮并将该按钮保持在按下状态预定义的时间间隔来对设备开关机;通过按下该按钮并在经过了预定义的时间间隔之前释放该按钮来锁定设备;和/或对设备进行解锁或发起解锁过程。在一个另选的实施例中,设备100还通过麦克风113接受用于激活或去激活某些功能的言语输入。设备100还任选地包括用于检测触摸屏112上的接触的强度的一个或多个接触强度传感器165、和/或用于为设备100的用户生成触觉输出的一个或多个触觉输出发生器167。In one embodiment, device 100 includes a touch screen 112, a menu button 204, a push button 206 for powering the device on and off and for locking the device, one or more volume adjustment buttons 208, a subscriber identity module (SIM) card slot 210, a headset jack 212, and a docking/charging external port 124. Push button 206 is optionally used to power the device on and off by pressing and holding the button for a predefined time interval; to lock the device by pressing and releasing the button before a predefined time interval has elapsed; and/or to unlock the device or initiate an unlocking process. In an alternative embodiment, device 100 also accepts voice input for activating or deactivating certain functions via microphone 113. Device 100 also optionally includes one or more contact force sensors 165 for detecting the intensity of contact on touch screen 112, and/or one or more tactile output generators 167 for generating tactile output for a user of device 100.

图3是根据一些实施例的具有显示器和触敏表面的示例性多功能设备的框图。设备300不必是便携式的。在一些实施例中,设备300是膝上型计算机、台式计算机、平板电脑、多媒体播放器设备、导航设备、教育设备(诸如儿童学习玩具)、游戏系统或控制设备(例如,家用或工业用控制器)。设备300通常包括一个或多个处理单元(CPU)310、一个或多个网络或其他通信接口360、存储器370、和用于使这些部件互连的一条或多条通信总线320。通信总线320任选地包括使系统部件互连并且控制系统部件之间的通信的电路(有时叫做芯片组)。设备300包括具有显示器340的输入/输出(I/O)接口330,该显示器通常是触摸屏显示器。I/O接口330还任选地包括键盘和/或鼠标(或其他指向设备)350和触摸板355、用于在设备300上生成触觉输出的触觉输出发生器357(例如,类似于以上参考图1A所述的一个或多个触觉输出发生器167)、传感器359(例如,光学传感器、加速度传感器、接近传感器、触敏传感器、和/或类似于以上参考图1A所述的一个或多个接触强度传感器165的接触强度传感器)。存储器370包括高速随机存取存储器,诸如DRAM、SRAM、DDR RAM或其他随机存取固态存储器设备;并且任选地包括非易失性存储器,诸如一个或多个磁盘存储设备、光盘存储设备、闪存存储器设备或其他非易失性固态存储设备。存储器370任选地包括远离一个或多个CPU 310定位的一个或多个存储设备。在一些实施例中,存储器370存储与便携式多功能设备100(图1A)的存储器102中所存储的程序、模块和数据结构类似的程序、模块、和数据结构,或它们的子组。此外,存储器370任选地存储在便携式多功能设备100的存储器102中不存在的另外的程序、模块、和数据结构。例如,设备300的存储器370任选地存储绘图模块380、呈现模块382、文字处理模块384、网站创建模块386、盘编辑模块388、和/或电子表格模块390,而便携式多功能设备100(图1A)的存储器102任选地不存储这些模块。3 is a block diagram of an exemplary multifunctional device with a display and a touch-sensitive surface according to some embodiments. Device 300 need not be portable. In some embodiments, device 300 is a laptop computer, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system or a control device (e.g., a home or industrial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more networks or other communication interfaces 360, a memory 370, and one or more communication buses 320 for interconnecting these components. Communication bus 320 optionally includes a circuit (sometimes called a chipset) that interconnects system components and controls the communication between system components. Device 300 includes an input/output (I/O) interface 330 with a display 340, which is typically a touch screen display. I/O interface 330 also optionally includes a keyboard and/or mouse (or other pointing device) 350 and a touchpad 355, a tactile output generator 357 for generating tactile output on device 300 (e.g., similar to one or more tactile output generators 167 described above with reference to FIG. 1A ), and a sensor 359 (e.g., an optical sensor, an acceleration sensor, a proximity sensor, a touch-sensitive sensor, and/or a contact force sensor similar to one or more contact force sensors 165 described above with reference to FIG. 1A ). Memory 370 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 370 optionally includes one or more storage devices located remotely from one or more CPUs 310. In some embodiments, memory 370 stores programs, modules, and data structures similar to those stored in memory 102 of portable multifunction device 100 ( FIG. 1A ), or a subset thereof. In addition, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, a word processing module 384, a website creation module 386, a disk editing module 388, and/or a spreadsheet module 390, while memory 102 of portable multifunction device 100 ( FIG. 1A ) optionally does not store these modules.

图3中的上述所识别的元件中的每一个元件任选地存储在一个或多个先前提到的存储器设备中。上述模块中的每个模块对应于用于执行上述功能的一组指令。上述模块或程序(即,指令集)不必被实现为单独的软件程序、过程或模块,并且因此这些模块的各种子组任选地在各种实施例中被组合或以其他方式重新布置。在一些实施例中,存储器370任选地存储上述模块和数据结构的子组。此外,存储器370任选地存储上面未描述的另外的模块和数据结构。Each element in the above-mentioned identified element in Fig. 3 is optionally stored in one or more previously mentioned memory devices.Each module in the above-mentioned module corresponds to a group of instructions for performing the functions described above.Above-mentioned modules or programs (that is, instruction sets) need not be implemented as independent software programs, processes or modules, and therefore the various subgroups of these modules are optionally combined or otherwise rearranged in various embodiments.In certain embodiments, memory 370 optionally stores the subgroup of above-mentioned modules and data structures.In addition, memory 370 optionally stores other modules and data structures not described above.

现在将注意力转到任选地在便携式多功能设备100上实现的用户界面(“UI”)的实施例。Attention is now turned to an embodiment of a user interface (“UI”) that is optionally implemented on portable multifunction device 100 .

图4A根据一些实施例示出了便携式多功能设备100上的用于应用程序的菜单的示例性用户界面。类似的用户界面任选地在设备300上实现。在一些实施例中,用户界面400包括以下元素或者其子集或超集:Figure 4A shows an exemplary user interface for a menu of applications on portable multifunction device 100, according to some embodiments. A similar user interface is optionally implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:

●具有状态图标的状态条401,诸如:A status bar 401 with status icons such as:

○一个或多个无线通信(诸如蜂窝信号和Wi-Fi信号)的信号强度指示符402;o Signal strength indicators 402 for one or more wireless communications (such as cellular signals and Wi-Fi signals);

○时间404;○ Time 404;

○蓝牙指示符405;○ Bluetooth indicator 405;

○电池状态指示符406;o Battery status indicator 406;

●具有常用应用程序的图标的托盘408,常用应用程序的图标诸如:A tray 408 with icons for commonly used applications, such as:

○标记为“电话”的用于电话模块138的图标416,该图标416任选地包括未接来电或语音留言的数量的指示符414;o An icon 416 for the phone module 138 labeled "Phone," optionally including an indicator 414 of the number of missed calls or voice messages;

○标记为“邮件”的用于电子邮件客户端模块140的图标418,该图标418任选地包括未读电子邮件的数量的指示符410;o An icon 418 for the email client module 140 labeled "Mail," optionally including an indicator 410 of the number of unread emails;

○标记为“浏览器”的用于浏览器模块147的图标420;和o An icon 420 for the browser module 147 labeled "Browser"; and

○标记为“iPod”的用于视频和音乐播放器模块152(也叫做iPod(Apple Inc.的商标)模块152)的图标422;以及o An icon 422 for the video and music player module 152 labeled “iPod” (also called an iPod (trademark of Apple Inc.) module 152); and

●其他应用程序图标,诸如:●Other application icons, such as:

○标记为“消息”的用于IM模块141的图标424;o Icon 424 for the IM module 141 labeled "Messages";

○标记为“日历”的用于日历模块148的图标426;o Icon 426 for the calendar module 148 labeled "Calendar";

○标记为“照片”的用于图像管理模块144的图标428;o Icon 428 for the image management module 144 labeled "Photos";

○标记为“相机”的用于相机模块143的图标430;o An icon 430 for the camera module 143 labeled “Camera”;

○标记为“在线视频”的用于在线视频模块155的图标432;o Icon 432 for the online video module 155 labeled "Online Video";

○标记为“股市”的用于股市桌面小程序149-2的图标434;o Icon 434 for the stock market widget 149-2 labeled "Stock Market";

○标记为“地图”的用于地图模块154的图标436;o Icon 436 for the map module 154 labeled "Map";

○标记为“天气”的用于天气桌面小程序149-1的图标438;o Icon 438 for the weather widget 149-1 labeled "Weather";

○标记为“时钟”的用于闹钟桌面小程序149-4的图标440;o Icon 440 for the alarm clock widget 149-4 labeled "Clock";

○标记为“健身支持”的用于健身支持模块142的图标442;o An icon 442 for the fitness support module 142 labeled “Fitness Support”;

○标记为“记事本”的用于记事本模块153的图标444;和o An icon 444 for the Notes module 153 labeled "Notes"; and

○设置应用程序或模块的图标446,该图标446提供对设备100及其各种应用程序136的设置的访问。o An icon 446 for a settings application or module that provides access to settings for the device 100 and its various applications 136 .

应当指出的是,图4A中示出的图标标签仅仅是示例性的。例如,视频和音乐播放器模块152的图标422被标记为“音乐”或“音乐播放器”。其他标签任选地用于各种应用程序图标。在一些实施例中,相应应用程序图标的标签包括与该相应应用程序图标对应的应用程序的名称。在一些实施例中,特定应用程序图标的标签不同于与该特定应用程序图标对应的应用程序的名称。It should be noted that the icon labels shown in FIG4A are merely exemplary. For example, icon 422 of video and music player module 152 is labeled "Music" or "Music Player." Other labels are optionally used for various application icons. In some embodiments, the label of a respective application icon includes the name of the application corresponding to the respective application icon. In some embodiments, the label of a particular application icon is different from the name of the application corresponding to the particular application icon.

图4B示出了具有与显示器450(例如,触摸屏显示器112)分开的触敏表面451(例如,图3中的平板电脑或触摸板355)的设备(例如,图3中的设备300)上的示例性用户界面。设备300任选地也包括用于检测触敏表面451上的接触的强度的一个或多个接触强度传感器(例如,传感器357中的一个或多个传感器)、和/或用于为设备300的用户生成触觉输出的一个或多个触觉输出发生器359。4B shows an exemplary user interface on a device (e.g., device 300 in FIG 3 ) having a touch-sensitive surface 451 (e.g., tablet computer or touchpad 355 in FIG 3 ) that is separate from a display 450 (e.g., touch screen display 112 ). Device 300 optionally also includes one or more contact intensity sensors (e.g., one or more of sensors 357 ) for detecting intensity of contacts on touch-sensitive surface 451 and/or one or more tactile output generators 359 for generating tactile output for a user of device 300.

尽管将参考触摸屏显示器112(其中组合了触敏表面和显示器)上的输入给出随后的实例中的一些实例,但在一些实施例中,设备检测与显示器分开的触敏表面上的输入,如图4B中所示。在一些实施例中,触敏表面(例如,图4B中的451)具有与显示器(例如,450)上的主轴线(例如,图4B中的453)对应的主轴线(例如,图4B中的452)。根据这些实施例,设备检测在与显示器上的相应位置对应的位置(例如,在图4B中,460对应于468并且462对应于470)处与触敏表面451的接触(例如,图4B中的460和462)。这样,在触敏表面(例如,图4B中的451)与多功能设备的显示器(例如,图4B中的450)分开时,由设备在触敏表面上检测到的用户输入(例如,接触460和462以及它们的移动)被该设备用于操纵显示器上的用户界面。应当理解,类似的方法任选地用于本文所述的其他用户界面。Although some of the examples that follow will be given with reference to input on touchscreen display 112 (where a touch-sensitive surface and display are combined), in some embodiments, the device detects input on a touch-sensitive surface that is separate from the display, as shown in FIG4B . In some embodiments, the touch-sensitive surface (e.g., 451 in FIG4B ) has a primary axis (e.g., 452 in FIG4B ) that corresponds to a primary axis (e.g., 453 in FIG4B ) on the display (e.g., 450 ). According to these embodiments, the device detects contacts (e.g., 460 and 462 in FIG4B ) with touch-sensitive surface 451 at locations that correspond to corresponding locations on the display (e.g., 460 corresponds to 468 and 462 corresponds to 470 in FIG4B ). Thus, when the touch-sensitive surface (e.g., 451 in FIG4B ) is separated from the display (e.g., 450 in FIG4B ) of the multifunction device, user input detected by the device on the touch-sensitive surface (e.g., contacts 460 and 462 and their movement) is used by the device to manipulate a user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.

另外,虽然主要参考手指输入(例如,手指接触、手指轻击手势、手指轻扫手势)来给出下面的实例,但应当理解,在一些实施例中,这些手指输入中的一个或多个手指输入由来自另一输入设备的输入(例如,基于鼠标的输入或触笔输入)替代。例如,轻扫手势任选地由鼠标点击(例如,而不是接触)然后由光标沿着轻扫的路径移动(例如,而不是接触的移动)替代。又如,轻击手势任选地由在光标位于轻击手势的位置上方时的鼠标点击(例如,而不是检测到接触,之后终止检测接触)替代。类似地,当同时检测到多个用户输入时,应当理解,多个计算机鼠标任选地被同时使用,或一个鼠标和多个手指接触任选地被同时使用。In addition, although the following examples are given primarily with reference to finger inputs (e.g., finger contacts, finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact) followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). For another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detecting contact and then ceasing to detect contact). Similarly, when multiple user inputs are detected simultaneously, it should be understood that multiple computer mice are optionally used simultaneously, or one mouse and multiple finger contacts are optionally used simultaneously.

用户界面和相关联的过程User interface and associated processes

现在将注意力转到可在具有显示器和触敏表面的电子设备(诸如设备300或便携式多功能设备100)上实现的用户界面(“UI”)及相关联的过程的实施例。Attention is now turned to embodiments of a user interface ("UI") and associated processes that may be implemented on an electronic device with a display and a touch-sensitive surface, such as device 300 or portable multifunction device 100.

图5A-5K根据一些实施例示出了用于调节控件的外观的假想的示例性用户界面。这些附图中的用户界面被用于示出下文描述的过程,包括图9A-图9B中的过程。Figures 5A-5K illustrate hypothetical exemplary user interfaces for adjusting the appearance of a control, according to some embodiments. The user interfaces in these figures are used to illustrate the processes described below, including the processes in Figures 9A-9B.

图5A示出了在触摸屏112上显示的示例性用户界面502。用户界面502包括内容(例如数字图像和/或其他图形)。半透明键盘518被显示在显示器的预定义区域504中。5A illustrates an exemplary user interface 502 displayed on the touch screen 112. The user interface 502 includes content (eg, digital images and/or other graphics). A translucent keyboard 518 is displayed in a predefined area 504 of the display.

图5B示出了与预定区域504对应的第一内容506。设备确定第一内容506的内容显示属性。5B shows first content 506 corresponding to the predetermined area 504. The device determines a content display attribute of the first content 506.

图6根据一些实施例示例性地示出了为控件被显示在其中的区域中的内容确定的假想的示例性的一组内容显示属性值。例如,设备确定与区域504对应的第一内容506的色调、饱和度、亮度、和对比度的值。6 illustrates a hypothetical exemplary set of content display property values determined for content in an area in which a control is displayed, according to some embodiments. For example, the device determines values for hue, saturation, brightness, and contrast of first content 506 corresponding to area 504.

设备基于所确定的第一内容506的内容显示属性值来确定键盘518的控件外观参数值。为清楚起见,如在本说明书和权利要求书中所使用的,“基于...”意思是“至少部分地基于...”。例如,设备至少部分地基于控件被显示在上方的显示器区域中的内容的所确定的内容显示属性值来确定该控件的控件外观参数值。除了控件被显示在上方的显示器区域中的内容的所确定的内容显示属性值之外,所确定的控件的控件外观参数值任选地还基于附加因素。The device determines a control appearance parameter value for keyboard 518 based on the determined content display property value of first content 506. For clarity, as used in this specification and the claims, "based on..." means "based at least in part on..." For example, the device determines a control appearance parameter value for a control based at least in part on the determined content display property value of the content in the display area above the control. In addition to the determined content display property value of the content in the display area above the control, the determined control appearance parameter value for the control is optionally based on additional factors.

图7是根据一些实施例的已被分配给可被用于经由插补法确定控件外观值的对应的预定组的控件外观值的假想的预定组的内容显示值的示意图。7 is a diagram of a hypothetical predetermined set of content display values that have been assigned to a corresponding predetermined set of control appearance values that may be used to determine control appearance values via interpolation, in accordance with some embodiments.

图8根据一些实施例示例性地示出了控件的假想的示例性的一组控件外观参数值。FIG8 exemplarily illustrates a hypothetical exemplary set of control appearance parameter values for a control according to some embodiments.

在一些实施例中,设备使用内容显示值(例如图7)与控件外观值的先前映射来确定以下各项的值:模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、键盘518中的用户界面元件的不透明度、和/或键盘518中的文本的颜色(例如图8)。In some embodiments, the device uses a previous mapping of content display values (e.g., FIG. 7 ) to control appearance values to determine values for: a blur radius, a saturation adjustment, the opacity of a white overlay, the opacity of a black overlay, the opacity of user interface elements in keyboard 518, and/or the color of text in keyboard 518 (e.g., FIG. 8 ).

图5A中的键盘518的外观基于第一内容506和用于模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、键盘518中的用户界面元件的不透明度、和/或键盘518中的文本的颜色的所确定的第一组控件外观值。例如,在图5A中,区域504中的第一内容506已根据模糊半径值被模糊(如通过比较图5A和图5B看到的那样),文本颜色是白色等等。在一些实施例中,区域504中的第一内容506的模糊由可重入窗管理器来执行,如于2012年2月3日提交的标题为“Reentrant Window Manager”的美国临时专利申请No.13/366,181中所述的,该美国临时专利申请全文以引用方式并入本文。The appearance of keyboard 518 in Figure 5A is based on first content 506 and a determined first set of control appearance values for a blur radius, a saturation adjustment, opacity of a white overlay, opacity of a black overlay, opacity of user interface elements in keyboard 518, and/or the color of text in keyboard 518. For example, in Figure 5A, first content 506 in region 504 has been blurred according to the blur radius value (as seen by comparing Figures 5A and 5B), the text color is white, etc. In some embodiments, the blurring of first content 506 in region 504 is performed by a reentrant window manager, as described in U.S. Provisional Patent Application No. 13/366,181, entitled "Reentrant Window Manager," filed on February 3, 2012, which is incorporated herein by reference in its entirety.

图5A还示出了两个不同手势510和512,其中每个手势都使得图5A中的数字图像能够平移,使得数字图像的新部分被显示在用户界面502中。轻扫手势510将数字图像平移到图5C中所示的数字图像的那个部分。轻扫手势512将数字图像平移到图5D-5F中所示的数字图像的那个部分。Figure 5A also shows two different gestures 510 and 512, each of which enables the digital image in Figure 5A to be translated so that a new portion of the digital image is displayed in user interface 502. Swipe gesture 510 translates the digital image to the portion of the digital image shown in Figure 5C. Swipe gesture 512 translates the digital image to the portion of the digital image shown in Figures 5D-5F.

在图5C中,与区域504(键盘518位于那里)对应的内容已从第一内容506变为第二内容508-1。设备检测到内容的这个变化,并确定用于第二内容508-1的第二组内容显示值。继而,设备确定第二组控件外观值,并根据第二内容508-1和第二组控件外观值来改变键盘518的外观。在该实例中,键盘518仍然在键盘上显示白色文本,但第二内容508-1(与第一内容506相比)较不模糊,因为模糊半径的值更小。In Figure 5C, the content corresponding to area 504 (where keyboard 518 is located) has changed from first content 506 to second content 508-1. The device detects this change in content and determines a second set of content display values for second content 508-1. The device then determines a second set of control appearance values and changes the appearance of keyboard 518 based on second content 508-1 and the second set of control appearance values. In this example, keyboard 518 still displays white text on the keyboard, but second content 508-1 is less blurry (compared to first content 506) because the blur radius value is smaller.

图5D示出了与控件外观值改变相比,内容任选地移动得更快。在图5D中,与区域504(键盘518位于那里)对应的内容刚刚从第一内容506变为第二内容508-2。键盘518的外观已改变,因为与区域504对应的内容从第一内容506变为第二内容508-2。然而在该实例中,设备还没有确定或应用第二组控件外观值,使得相反第一组控件外观值被应用。FIG5D shows that the content is optionally moved faster than the control appearance values. In FIG5D , the content corresponding to area 504 (where keyboard 518 is located) has just changed from first content 506 to second content 508-2. The appearance of keyboard 518 has changed because the content corresponding to area 504 has changed from first content 506 to second content 508-2. However, in this example, the device has not yet determined or applied the second set of control appearance values, so that instead the first set of control appearance values is applied.

图5A、5E、和5F示出了从具有白色按键的键盘518(图5A)到具有黑色按键的键盘518(图5F)的改变任选地经由具有白色按键和基于内容508-2的内容显示值的经更新的一组控件外观值的中间键盘518(图5E)来进行。在图5E中,与区域504(键盘518位于那里)对应的内容已从第一内容506变为第二内容508-2。设备检测到内容的这个变化,并确定用于第二内容508-2的第二组内容显示值。继而,设备确定相应的经更新的一组控件外观值,并根据第二内容508-1和经更新的这组控件外观值来改变键盘518的外观。在该实例中,键盘518(在切换为显示图5F中的按键上的黑色文本之前)仍然显示图5E中的按键上的白色文本,但图5E中的键盘的外观不同于图5D中的键盘518的外观。图5E中的键盘使用基于内容508-2的内容显示值的经更新的一组控件外观值(图5E),而图5D中的键盘使用第一组控件外观值。使用经更新的这组控件外观值使得图5E中的键盘518比图5D中的键盘更清晰。Figures 5A, 5E, and 5F illustrate the change from a keyboard 518 with white keys (Figure 5A) to a keyboard 518 with black keys (Figure 5F), optionally performed via an intermediate keyboard 518 (Figure 5E) with white keys and an updated set of control appearance values based on the content display values of content 508-2. In Figure 5E, the content corresponding to area 504 (where keyboard 518 is located) has changed from first content 506 to second content 508-2. The device detects this change in content and determines a second set of content display values for second content 508-2. The device then determines a corresponding updated set of control appearance values and changes the appearance of keyboard 518 based on second content 508-1 and the updated set of control appearance values. In this example, keyboard 518 (before switching to displaying black text on the keys in Figure 5F) still displays the white text on the keys in Figure 5E, but the appearance of the keyboard in Figure 5E is different from the appearance of keyboard 518 in Figure 5D. The keyboard in Figure 5E uses an updated set of control appearance values (Figure 5E) based on the content display value of content 508-2, while the keyboard in Figure 5D uses the first set of control appearance values. Using this updated set of control appearance values makes the keyboard 518 in Figure 5E clearer than the keyboard in Figure 5D.

在图5F中,与区域504(键盘518位于那里)对应的内容已从第一内容506变为第二内容508-2。设备检测到内容的这个变化,并确定用于第二内容508-2的第二组内容显示值。继而,设备确定第二组控件外观值,并根据第二内容508-2和第二组控件外观值来改变键盘518的外观。在该实例中,键盘518在按键上显示黑色文本(例如由于508-2中更亮的内容),其他控件外观值也已从图5A中的键盘的那些外观改变。In Figure 5F, the content corresponding to area 504 (where keyboard 518 is located) has changed from first content 506 to second content 508-2. The device detects this change in content and determines a second set of content display values for second content 508-2. The device then determines a second set of control appearance values and changes the appearance of keyboard 518 based on second content 508-2 and the second set of control appearance values. In this example, keyboard 518 displays black text on the keys (e.g., due to the brighter content in 508-2), and other control appearance values have also changed from those of the keyboard in Figure 5A.

在显示具有黑色按键的键盘之前基于相应的经更新的一组控件外观值来显示具有白色按键的中间键盘的实施例中(例如当图5E中的键盘在图5F中的键盘之前被显示时),第二组控件外观值(用于图5F中的具有黑色文本的键盘)将通常包含与经更新的那组控件外观值(用于图5E中的具有白色文本的键盘)不同的控件外观值,而不是仅仅将字母颜色值从白色改为黑色。换句话讲,对于相同的一组内容显示值,具有黑色文本的键盘的控件外观值通常将不同于具有白色文本的键盘的控件外观值,因为为了使具有黑色文本的键盘容易看到和易于使用所需的模糊、饱和度调节、不透明度等的量通常不同于为了使具有白色文本的键盘容易看到和易于使用所需的模糊、饱和度调节、不透明度等的量。在一些实施例中,针对具有黑色文本的键盘所调节的一组控件外观参数不同于针对具有白色文本的键盘所调节的一组控件外观参数。In embodiments where an intermediate keyboard with white keys is displayed based on a corresponding updated set of control appearance values before displaying a keyboard with black keys (e.g., when the keyboard in FIG. 5E is displayed before the keyboard in FIG. 5F ), the second set of control appearance values (for the keyboard with black text in FIG. 5F ) will typically include different control appearance values than the updated set of control appearance values (for the keyboard with white text in FIG. 5E ), rather than simply changing the letter color values from white to black. In other words, for the same set of content display values, the control appearance values for the keyboard with black text will typically be different from the control appearance values for the keyboard with white text because the amount of blur, saturation adjustment, opacity, etc. required to make a keyboard with black text easy to see and easy to use is typically different from the amount of blur, saturation adjustment, opacity, etc. required to make a keyboard with white text easy to see and easy to use. In some embodiments, the set of control appearance parameters adjusted for the keyboard with black text is different from the set of control appearance parameters adjusted for the keyboard with white text.

在一些实施例中,针对暗的控件所调节的一组控件外观参数不同于针对亮的控件所调节的一组控件外观参数。In some embodiments, the set of control appearance parameters adjusted for a dark control is different from the set of control appearance parameters adjusted for a light control.

在一些实施例中,暗的控件是通过在第一内容顶部堆叠(复合)多个层(包括控件元件叠层和黑色叠层)来生成。黑色叠层遮掩第一内容,并具有高的不透明度(例如RGBA=10-40,10-40,10-40,60-80)。第一内容被模糊(例如模糊半径=10pts-30pts),并且其饱和度增大(例如增大20%-40%)。在一些实施例中,暗的控件的控件外观值不依赖于第一内容的内容显示值。In some embodiments, a dark control is generated by stacking (compositing) multiple layers (including a control element layer and a black layer) on top of the first content. The black layer obscures the first content and has a high opacity (e.g., RGBA = 10-40, 10-40, 10-40, 60-80). The first content is blurred (e.g., blur radius = 10 pts-30 pts) and its saturation is increased (e.g., increased by 20%-40%). In some embodiments, the control appearance value of the dark control is independent of the content display value of the first content.

在一些实施例中,亮的控件是通过在第一内容顶部堆叠(复合)多个层(包括控件元件叠层、白色叠层、和彩色叠层)来生成。白色叠层任选地具有高的白电平(例如90%-100%)和低的不透明度(例如20%-40%)。彩色叠层任选地具有基于第一内容的内容显示值的颜色。例如,彩色叠层的色调是第一内容的平均色调,如下文中参考操作923A更一般所述的;彩色叠层的饱和度是内容的平均饱和度的一定的百分比(例如70%-90%),如下文中参考操作923B更一般所述的;并且亮度低(例如20%-40%)。彩色叠层具有非常低的不透明度(例如5%-15%)。第一内容被模糊(例如模糊半径=20pts-40pts),并且其饱和度显著增大(例如增大50%-90%)。In some embodiments, the bright control is generated by stacking (compositing) multiple layers (including a control element layer, a white layer, and a color layer) on top of the first content. The white layer optionally has a high white level (e.g., 90%-100%) and a low opacity (e.g., 20%-40%). The color layer optionally has a color based on the content display value of the first content. For example, the hue of the color layer is the average hue of the first content, as described more generally below with reference to operation 923A; the saturation of the color layer is a certain percentage of the average saturation of the content (e.g., 70%-90%), as described more generally below with reference to operation 923B; and the brightness is low (e.g., 20%-40%). The color layer has a very low opacity (e.g., 5%-15%). The first content is blurred (e.g., blur radius = 20 pts-40 pts) and its saturation is significantly increased (e.g., increased by 50%-90%).

在一些实施例中,特别亮的控件是通过在第一内容顶部堆叠(复合)多个层(包括控件元件叠层和白色叠层,而没有彩色叠层)来生成。白色叠层任选地具有高的白电平(例如90%-100%)以及取决于第一内容的内容显示值的不透明度。例如,不透明度具有默认值(例如在70%-90%之间),但不透明度值在以下情况下被增大最高至最大值(例如在90%-100%之间):(1)第一内容的平均亮度增大到高于阈值(例如对于第一内容的平均亮度高于86%的每个百分比添加1%-2%),如下文中参考操作923C更一般所述的;(2)第一内容的平均亮度降低到低于阈值(例如对于第一内容的平均亮度低于20%的每个百分比添加1%-2%),如下文中参考操作923C更一般所述的;或(3)第一内容的平均饱和度增大到高于阈值(例如对于第一内容的平均饱和度高于70%的每个百分比添加1%-2%),如下文中参考操作923D更一般所述的。第一内容被模糊(例如模糊半径=10pts-40pts),并且其饱和度显著增大(例如增大50%-90%)。In some embodiments, a particularly bright control is generated by stacking (compositing) multiple layers on top of the first content (including a control element layer and a white layer, but no colored layer). The white layer optionally has a high white level (e.g., 90%-100%) and an opacity that depends on the content display value of the first content. For example, the opacity has a default value (e.g., between 70% and 90%), but the opacity value is increased up to a maximum value (e.g., between 90% and 100%) when: (1) the average brightness of the first content increases above a threshold value (e.g., 1%-2% is added for each percentage that the average brightness of the first content is above 86%), as described more generally below with reference to operation 923C; (2) the average brightness of the first content decreases below a threshold value (e.g., 1%-2% is added for each percentage that the average brightness of the first content is below 20%), as described more generally below with reference to operation 923C; or (3) the average saturation of the first content increases above a threshold value (e.g., 1%-2% is added for each percentage that the average saturation of the first content is above 70%), as described more generally below with reference to operation 923D. The first content is blurred (e.g., blur radius = 10 pts-40 pts) and its saturation is significantly increased (e.g., by 50%-90%).

在一些实施例中,彩色控件通过在第一内容上面堆叠多个层(包括控件元件叠层、白色叠层、和彩色叠层)来生成。彩色叠层可以是任何颜色,并且具有相当大的不透明度(例如70%-90%)。白色叠层具有高的白电平(例如90%-100%)以及取决于第一内容的内容显示值的不透明度。例如,添加1%-2%的不透明度:(1)对于第一内容的平均亮度低于阈值(例如在40%-60%之间)的每个百分比,如下文中参考操作923C更一般所述的;和(2)对于第一内容的平均饱和度高于阈值(例如在60%-80%之间)的每个百分比,如下文中参考操作923D更一般所述的。第一内容被模糊(例如模糊半径=10pts-30pts),并且其饱和度显著增大(例如增大50%-100%)。In some embodiments, a colored control is generated by stacking multiple layers (including a control element overlay, a white overlay, and a colored overlay) on top of the first content. The colored overlay can be any color and has a substantial opacity (e.g., 70%-90%). The white overlay has a high white level (e.g., 90%-100%) and an opacity that depends on the content display value of the first content. For example, 1%-2% opacity is added: (1) for each percentage where the average brightness of the first content is below a threshold (e.g., between 40%-60%), as described more generally below with reference to operation 923C; and (2) for each percentage where the average saturation of the first content is above a threshold (e.g., between 60%-80%), as described more generally below with reference to operation 923D. The first content is blurred (e.g., blur radius = 10pts-30pts) and its saturation is significantly increased (e.g., by 50%-100%).

图5F还示出了捏合手势514,该捏合手势使得设备缩小图5F中的数字图像,使得数字图像的新部分被显示在用户界面502中,如图5G中所示的。FIG5F also illustrates a pinch gesture 514 that causes the device to zoom out of the digital image in FIG5F , causing a new portion of the digital image to be displayed in user interface 502 , as shown in FIG5G .

在图5G中,与区域504(键盘518位于那里)对应的内容已从第二内容508-2变为内容516。设备检测到内容的这个变化,并确定内容516的新的一组内容显示值。继而,设备确定新的一组控件外观值,并根据内容516和新的一组控件外观值来改变键盘518的外观。在该实例中,键盘518从显示黑色文本变为显示白色文本(例如由于516中更暗的内容),并且其他控件外观值也改变。In Figure 5G, the content corresponding to area 504 (where keyboard 518 is located) has changed from second content 508-2 to content 516. The device detects this change in content and determines a new set of content display values for content 516. The device then determines a new set of control appearance values and changes the appearance of keyboard 518 based on content 516 and the new set of control appearance values. In this example, keyboard 518 changes from displaying black text to displaying white text (e.g., due to the darker content in 516), and other control appearance values also change.

在一些实施例中,半透明的控件和其他类型的半透明的用户界面元件被堆叠在彼此上方。例如,在图5H中,当按钮208被按下时,半透明的铃声音量调节指示符520出现在半透明的键盘518顶部。在一些实施例中,底部半透明元件中的控件元件不被显示在顶部半透明元件下方,这降低了视觉杂乱并使顶部半透明元件更容易查看。例如,在图5H中,键盘518的在半透明铃声音量调节指示符520下方的部分中的按键不被显示。相反,只是显示半透明铃声音量调节指示符520下方的模糊内容(其对应于半透明铃声音量调节指示符520的第一内容)。In some embodiments, translucent controls and other types of translucent user interface elements are stacked on top of each other. For example, in Figure 5H, when button 208 is pressed, a translucent ringer volume adjustment indicator 520 appears on top of the translucent keyboard 518. In some embodiments, the control elements in the bottom translucent element are not displayed below the top translucent element, which reduces visual clutter and makes the top translucent element easier to view. For example, in Figure 5H, the keys in the portion of the keyboard 518 below the translucent ringer volume adjustment indicator 520 are not displayed. Instead, only the blurred content below the translucent ringer volume adjustment indicator 520 (which corresponds to the first content of the translucent ringer volume adjustment indicator 520) is displayed.

在一些实施例中,控件被显示在包括背景和一个或多个高对比度元件(例如文本、滑块、按钮或其他控件元件)的“底部”半透明元件上方,并且底部半透明元件中的高对比度元件在控件下方不被显示(例如控件的外观是基于下方的第一内容,并且任选地还基于控件元件的背景,同时忽略底部半透明元件中的高对比度元件。在一些实施例中,在控件被显示时,“顶部”半透明元件被显示在控件上方,并且控件中的高对比度元件在顶部半透明元件下方不被显示。在一些实施例中,在显示器的相应区域中显示控件包括:确定显示器的相应区域是否包括控件将被显示在其上方的相应半透明控件,根据确定显示器的相应区域包括控件将被显示在其上方的相应半透明元件,调节第一组控件外观值中的一个或多个控件外观值以降低相应半透明元件的高对比度元件透过控件的可视性;以及根据确定显示器的相应区域不包括控件将被显示在其上方的相应半透明元件,不调节第一组控件外观值中的一个或多个控件外观值。In some embodiments, a control is displayed over a "bottom" translucent element that includes a background and one or more high-contrast elements (e.g., text, sliders, buttons, or other control elements), and the high-contrast elements in the bottom translucent element are not displayed below the control (e.g., the appearance of the control is based on the first content below, and optionally also based on the background of the control element, while ignoring the high-contrast elements in the bottom translucent element). In some embodiments, when the control is displayed, a "top" translucent element is displayed over the control, and the high-contrast elements in the control are not displayed below the top translucent element. In some embodiments, displaying the control in a corresponding area of the display includes: determining whether the corresponding area of the display includes a corresponding translucent control over which the control is to be displayed, adjusting one or more control appearance values in a first set of control appearance values to reduce the visibility of the high-contrast elements of the corresponding translucent element through the control based on determining that the corresponding area of the display includes the corresponding translucent element over which the control is to be displayed; and not adjusting one or more control appearance values in the first set of control appearance values based on determining that the corresponding area of the display does not include the corresponding translucent element over which the control is to be displayed.

在一些实施例中,当控件或其他半透明的用户界面元件最初被显示时,模糊动画被显示。例如,响应于激活个人数字助理(例如通过按下图5I中的按钮204),动画被显示,其使得图5J中的内容看起来随着用于个人数字助理的用户界面元件(例如图5J中的文本“我能帮您做什么?”、声音波形、和“?”图标)被显示而回退到显示器112中(或者缩小)并变得模糊,如图5J中所示的。在一些实施例中,这个效应类似于图5J中的内容向后移出镜头的焦平面(例如内容在显示器中回退并随着其回退而逐渐离焦)。在一些实施例中,如果内容没有大到足以缩小内容以使得内容看起来向后回退,则内容通过将预定义数量的像素(例如5个像素、10个像素、15个像素或20个像素)从内容的边缘朝着显示器的边缘反射,使得在内容的边缘和显示器的边缘之间没有间隙来在边缘处延伸。一种示例性个人数字助理是来自Apple Inc.(Cupertino,California)的Siri。In some embodiments, a blur animation is displayed when a control or other translucent user interface element is initially displayed. For example, in response to activating a personal digital assistant (e.g., by pressing button 204 in FIG. 5I ), an animation is displayed that causes the content in FIG. 5J to appear to recede into the display 112 (or shrink) and become blurred as the user interface elements for the personal digital assistant (e.g., the text “What can I do for you?”, a sound waveform, and a “?” icon in FIG. 5J ) are displayed, as shown in FIG. In some embodiments, this effect is similar to the content in FIG. 5J moving backward out of the focal plane of the lens (e.g., the content recedes in the display and gradually defocuses as it recedes). In some embodiments, if the content is not large enough to shrink so that the content appears to recede, the content extends at the edge by reflecting a predefined number of pixels (e.g., 5 pixels, 10 pixels, 15 pixels, or 20 pixels) from the edge of the content toward the edge of the display so that there is no gap between the edge of the content and the edge of the display. An exemplary personal digital assistant is Siri from Apple Inc. (Cupertino, California).

在一些实施例中,控件内的第一内容的一些部分可被显示而没有模糊。在一些实施例中,控件包括预定义控件区域和一个或多个元件;并且在显示器的相应区域中显示控件包括:通过根据第一组控件外观值向控件区域中的第一内容应用一组一个或多个变换(例如模糊、饱和度变化、色移)来指示预定义控件区域的范围;以及通过在相应可激活元件的位置处(并且以相应可激活元件的形状)不应用该组一个或多个变换中的相应变换来指示控件中的相应元件的位置。例如,在图5K中,设备在被模糊和去饱和的预定义区域中显示滑块控件522,并且在滑块控件内有未被模糊、去饱和或以其他方式变换的切口子区域524。在图5K中,切口子区域对应于预定义路径,拇指图标526被配置为(例如响应于用户输入,诸如开始于拇指图标526上的轻击和拖动手势)沿该预定义路径移动。因此,对于在相应半透明控件下方显示控件的经变换的型式的相应半透明控件(或其他半透明元件),一种将相应半透明控件的相应区域(例如包括按钮、滑块、文本输入字段等的区域)与相应半透明控件的其他区域区分开的方式是使相应半透明控件的相应区域透明(例如通过不应用在控件的其他区域中应用的变换以生成在控件下方显示的内容的经变换的型式),使得相应区域看起来穿过控件。显示具有透明区域的半透明控件在用户正在查看内容(例如图片、视频、文本)时特别有用,因为控件的透明和半透明部分仍然允许用户看到控件下方的内容,从而使得用户能够更快且更高效地操作设备。In some embodiments, portions of the first content within the control may be displayed without blurring. In some embodiments, the control includes a predefined control area and one or more elements; and displaying the control in a corresponding area of the display includes: indicating the extent of the predefined control area by applying a set of one or more transformations (e.g., blur, saturation change, color shift) to the first content in the control area according to a first set of control appearance values; and indicating the position of the corresponding element in the control by not applying a corresponding transformation from the set of one or more transformations at the position of the corresponding activatable element (and in the shape of the corresponding activatable element). For example, in Figure 5K, the device displays a slider control 522 in a predefined area that is blurred and desaturated, and there is a cutout sub-area 524 within the slider control that is not blurred, desaturated, or otherwise transformed. In Figure 5K, the cutout sub-area corresponds to a predefined path, and the thumb icon 526 is configured to move along the predefined path (e.g., in response to user input, such as a tap and drag gesture initiated on the thumb icon 526). Thus, for a corresponding translucent control (or other translucent element) that displays a transformed version of the control below the corresponding translucent control, one way to distinguish a corresponding area of the corresponding translucent control (e.g., an area including a button, a slider, a text input field, etc.) from other areas of the corresponding translucent control is to make the corresponding area of the corresponding translucent control transparent (e.g., by not applying a transformation applied in other areas of the control to generate a transformed version of the content displayed below the control) so that the corresponding area appears to pass through the control. Displaying a translucent control with transparent areas is particularly useful when a user is viewing content (e.g., a picture, video, text) because the transparent and translucent portions of the control still allow the user to see the content below the control, thereby enabling the user to operate the device faster and more efficiently.

图9A-9G是示出了根据一些实施例的调节控件的外观的方法900的流程图。方法900是在具有显示器并且任选地具有触敏表面的电子设备(例如,图3中的设备300;或图1A中的便携式多功能设备100)处执行。在一些实施例中,显示器是触摸屏显示器,并且触敏表面在显示器上。在一些实施例中,显示器与触敏表面是分开的。方法900中的一些操作任选地被组合,和/或一些操作的顺序任选地被改变。Figures 9A-9G are flow diagrams illustrating a method 900 for adjusting the appearance of a control according to some embodiments. Method 900 is performed on an electronic device having a display and, optionally, a touch-sensitive surface (e.g., device 300 in Figure 3 or portable multifunction device 100 in Figure 1A). In some embodiments, the display is a touchscreen display and the touch-sensitive surface is on the display. In some embodiments, the display and the touch-sensitive surface are separate. Some operations in method 900 may optionally be combined, and/or the order of some operations may optionally be changed.

如下文中所述,方法900提供外观比不透明控件或比简单地以固定方式模糊下方的内容的半透明控件更少地使人分心的半透明控件。同时,方法900提供了容易看到且易于交互的半透明控件。总体而言,方法900提供了减小对用户所造成的认知负担并生成更有效的人机界面的半透明控件。As described below, method 900 provides a translucent control that is less distracting than an opaque control or than a translucent control that simply obscures underlying content in a fixed manner. At the same time, method 900 provides a translucent control that is easy to see and interact with. Overall, method 900 provides a translucent control that reduces the cognitive burden on users and creates a more effective human-computer interface.

设备在显示器上显示(902)用户界面(例如,图5A中的用户界面502)。The device displays ( 902 ) a user interface (eg, user interface 502 in FIG. 5A ) on a display.

设备(例如通过检索或计算)确定(904)与显示器的相应区域对应的第一内容的一个或多个内容显示属性(例如色调、饱和度、亮度、对比度)的第一组内容显示值。在一些实施例中,第一内容是键盘其他控件在其上方显示(例如在显示器的预先确定或预定义的区域中)的网页或图像的一部分。例如,设备确定与显示器112的区域504对应的第一内容506的色调、饱和度、亮度、和对比度的第一组内容显示值(例如图6),如图5B中所示。The device determines (904) (e.g., by retrieval or calculation) a first set of content display values for one or more content display attributes (e.g., hue, saturation, brightness, contrast) of first content corresponding to the corresponding area of the display. In some embodiments, the first content is a portion of a web page or image over which a keyboard or other controls are displayed (e.g., in a predetermined or predefined area of the display). For example, the device determines a first set of content display values (e.g., FIG. 6 ) for hue, saturation, brightness, and contrast of first content 506 corresponding to area 504 of display 112, as shown in FIG. 5B .

在一些实施例中,相应区域中的内容的相应内容显示值对应于(906)相应区域的相应视觉属性的统计测量(例如平均或标准偏差)。例如,设备可确定区域504中的第一内容506的色调、饱和度、亮度、和/或对比度的平均值。在一些实施例中,为了减少开销和提高计算效率,统计测量包括只对相应区域中的像素的子集采样并且确定经采样的像素的统计测量。例如,设备可对控件506中的像素进行采样。在一些实施例中,设备在内容506上方两次经过,第一经过对每第43个像素进行采样,并且第二经过对每第51个像素进行采样。In some embodiments, the corresponding content display value of the content in the corresponding region corresponds to (906) a statistical measurement (e.g., an average or standard deviation) of the corresponding visual attribute of the corresponding region. For example, the device may determine an average value of the hue, saturation, brightness, and/or contrast of the first content 506 in the region 504. In some embodiments, to reduce overhead and improve computational efficiency, the statistical measurement includes sampling only a subset of the pixels in the corresponding region and determining the statistical measurement of the sampled pixels. For example, the device may sample pixels in the control 506. In some embodiments, the device passes over the content 506 twice, with the first pass sampling every 43rd pixel and the second pass sampling every 51st pixel.

在一些实施例中,内容显示属性包括(908)以下各项中的一者或多者:颜色、色调、饱和度、亮度、和对比度。在一些实施例中,对比度基于对多个经采样的像素的亮度的标准偏差的测量。In some embodiments, the content display attributes include (908) one or more of: color, hue, saturation, brightness, and contrast. In some embodiments, the contrast is based on a measure of the standard deviation of the brightness of a plurality of sampled pixels.

设备基于第一组内容显示值来确定(910)(例如通过选择或计算)一个或多个控件外观参数的第一组控件外观值,如图6-8中示意性示出的。The device determines ( 910 ) (eg, by selecting or calculating) a first set of control appearance values for one or more control appearance parameters based on the first set of content display values, as schematically illustrated in FIGS. 6-8 .

在一些实施例中,相应控件外观值的变化对应于(912)相应变换的量值的变化,该相应变换被应用于控件下方的内容以生成控件的外观。例如,模糊半径的变化对应于被应用于内容506(图5B)以生成键盘518的外观(图5A)的模糊变换的量值的变化。In some embodiments, a change in the appearance value of the corresponding control corresponds to a change in the magnitude of a corresponding transform (912) that is applied to content below the control to generate the appearance of the control. For example, a change in the blur radius corresponds to a change in the magnitude of the blur transform applied to content 506 (FIG. 5B) to generate the appearance of keyboard 518 (FIG. 5A).

在一些实施例中,控件外观参数包括(914)以下各项中的一者或多者:模糊半径(例如应用于相应区域中的内容的模糊操作的半径)、饱和度调节(例如改变相应区域中的内容的饱和度)、白色叠层的不透明度(例如相应区域中的内容与控件的可选部分(诸如按键的键帽)之间的白色层的不透明度)、黑色叠层的不透明度(例如相应区域中的内容与控件的可选部分(诸如按键的键帽)之间的黑色层的不透明度)、控件的一个或多个可选部分的不透明度(例如虚拟键盘的键帽或通知中的按钮的不透明度)、和控件中的文本的颜色(例如键盘上的字母或下拉菜单中的字词的颜色,诸如黑色或白色)。In some embodiments, the control appearance parameters include (914) one or more of the following: a blur radius (e.g., a radius of a blur operation applied to content in the corresponding area), a saturation adjustment (e.g., changing the saturation of content in the corresponding area), an opacity of a white overlay (e.g., an opacity of a white layer between content in the corresponding area and an optional portion of the control (such as a keycap of a key)), an opacity of a black overlay (e.g., an opacity of a black layer between content in the corresponding area and an optional portion of the control (such as a keycap of a key)), an opacity of one or more optional portions of the control (e.g., an opacity of a keycap of a virtual keyboard or a button in a notification), and a color of text in the control (e.g., a color of letters on a keyboard or words in a drop-down menu, such as black or white).

在一些实施例中,确定第一组控件外观值包括(916):存储与相应的预定义组的控件外观对应值的多个相应的预定义组的内容显示值;将接近第一组内容显示值的一个或多个预定义组的内容显示值识别为邻近组的内容显示值(例如识别M维空间中最接近的N组预定义的控件外观值,其中M是由每组内容显示值表示的内容显示属性的数量);以及基于与所述一个或多个邻近组的内容显示值对应的一个或多个预定义组的控件外观值来确定第一组控件外观值。在一些实施例中,第一组控件外观值是所述预定义组的控件外观值中的一个控件外观值。在一些实施例中,第一组控件外观值是预定义的两组或更多组的控件外观值之间的插补。在一些实施例中,预定义组的控件外观值是由人类设计师/艺术家基于具有对应一组预定义内容显示值的样本内容所确定/所选择的值,以使得半透明性最大化,同时保持在相应内容上方所显示的控件的可识别性。In some embodiments, determining a first set of control appearance values includes (916): storing a plurality of corresponding predefined sets of content display values corresponding to corresponding predefined sets of control appearance values; identifying one or more predefined sets of content display values that are close to the first set of content display values as neighboring sets of content display values (e.g., identifying the closest N sets of predefined control appearance values in an M-dimensional space, where M is the number of content display attributes represented by each set of content display values); and determining the first set of control appearance values based on the one or more predefined sets of control appearance values corresponding to the one or more neighboring sets of content display values. In some embodiments, the first set of control appearance values is one of the control appearance values in the predefined sets. In some embodiments, the first set of control appearance values is an interpolation between two or more predefined sets of control appearance values. In some embodiments, the predefined set of control appearance values is determined/selected by a human designer/artist based on sample content having the corresponding set of predefined content display values to maximize translucency while maintaining recognizability of the control displayed over the corresponding content.

在一些实施例中,确定第一组内容显示值包括(918)将第一组内容显示值用作算法的输入,该算法生成控件外观值作为输出。In some embodiments, determining the first set of content display values includes (918) using the first set of content display values as input to an algorithm that generates control appearance values as output.

设备在显示器的相应区域中显示(920)控件(例如在第一内容前面显示半透明的键盘、工具栏、提示消息、或菜单诸如设置菜单和文件菜单,因为控件在用户界面中的对象的z轴次序(从前到后的次序)中在第一内容上方),其中控件的外观是基于第一内容和第一组控件外观值来确定。例如,在图5A中,设备在显示器112的区域504中显示键盘518。图5A中键盘518的外观基于第一内容506和第一组控件外观值(例如图8)来确定。The device displays (920) a control in a corresponding area of the display (e.g., a semi-transparent keyboard, toolbar, prompt message, or menu such as a settings menu and a file menu is displayed in front of the first content because the control is above the first content in the z-axis order (from front to back order) of objects in the user interface), wherein the appearance of the control is determined based on the first content and the first set of control appearance values. For example, in FIG5A , the device displays keyboard 518 in area 504 of display 112. The appearance of keyboard 518 in FIG5A is determined based on first content 506 and the first set of control appearance values (e.g., FIG8 ).

在一些实施例中,控件包括(922)半透明部分,并且显示控件包括在控件的半透明部分中显示第一内容的与控件半透明部分对应的一部分的表示,其中第一内容的表示根据第一组控件外观值来变换(例如从第一内容的未遮掩渲染变换为被控件的半透明部分遮掩的第一内容的渲染)。例如,在图5A中,键盘518包括半透明部分,并且显示键盘518包括在键盘518的半透明部分中显示第一内容506的与键盘518的半透明部分对应的一部分的表示。第一内容506的表示根据第一组控件外观值从第一内容的未遮掩渲染(图5B)变换为被控件的半透明部分遮掩的第一内容506的渲染(图5A)。In some embodiments, the control includes (922) a semi-transparent portion, and displaying the control includes displaying a representation of a portion of first content 506 corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the first content transforms according to a first set of control appearance values (e.g., from an unobstructed rendering of the first content to a rendering of the first content obscured by the semi-transparent portion of the control). For example, in FIG5A , keyboard 518 includes a semi-transparent portion, and displaying keyboard 518 includes displaying a representation of a portion of first content 506 corresponding to the semi-transparent portion of keyboard 518 in the semi-transparent portion of keyboard 518. The representation of first content 506 transforms according to the first set of control appearance values from an unobstructed rendering of the first content ( FIG5B ) to a rendering of the first content 506 obscured by the semi-transparent portion of the control ( FIG5A ).

在一些实施例中,控件的颜色基于下面内容的颜色来调节。在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容颜色值(例如相应区域中的第一内容的平均颜色);第一组控件外观值包括基于第一内容的内容颜色(色调)值选择的控件颜色值;并且显示控件包括(923A):向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明彩色层,其中:半透明彩色层具有由控件颜色值所指定的颜色(例如色调值、一组RGB值、一组CMYK值或者所限定的另一种颜色);透过半透明彩色层能看到第一模糊内容;并且第一模糊内容的透过半透明彩色层的外观取决于半透明彩色层的颜色。在一些实施例中,当与显示器的相应区域对应的内容改变使得相应区域中的内容的平均内容颜色值变为经更新的平均内容颜色值时,设备基于经更新的平均内容颜色值针对半透明彩色层选择不同的控件颜色值。In some embodiments, the color of the control is adjusted based on the color of the underlying content. In some embodiments, a first set of content display values includes content color values of first content corresponding to a corresponding area of the display (e.g., an average color of the first content in the corresponding area); a first set of control appearance values includes control color values selected based on content color (hue) values of the first content; and displaying the control includes (923A): applying a blur operation to the first content to generate first blurred content; and overlaying a semi-transparent color layer over the first blurred content, wherein: the semi-transparent color layer has a color specified by the control color value (e.g., a hue value, a set of RGB values, a set of CMYK values, or another defined color); the first blurred content is visible through the semi-transparent color layer; and the appearance of the first blurred content through the semi-transparent color layer depends on the color of the semi-transparent color layer. In some embodiments, when the content corresponding to the corresponding area of the display changes such that the average content color value of the content in the corresponding area becomes an updated average content color value, the device selects a different control color value for the semi-transparent color layer based on the updated average content color value.

在一些实施例中,控件的饱和度基于下面的内容的饱和度来调节。在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容饱和度值(例如相应区域中的第一内容的平均饱和度);第一组控件外观值包括基于第一内容的内容饱和度值所选择的控件饱和度值;并且显示控件包括(923B):向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明彩色层,其中:半透明彩色层具有由控件饱和度值所指定的饱和度(例如饱和度水平或饱和度程度);透过半透明彩色层能看到第一模糊内容;并且第一模糊内容的透过半透明彩色层的外观取决于半透明彩色层的饱和度。在一些实施例中,当与显示器的相应区域对应的内容改变使得相应区域中的内容的平均内容饱和度值变为经更新的平均内容饱和度值时,设备基于经更新的平均内容饱和度值针对半透明彩色层选择不同的控件饱和度值。In some embodiments, the saturation of the control is adjusted based on the saturation of the underlying content. In some embodiments, a first set of content display values includes a content saturation value for the first content corresponding to the corresponding area of the display (e.g., an average saturation of the first content in the corresponding area); a first set of control appearance values includes a control saturation value selected based on the content saturation value of the first content; and displaying the control includes (923B): applying a blur operation to the first content to generate first blurred content; and overlaying a translucent color layer over the first blurred content, wherein: the translucent color layer has a saturation (e.g., a saturation level or degree of saturation) specified by the control saturation value; the first blurred content is visible through the translucent color layer; and the appearance of the first blurred content through the translucent color layer depends on the saturation of the translucent color layer. In some embodiments, when the content corresponding to the corresponding area of the display changes such that the average content saturation value of the content in the corresponding area becomes an updated average content saturation value, the device selects a different control saturation value for the translucent color layer based on the updated average content saturation value.

在一些实施例中,控件的不透明度基于下面的内容的亮度来调节。在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容亮度值(例如相应区域中的第一内容的平均亮度);第一组控件外观值包括基于第一内容的内容亮度值所选择的控件不透明度值;并且显示控件包括(923C):向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明层,其中:半透明层具有由控件不透明度值所指定的不透明度(例如不透明度水平或不透明度程度);透过半透明层能看到第一模糊内容;并且第一模糊内容的透过半透明层的外观取决于半透明层的不透明度。在一些实施例中,当与显示器的相应区域对应的内容改变使得相应区域中的内容的平均内容亮度值变为经更新的平均内容亮度值时,设备基于经更新的平均内容亮度值针对半透明层选择不同的控件不透明度值。In some embodiments, the opacity of the control is adjusted based on the brightness of the underlying content. In some embodiments, a first set of content display values includes a content brightness value for the first content corresponding to the corresponding area of the display (e.g., an average brightness of the first content in the corresponding area); a first set of control appearance values includes a control opacity value selected based on the content brightness value of the first content; and displaying the control includes (923C): applying a blur operation to the first content to generate first blurred content; and overlaying a semi-transparent layer over the first blurred content, wherein: the semi-transparent layer has an opacity (e.g., an opacity level or degree of opacity) specified by the control opacity value; the first blurred content is visible through the semi-transparent layer; and the appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. In some embodiments, when the content corresponding to the corresponding area of the display changes such that the average content brightness value of the content in the corresponding area becomes an updated average content brightness value, the device selects a different control opacity value for the semi-transparent layer based on the updated average content brightness value.

在一些实施例中,控件的不透明度基于下面的内容的饱和度来调节。在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容饱和度值(例如相应区域中的第一内容的平均饱和度);第一组控件外观值包括基于第一内容的内容饱和度值所选择的控件不透明度值;并且显示控件包括(923D):向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明层,其中:半透明层具有由控件颜色值所指定的不透明度(例如不透明度水平或不透明度程度);透过半透明层能看到第一模糊内容;并且第一模糊内容的透过半透明层的外观取决于半透明层的不透明度。在一些实施例中,当与显示器的相应区域对应的内容改变使得相应区域中的内容的平均内容饱和度值变为经更新的平均内容饱和度值时,设备基于经更新的平均内容饱和度值针对半透明层选择不同的控件不透明度值。In some embodiments, the opacity of the control is adjusted based on the saturation of the underlying content. In some embodiments, the first set of content display values includes content saturation values of the first content corresponding to the corresponding area of the display (e.g., the average saturation of the first content in the corresponding area); the first set of control appearance values includes a control opacity value selected based on the content saturation value of the first content; and displaying the control includes (923D): applying a blur operation to the first content to generate first blurred content; and overlaying a semi-transparent layer over the first blurred content, wherein: the semi-transparent layer has an opacity (e.g., an opacity level or degree of opacity) specified by the control color value; the first blurred content is visible through the semi-transparent layer; and the appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. In some embodiments, when the content corresponding to the corresponding area of the display changes such that the average content saturation value of the content in the corresponding area becomes an updated average content saturation value, the device selects a different control opacity value for the semi-transparent layer based on the updated average content saturation value.

在一些实施例中,在显示显示器的相应区域中的控件(924)时:设备检测到与显示器的相应区域对应的内容的从第一内容到不同于第一内容的第二内容的变化(例如响应于手势而滚动网页或照片或者加载新内容,使得控件后面的显示器的相应区域中的内容改变);确定第二内容的一个或多个内容显示属性(例如色调、饱和度、亮度、和/或对比度)的与第一组内容显示值不同的第二组内容显示值;基于第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值,其中第二组控件外观值不同于第一组控件外观值;并且响应于检测到内容改变,根据第二内容和第二组控件外观值来改变控件的外观。在一些实施例中,设备以预定间隔(例如每秒钟四次)检查半透明控件后面的内容的变化。在一些实施例中,设备响应于检测到与内容调节对应的手势(例如与平移或滚动内容相关联的轻扫手势、与调整内容大小相关联的捏合或扩拨手势、或与加载内容相关联的轻击手势)来检查内容的变化。在一些实施例中,设备响应于接收到来自应用程序的关于新内容正被加载的报告(例如响应于接收到来自web浏览器的关于新图像已被加载在键盘下方的框架中的报告)来检查内容的变化。In some embodiments, when displaying a control (924) in a corresponding area of a display: the device detects a change in content corresponding to the corresponding area of the display from a first content to a second content that is different from the first content (e.g., scrolling a webpage or photo or loading new content in response to a gesture, causing the content in the corresponding area of the display behind the control to change); determines a second set of content display values for one or more content display attributes (e.g., hue, saturation, brightness, and/or contrast) of the second content that are different from the first set of content display values; determines a second set of control appearance values for one or more control appearance parameters based on the second set of content display values, wherein the second set of control appearance values are different from the first set of control appearance values; and in response to detecting the content change, changes the appearance of the control according to the second content and the second set of control appearance values. In some embodiments, the device checks for changes in the content behind the semi-transparent control at predetermined intervals (e.g., four times per second). In some embodiments, the device checks for changes in the content in response to detecting a gesture corresponding to content adjustment (e.g., a swipe gesture associated with panning or scrolling content, a pinch or spread gesture associated with resizing content, or a tap gesture associated with loading content). In some embodiments, the device checks for changes in content in response to receiving a report from an application that new content is being loaded (e.g., in response to receiving a report from a web browser that a new image has been loaded in a frame below the keyboard).

在一些实施例中,改变控件的外观包括改变(926)控件中的文本的颜色(例如从图5F中的黑色字母改为图5G中的白色字母)。In some embodiments, changing the appearance of the control includes changing ( 926 ) the color of text in the control (eg, from black letters in FIG. 5F to white letters in FIG. 5G ).

在一些实施例中,控件包括(928)半透明部分,并且根据第二组控件外观值改变控件的外观包括在控件的半透明部分中显示第二内容的与控件半透明部分对应的一部分的表示,其中第二内容的表示根据第二组控件外观值来变换(例如从第二内容的未遮掩渲染变换为被控件的半透明部分遮掩的第二内容的渲染)。例如,在图5F中,键盘518包括半透明部分,并且显示键盘518包括在键盘518的半透明部分中显示第二内容508-2的与键盘518的半透明部分对应的一部分的表示。第二内容508-2的表示根据第二组控件外观值从第二内容508-2的未遮掩渲染(未示出,但类似于图5B中的用于第一内容506的未遮掩渲染)变换为被控件的半透明部分遮掩的第二内容508-2的渲染(图5F)。In some embodiments, the control includes (928) a semi-transparent portion, and changing the appearance of the control according to the second set of control appearance values includes displaying a representation of a portion of the second content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the second content transforms according to the second set of control appearance values (e.g., from an unobstructed rendering of the second content to a rendering of the second content obscured by the semi-transparent portion of the control). For example, in FIG5F , keyboard 518 includes a semi-transparent portion, and displaying keyboard 518 includes displaying a representation of a portion of the second content 508-2 corresponding to the semi-transparent portion of the keyboard 518 in the semi-transparent portion of the keyboard 518. The representation of the second content 508-2 transforms from an unobstructed rendering of the second content 508-2 (not shown, but similar to the unobstructed rendering for the first content 506 in FIG5B ) to a rendering of the second content 508-2 obscured by the semi-transparent portion of the control ( FIG5F ).

在一些实施例中,第一组控件外观值是(930)第一组控件外观参数(例如白色键盘控件外观参数)的值,并且第二组控件外观值是第一组控件外观参数(例如白色键盘控件外观参数)的值。例如,图5A中的键盘的第一组控件外观值针对第一组控件外观参数(例如图8),并且图5C中的键盘的第二组控件外观值针对同样的第一组控件外观参数(例如图8)。In some embodiments, the first set of control appearance values are (930) values of a first set of control appearance parameters (e.g., white keyboard control appearance parameters), and the second set of control appearance values are values of the first set of control appearance parameters (e.g., white keyboard control appearance parameters). For example, the first set of control appearance values for the keyboard in FIG5A is for a first set of control appearance parameters (e.g., FIG8 ), and the second set of control appearance values for the keyboard in FIG5C is for the same first set of control appearance parameters (e.g., FIG8 ).

在一些实施例中,第一组控件外观值是(932)第一组控件外观参数(例如白色键盘控件外观参数)的值,并且第二组控件外观值是不同于第一组控件外观参数的第二组控件外观参数(例如黑色键盘控件外观参数)的值。例如,亮的控件(例如半透明的白色键盘)任选地具有与暗的控件(例如半透明的黑色键盘)不同的一组控件外观参数。In some embodiments, the first set of control appearance values are (932) values of a first set of control appearance parameters (e.g., white keyboard control appearance parameters), and the second set of control appearance values are values of a second set of control appearance parameters (e.g., black keyboard control appearance parameters) that are different from the first set of control appearance parameters. For example, a light control (e.g., a translucent white keyboard) optionally has a different set of control appearance parameters than a dark control (e.g., a translucent black keyboard).

在一些实施例中,在检测到与显示器的相应区域对应的内容从第一内容到第二内容的变化之后并且在根据第二组控件显示值改变控件的外观(934)之前(例如在显示图5F中的用于第二内容508-2的黑色键盘之前):设备基于第二组内容显示值来确定第一组控件外观参数的与第一组控件外观值不同的相应的一组控件外观值,其中该相应的一组控件外观值不同于第一组控件外观值和第二组控件外观值;并且根据第二内容和该相应的一组控件外观值来改变控件的外观。例如,如上所述,图5A、5E、和5F示出了从具有白色按键(图5A)的键盘518到具有黑色按键(图5F)的键盘518的变化任选地经由具有白色按键和基于内容508-2(图5E)的内容显示值的经更新的一组控件外观值的中间键盘518来进行。在一些实施例中,设备显示图5E中的具有白色按键的键盘518和图5F中的具有黑色按键的键盘518之间的预定动画过渡。In some embodiments, after detecting a change in content corresponding to a corresponding area of the display from first content to second content and before changing the appearance of the control according to the second set of control display values (934) (e.g., before displaying the black keyboard for the second content 508-2 in FIG. 5F ): the device determines a corresponding set of control appearance values for the first set of control appearance parameters that are different from the first set of control appearance values based on the second set of content display values, wherein the corresponding set of control appearance values are different from the first set of control appearance values and the second set of control appearance values; and changes the appearance of the control according to the second content and the corresponding set of control appearance values. For example, as described above, FIG. 5A , 5E , and 5F illustrate a change from a keyboard 518 with white keys ( FIG. 5A ) to a keyboard 518 with black keys ( FIG. 5F ), optionally via an intermediate keyboard 518 with white keys and an updated set of control appearance values based on the content display values of content 508-2 ( FIG. 5E ). In some embodiments, the device displays a predetermined animated transition between the keyboard 518 with white keys in FIG. 5E and the keyboard 518 with black keys in FIG. 5F .

在一些实施例中,控件包括(936)半透明部分;内容的相应部分(例如控件后面的相应区域中的内容)对应于控件的半透明部分的位置;并且根据相应的一组控件调节值来显示控件包括在控件的半透明部分中显示内容的相应部分的表示,其中内容的相应部分的表示根据该相应的一组控件外观值来变换(例如从内容的相应部分的未遮掩渲染变换为被控件半透明部分遮掩的内容的相应部分的渲染)。例如,在图5A中,键盘518包括半透明部分,并且显示键盘518包括在键盘518的半透明部分中显示第一内容506的与键盘518的半透明部分对应的一部分的表示。第一内容506的表示根据第一组控件外观值从第一内容的未遮掩渲染(图5B)变换为被控件的半透明部分遮掩的第一内容506的渲染(图5A)。In some embodiments, the control includes (936) a semi-transparent portion; a corresponding portion of the content (e.g., content in a corresponding area behind the control) corresponds to a location of the semi-transparent portion of the control; and displaying the control according to a corresponding set of control adjustment values includes displaying a representation of the corresponding portion of the content in the semi-transparent portion of the control, wherein the representation of the corresponding portion of the content transforms according to the corresponding set of control appearance values (e.g., from an unobstructed rendering of the corresponding portion of the content to a rendering of the corresponding portion of the content obscured by the semi-transparent portion of the control). For example, in FIG5A , keyboard 518 includes a semi-transparent portion, and displaying keyboard 518 includes displaying a representation of a portion of first content 506 corresponding to the semi-transparent portion of keyboard 518 in the semi-transparent portion of keyboard 518. The representation of first content 506 transforms from an unobstructed rendering of the first content ( FIG5B ) to a rendering of the first content 506 obscured by the semi-transparent portion of the control ( FIG5A ) according to the first set of control appearance values.

在一些实施例中,在检测到内容从第一内容到第二内容的变化之后并且在根据第二组控件外观值改变控件的外观之前(例如在确定第二组控件外观值之前或在应用第二组控件外观值之前),设备根据第二内容和第一组控件外观值来改变(938)控件的外观。例如,如上面参考图5D所述的,控件移动得任选地比控件外观值的变化更快。在一些实施例中,控件下方的内容以高的帧速率(例如60fps)移动被以动画方式显示,并且控件外观值以低的帧速率(例如4fps)更新。以高的帧速率更新控件下方的内容的移动使设备感觉是灵敏的,而以低的帧速率更新控件外观值降低了计算需求,而没有显著降低灵敏度。In some embodiments, after detecting a change in content from a first content to a second content and before changing the appearance of the control according to the second set of control appearance values (e.g., before determining the second set of control appearance values or before applying the second set of control appearance values), the device changes (938) the appearance of the control according to the second content and the first set of control appearance values. For example, as described above with reference to FIG5D , the control moves, optionally faster than the change in the control appearance values. In some embodiments, the content below the control is animated as it moves at a high frame rate (e.g., 60 fps), and the control appearance values are updated at a low frame rate (e.g., 4 fps). Updating the movement of the content below the control at a high frame rate makes the device feel responsive, while updating the control appearance values at a low frame rate reduces computational requirements without significantly reducing sensitivity.

应当理解,对图9A-9G中的操作进行描述的具体顺序仅仅是示例性的,并非旨在指示所述顺序是这些操作可被执行的唯一顺序。本领域的普通技术人员会想到多种方式来对本文所述的操作进行重新排序。It should be understood that the specific order in which the operations in Figures 9A-9G are described is merely exemplary and is not intended to indicate that the order is the only order in which these operations can be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein.

根据一些实施例,图10示出了根据各种所述实施例的原理进行配置的电子设备1000的功能框图。该设备的功能块任选地由执行各种所述实施例的原理的硬件、软件、或硬件和软件的组合来实现。本领域的技术人员应当理解,图10中所述的功能块任选地被组合或被分离为子块,以便实现各种所述实施例的原理。因此,本文的描述任选地支持本文所述的功能块的任何可能的组合或分割或进一步限定。According to some embodiments, Figure 10 shows a functional block diagram of an electronic device 1000 configured according to the principle of the various described embodiments. The functional block of this equipment is optionally realized by hardware, software, or a combination of hardware and software that performs the principle of the various described embodiments. Those skilled in the art will appreciate that the functional block described in Figure 10 is optionally combined or separated into sub-blocks to realize the principle of the various described embodiments. Therefore, the description herein optionally supports any possible combination or segmentation or further qualification of the functional block described herein.

如图10所示,电子设备1000包括被配置为显示用户界面的显示单元1002和耦接到显示单元1002的处理单元1006。在一些实施例中,处理单元1006包括确定单元1008、显示启用单元1010、检测单元1012、和改变单元1014。10 , the electronic device 1000 includes a display unit 1002 configured to display a user interface and a processing unit 1006 coupled to the display unit 1002. In some embodiments, the processing unit 1006 includes a determining unit 1008, a display enabling unit 1010, a detecting unit 1012, and a changing unit 1014.

处理单元1006被配置为:确定与显示单元1002的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值(例如利用确定单元1008);基于第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值(例如利用确定单元1008);以及启用对显示单元1002的相应区域中的控件的显示(例如利用显示启用单元1010),其中控件的外观基于第一内容和第一组控件外观值来确定。The processing unit 1006 is configured to: determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit 1002 (for example, using the determination unit 1008); determine a first set of control appearance values for one or more control appearance parameters based on the first set of content display values (for example, using the determination unit 1008); and enable display of controls in the corresponding area of the display unit 1002 (for example, using the display enabling unit 1010), wherein the appearance of the controls is determined based on the first content and the first set of control appearance values.

在一些实施例中,相应区域中的内容的相应内容显示值对应于相应区域的相应视觉属性的统计测量。In some embodiments, the respective content display value of the content in the respective region corresponds to a statistical measure of the respective visual attribute of the respective region.

在一些实施例中,内容显示属性包括以下各项中的一者或多者:颜色、色调、饱和度、亮度、和对比度。In some embodiments, the content display properties include one or more of: color, hue, saturation, brightness, and contrast.

在一些实施例中,相应控件外观值的变化对应于相应变换的量值的变化,该相应变换被应用于控件下方的内容以生成控件外观。In some embodiments, a change in the value of the corresponding control appearance corresponds to a change in the magnitude of a corresponding transform that is applied to content beneath the control to generate the control appearance.

在一些实施例中,控件外观参数包括以下各项中的一者或多者:模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、控件的一个或多个可选部分的不透明度、和控件中的文本的颜色。In some embodiments, the control appearance parameters include one or more of: a blur radius, a saturation adjustment, an opacity of a white overlay, an opacity of a black overlay, an opacity of one or more selectable portions of the control, and a color of text in the control.

在一些实施例中,确定第一组控件外观值包括:存储与相应的预定义组的控件外观值对应的多个相应的预定义组的内容显示值;将接近第一组内容显示值的一个或多个预定义组的内容显示值识别为邻近组的内容显示值;以及基于与所述一个或多个邻近组的内容显示值对应的一个或多个预定义组的控件外观值来确定第一组控件外观值。In some embodiments, determining a first group of control appearance values includes: storing a plurality of corresponding predefined groups of content display values corresponding to the corresponding predefined groups of control appearance values; identifying one or more predefined groups of content display values close to the first group of content display values as content display values of adjacent groups; and determining the first group of control appearance values based on one or more predefined groups of control appearance values corresponding to the content display values of the one or more adjacent groups.

在一些实施例中,确定第一组内容显示值包括将第一组内容显示值用作算法的输入,该算法生成控件外观值作为输出。In some embodiments, determining the first set of content display values includes using the first set of content display values as input to an algorithm that generates the control appearance values as output.

在一些实施例中,控件包括半透明部分,并且启用对控件的显示包括在控件的半透明部分中启用对第一内容的与控件半透明部分对应的一部分的表示的显示,其中第一内容的表示根据第一组控件外观值来变换。In some embodiments, the control includes a semi-transparent portion, and enabling display of the control includes enabling display of a representation of a portion of first content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the first content is transformed according to a first set of control appearance values.

在一些实施例中,处理单元1006被进一步配置为在启用对显示单元1002的相应区域中的控件的显示时:检测到与显示单元的相应区域对应的内容的从第一内容到不同于第一内容的第二内容的变化(例如利用检测单元1012);确定第二内容的一个或多个内容显示属性的与第一组内容显示值不同的第二组内容显示值(例如利用确定单元1008);基于第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值(例如利用确定单元1008),其中第二组控件外观值不同于第一组控件外观值;以及响应于检测到内容变换,根据第二内容和第二组控件外观值来改变控件的外观(例如利用改变单元1014)。In some embodiments, the processing unit 1006 is further configured to, when enabling display of controls in the corresponding area of the display unit 1002: detect a change in content corresponding to the corresponding area of the display unit from first content to second content different from the first content (e.g., using the detection unit 1012); determine a second set of content display values for one or more content display attributes of the second content that are different from the first set of content display values (e.g., using the determination unit 1008); determine a second set of control appearance values for one or more control appearance parameters based on the second set of content display values (e.g., using the determination unit 1008), wherein the second set of control appearance values are different from the first set of control appearance values; and, in response to detecting the content transformation, change the appearance of the control according to the second content and the second set of control appearance values (e.g., using the change unit 1014).

在一些实施例中,改变控件的外观包括改变控件中的文本的颜色。In some embodiments, changing the appearance of the control includes changing the color of text in the control.

在一些实施例中,控件包括半透明部分,并且根据第二组控件外观值来改变的控件外观包括在控件的半透明部分中显示第二内容的与控件半透明部分对应的一部分的表示,其中第二内容的表示根据第二组控件外观值来变换。In some embodiments, the control includes a translucent portion, and the control appearance that changes according to a second set of control appearance values includes displaying a representation of a portion of second content corresponding to the translucent portion of the control in the translucent portion of the control, wherein the representation of the second content is transformed according to the second set of control appearance values.

在一些实施例中,第一组控件外观值是第一组控件外观参数的值,并且第二组控件外观值是第一组控件外观参数的值。In some embodiments, the first set of control appearance values are values of a first set of control appearance parameters, and the second set of control appearance values are values of the first set of control appearance parameters.

在一些实施例中,第一组控件外观值是第一组控件外观参数的值,并且第二组控件外观值是与第一组控件外观参数不同的第二组控件外观参数的值。In some embodiments, the first set of control appearance values are values of a first set of control appearance parameters, and the second set of control appearance values are values of a second set of control appearance parameters different from the first set of control appearance parameters.

在一些实施例中,处理单元1006被进一步配置为:在检测到与显示单元1002的相应区域对应的内容的从第一内容到第二内容的变化之后并且在根据第二组控件显示值来改变控件的外观之前:基于第二组内容显示值来确定第一组控件外观参数的与第一组控件外观值不同的相应的一组控件外观值(例如利用确定单元1008),其中该相应的一组控件外观值不同于第一组控件外观值和第二组控件外观值;并且根据第二内容和该相应的一组控件外观值来改变控件的外观(例如利用改变单元1014)。In some embodiments, the processing unit 1006 is further configured to: after detecting a change from first content to second content in the content corresponding to the corresponding area of the display unit 1002 and before changing the appearance of the control according to the second set of control display values: determine a corresponding set of control appearance values of the first set of control appearance parameters that are different from the first set of control appearance values based on the second set of content display values (for example, using the determination unit 1008), wherein the corresponding set of control appearance values is different from the first set of control appearance values and the second set of control appearance values; and change the appearance of the control according to the second content and the corresponding set of control appearance values (for example, using the change unit 1014).

在一些实施例中,控件包括半透明部分;内容的相应部分对应于控件的半透明部分的位置;并且根据相应的一组控件调节值启用对控件的显示包括在控件的半透明部分中启用对内容的相应部分的表示的显示,其中内容的相应部分的表示根据相应的一组控件外观值来变换。In some embodiments, the control includes a semi-transparent portion; the corresponding portion of the content corresponds to the position of the semi-transparent portion of the control; and enabling display of the control according to a corresponding set of control adjustment values includes enabling display of a representation of the corresponding portion of the content in the semi-transparent portion of the control, wherein the representation of the corresponding portion of the content is transformed according to a corresponding set of control appearance values.

在一些实施例中,处理单元1006被进一步配置为在检测到内容从第一内容到第二内容的变化之后并且在根据第二组控件外观值来改变控件的外观之前,根据第二内容和第一组控件外观值来改变控件的外观(例如利用改变单元1014)。In some embodiments, processing unit 1006 is further configured to change the appearance of the control based on the second content and the first set of control appearance values (e.g., using changing unit 1014) after detecting a change in content from the first content to the second content and before changing the appearance of the control based on the second set of control appearance values.

在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容颜色值;第一组控件外观值包括基于第一内容的内容颜色值所选择的控件颜色值;并且显示控件包括:向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明彩色层,其中:半透明彩色层具有由控件颜色值所指定的颜色;透过半透明彩色层能看到第一模糊内容;并且第一模糊内容的透过半透明彩色层的外观取决于半透明彩色层的颜色。In some embodiments, the first set of content display values includes content color values of the first content corresponding to the corresponding area of the display; the first set of control appearance values includes control color values selected based on the content color values of the first content; and displaying the control includes: applying a blur operation to the first content to generate first blurred content; and overlaying a translucent color layer over the first blurred content, wherein: the translucent color layer has a color specified by the control color value; the first blurred content can be seen through the translucent color layer; and the appearance of the first blurred content through the translucent color layer depends on the color of the translucent color layer.

在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容饱和度值;第一组控件外观值包括基于第一内容的内容饱和度值所选择的控件饱和度值;并且显示控件包括:向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明彩色层,其中:半透明彩色层具有由控件饱和度值所指定的饱和度;透过半透明彩色层能看到第一模糊内容;并且第一模糊内容的透过半透明彩色层的外观取决于半透明彩色层的饱和度。In some embodiments, the first set of content display values includes a content saturation value of the first content corresponding to the corresponding area of the display; the first set of control appearance values includes a control saturation value selected based on the content saturation value of the first content; and displaying the control includes: applying a blur operation to the first content to generate a first blurred content; and overlaying a translucent color layer over the first blurred content, wherein: the translucent color layer has a saturation specified by the control saturation value; the first blurred content is visible through the translucent color layer; and the appearance of the first blurred content through the translucent color layer depends on the saturation of the translucent color layer.

在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容亮度值;第一组控件外观值包括基于第一内容的内容亮度值所选择的控件不透明度值;并且显示控件包括:向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明层,其中:半透明层具有由控件不透明度值所指定的不透明度;透过半透明层能看到第一模糊内容;并且第一模糊内容的透过半透明层的外观取决于半透明层的不透明度。In some embodiments, the first set of content display values includes content brightness values of the first content corresponding to the corresponding area of the display; the first set of control appearance values includes control opacity values selected based on the content brightness values of the first content; and displaying the control includes: applying a blur operation to the first content to generate first blurred content; and overlaying a translucent layer over the first blurred content, wherein: the translucent layer has an opacity specified by the control opacity value; the first blurred content is visible through the translucent layer; and the appearance of the first blurred content through the translucent layer depends on the opacity of the translucent layer.

在一些实施例中,第一组内容显示值包括与显示器的相应区域对应的第一内容的内容饱和度值;第一组控件外观值包括基于第一内容的内容饱和度值所选择的控件不透明度值;并且显示控件包括:向第一内容应用模糊操作以生成第一模糊内容;以及在第一模糊内容上方覆盖半透明层,其中:半透明层具有由控件颜色值所指定的不透明度;透过半透明层能看到第一模糊内容;并且第一模糊内容的透过半透明层的外观取决于半透明层的不透明度。In some embodiments, the first set of content display values includes a content saturation value of the first content corresponding to the corresponding area of the display; the first set of control appearance values includes a control opacity value selected based on the content saturation value of the first content; and displaying the control includes: applying a blur operation to the first content to generate a first blurred content; and overlaying a translucent layer over the first blurred content, wherein: the translucent layer has an opacity specified by the control color value; the first blurred content is visible through the translucent layer; and the appearance of the first blurred content through the translucent layer depends on the opacity of the translucent layer.

上述信息处理方法中的操作任选地通过运行信息处理装置中的一个或多个功能模块来实现,该信息处理装置诸如通用处理器(例如,如以上相对于图1A和图3所述的)或特定于应用的芯片。The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (e.g., as described above with respect to Figures 1A and 3) or an application-specific chip.

以上参考图9A-图9G所述的操作任选地由图1A-图1B或图10中所描绘的部件来实现。例如,检测操作924任选地由事件分类器170、事件识别器180和事件处理程序190来实施。事件分类器170中的事件监视器171检测触敏显示器112上的接触,并且事件分配器模块174将事件信息递送到应用程序136-1。应用程序136-1的相应事件识别器180将事件信息与相应事件定义186进行比较,并且确定触敏表面上的第一位置处的第一接触是否(或该设备的旋转是否)对应于预定义的事件或子事件,诸如对用户界面上的对象的选择、或该设备从一个取向到另一个取向的旋转。当检测到相应的预定义的事件或子事件时,事件识别器180激活与对该事件或子事件的检测相关联的事件处理程序190。事件处理程序190任选地使用或调用数据更新器176或对象更新器177以更新应用程序内部状态192。在一些实施例中,事件处理程序190访问相应GUI更新器178以更新由应用程序所显示的内容。类似地,本领域技术人员会清楚地认识到基于在图1A-1B中所示的部件可如何实现其他过程。The operations described above with reference to Figures 9A-9G are optionally implemented by the components depicted in Figures 1A-1B or Figure 10. For example, detection operation 924 is optionally implemented by event classifier 170, event recognizer 180, and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112, and event distributor module 174 delivers event information to application 136-1. The corresponding event recognizer 180 of application 136-1 compares the event information with the corresponding event definition 186 and determines whether the first contact at the first location on the touch-sensitive surface (or whether the rotation of the device) corresponds to a predefined event or sub-event, such as the selection of an object on the user interface or the rotation of the device from one orientation to another. When a corresponding predefined event or sub-event is detected, event recognizer 180 activates the event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally uses or calls data updater 176 or object updater 177 to update application internal state 192. In some embodiments, event handler 190 accesses corresponding GUI updater 178 to update the content displayed by the application. Similarly, those skilled in the art will clearly recognize how other processes can be implemented based on the components shown in Figures 1A-1B.

为了进行解释,前面的描述是通过参考具体实施例来进行描述的。然而,上面的示例性的讨论并非旨在是穷尽的,或将本发明限制为所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述实施例是为了充分地阐明本发明的原理及其实际应用,以由此使得本领域的其他技术人员能够利用适合于所构想的具体用途的各种修改来充分地使用本发明以及各种所述实施例。For the purpose of explanation, the foregoing description is described with reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the disclosed precise forms. Based on the above teachings, many modifications and variations are possible. The embodiments are selected and described in order to fully illustrate the principles of the present invention and their practical application, so that other persons skilled in the art can fully utilize the present invention and the various described embodiments with various modifications suitable for the specific purposes contemplated.

Claims (57)

1.一种用于调整控件的外观的方法,包括:1. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 显示所述控件包括在所述控件的所述半透明部分中显示所述第一内容的与所述控件的所述半透明部分对应的一部分的表示,其中所述第一内容的所述表示根据所述第一组控件外观值来变换。Displaying the control includes displaying a representation of the first content corresponding to the semi-transparent portion of the control within the semi-transparent portion of the control, wherein the representation of the first content is varied according to the first set of control appearance values. 2.根据权利要求1所述的方法,其中所述相应区域中的内容的相应内容显示值对应于所述相应区域的相应视觉属性的统计测量。2. The method according to claim 1, wherein the corresponding content display value of the content in the corresponding region corresponds to a statistical measurement of the corresponding visual attribute of the corresponding region. 3.根据权利要求1所述的方法,其中所述内容显示属性包括以下各项中的一者或多者:颜色、色调、饱和度、亮度和对比度。3. The method of claim 1, wherein the content display attributes include one or more of the following: color, hue, saturation, brightness, and contrast. 4.根据权利要求1所述的方法,其中相应控件外观值的变化对应于相应变换的量值的变化,所述相应变换被应用于所述控件下方的内容以生成所述控件的外观。4. The method according to claim 1, wherein the change in the appearance value of the corresponding control corresponds to the change in the magnitude of the corresponding transformation, the corresponding transformation being applied to the content below the control to generate the appearance of the control. 5.根据权利要求1所述的方法,其中所述控件外观参数包括以下各项中的一者或多者:模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、所述控件的一个或多个可选部分的不透明度、和所述控件中的文本的颜色。5. The method of claim 1, wherein the control appearance parameters include one or more of the following: blur radius, saturation adjustment, opacity of white overlay, opacity of black overlay, opacity of one or more optional portions of the control, and color of text in the control. 6.根据权利要求1所述的方法,其中确定所述第一组控件外观值包括:6. The method according to claim 1, wherein determining the appearance values of the first group of controls includes: 存储与相应的预定义组的控件外观值对应的多个相应的预定义组的内容显示值;Stores the content display values of multiple corresponding predefined groups that correspond to the control appearance values of the corresponding predefined groups; 将接近所述第一组内容显示值的一个或多个预定义组的内容显示值识别为邻近组的内容显示值;以及Identify content display values from one or more predefined groups that are close to the first group of content display values as content display values from neighboring groups; and 基于与所述一个或多个邻近组的内容显示值对应的一个或多个预定义组的控件外观值来确定所述第一组控件外观值。The first group of control appearance values is determined based on the control appearance values of one or more predefined groups that correspond to the content display values of the one or more neighboring groups. 7.根据权利要求1所述的方法,其中确定所述第一组内容显示值包括将所述第一组内容显示值用作算法的输入,所述算法生成控件外观值作为输出。7. The method of claim 1, wherein determining the first set of content display values includes using the first set of content display values as input to an algorithm, the algorithm generating control appearance values as output. 8.根据权利要求1至7中任一项所述的方法,包括当在所述显示器的所述相应区域中显示所述控件时:8. The method according to any one of claims 1 to 7, further comprising: when the control is displayed in the corresponding area of the display: 检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化;A change in the content corresponding to the corresponding area of the display from the first content to a second content different from the first content is detected; 确定所述第二内容的一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值;Determine a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值,其中所述第二组控件外观值与所述第一组控件外观值不同;以及A second set of control appearance values is determined based on the second set of content display values to identify one or more control appearance parameters, wherein the second set of control appearance values differs from the first set of control appearance values; and 响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观:In response to detecting the change in the content, the appearance of the control is changed according to the following: 所述第二内容;和The second content; and 所述第二组控件外观值。The appearance values of the second group of controls. 9.根据权利要求8所述的方法,其中改变所述控件的所述外观包括改变所述控件中的文本的颜色。9. The method of claim 8, wherein changing the appearance of the control includes changing the color of the text in the control. 10.根据权利要求8所述的方法,其中:10. The method according to claim 8, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是所述第一组控件外观参数的值。The appearance values of the second group of controls are the same as the appearance parameters of the first group of controls. 11.根据权利要求8所述的方法,其中:11. The method according to claim 8, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是与所述第一组控件外观参数不同的第二组控件外观参数的值。The second set of control appearance values are the values of the second set of control appearance parameters that are different from those of the first set of control appearance parameters. 12.根据权利要求11所述的方法,包括在检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件显示值来改变所述控件的所述外观之前:12. The method of claim 11, further comprising, after detecting a change from the first content to the second content corresponding to the corresponding area of the display, and before changing the appearance of the control according to the second set of control display values: 基于所述第二组内容显示值来确定所述第一组控件外观参数的与所述第一组控件外观值不同的相应的一组控件外观值,其中所述相应的一组控件外观值与所述第一组控件外观值和所述第二组控件外观值不同;以及Based on the second set of content display values, determine a corresponding set of control appearance values that differ from the first set of control appearance values, wherein the corresponding set of control appearance values differs from both the first set of control appearance values and the second set of control appearance values; and 根据以下各项来改变所述控件的所述外观:Change the appearance of the control according to the following: 所述第二内容;和The second content; and 所述相应的一组控件外观值。The corresponding set of control appearance values. 13.根据权利要求8所述的方法,包括在检测到内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件外观值来改变所述控件的所述外观之前,根据以下各项来改变所述控件的所述外观:13. The method of claim 8, further comprising, after detecting a change in content from the first content to the second content and before changing the appearance of the control according to the second set of control appearance values, changing the appearance of the control according to the following: 所述第二内容;和The second content; and 所述第一组控件外观值。The appearance values of the first group of controls. 14.根据权利要求1至7中任一项所述的方法,其中:14. The method according to any one of claims 1 to 7, wherein: 所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件不透明度值;并且The first set of control appearance values includes the control opacity value selected based on the content saturation value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;以及Apply a blur operation to the first content to generate first blurred content; and 在所述第一模糊内容上方覆盖半透明层,其中:A semi-transparent layer is overlaid on top of the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent layer; and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. 15.一种用于调整控件的外观的方法,包括:15. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 所述方法包括当在所述显示器的所述相应区域中显示所述控件时:The method includes displaying the control in the corresponding area of the display: 检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化;A change in the content corresponding to the corresponding area of the display from the first content to a second content different from the first content is detected; 确定所述第二内容的一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值;Determine a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值,其中所述第二组控件外观值与所述第一组控件外观值不同;以及A second set of control appearance values is determined based on the second set of content display values to identify one or more control appearance parameters, wherein the second set of control appearance values differs from the first set of control appearance values; and 响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观:In response to detecting the change in the content, the appearance of the control is changed according to the following: 所述第二内容;和The second content; and 所述第二组控件外观值The second group of control appearance values 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 根据所述第二组控件外观值来改变所述控件的所述外观包括在所述控件的所述半透明部分中显示所述第二内容的与所述控件的所述半透明部分对应的一部分的表示,其中所述第二内容的所述表示根据所述第二组控件外观值来变换。Changing the appearance of a control according to the second set of control appearance values includes displaying a representation of the second content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the second content changes according to the second set of control appearance values. 16.一种用于调整控件的外观的方法,包括:16. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;The control described includes a semi-transparent portion; 内容的相应部分对应于所述控件的所述半透明部分的位置;并且The corresponding portion of the content corresponds to the position of the semi-transparent portion of the control; and 根据相应的一组控件调节值来显示所述控件包括在所述控件的所述半透明部分中显示内容的所述相应部分的表示,其中内容的所述相应部分的所述表示根据所述相应的一组控件外观值来变换。The representation of the corresponding portion of the content displayed in the semi-transparent part of the control is displayed according to a corresponding set of control adjustment values, wherein the representation of the corresponding portion of the content changes according to the corresponding set of control appearance values. 17.一种用于调整控件的外观的方法,包括:17. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容颜色值;The first set of content display values includes the content color value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容颜色值所选择的控件颜色值;并且The first set of control appearance values includes control color values selected based on the content color values of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;以及Apply a blur operation to the first content to generate first blurred content; and 在所述第一模糊内容上方覆盖半透明彩色层,其中:A semi-transparent colored layer is overlaid on top of the first blurred content, wherein: 所述半透明彩色层具有由所述控件颜色值所指定的颜色;The semi-transparent color layer has a color specified by the color value of the control; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述颜色。The appearance of the first blurred content through the semi-transparent color layer depends on the color of the semi-transparent color layer. 18.一种用于调整控件的外观的方法,包括:18. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件饱和度值;并且The first set of control appearance values includes control saturation values selected based on the content saturation value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;以及Apply a blur operation to the first content to generate first blurred content; and 在所述第一模糊内容上方覆盖半透明彩色层,其中:A semi-transparent colored layer is overlaid on top of the first blurred content, wherein: 所述半透明彩色层具有由所述控件饱和度值所指定的饱和度;The semi-transparent color layer has a saturation level specified by the control saturation value; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述饱和度。The appearance of the first blurred content through the semi-transparent color layer depends on the saturation of the semi-transparent color layer. 19.一种用于调整控件的外观的方法,包括:19. A method for adjusting the appearance of a control, comprising: 在电子设备的显示器上显示用户界面;Displaying the user interface on the screen of an electronic device; 确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to a corresponding area of the display; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 在所述显示器的所述相应区域中显示控件,其中所述控件的外观基于以下各项来确定:A control is displayed in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容亮度值;The first set of content display values includes the content brightness value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容亮度值所选择的控件不透明度值;并且The first set of control appearance values includes a control opacity value selected based on the content brightness value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;以及Apply a blur operation to the first content to generate first blurred content; and 在所述第一模糊内容上方覆盖半透明层,其中:A semi-transparent layer is overlaid on top of the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent layer; and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. 20.一种电子设备,包括:20. An electronic device, comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 启用对所述控件的显示包括在所述控件的所述半透明部分中启用对所述第一内容的与所述控件的所述半透明部分对应的一部分的表示的显示,其中所述第一内容的所述表示根据所述第一组控件外观值来变换。Enabling the display of the control includes enabling the display of a representation of the first content corresponding to the semi-transparent portion of the control within the semi-transparent portion of the control, wherein the representation of the first content is varied according to the first set of control appearance values. 21.根据权利要求20所述的电子设备,其中所述相应区域中的内容的相应内容显示值对应于所述相应区域的相应视觉属性的统计测量。21. The electronic device of claim 20, wherein the corresponding content display value of the content in the corresponding area corresponds to a statistical measurement of the corresponding visual attribute of the corresponding area. 22.根据权利要求20所述的电子设备,其中所述内容显示属性包括以下各项中的一者或多者:颜色、色调、饱和度、亮度、和对比度。22. The electronic device of claim 20, wherein the content display attributes include one or more of the following: color, hue, saturation, brightness, and contrast. 23.根据权利要求20所述的电子设备,其中相应控件外观值的变化对应于相应变换的量值的变化,所述相应变换被应用于所述控件下方的内容以生成所述控件的外观。23. The electronic device of claim 20, wherein a change in the appearance value of a corresponding control corresponds to a change in the magnitude of a corresponding transformation, the corresponding transformation being applied to content below the control to generate the appearance of the control. 24.根据权利要求20所述的电子设备,其中所述控件外观参数包括以下各项中的一者或多者:模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、所述控件的一个或多个可选部分的不透明度、和所述控件中的文本的颜色。24. The electronic device of claim 20, wherein the appearance parameters of the control include one or more of the following: blur radius, saturation adjustment, opacity of white overlay, opacity of black overlay, opacity of one or more optional portions of the control, and color of text in the control. 25.根据权利要求20所述的电子设备,其中确定所述第一组控件外观值包括:25. The electronic device of claim 20, wherein determining the appearance values of the first group of controls includes: 存储与相应的预定义组的控件外观值对应的多个相应的预定义组的内容显示值;Stores the content display values of multiple corresponding predefined groups that correspond to the control appearance values of the corresponding predefined groups; 将接近所述第一组内容显示值的一个或多个预定义组的内容显示值识别为邻近组的内容显示值;以及Identify content display values from one or more predefined groups that are close to the first group of content display values as content display values from neighboring groups; and 基于与所述一个或多个邻近组的内容显示值对应的一个或多个预定义组的控件外观值来确定所述第一组控件外观值。The first group of control appearance values is determined based on the control appearance values of one or more predefined groups that correspond to the content display values of the one or more neighboring groups. 26.根据权利要求20所述的电子设备,其中确定所述第一组内容显示值包括将所述第一组内容显示值用作算法的输入,所述算法生成控件外观值作为输出。26. The electronic device of claim 20, wherein determining the first set of content display values includes using the first set of content display values as input to an algorithm, the algorithm generating control appearance values as output. 27.根据权利要求20至26中任一项所述的电子设备,其中所述处理单元被进一步配置为在启用对所述显示单元的所述相应区域中的所述控件的显示时:27. The electronic device according to any one of claims 20 to 26, wherein the processing unit is further configured to, when enabling the display of the control in the corresponding area of the display unit: 检测到与所述显示单元的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化;A change in the content corresponding to the corresponding area of the display unit from the first content to a second content different from the first content is detected; 确定所述第二内容的所述一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值;Determine a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值,其中所述第二组控件外观值与所述第一组控件外观值不同;以及A second set of control appearance values is determined based on the second set of content display values to identify one or more control appearance parameters, wherein the second set of control appearance values differs from the first set of control appearance values; and 响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观:In response to detecting the change in the content, the appearance of the control is changed according to the following: 所述第二内容;和The second content; and 所述第二组控件外观值。The appearance values of the second group of controls. 28.根据权利要求27所述的电子设备,其中改变所述控件的所述外观包括改变所述控件中的文本的颜色。28. The electronic device of claim 27, wherein changing the appearance of the control includes changing the color of the text in the control. 29.根据权利要求27所述的电子设备,其中:29. The electronic device according to claim 27, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是所述第一组控件外观参数的值。The appearance values of the second group of controls are the same as the appearance parameters of the first group of controls. 30.根据权利要求27所述的电子设备,其中:30. The electronic device according to claim 27, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是与所述第一组控件外观参数不同的第二组控件外观参数的值。The second set of control appearance values are the values of the second set of control appearance parameters that are different from those of the first set of control appearance parameters. 31.根据权利要求30所述的电子设备,其中所述处理单元被进一步配置为,在检测到与所述显示单元的所述相应区域对应的内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件显示值来改变所述控件的所述外观之前:31. The electronic device of claim 30, wherein the processing unit is further configured to, after detecting a change in content corresponding to the corresponding area of the display unit from the first content to the second content and before changing the appearance of the control according to the second set of control display values: 基于所述第二组内容显示值来确定所述第一组控件外观参数的与所述第一组控件外观值不同的相应的一组控件外观值,其中所述相应的一组控件外观值与所述第一组控件外观值和所述第二组控件外观值不同;以及Based on the second set of content display values, determine a corresponding set of control appearance values that differ from the first set of control appearance values, wherein the corresponding set of control appearance values differs from both the first set of control appearance values and the second set of control appearance values; and 根据以下各项来改变所述控件的所述外观:Change the appearance of the control according to the following: 所述第二内容;和The second content; and 所述相应的一组控件外观值。The corresponding set of control appearance values. 32.根据权利要求27所述的电子设备,其中所述处理单元被进一步配置为,在检测到内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件外观值来改变所述控件的所述外观之前,根据以下各项来改变所述控件的所述外观:32. The electronic device of claim 27, wherein the processing unit is further configured to, after detecting a change in content from the first content to the second content and before changing the appearance of the control according to the second set of control appearance values, change the appearance of the control according to the following: 所述第二内容;和The second content; and 所述第一组控件外观值。The appearance values of the first group of controls. 33.根据权利要求20至26中任一项所述的电子设备,其中:33. The electronic device according to any one of claims 20 to 26, wherein: 所述第一组内容显示值包括与所述显示单元的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display unit; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件不透明度值;并且The first set of control appearance values includes the control opacity value selected based on the content saturation value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;以及Apply a blur operation to the first content to generate first blurred content; and 在所述第一模糊内容上方覆盖半透明层,其中:A semi-transparent layer is overlaid on top of the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent layer; and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. 34.一种电子设备,包括:34. An electronic device, comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述处理单元被进一步配置为在启用对所述显示单元的所述相应区域中的所述控件的显示时:The processing unit is further configured to, when enabling the display of the control in the corresponding area of the display unit: 检测到与所述显示单元的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化;A change in the content corresponding to the corresponding area of the display unit from the first content to a second content different from the first content is detected; 确定所述第二内容的所述一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值;Determine a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值,其中所述第二组控件外观值与所述第一组控件外观值不同;以及A second set of control appearance values is determined based on the second set of content display values to identify one or more control appearance parameters, wherein the second set of control appearance values differs from the first set of control appearance values; and 响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观:In response to detecting the change in the content, the appearance of the control is changed according to the following: 所述第二内容;和The second content; and 所述第二组控件外观值,The second set of control appearance values, 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 根据所述第二组控件外观值来改变所述控件的所述外观包括在所述控件的所述半透明部分中显示所述第二内容的与所述控件的所述半透明部分对应的一部分的表示,其中所述第二内容的所述表示根据所述第二组控件外观值来变换。Changing the appearance of a control according to the second set of control appearance values includes displaying a representation of the second content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the second content changes according to the second set of control appearance values. 35.一种电子设备,包括:35. An electronic device comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;The control described includes a semi-transparent portion; 内容的相应部分对应于所述控件的所述半透明部分的位置;并且The corresponding portion of the content corresponds to the position of the semi-transparent portion of the control; and 根据相应的一组控件调节值启用对所述控件的显示包括启用在所述控件的所述半透明部分中对内容的所述相应部分的表示的显示,其中内容的所述相应部分的所述表示根据所述相应的一组控件外观值来变换。Enabling the display of the control according to a corresponding set of control adjustment values includes enabling the display of a representation of the corresponding portion of the content in the semi-transparent portion of the control, wherein the representation of the corresponding portion of the content changes according to the corresponding set of control appearance values. 36.一种电子设备,包括:36. An electronic device comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示单元的所述相应区域对应的所述第一内容的内容颜色值;The first set of content display values includes the content color value of the first content corresponding to the corresponding area of the display unit; 所述第一组控件外观值包括基于所述第一内容的所述内容颜色值所选择的控件颜色值;并且The first set of control appearance values includes control color values selected based on the content color values of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;Apply a blur operation to the first content to generate a first blurred content; 以及as well as 在所述第一模糊内容上方覆盖半透明彩色层,其中:A semi-transparent colored layer is overlaid on top of the first blurred content, wherein: 所述半透明彩色层具有由所述控件颜色值所指定的颜色;The semi-transparent color layer has a color specified by the color value of the control; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述颜色。The appearance of the first blurred content through the semi-transparent color layer depends on the color of the semi-transparent color layer. 37.一种电子设备,包括:37. An electronic device comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示单元的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display unit; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件饱和度值;并且The first set of control appearance values includes control saturation values selected based on the content saturation value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;Apply a blur operation to the first content to generate a first blurred content; 以及as well as 在所述第一模糊内容上方覆盖半透明彩色层,其中:A semi-transparent colored layer is overlaid on top of the first blurred content, wherein: 所述半透明彩色层具有由所述控件饱和度值所指定的饱和度;The semi-transparent color layer has a saturation level specified by the control saturation value; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述饱和度。The appearance of the first blurred content through the semi-transparent color layer depends on the saturation of the semi-transparent color layer. 38.一种电子设备,包括:38. An electronic device comprising: 被配置为显示用户界面的显示单元;和Display units configured to display user interfaces; and 耦接到所述显示单元的处理单元,所述处理单元被配置为:A processing unit coupled to the display unit, the processing unit being configured to: 确定与所述显示单元的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值;Determine a first set of content display values for one or more content display attributes of the first content corresponding to the corresponding area of the display unit; 基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值;以及A first set of control appearance values is used to determine one or more control appearance parameters based on the first set of content display values; and 启用对所述显示单元的所述相应区域中的控件的显示,其中所述控件的外观基于以下各项来确定:Enable the display of controls in the corresponding area of the display unit, wherein the appearance of the controls is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示单元的所述相应区域对应的所述第一内容的内容亮度值;The first set of content display values includes the content brightness value of the first content corresponding to the corresponding area of the display unit; 所述第一组控件外观值包括基于所述第一内容的所述内容亮度值所选择的控件不透明度值;并且The first set of control appearance values includes a control opacity value selected based on the content brightness value of the first content; and 显示所述控件包括:The control is displayed as follows: 向所述第一内容应用模糊操作以生成第一模糊内容;Apply a blur operation to the first content to generate a first blurred content; 以及as well as 在所述第一模糊内容上方覆盖半透明层,其中:A semi-transparent layer is overlaid on top of the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;The first blurred content can be seen through the semi-transparent layer; 并且and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. 39.一种用于调整控件的外观的设备,包括:39. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 用于显示所述控件的所述装置包括用于在所述控件的所述半透明部分中显示所述第一内容的与所述控件的所述半透明部分对应的一部分的表示的装置,其中所述第一内容的所述表示根据所述第一组控件外观值来变换。The means for displaying the control includes means for displaying a representation of a portion of the first content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the first content is varied according to the first set of control appearance values. 40.根据权利要求39所述的设备,其中所述相应区域中的内容的相应内容显示值对应于所述相应区域的相应视觉属性的统计测量。40. The device of claim 39, wherein the corresponding content display value of the content in the corresponding region corresponds to a statistical measurement of the corresponding visual attribute of the corresponding region. 41.根据权利要求39所述的设备,其中所述内容显示属性包括以下各项中的一者或多者:颜色、色调、饱和度、亮度和对比度。41. The device of claim 39, wherein the content display attributes include one or more of the following: color, hue, saturation, brightness, and contrast. 42.根据权利要求39所述的设备,其中相应控件外观值的变化对应于相应变换的量值的变化,所述相应变换被应用于所述控件下方的内容以生成所述控件的外观。42. The device of claim 39, wherein a change in the appearance value of a corresponding control corresponds to a change in the magnitude of a corresponding transformation, the corresponding transformation being applied to content below the control to generate the appearance of the control. 43.根据权利要求39所述的设备,其中所述控件外观参数包括以下各项中的一者或多者:模糊半径、饱和度调节、白色叠层的不透明度、黑色叠层的不透明度、所述控件的一个或多个可选部分的不透明度、和所述控件中的文本的颜色。43. The device of claim 39, wherein the appearance parameters of the control include one or more of the following: blur radius, saturation adjustment, opacity of white overlay, opacity of black overlay, opacity of one or more optional portions of the control, and color of text in the control. 44.根据权利要求39所述的设备,其中用于确定所述第一组控件外观值的所述装置包括:44. The device of claim 39, wherein the means for determining the appearance values of the first set of controls comprises: 用于存储与相应的预定义组的控件外观值对应的多个相应的预定义组的内容显示值的装置;A device for storing the content display values of multiple corresponding predefined groups that correspond to the control appearance values of corresponding predefined groups; 用于将接近所述第一组内容显示值的一个或多个预定义组的内容显示值识别为邻近组的内容显示值的装置;以及A means for identifying content display values of one or more predefined groups that are close to the first group of content display values as content display values of neighboring groups; and 用于基于与所述一个或多个邻近组的内容显示值对应的一个或多个预定义组的控件外观值来确定所述第一组控件外观值的装置。A means for determining the appearance value of the first group of controls based on the appearance value of one or more predefined groups corresponding to the content display value of the one or more neighboring groups. 45.根据权利要求39所述的设备,其中用于确定所述第一组内容显示值的所述装置包括用于将所述第一组内容显示值用作算法的输入的装置,所述算法生成控件外观值作为输出。45. The device of claim 39, wherein the means for determining the first set of content display values includes means for using the first set of content display values as input to an algorithm, the algorithm generating control appearance values as output. 46.根据权利要求39至45中任一项所述的设备,包括当在所述显示器的所述相应区域中显示所述控件时:46. The device according to any one of claims 39 to 45, further comprising: when the control is displayed in the corresponding area of the display: 用于检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化的装置;A means for detecting a change from the first content to a second content different from the first content in the corresponding area of the display; 用于确定所述第二内容的一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值的装置;A means for determining a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 用于基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值的装置,其中所述第二组控件外观值与所述第一组控件外观值不同;以及Means for determining a second set of control appearance values for one or more control appearance parameters based on a second set of content display values, wherein the second set of control appearance values differs from the first set of control appearance values; and 用于响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观的装置:A means for changing the appearance of the control according to the following in response to detecting the change in the content: 所述第二内容;和The second content; and 所述第二组控件外观值。The appearance values of the second group of controls. 47.根据权利要求46所述的设备,其中用于改变所述控件的所述外观的所述装置包括用于改变所述控件中的文本的颜色的装置。47. The device of claim 46, wherein the means for changing the appearance of the control includes means for changing the color of text in the control. 48.根据权利要求46所述的设备,其中:48. The device according to claim 46, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是所述第一组控件外观参数的值。The appearance values of the second group of controls are the same as the appearance parameters of the first group of controls. 49.根据权利要求46所述的设备,其中:49. The device according to claim 46, wherein: 所述第一组控件外观值是第一组控件外观参数的值;并且The appearance values of the first group of controls are the values of the appearance parameters of the first group of controls; and 所述第二组控件外观值是与所述第一组控件外观参数不同的第二组控件外观参数的值。The second set of control appearance values are the values of the second set of control appearance parameters that are different from those of the first set of control appearance parameters. 50.根据权利要求49所述的设备,包括在检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件显示值来改变所述控件的所述外观之前:50. The device of claim 49, further comprising, after detecting a change from the first content to the second content of content corresponding to the corresponding area of the display, and before changing the appearance of the control according to the second set of control display values: 用于基于所述第二组内容显示值来确定所述第一组控件外观参数的与所述第一组控件外观值不同的相应的一组控件外观值的装置,其中所述相应的一组控件外观值与所述第一组控件外观值和所述第二组控件外观值不同;以及Means for determining a corresponding set of control appearance values that differ from the first set of control appearance values based on the second set of content display values, wherein the corresponding set of control appearance values differs from both the first set of control appearance values and the second set of control appearance values; and 用于根据以下各项来改变所述控件的所述外观的装置:A means for changing the appearance of the control according to the following: 所述第二内容;和The second content; and 所述相应的一组控件外观值。The corresponding set of control appearance values. 51.根据权利要求46所述的设备,包括在检测到内容的从所述第一内容到所述第二内容的变化之后并且在根据所述第二组控件外观值来改变所述控件的所述外观之前,用于根据以下各项来改变所述控件的所述外观的装置:51. The device of claim 46, further comprising means for changing the appearance of the control according to the following after detecting a change in content from the first content to the second content and before changing the appearance of the control according to the second set of control appearance values: 所述第二内容;和The second content; and 所述第一组控件外观值。The appearance values of the first group of controls. 52.根据权利要求39至45中任一项所述的设备,其中:52. The device according to any one of claims 39 to 45, wherein: 所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件不透明度值;并且The first set of control appearance values includes the control opacity value selected based on the content saturation value of the first content; and 用于显示所述控件的所述装置包括:The device for displaying the control includes: 用于向所述第一内容应用模糊操作以生成第一模糊内容的装置;以及A means for applying a blur operation to the first content to generate first blurred content; and 用于在所述第一模糊内容上方覆盖半透明层的装置,其中:A means for overlaying a semi-transparent layer over the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent layer; and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer. 53.一种用于调整控件的外观的设备,包括:53. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 所述设备包括当在所述显示器的所述相应区域中显示所述控件时:The device includes the following features when the control is displayed in the corresponding area of the display: 用于检测到与所述显示器的所述相应区域对应的内容的从所述第一内容到与所述第一内容不同的第二内容的变化的装置;A means for detecting a change from the first content to a second content different from the first content in the corresponding area of the display; 用于确定所述第二内容的一个或多个内容显示属性的与所述第一组内容显示值不同的第二组内容显示值的装置;A means for determining a second set of content display values that are different from the first set of content display values for one or more content display attributes of the second content; 用于基于所述第二组内容显示值来确定一个或多个控件外观参数的第二组控件外观值的装置,其中所述第二组控件外观值与所述第一组控件外观值不同;以及Means for determining a second set of control appearance values for one or more control appearance parameters based on a second set of content display values, wherein the second set of control appearance values differs from the first set of control appearance values; and 用于响应于检测到所述内容的所述变化,根据以下各项来改变所述控件的所述外观的装置:A means for changing the appearance of the control according to the following in response to detecting the change in the content: 所述第二内容;和The second content; and 所述第二组控件外观值,The second set of control appearance values, 其中所述控件包括半透明部分;并且The control described includes a semi-transparent portion; and 用于根据所述第二组控件外观值来改变所述控件的所述外观的所述装置包括用于在所述控件的所述半透明部分中显示所述第二内容的与所述控件的所述半透明部分对应的一部分的表示的装置,其中所述第二内容的所述表示根据所述第二组控件外观值来变换。The means for changing the appearance of the control according to the second set of control appearance values includes means for displaying a representation of the second content corresponding to the semi-transparent portion of the control in the semi-transparent portion of the control, wherein the representation of the second content changes according to the second set of control appearance values. 54.一种用于调整控件的外观的设备,包括:54. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述控件包括半透明部分;The control described includes a semi-transparent portion; 内容的相应部分对应于所述控件的所述半透明部分的位置;并且The corresponding portion of the content corresponds to the position of the semi-transparent portion of the control; and 用于根据相应的一组控件调节值来显示所述控件的所述装置包括用于在所述控件的所述半透明部分中显示内容的所述相应部分的表示的装置,其中内容的所述相应部分的所述表示根据所述相应的一组控件外观值来变换。The means for displaying the control according to a corresponding set of control adjustment values includes means for displaying a representation of a corresponding portion of content in the semi-transparent portion of the control, wherein the representation of the corresponding portion of the content changes according to the corresponding set of control appearance values. 55.一种用于调整控件的外观的设备,包括:55. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容颜色值;The first set of content display values includes the content color value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容颜色值所选择的控件颜色值;并且The first set of control appearance values includes control color values selected based on the content color values of the first content; and 用于显示所述控件的所述装置包括:The device for displaying the control includes: 用于向所述第一内容应用模糊操作以生成第一模糊内容的装置;以及A means for applying a blur operation to the first content to generate first blurred content; and 用于在所述第一模糊内容上方覆盖半透明彩色层的装置,其中:A means for overlaying a semi-transparent colored layer over the first blurred content, wherein: 所述半透明彩色层具有由所述控件颜色值所指定的颜色;The semi-transparent color layer has a color specified by the color value of the control; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述颜色。The appearance of the first blurred content through the semi-transparent color layer depends on the color of the semi-transparent color layer. 56.一种用于调整控件的外观的设备,包括:56. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容饱和度值;The first set of content display values includes the content saturation value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容饱和度值所选择的控件饱和度值;并且The first set of control appearance values includes control saturation values selected based on the content saturation value of the first content; and 用于显示所述控件的所述装置包括:The device for displaying the control includes: 用于向所述第一内容应用模糊操作以生成第一模糊内容的装置;以及A means for applying a blur operation to the first content to generate first blurred content; and 用于在所述第一模糊内容上方覆盖半透明彩色层的装置,其中:A means for overlaying a semi-transparent colored layer over the first blurred content, wherein: 所述半透明彩色层具有由所述控件饱和度值所指定的饱和度;The semi-transparent color layer has a saturation level specified by the control saturation value; 透过所述半透明彩色层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent color layer; and 所述第一模糊内容的透过所述半透明彩色层的外观取决于所述半透明彩色层的所述饱和度。The appearance of the first blurred content through the semi-transparent color layer depends on the saturation of the semi-transparent color layer. 57.一种用于调整控件的外观的设备,包括:57. A device for adjusting the appearance of a control, comprising: 用于在电子设备的显示器上显示用户界面的装置;Device for displaying a user interface on a display of an electronic device; 用于确定与所述显示器的相应区域对应的第一内容的一个或多个内容显示属性的第一组内容显示值的装置;A means for determining a first set of content display values for one or more content display attributes of first content corresponding to a corresponding area of the display; 用于基于所述第一组内容显示值来确定一个或多个控件外观参数的第一组控件外观值的装置;以及A means for determining a first set of control appearance values for one or more control appearance parameters based on the first set of content display values; and 用于在所述显示器的所述相应区域中显示控件的装置,其中所述控件的外观基于以下各项来确定:A means for displaying a control in the corresponding area of the display, wherein the appearance of the control is determined based on the following: 所述第一内容;和The first content; and 所述第一组控件外观值,The first group of control appearance values, 其中所述第一组内容显示值包括与所述显示器的所述相应区域对应的所述第一内容的内容亮度值;The first set of content display values includes the content brightness value of the first content corresponding to the corresponding area of the display; 所述第一组控件外观值包括基于所述第一内容的所述内容亮度值所选择的控件不透明度值;并且The first set of control appearance values includes a control opacity value selected based on the content brightness value of the first content; and 用于显示所述控件的所述装置包括:The device for displaying the control includes: 用于向所述第一内容应用模糊操作以生成第一模糊内容的装置;以及A means for applying a blur operation to the first content to generate first blurred content; and 用于在所述第一模糊内容上方覆盖半透明层的装置,其中:A means for overlaying a semi-transparent layer over the first blurred content, wherein: 所述半透明层具有由所述控件不透明度值所指定的不透明度;The semi-transparent layer has an opacity specified by the opacity value of the control; 透过所述半透明层能看到所述第一模糊内容;并且The first blurred content can be seen through the semi-transparent layer; and 所述第一模糊内容的透过所述半透明层的外观取决于所述半透明层的所述不透明度。The appearance of the first blurred content through the semi-transparent layer depends on the opacity of the semi-transparent layer.
HK16103076.3A 2013-03-15 2014-02-26 Device, method, and graphical user interface for adjusting the appearance of a control HK1215092B (en)

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
US201361801988P 2013-03-15 2013-03-15
US61/801,988 2013-03-15
US201361832952P 2013-06-09 2013-06-09
US61/832,952 2013-06-09
US14/183,383 US9305374B2 (en) 2013-03-15 2014-02-18 Device, method, and graphical user interface for adjusting the appearance of a control
US14/183,369 2014-02-18
US14/183,383 2014-02-18
US14/183,369 US9355472B2 (en) 2013-03-15 2014-02-18 Device, method, and graphical user interface for adjusting the appearance of a control
PCT/US2014/018728 WO2014149474A1 (en) 2013-03-15 2014-02-26 Device, method, and graphical user interface for adjusting the appearance of a control

Publications (2)

Publication Number Publication Date
HK1215092A1 HK1215092A1 (en) 2016-08-12
HK1215092B true HK1215092B (en) 2020-01-17

Family

ID=

Similar Documents

Publication Publication Date Title
AU2021201419B2 (en) Device, method, and graphical user interface for adjusting the appearance of a control
US11893233B2 (en) Device, method, and graphical user interface for moving user interface objects
US12045440B2 (en) Method, device, and graphical user interface for tabbed and private browsing
US11132120B2 (en) Device, method, and graphical user interface for transitioning between user interfaces
US11023091B2 (en) Device, method, and graphical user interface for improving visibility of affordances
US20150346973A1 (en) Seamlessly enabling larger ui
US10540071B2 (en) Device, method, and graphical user interface for displaying a zoomed-in view of a user interface
HK1215092B (en) Device, method, and graphical user interface for adjusting the appearance of a control