USER INTERFACE SCALING FOR DEVICES BASED ON DISPLAY SIZE

- Microsoft

Non-limiting examples of the present disclosure describe adaptively scaling a user interface based on detection of a display size associated with a connected processing device. A display size associated with a connected processing device is detected. A display class is determined based on the detected display size. A user interface for an application is launched based on the determined display class. Other examples are also described.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
PRIORITY

This application claims the benefit of U.S. Provisional Application No. 62/076,368, filed on Nov. 6, 2014, which is hereby incorporated by reference in its entirety.

BACKGROUND

Devices such as personal computers (PCs), laptops, slates, and phones offer a wide range of screen sizes. However, there is no established method for scaling a user interface (UI) across a large range of screen sizes, from very large displays down to smaller displays. It is with respect to this general technical area that the present application is directed.

SUMMARY

Non-limiting examples of the present disclosure describe user interface scaling based on a detected display size associated with a connected processing device. A display size associated with a connected processing device is detected. A display class is determined based on the detected display size. A user interface for an application is launched on the connected processing device based on the determined display class.

In other non-limiting examples, a user interface is scaled based on connection of a processing device having a different display size from a first processing device. A user interface for an application is launched at a first scaled model based on determining a display class associated with a first processing device. The display class associated with the first processing device is detected based on a determined display size of the first processing device. Connection of a second processing device is detected. A display class associated with the second processing device is determined upon connection of the second processing device. The display class associated with the second processing device is detected based on a determined display size of the first processing device The user interface is adapted to display, on the second processing device, at a second scaled model designed for the second processing device upon determining that the display class of the second processing device is different from the display class of the first processing device.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Additional aspects, features, and/or advantages of examples will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting and non-exhaustive examples are described with reference to the following figures.

FIG. 1 is a block diagram illustrating an example of a computing device with which aspects of the present disclosure may be practiced.

FIGS. 2A and 2B are simplified block diagrams of a mobile computing device with which aspects of the present disclosure may be practiced.

FIG. 3 is a simplified block diagram of a distributed computing system in which aspects of the present disclosure may be practiced.

FIG. 4 is an exemplary method for launching a user interface with which aspects of the present disclosure may be practiced.

FIG. 5 is an exemplary method for adapting a user interface with which aspects of the present disclosure may be practiced.

FIG. 6 is a diagram illustrating user interface scaling models with which aspects of the present disclosure may be practiced.

FIG. 7 is a diagram illustrating display for exemplary processing devices of different sizes with which aspects of the present disclosure may be practiced.

FIG. 8 is a diagram illustrating user interface examples with which aspects of the present disclosure may be practiced.

FIG. 9 is a diagram illustrating user interface examples with which aspects of the present disclosure may be practiced.

DETAILED DESCRIPTION

Users of processing devices desire applications to be optimized in a form-factor manner. However, there is no established method of scaling a user interface (UI) across a large range of screen sizes with such an approach. Simply attempting to merge a large screen version of an application with a small screen version of an application creates complications. As an example, when large screen versions of applications are executed on devices having smaller display sizes, the UI gets too crowded and touch targets become too small. Additionally, another complication is that UIs are not traditionally scalable across devices having different display sizes. For instance, a user of a processing device may be viewing an application on a device having a smaller display size (e.g., mobile phone) and proceed to connect the device having the small screen display to a device having a larger display size (e.g., PC). Attempted resizing of an application across differing display sizes may drastically affect the display and operation of the UI for an application and/or application control. In other cases where different versions of an application are developed (e.g., mobile version and desktop version), systems are typically unable to recognize that a UI is to be scaled to a different programmed version to account for display size changes. Other instances of building UI packages may incorporate a scaling model for large and small screen devices but are only able to show a single type of UI (e.g., phone version or slate version) once an application is installed. This may limit a user's ability to connect to large display screens and enjoy UI that takes advantage of available display space.

Examples of the present disclosure describe a hybrid approach for scaling UI that accommodates for changes in display size resulting from display size change and/or connection of devices having different screen sizes. In examples, applications are developed that can execute/run on a plurality of devices having different display sizes. Examples of a scalable UI of the present disclosure combine multiple UI scaling models that take into account physical screen size of a processing device, enabling the UI to adjust for available display space to accommodate changes in display sizes. For instance, a created application may run on a smart phone and upon detection of a device having a larger screen, the UI can adapt display for operation on the larger screen device. Examples of the present disclosure comprise evaluation of display class information associated with an application UI at runtime of the application to identify a class of display (e.g., large screen/tablet/slate/phablet/phone, etc.). Display class information may be used to determine whether to display a UI optimized for larger screen devices, smaller screen devices or something in-between.

A number of technical advantages are achieved based on the present disclosure including but not limited to: improved scalability of UI for applications, consistent UI displayed across varying display sizes, visually appealing presentation of application command control, enhanced processing capability across devices of varying display sizes including improved efficiency and usability for application command control, improved efficiency in navigation and access to control content, and improved user interaction with applications/application command controls, among other examples.

