Method and algorithm for content layout across diverse and dynamic displays
AssigneeInternational Business Machines Corporation
InventorsChristian L. Hunt, Charles Le Vay, Ethan K. Merrill, Jake Palmer
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention address deficiencies of the art in respect to content layout in a pervasive device display and provide a method, system and computer program product for the dynamic selection of a content layout for content in a pervasive device display. In one embodiment of the invention, a dynamic content layout method for pervasive devices can include obtaining display characteristics for a host pervasive device, locating a layout mode corresponding to the obtained display characteristics, and arranging panels of a graphical user interface for an application in the host pervasive device according to the located layout mode.
Claims16
A dynamic content layout method for pervasive devices, the method comprising:
- obtaining display characteristics for a display of a host pervasive device;
- locating a layout mode of a plurality of layout modes corresponding to the obtained display characteristics, the layout mode referring to a content layout indicating a number of rows in the display of the host pervasive device each that are to be used to hold one or more panels of a graphical user interface (GUI) for the an application;
- arranging panels of a graphical user interface for the application in the host pervasive device according to the located layout mode;
- and,
- re-arranging the panels of the graphical user interface according to the located layout mode in response to a detecting a change in a dimension of the display of the host pervasive device matching a pre-defined dimensional transition ratio corresponding to the located layout mode, the transition ratio defining a relationship between a fixed width and fixed height of the display for which the change is detected.
A pervasive data processing system comprising:
- an application server;
- a plurality of applications managed for distribution by the application server, each of the applications implementing a layout manager interface;
- a layout specification for each of the applications, each layout specification defining a plurality of layout modes for a graphical user interface for a corresponding one of the applications, the layout mode referring to a content layout indicating a number of rows in a display of a host pervasive device each that are to be used to hold one or more panels of a graphical user interface (GUI) for a corresponding one of the applications, wherein each application is associated with display characteristics;
- and,
- a factory comprising program code enabled to generate the graphical user interface based upon the layout specification corresponding to each said application and to re-generate the graphical user interface based upon the layout specification in response to a detecting a change in a dimension of the display of the host pervasive device matching a predefined dimensional transition ratio specified within the layout specification, the transition ratio defining a relationship between a fixed width and fixed height of the display for which the change is detected.
A computer program product comprising a non-transitory computer usable storage device embodying computer usable program code for dynamic content layout, the computer program product including:
- computer usable program code for obtaining display characteristics for a display in a host pervasive device;
- computer usable program code for locating a layout mode of a plurality of layout modes corresponding to the obtained display characteristics, the layout mode referring to a content layout indicating a number of rows in the display of the host pervasive device each that are to be used to hold one or more panels of a graphical user interface (GUI) for the application;
- computer usable program code for arranging panels of a graphical user interface for an application in the host pervasive device according to the located layout mode;
- and,
- re-arranging the panels of the graphical user interface according to the located layout mode in response to a detecting a change in a dimension of the display of the host pervasive device matching a predefined dimensional transition ratio corresponding to the located layout mode, the transition ratio defining a relationship between a fixed width and fixed height of the display for which the change is detected.
Dependencies are inferred from the claim text.