FIGS. 1-3 and the associated descriptions provide a discussion of a variety of operating environments in which examples of the invention may be practiced. However, the devices and systems illustrated and discussed with respect to FIGS. 1-3 are for purposes of example and illustration and are not limiting of a vast number of computing device configurations that may be utilized for practicing examples of the invention, described herein.

FIG. 1 is a block diagram illustrating physical components of a computing device 102, for example a mobile processing device, with which examples of the present disclosure may be practiced. In a basic configuration, the computing device 102 may include at least one processing unit 104 and a system memory 106. Depending on the configuration and type of computing device, the system memory 106 may comprise, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. The system memory 106 may include an operating system 107 and one or more program modules 108 suitable for running software programs/modules 120 such as IO manager 124, other utility 126 and application 128. As examples, system memory 106 may store instructions for execution. Other examples of system memory 106 may store data associated with applications. The operating system 107, for example, may be suitable for controlling the operation of the computing device 102. Furthermore, examples of the invention may be practiced in conjunction with a graphics library, other operating systems, or any other application program and is not limited to any particular application or system. This basic configuration is illustrated in FIG. 1 by those components within a dashed line 122. The computing device 102 may have additional features or functionality. For example, the computing device 102 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 1 by a removable storage device 109 and a non-removable storage device 110.

As stated above, a number of program modules and data files may be stored in the system memory 106. While executing on the processing unit 104, program modules 108 (e.g., Input/Output (I/O) manager 124, other utility 126 and application 128) may perform processes including, but not limited to, one or more of the stages of the operations described throughout this disclosure. Other program modules that may be used in accordance with examples of the present invention may include electronic mail and contacts applications, word processing applications, spreadsheet applications, database applications, slide presentation applications, drawing or computer-aided application programs, photo editing applications, authoring applications, etc.

Furthermore, examples of the invention may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. For example, examples of the invention may be practiced via a system-on-a-chip (SOC) where each or many of the components illustrated in FIG. 1 may be integrated onto a single integrated circuit. Such an SOC device may include one or more processing units, graphics units, communications units, system virtualization units and various application functionality all of which are integrated (or “burned”) onto the chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via application-specific logic integrated with other components of the computing device 502 on the single integrated circuit (chip). Examples of the present disclosure may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, examples of the invention may be practiced within a general purpose computer or in any other circuits or systems.

The computing device 102 may also have one or more input device(s) 112 such as a keyboard, a mouse, a pen, a sound input device, a device for voice input/recognition, a touch input device, etc. The output device(s) 114 such as a display, speakers, a printer, etc. may also be included. The aforementioned devices are examples and others may be used. The computing device 104 may include one or more communication connections 116 allowing communications with other computing devices 118. Examples of suitable communication connections 116 include, but are not limited to, RF transmitter, receiver, and/or transceiver circuitry; universal serial bus (USB), parallel, and/or serial ports.

The term computer readable media as used herein may include computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules. The system memory 106, the removable storage device 109, and the non-removable storage device 110 are all computer storage media examples (i.e., memory storage.) Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 102. Any such computer storage media may be part of the computing device 102. Computer storage media does not include a carrier wave or other propagated or modulated data signal.

Communication media may be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.

FIGS. 2A and 2B illustrate a mobile computing device 200, for example, a mobile telephone, a smart phone, a personal data assistant, a tablet personal computer, a phablet, a slate, a laptop computer, and the like, with which examples of the invention may be practiced. For example, mobile computing device 200 may be implemented to execute applications and/or application command control. Application command control relates to presentation and control of commands for use with an application through a user interface (UI) or graphical user interface (GUI). In one example, application command controls may be programmed specifically to work with a single application. In other examples, application command controls may be programmed to work across more than one application. With reference to FIG. 2A, one example of a mobile computing device 200 for implementing the examples is illustrated. In a basic configuration, the mobile computing device 200 is a handheld computer having both input elements and output elements. The mobile computing device 200 typically includes a display 205 and one or more input buttons 210 that allow the user to enter information into the mobile computing device 200. The display 205 of the mobile computing device 200 may also function as an input device (e.g., a touch screen display). If included, an optional side input element 215 allows further user input. The side input element 215 may be a rotary switch, a button, or any other type of manual input element. In alternative examples, mobile computing device 200 may incorporate more or less input elements. For example, the display 205 may not be a touch screen in some examples. In yet another alternative example, the mobile computing device 200 is a portable phone system, such as a cellular phone. The mobile computing device 200 may also include an optional keypad 235. Optional keypad 235 may be a physical keypad or a “soft” keypad generated on the touch screen display or any other soft input panel (SIP). In various examples, the output elements include the display 205 for showing a GUI, a visual indicator 220 (e.g., a light emitting diode), and/or an audio transducer 225 (e.g., a speaker). In some examples, the mobile computing device 200 incorporates a vibration transducer for providing the user with tactile feedback. In yet another example, the mobile computing device 200 incorporates input and/or output ports, such as an audio input (e.g., a microphone jack), an audio output (e.g., a headphone jack), and a video output (e.g., a HDMI port) for sending signals to or receiving signals from an external device.

FIG. 2B is a block diagram illustrating the architecture of one example of a mobile computing device. That is, the mobile computing device 200 can incorporate a system (i.e., an architecture) 202 to implement some examples. In one examples, the system 202 is implemented as a “smart phone” capable of running one or more applications (e.g., browser, e-mail, calendaring, contact managers, messaging clients, games, and media clients/players). In some examples, the system 202 is integrated as a computing device, such as an integrated personal digital assistant (PDA), tablet and wireless phone.

One or more application programs 266 may be loaded into the memory 262 and run on or in association with the operating system 264. Examples of the application programs include phone dialer programs, e-mail programs, personal information management (PIM) programs, word processing programs, spreadsheet programs, Internet browser programs, messaging programs, and so forth. The system 202 also includes a non-volatile storage area 268 within the memory 262. The non-volatile storage area 268 may be used to store persistent information that should not be lost if the system 202 is powered down. The application programs 266 may use and store information in the non-volatile storage area 268, such as e-mail or other messages used by an e-mail application, and the like. A synchronization application (not shown) also resides on the system 202 and is programmed to interact with a corresponding synchronization application resident on a host computer to keep the information stored in the non-volatile storage area 268 synchronized with corresponding information stored at the host computer. As should be appreciated, other applications may be loaded into the memory 262 and run on the mobile computing device 200 described herein.

The system 202 has a power supply 270, which may be implemented as one or more batteries. The power supply 270 might further include an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.

The system 202 may include peripheral device port 230 that performs the function of facilitating connectivity between system 202 and one or more peripheral devices. Transmissions to and from the peripheral device port 230 are conducted under control of the operating system (OS) 264. In other words, communications received by the peripheral device port 230 may be disseminated to the application programs 266 via the operating system 264, and vice versa.

The system 202 may also include a radio interface layer 272 that performs the function of transmitting and receiving radio frequency communications. The radio interface layer 272 facilitates wireless connectivity between the system 202 and the “outside world,” via a communications carrier or service provider. Transmissions to and from the radio interface layer 272 are conducted under control of the operating system 264. In other words, communications received by the radio interface layer 272 may be disseminated to the application programs 266 via the operating system 264, and vice versa.

The visual indicator 220 may be used to provide visual notifications, and/or an audio interface 274 may be used for producing audible notifications via the audio transducer 225. In the illustrated example, the visual indicator 220 is a light emitting diode (LED) and the audio transducer 225 is a speaker. These devices may be directly coupled to the power supply 270 so that when activated, they remain on for a duration dictated by the notification mechanism even though the processor 260 and other components might shut down for conserving battery power. The LED may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 274 is used to provide audible signals to and receive audible signals from the user. For example, in addition to being coupled to the audio transducer 225, the audio interface 274 may also be coupled to a microphone to receive audible input, such as to facilitate a telephone conversation. In accordance with examples of the present invention, the microphone may also serve as an audio sensor to facilitate control of notifications, as will be described below. The system 202 may further include a video interface 276 that enables an operation of an on-board camera 230 to record still images, video stream, and the like.

A mobile computing device 200 implementing the system 202 may have additional features or functionality. For example, the mobile computing device 200 may also include additional data storage devices (removable and/or non-removable) such as, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 2B by the non-volatile storage area 268.

Data/information generated or captured by the mobile computing device 200 and stored via the system 202 may be stored locally on the mobile computing device 200, as described above, or the data may be stored on any number of storage media that may be accessed by the device via the radio 272 or via a wired connection between the mobile computing device 200 and a separate computing device associated with the mobile computing device 200, for example, a server computer in a distributed computing network, such as the Internet. As should be appreciated such data/information may be accessed via the mobile computing device 200 via the radio 272 or via a distributed computing network. Similarly, such data/information may be readily transferred between computing devices for storage and use according to well-known data/information transfer and storage means, including electronic mail and collaborative data/information sharing systems.

FIG. 3 illustrates one example of the architecture of a system for providing an application that reliably accesses target data on a storage system and handles communication failures to one or more client devices, as described above. Target data accessed, interacted with, or edited in association with programming modules 108, applications 120, and storage/memory may be stored in different communication channels or other storage types. For example, various documents may be stored using a directory service 322, a web portal 324, a mailbox service 326, an instant messaging store 328, or a social networking site 330, application 128, IO manager 124, other utility 126, and storage systems may use any of these types of systems or the like for enabling data utilization, as described herein. A server 320 may provide storage system for use by a client operating on general computing device 102 and mobile device(s) 200 through network 315. By way of example, network 315 may comprise the Internet or any other type of local or wide area network, and client nodes may be implemented as a computing device 102 embodied in a personal computer, a tablet computing device, and/or by a mobile computing device 200 (e.g., mobile processing device). Any of these examples of the client computing device 102 or 200 may obtain content from the store 316.

FIG. 4 is an exemplary method 400 for launching a user interface with which aspects of the present disclosure may be practiced. As an example, method 400 may be executed by an exemplary system such as shown in FIGS. 1-3. In examples, method 400 may be executed on a device comprising at least one processor configured to store and execute operations, programs or instructions. However, method 400 is not limited to such examples. In at least one example, method 400 may be executed (e.g., computer-implemented operations) by one or more components of a distributed network, for instance, web service/distributed network service (e.g. cloud service).

In examples, method 400 may be performed in associated with an application. An application is a software component that executes on the processing device, interfacing with hardware and software components of the device. An application comprises one or more programs designed to carry out operations and is associated with a UI. In examples, an application may comprise a UI that is usable to control an application. In examples, a UI may comprise an application command control. An application command control is a graphical control element that interfaces with an application that executes on the processing device (e.g., memory, processor and functions of mobile device) and software components such as an operating system (OS), applications executing on a mobile device, programming modules, input methods (e.g., soft input panel (SIP)) and command container such as a pane or contextual menu, among other examples. As an example, an application command control is used to control execution of actions/commands for the application. An SIP is an on-screen input method for devices (e.g., text input or voice input), and a pane is a software component that assists function of other software running on the device such as the OS and other software applications, among other examples. In some examples, an application command control may be integrated within an application. For instance, an application command control may be able to be launched, closed, expanded or minimized when an application is launched, closed, expanded or minimized. In other examples, an application command control is executable as its own application that interfaces with another application. For instance, an application command control may be able to be launched, closed or minimized separately from the launching of an application that is controlled by the application command control.

Method 400 begins at operation 402 where a display size associated with a processing device is detected. A processing device may be any device comprising a display screen, at least one memory that is configured to store operations, programs, instructions, and at least one processor that is configured to execute the operations, programs or instructions such as an application/application command control. Display size is a measurement of viewable area for display on a processing device. As an example, display size is a measurement associated with active viewable image size of a processing device. In other examples, display size may be associated with a nominal size value. In one example, detecting of the display size comprises detecting a measurement value for screen diagonal of a display of a processing device. In another example, detecting of the display size comprises detecting a display width (e.g. width of the display for the processing device or operating size of a display window for an application executing on the processing device). Examples of a display size may comprise physical image size or logical image size, among other examples. Operation 402 may comprise a program instruction or module that can identify and evaluate system specifications for a processing device such as a mobile device. In one example, the programming instruction implemented in operation 402 identifies a type or version of the processing device and executes a fetch of data to identify system information of the processing device. In another example, a programming instruction or module may reference manufacturer specification information to determine a value associated with display size of a processing device.

Factors that may be evaluated to determine a display size include but are not limited to: dot density (e.g., dots per inch (DPI), pixel density (e.g., pixels per inch (PPI), physical size of a screen/display, screen diagonal of a display of a processing device, use case distance of a display from a user, display length, and display width, among other examples. As an example, display size may be a measurement value associated with effective resolution of a display for a processing device. Measurement of effective resolution enables is an example of a value used to evaluate display form factors with a common metric, and enables UI scaling to be classified into different display classes. However, one skilled in the art will recognize that any common metric relative to display size can be applied in exemplary method 400. In alternative examples, other factors other than display size may impact UI adaptation. Examples include but are not limited to: processing device orientation, processing device operational mode (e.g., keyboard mode, touch mode, handwriting/ink mode, etc.), window size, screen aspect ratio, and screen effective resolution, among other examples.

Flow proceeds to operation 404 where a display class is determined based on the detected display size of a processing device. Display class determination provides an abstraction for determining the size of a display. A display class can be defined for processing devices having display sizes that fall within the range associated with the display class. Code can query display class information to determine a UI instance to instantiate depending on the display size of the processing device that an application is running on. That is, display classes act as transition points for a UI experiences. Display class is a value that is determined based a maximum display size. The value for display class may be in any form including numeric values and elements of speech, as examples. For instance, display classes may be set to correspond with different types of processing devices (e.g., laptops, PCs, tablets, phones, etc.) where an exemplary display class may be “<=Phone” or “<=Tablet”. In another example, display classes may be set based on numeric values. For example, a display class may be identified using numeric values (e.g., 0 to 3 inches). In any examples, display classes are used to classify processing devices in accordance with display size. For example, a display class may be set for processing devices having a display size falling in a range from 0 to 3 inches where another display class may be set for processing devices having a display size in a range from 3.1 to 5 inches, and so on. A range for values of display classes may fall between 0 and infinity. In one example, operations for display class determination are written in style of successive less than or equal to (<=) checks, with an else for everything greater than a defined display class. In this example, additional display class designations may be easily added without having to change operational code behavior. However, one skilled in the art will recognize that display class designations including minimum and/or maximum values for ranges of display classes can be defined in any possible way that can be useful in defining user interface interaction. In examples, a minimum value of a display class may be a value that is equal to or greater than a maximum value of a display class which is directly smaller than the display class being defined. For instance, as in an example above, a first display class may correspond to a range for devices having displays between 0 and 3 inches and a minimum value of a second display class may take into account a maximum value of the first display class (e.g., 3 inches) and set the minimum value of the second display class at 3.1 inches, for instance. Display classes may be changes over time based on programmer prerogative, analysis/testing/use cases, etc.

Operation 404 may comprise one or more programming operations for determining an active display class, and react to any changes in display class such as when a processing device of a different display size is connected, an application window changes to a different display or an effective resolution is changed on a processing device, among other examples. In one example, an application programming interface (API) utilizing a shared library of data (e.g., dynamic link library (DLL) is used to determine a display class. As one example, exemplary operational code associated with a display class determination (e.g., display class event) is not limited to but may be similar to:

  • /** Interface to register against for display class change events */
  • struct IDisplayClasslnformation : public Mso::IRefCounted
  • {
  • public:
  • /** Returns the event store for display class change events. This event store will be invoked—Whenever the running application changes to a different display with a new display—Whenever the active display changes its DPI */
  • virtual DisplayClassChangedEvent& DisplayClassChanged( )=0;
  • virtual DisplayClass GetCurrentDisplayClass( )const=0;
  • };
  • /** Get a DisplayClasslnformation reference on the active UI thread */
  • MSOCPPAPI_(Mso::TCntPtr<Mso::DisplayClassInformation:JDisplayClassInformation>)
  • MakeDisplayClassInformation( );.

Once a display class is determined (operation 404), flow proceeds to operation 406 where a UI is launched based on the determined display class. A scaled model of a UI may be associated with a display class and operation 406 launches the UI scaled model that is associated with the determined display class. For example, if a determined display class is a class associated with small screen devices (e.g., display sizes less than 4 inches) then an application and application command control is launched that is adapted for small screen devices.

Flow proceeds to operation 408 where a UI scaled model that is launched (operation 406) is displayed on the processing device. In some examples, multiple processing devices may be connected, for example, where a mobile phone is connected to a personal computer or a laptop is connected to a docking station with large screen display(s), among other examples. In some examples, connecting of multiple devices may result in displaying of a scaled UI model on one processing device (e.g., where a laptop connected to a docking station with a larger screen displays a scaled UI adapted for the larger screen). In alternative examples, a user interface may be displayed on a first processing device (e.g., mobile phone) at a first scaled model designed for the determined display class of the first processing device and the user interface may be displayed on a second processing device (e.g., personal computer) at a second scaled model designed for the determined display class of the second processing device.

FIG. 5 is an exemplary method 500 for adapting a user interface of an application with which aspects of the present disclosure may be practiced. As an example, method 500 may be executed by an exemplary system such as shown in FIGS. 1-3. In examples, method 500 may be executed on a device comprising at least one processor configured to store and execute operations, programs or instructions. However, method 500 is not limited to such examples. In at least one example, method 500 may be executed (e.g., computer-implemented operations) by one or more components of a distributed network, for instance, web service/distributed network service (e.g. cloud service). In examples, method 500 may be performed in associated with an application and/or application command control.

In examples described herein, UI can be adapted to accommodate both large screen devices and small screen devices. Method 500 begins at decision operation 502 where it is determined whether a display size change is detected or connection of another processing device is detected. Decision operation 502 may comprise one or more programming operations for determining an active display class, and react to any changes in display class. As an example, determination of a display size change may be detection of a changed display width of the first processing device such as when a change in resolution occurs. As an example, connection of another processing device may be connecting a mobile phone to a large screen processing device. However, one skilled in the art will recognize that the present disclosure is not limited to such examples. In examples, operations (e.g., API) may be executed on a processing device (e.g., in the background or while an application or user interface component is running) to detect potential changes in display class. If no display size change or connection of another device is detected, flow branches NO and processing of method 500 ends.

If a display size change or connection of another device is detected, flow branches YES and proceeds to operation 504 where a display class change event is initiated. Display class change events may be associated with exemplary operational code described above with respect to method 400. In additional examples, exemplary operation code used to evaluate display class changes for display class change events is not limited to but may be similar to:

  • /** Callbacks to react to display class change events */
  • typedef std::function<void (const DisplayClass& oldDisplay, const DisplayClass&
  • newDisplay)>DisplayClassChangedCallback;
  • /** Events for display class changes */
  • typedef Mso::Async::EventSource<DisplayClassChangedCallback,
  • Mso::Async::VoidCallbackStoreWithCritSecTraits>DisplayClassChangedEvent;
  • /** Office-wide display classes */
  • enum class DisplayClass : uint32_t
  • {
  • SmallPhone=1,//reference device<4.3″, effective resolution reference Nokia 520 (x, y)
  • Phablet, //reference device <8″, effective resolution reference Nokia 1520 (x, y)
  • LargeDisplay, //reference device <27″, effective resolution reference monitor (x, y)
  • Infinite //Represents all devices larger than the reference devices listed
  • };.

At operation 506, a display class is determined based on a changed display size or a detected display size of another connected processing device. Detection of a display size and determination of a display class is described in detail in the description of FIG. 4. Flow proceeds to decision operation 508 where it is determined whether a display class is to be changed. A display class is to be changed upon determining that a display size falls in a range that is different from the range associated with the current display class. Processing registers a display class change event and compares a new display size against a previous display class. For instance, in the case where a changed display width is detected for a connected processing device, a detected display class associated with a previous display size is compared with the current display size to determine whether the display class has changed. In an example where additional processing devices are connected, a detected display class associated with a first processing device is compared with detected current display size of a second processing device to determine whether the display class is to be changed. If evaluation determines that the display class is to remain the same, flow branches NO and processing of method 500 ends.

If the display class is to be changed, flow branches YES and proceeds to operation 510 where the UI is adapted in accordance with the determined display class. For example, a user interface is adapted to display a scaled model associated with a changed display class. A UI scaled model (e.g., scaled model of a user interface) may be associated with one or more display classes. For instance, a UI scaled model may be associated with a UI model for small screen devices, where the UI model is applicable to multiple display classes (e.g., processing devices having a display size of less than 4 inches may include more than one display class). Another UI scaled model may be associated with a UI model for large screen devices.

Flow proceeds back to operation 502 where method 500 may start again upon determining that a display size has changed or a new processing device is connected.

FIG. 6 is a diagram illustrating user interface scaling models with which aspects of the present disclosure may be practiced. Examples described herein provide a hybrid approach for scaling UI, combining adaptive scaling models to form a scaled UI model for a display class, effectively enabling a user interface to adjust to available display space. Examples of UI scaling models comprise but are not limited to: consistent UI (602), continuous scaling (604) and pivoting UI based on distinct inflection points (606). A display class may be programmed to include more than one scaling model of 602-606 to effectively develop a scaled model that is appropriate for a display class.

Scaling model 602 is a consistent UI scaling model where one or more components of a UI work the same across all display sizes (e.g., screen sizes). For instance, certain display aspects of a UI may visually appear the same to a user no matter the display class. Some examples of components of a UI that may utilize a consistent UI (602) scaling model comprise but are not limited to, opening screens, loading screens, actions, etc.

Scaling model 604 is a continuous scaling model where one or more components of a UI adapt to available display size. For instance, components of a UI may appear differently depending on whether the display is a small screen display or a larger screen display. Some examples of components of a UI that may utilize a continuous scaling (604) model comprise but are not limited to, context menus, message bars, notification surfaces, etc.

Scaling model 606 is a pivoting UI scaling model where one or more components of a UI radically change once a display size threshold is reached. For instance, components of a UI may be programmed differently depending on whether the display is a small screen display or a larger screen display. Some examples of components of a UI that may utilize a pivoting UI (606) scaling model comprise but are not limited to, file menus, history, application command control, etc. In an example, scaling models can be combined, for instance where a UI scaling model displayed may combine multiple scaling models such as scaling model 604 and scaling model 606. As an example, a transition (e.g., detected change in displays size/display class) between a UI instance of a processing device having a large display and a UI instance of a processing device having a smaller display may be changed in accordance with scaling model 606 (pivoting UI scaling model). While such a change may trigger scaling model 606 to be implemented, at the same time UI instances may also utilize a continuous scaling model (scaling model 604) to display UI elements appropriately to fit a display size of a processing device.

In examples, two or more UI scaling models 602-606 are applied to a display class to enable programmers adaptively develop scaled UI model that exhibits a range of behaviors for each display class. In this way, UI scaling models can be intelligently adapted to function best based on constraints (e.g., display size limitations) presented by some display classes.

FIG. 7 is a diagram illustrating display for exemplary processing devices of different sizes with which aspects of the present disclosure may be practiced. Examples shown in FIG. 7 comprise processing devices having varying sizes and/or varying screen/display sizes, for example processing device 702, processing device 704, processing device 706 and processing device 708.

As shown in FIG. 7, an application command control and an application/canvas are displayed in exemplary processing devices 702-708. An application command control and an application/canvas are examples of components of a UI with which the present disclosure may apply. In examples, the UI is programmed to efficiently scale itself to utilize display space of processing devices of different sizes and/or operating size of display windows. For example, presentation of the application command control and/or application/canvas may vary across the different processing devices 702-708. An application command control and/or an application/canvas may be scaled according to a determined display class associated with a processing device.

An application/canvas is a portion of a display of a processing device that is designated for display of an application executing on the device. The application/canvas region is the application UI that shows effects implemented by actions executed via an application command control. That is, the application/canvas is the content consisting of but not limited to the pages in workspace or editable portions of an application.

An application command control hosts a majority of an application's command set, organized in a hierarchical structure of individual palettes, chunks, and commands. Further, application command control may be programed to dynamically interact with an application and display simultaneously with applications and/or user interface components such as a soft input panel (SIP) or on screen keyboard. In one example, application command control may intelligently adapt based on content of an application (e.g., displayed or selected on an application canvas). An application command control comprises a plurality of palettes (command palettes) programmed for application control. A palette is a collection or associated grouping of actions or commands or chunks of commands that can be implemented by an application command control. In one example, palettes of an application command control comprise top-level palettes and drill-in palettes. Each of the top-level palettes and the drill-in palettes is a collection or grouping of rows comprising one or more selectable commands or command elements. As an example, a top-level palette may comprise a highest level grouping of commands or functionalities and including commands that are more frequently used/more likely to be used by users. A top-level palette may display command listings that can be drilled into and displayed in drill-in palettes. FIG. 8 illustrates an exemplary top-level palette of an application command control. A drill-in palette is a collection or grouping of commands that may be used less frequently/or likely to be used less frequently compared to the commands displayed on a top-level palette. As an example, drill-in palettes host over-flow commands that, due to constraints resulting from a limited amount of display space for an application command control, are not included in a top-level palette. FIG. 9 illustrates an exemplary drill-in palette of an application command control. Using a word processing application as an exemplary application, a top-level palette may comprise high-level commands or functionality for text editing, font editing, paragraph formatting, word finder, spell-check etc. that may be frequently called on by users. As an example, a drill-in palette for a word processing application may comprise sub-elements of such high-level commands of the top-level palette, for example, subscript or superscript commands for a font command/function. In examples, organization of palettes and commands may be editable, for example, where a command or given chunk of a palette can be pulled from one palette and added/displayed in another. For instance, an overflow command of a drill-in palette can be added to a top-level palette.

Organization or grouping of commands in palettes may also be based on command grouping data available to programmers of an application command control. Command grouping data is information relating to the grouping of commands including associations between commands. For example, text editing features such as bolding, underlining, italicization, superscript and subscript may be associated and commonly used. Ideally, the application command control would like to include all of these commonly used functions on the same palette. However, due to limitations on the screen size, certain commands may need to be separated. Command grouping data is information that identifies associations and what commands should or should not be separated from each other. For example, an application command control may determine that the maximum number of rows and commands allows displaying of text formatting commands including a superscript editing command in a top-level palette but would not also allow displaying of a subscript command. Using the command grouping data, it may be identified that from a functionality and/or usability standpoint, it is best not to separate the superscript and subscript editing commands. For instance, a user who makes a subscript text edit may later look to make a superscript edit or visa-versa. Thus, in setting the layout of commands for palettes, programmers of the application command control may display a higher-level command for text editing in a top-level palette and the superscript and subscript editing commands may be included in a drill-in palette (child palette) of that top-level palette (parent palette) so they are not separated from each other.

Examples of common components that make up a top-level palette include but are not limited to: a palette bar and palette title, palette switching feature (including one touch target that launches palette switcher from title of palette bar), command to dismiss palette (e.g., visual representation of ellipses), quick commands (e.g., undo or redo), palette canvas comprising a plurality of commands, chunk commands (e.g., groupings of commands) and chunk dividers (e.g., dividing different groupings of commands), drill-in features to access drill-in palettes (when applicable).

Examples of common components that make up a drill-in palette can include but are not limited to: a palette bar and palette title, command to navigate back to the parent palette, command to dismiss palette (e.g., visual representation of ellipses), quick commands (e.g., undo or redo), palette canvas comprising a plurality of commands, chunk commands (e.g., groupings of commands) and chunk dividers (e.g., dividing different groupings of commands).

In one example, palettes of an application command control are presented in a vertical layout. For example, a top-level palette and a drill-in palette are vertically scrollable and comprise a collection of rows comprising one or more selectable command elements. However, in other examples, setting of the layout of a palette may also comprise presenting commands in a horizontal layout where commands are horizontally scrollable. In some examples, no limit is set on the scrollable height of a palette. Scrolling position may be kept on top-level palettes when switching between top-level palettes however scrolling position may or may not be kept for drill-in palettes. Commands set and displayed may include labels identifying a command and may be configured to take up an entire row of a palette. In other examples, multiple commands may be displayed in one row of a palette. Scaling is applied to setting and displaying commands in palette rows. In some other examples, commands may not have labels, for example, commands that are well known or have images displayed that are well known to users. Separators or spacers (either horizontal or vertical depending on layout of palette) may be displayed to break up different commands or chunks of commands.

In FIG. 8, application command control 802 is an exemplary top-level palette. In FIG. 9, application command control 902 is an exemplary drill-in palette. For example, application command control 902 displays a drill-in palette of the top-level palette 802 shown in FIG. 8, where top-level palette 802 is a parent palette of the drill-in palette 902 (e.g., child palette of the top-level palette). As shown in application command control 802, a row showing a “font formatting” command includes a caret indicative of a drill-in feature. When the drill-in feature is selected, a drill-in palette of application command control 902 is displayed on a display of a processing device. As can be seen in application command control 902, font formatting command features “superscript” and “subscript” are displayed. In this way, application command control and/or an application/canvas may be scaled in accordance with a determined display class associated with a processing device.

Reference has been made throughout this specification to “one example” or “an example,” meaning that a particular described feature, structure, or characteristic is included in at least one example. Thus, usage of such phrases may refer to more than just one example. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more examples.

One skilled in the relevant art may recognize, however, that the examples may be practiced without one or more of the specific details, or with other methods, resources, materials, etc. In other instances, well known structures, resources, or operations have not been shown or described in detail merely to observe obscuring aspects of the examples.

While sample examples and applications have been illustrated and described, it is to be understood that the examples are not limited to the precise configuration and resources described above. Various modifications, changes, and variations apparent to those skilled in the art may be made in the arrangement, operation, and details of the methods and systems disclosed herein without departing from the scope of the claimed examples.

Claims

1. A computer-implemented method comprising:

detecting a display size associated with a display of a first processing device;
determining a display class based on the detected display size; and
launching, on the first processing device, a user interface for an application based on the determined display class.

2. The computer-implemented method according to claim 1, wherein the display class is a range corresponding to display sizes of processing devices, and wherein the determining determines the display class from a plurality of display classes based on the display size of the first processing device being within the range.

3. The computer-implemented method according to claim 1, further comprising detecting a change to the display size of the first processing device or a connection of a second processing device.

4. The computer-implemented method according to claim 3, further comprising initiating a display class change event upon detecting the changed display size of the first processing device, determining a display class associated with the changed display size of the first processing device, and when the display class has changed, adapting the user interface to display a scaled model associated with the changed display size.

5. The computer-implemented method according to claim 3, further comprising initiating a display class change event upon detecting the connection of the second processing device.

6. The computer-implemented method according to claim 5, wherein the initiating of the display class change event further comprises determining a display class of the second processing device based on a detected display size of the second processing device.

7. The computer-implemented method according to claim 6, further comprising adapting the user interface to display, on the second processing device, a scaled model designed for the determined display class of the second processing device when the determined display class of the second processing device is different from the display class associated with the first processing device.

8. The computer-implemented method according to claim 6, further comprising displaying the user interface on the first connected processing device at first scaled model designed for the determined display class of the first processing device, and displaying the user interface on the second processing device at a second scaled model designed for the determined display class of the second processing device.

9. A system comprising:

a memory; and
at least one processor operatively connected with the memory, executing operations comprising: detecting a display size associated with a display of a first processing device; determining a display class based on the detected display size; and launching, on the first processing device, a user interface for an application based on the determined display class.

10. The system according to claim 9, wherein the display class is a range corresponding to display sizes of processing devices, and wherein the determining determines the display class from a plurality of display classes based on the display size of the first processing device falling within the range.

11. The system according to claim 9, wherein the executed operations further comprising detecting a change to the display size of the first processing device or a connection of a second processing device.

12. The computer-implemented method according to claim 11, wherein the executed operations further comprising initiating a display class change event upon detecting the changed display size of the first processing device, determining a display class associated with the changed display size of the first processing device, and when the display class has changed, adapting the user interface to display a scaled model associated with the changed display size.

13. The system according to claim 11, wherein the executed operations further comprising initiating a display class change event upon detecting that the second processing device is connected.

14. The system according to claim 13, wherein the executed operations further comprising determining a display class of the second processing device based on a detected display size of the second processing device.

15. The system according to claim 13, wherein the executed operations further comprising adapting the user interface to display, on the second processing device, a scaled model designed for the determined display class of the second processing device when the determined display class of the second processing device is different from the display class associated with the first processing device.

16. The system according to claim 14, wherein the executed operations further comprising displaying the user interface on the first connected processing device at first scaled model designed for the determined display class of the first processing device, and displaying the user interface on the second processing device at a second scaled model designed for the determined display class of the second processing device.

17. A computer-readable storage device including executable instructions, that when executed on at least one processor, causing the processor to perform a process comprising:

launching a user interface for an application at a first scaled model based on detecting a display class associated with a first processing device, wherein the display class of the first processing device is detected based on a determined display size of the first processing device;
detecting connection of a second processing device;
determining a display class associated with the second processing device, wherein the display class of the second processing device is detected based on a determined display size of the second processing device; and
adapting the user interface to display, on the second processing device, a second scaled model designed for the second processing device upon determining that the display class of the second processing device is different from the display class of the first processing device.

18. The computer-readable storage device according to claim 17, wherein the display class of the first processing device and the display class of the second processing device are determined from a plurality of display classes based on a display size associated with a processing device falling within a range value set for display sizes of processing devices.

19. The computer-readable storage device according to claim 17, wherein a display size is determined by evaluating an effective resolution of a display of a processing device.

20. The computer-readable storage device according to claim 17, wherein a display size is determined by evaluating at least one of a screen diagonal of a display of a processing device and a display width of a display of a processing device.

Patent History
Publication number: 20160132992
Type: Application
Filed: Jun 1, 2015
Publication Date: May 12, 2016
Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC (Redmond, WA)
Inventors: Maya Rodrig (Seattle, WA), Darron Stepanich (Seattle, WA), Patrick Boyd (Seattle, WA), Alexandre Grigorovitch (Woodinville, WA), Scott Walker (Sammamish, WA), Vlad Riscutia (Redmond, WA), Julie Seto (Duvall, WA)
Application Number: 14/726,868
Classifications
International Classification: G06T 3/40 (20060101); G06F 3/048 (20060101);