WO2016112696A1 - 调节页面显示方式的方法及装置 - Google Patents
调节页面显示方式的方法及装置 Download PDFInfo
- Publication number
- WO2016112696A1 WO2016112696A1 PCT/CN2015/088582 CN2015088582W WO2016112696A1 WO 2016112696 A1 WO2016112696 A1 WO 2016112696A1 CN 2015088582 W CN2015088582 W CN 2015088582W WO 2016112696 A1 WO2016112696 A1 WO 2016112696A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- user
- logical density
- logical
- density
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/003—Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G5/005—Adapting incoming signals to the display format of the display terminal
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/37—Details of the operation on graphic patterns
- G09G5/373—Details of the operation on graphic patterns for modifying the size of the graphic pattern
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
Definitions
- the present disclosure relates to the field of Internet technologies, and in particular, to a method and apparatus for adjusting a page display manner.
- the density mechanism of the current Android system has made it impossible to make layout adjustments for third-party applications.
- the mobile phone manufacturer uses different cut patterns for different screen size mobile phones, which can stretch the picture horizontally and vertically at random, while preserving the pixel fineness, which can meet the needs of various resolutions of the Android platform.
- this kind of cut mode only implements page layout adjustment for its pre-installed applications such as system applications, does not work for third-party applications installed by users themselves, and cannot change the layout for specific devices.
- the embodiments of the present disclosure provide a method and an apparatus for adjusting a page display manner, so as to implement a page display manner of adjusting a terminal device according to a user's needs.
- a method for adjusting a manner of displaying a page including:
- the elements in the page of the application are scaled and displayed according to the scaling.
- the determining the application page based on the first logical density and the second logical density The scaling of the elements in the polygon, which can include:
- m represents a scaling of elements in the application page
- X represents the first logical density
- Z represents the second logical density
- the first logical density corresponding to the requirement of the user to display the page according to the user's requirement for the display mode of the page may include:
- the first logical density corresponding to the page layout size set by the user is selected according to the user's setting of the size of the page layout.
- the method may further include:
- each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and setting and storing a first logical density corresponding to each of the at least two page layout options;
- the page layout size corresponds to the first logical density.
- the first logical density corresponding to the requirement of the user to display the page according to the user's requirement for the display mode of the page may include:
- a first logical density corresponding to the model of the current terminal or the size of the display screen is selected according to the model of the current terminal or the size of the display screen.
- an apparatus for adjusting a manner of displaying a page includes:
- a first acquiring module configured to acquire a first logical density corresponding to a requirement of the user for the display mode of the page according to a requirement of the user for displaying the page, where the first logical density is defined by the developer in the system;
- a second acquiring module configured to acquire a second logical density of the application to be displayed, where the second logical density is defined by a developer of the application to be displayed;
- a determining module configured to determine a scaling ratio of an element in the application page according to the first logical density and the second logical density
- a scaling module configured to scale display the elements in the page of the application according to the scaling.
- the determining module may include:
- a calculation submodule configured to calculate a scaling ratio m of an element in the application page according to the following formula
- the first obtaining module may include:
- the first selection submodule is configured to select a first logical density corresponding to the page layout size set by the user according to a setting of a size of the page layout by the user.
- the apparatus may further include:
- a setting module configured to set at least two page layout options, each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and setting and storing a first logical density corresponding to each of the at least two page layout options;
- the first selection sub-module is further configured to: display at least two page layout options; determine a page layout option selected by the user among the at least two page layout options; and first logic corresponding to the page layout option selected by the user Density, as the first logical density corresponding to the page layout size set by the user.
- the first obtaining module may include:
- a second selection submodule configured to select, according to the model of the current terminal or the size of the display screen, a first logical density corresponding to the model of the current terminal or the size of the display screen.
- an apparatus for adjusting a manner of displaying a page includes:
- a memory for storing processor executable instructions
- processor is configured to:
- the elements in the page of the application are scaled and displayed according to the scaling.
- the technical solution provided by the embodiment of the present disclosure determines the first logical density corresponding to the user's requirement for the page display mode and the second logical density of the application to be displayed, and determines according to the first logical density and the second logical density.
- FIG. 1 is a flow chart showing a method of adjusting a display manner of a page according to an exemplary embodiment.
- FIG. 2 is a flow chart showing another method of adjusting a page display manner according to an exemplary embodiment.
- FIG. 3 is a flowchart of still another method for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 4 is a flowchart of still another method for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 5 is a block diagram of an apparatus for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 6 is a block diagram of another apparatus for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 7 is a block diagram of still another apparatus for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 8 is a block diagram of still another apparatus for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 9 is a block diagram of still another apparatus for adjusting a page display manner, according to an exemplary embodiment.
- FIG. 10 is a block diagram of an apparatus suitable for adjusting a manner of displaying a page, according to an exemplary embodiment.
- FIG. 1 is a flow chart showing a method of adjusting a display manner of a page according to an exemplary embodiment. As shown in FIG. 1, the method is applicable to a system program of a device or other application, and the method includes the following steps S101-S104:
- step S101 according to the user's demand for the page display mode, the first logical density corresponding to the user's demand for the page display mode is obtained, and the first logical density is defined by the developer in the system.
- the first logical density is the logical density defined by the depth customization developer of the Android system in the system, rather than the logical density defined by the native Android system.
- the native Android operating system there is a default definition of the logical density used for device display.
- the native Android system defines several screen logical density values, such as 160 dpi (mdpi), 240 dpi (hdpi), 320 dpi (xhdpi), 480 dpi (xxhdpi), and 640 dpi (xxxhdpi).
- the native Android operating system will default to using xxxhdpi as the display of the logical density control device, regardless of the physical size of the screen.
- the above technology is improved, and the deep customization developer of the Android system redefines the logical density, and no longer uses the proportion of the screen as the basis for selecting the logical density, but according to the user's demand for the page display mode. , customized a variety of logical density.
- the page layout options can have "small”, “default”, “medium”, “large”, “extra large” and other options when the user wants to adjust the page.
- click on one of the options click on one of the options. Since each option corresponds to its own scaling, the page layout can be adjusted according to the scaling of the option.
- this step S101 can be implemented as the following step S201:
- step S201 the first logical density corresponding to the page layout size set by the user is selected according to the user's setting of the size of the page layout.
- the above method may further include S105-S106:
- step S105 at least two page layout options are set, each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and a first logical density corresponding to each of the at least two page layout options is set and stored;
- step S201 can be implemented as the following step S106:
- step S106 at least two page layout options are displayed; a page layout option selected by the user among the at least two page layout options is determined; a first logical density corresponding to the page layout option selected by the user is set as the user The first logical density corresponding to the page layout size.
- the physical size of the screen may be different.
- the screen of the X1 mobile phone has a resolution of 480 dpi and a physical size of 5 inches;
- the screen of the X2 mobile phone has a resolution of 480 dpi and a physical size of 5.5 inches.
- the same logical density will be chosen for X1 and X2, so the page on the X2 of the 5.5-inch screen will produce a page enlargement.
- the physical size of the elements that the user wants to display on different size screens is the same, so that the screen of the large-screen device can be effectively utilized, and the senses of the user are also better.
- embodiments of the present disclosure set different logical densities for different models (or different sizes) of mobile phones by improving the logical density mechanism in the native system so that the physical dimensions of the elements are consistent when displaying pages on different size screens. of.
- this step S101 can be implemented as the following step S401:
- step S401 a first logical density corresponding to the model of the current terminal or the size of the display screen is selected according to the model of the current terminal or the size of the display screen.
- step S102 a second logical density of the application to be displayed is obtained, and the second logical density is defined by a developer of the application to be displayed.
- the second logical density may also be referred to as a resource density, which is set by the user when developing the application.
- the second logical density for example, the second logical density can be 480 dpi.
- step S103 the scaling of the elements in the application page is determined according to the first logical density and the second logical density.
- step S103 can be implemented as the following step A1:
- Step A1 calculating a scaling ratio m of an element in the application page according to the following formula (1);
- m represents the scaling of the elements in the application page
- X represents the first logical density
- Z represents the second logical density
- step S104 the elements in the page of the application are scaled and displayed according to the scaling.
- the scaling calculated according to step S103 is 1.2, that is, the elements in the page are enlarged by 1.2 times.
- the embodiment of the present disclosure provides at least two methods for selecting a logical density (such as step S201 and step S401). By changing the selection mechanism for the logical density in the native system, the embodiment of the present disclosure can achieve various effects. .
- a corresponding logical density is set for each page layout size, and when the user wishes to change the page layout size, the page can be freely adjusted by replacing the first logical density.
- the size of the layout is set for each page layout size, and when the user wishes to change the page layout size, the page can be freely adjusted by replacing the first logical density.
- a first logical density may be set according to the model number or screen size of the terminal, and the default logical density of the native system is no longer used.
- This has the advantage of making the logical density correspond to the model of the terminal or the size of the screen, instead of just corresponding to the screen resolution.
- By selecting the logical density according to the terminal model or the size of the screen it is possible to obtain the corresponding size of the model or screen.
- the best logical density Thereby realizing the physical size of the elements of the display page on different terminals, giving the user the best sense, and displaying more content on the big screen terminal, not just the same resolution, but the screen size The enlargement of the page is displayed on the smaller terminal.
- the scaling of elements in the display page of the application is mainly for elements that are displayed by relying on logical density, rather than all display resources in the application, so as not to affect the display when zooming is achieved. A reasonable layout of the page.
- the foregoing method provided by the embodiment of the present disclosure obtains a first logical density corresponding to a user's requirement for a page display mode and a second logical density of an application to be displayed, and determines a page according to the first logical density and the second logical density.
- the scaling of the elements in the medium so that the elements in the application's page are enlarged or reduced according to the scaling, thereby realizing that the display manner of the page can be adjusted according to the user's needs, and satisfying the user's display manner for different pages.
- FIG. 5 is a block diagram of an apparatus for adjusting a page display manner according to an exemplary embodiment. As shown in FIG. 5, the apparatus for adjusting a page display manner includes:
- the first obtaining module 51 is configured to acquire a first logical density corresponding to a requirement of the user for the display mode of the page according to the requirement of the user for the display mode of the page, where the first logical density is defined by the developer in the system;
- the second obtaining module 52 is configured to acquire a second logical density of the application to be displayed, where the second logical density is defined by a developer of the application to be displayed;
- the determining module 53 is configured to determine a scaling ratio of an element in the application page according to the first logical density and the second logical density;
- the scaling module 54 is configured to scale display the elements in the page of the application according to the scaling.
- the determining module 53 may include:
- a calculation submodule 531 configured to calculate a scaling ratio m of an element in the application page according to the following formula
- m represents the scaling of the elements in the application page
- X represents the first logical density
- Z represents the second logical density
- the first obtaining module 51 may include:
- the first selection sub-module 511 is configured to select a first logical density corresponding to a page layout size set by the user according to a setting of a size of the page layout by the user.
- the foregoing apparatus may further include:
- the setting module 55 is configured to set at least two page layout options, each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and set and store a first logic corresponding to each of the at least two page layout options density;
- the first selection sub-module 511 is further configured to: display at least two page layout options; determine a page layout option selected by the user among the at least two page layout options; and a first logical density corresponding to the page layout option selected by the user The first logical density corresponding to the page layout size set by the user.
- the first obtaining module 51 may include:
- the second selection sub-module 512 is configured to select a first logical density corresponding to the model of the current terminal or the size of the display screen according to the model of the current terminal or the size of the display screen.
- the foregoing apparatus determines a first logical density corresponding to a user's requirement for a page display manner and a second logical density of an application to be displayed, and determines a page according to the first logical density and the second logical density.
- the scaling of the elements in the medium so that the elements in the page of the application are enlarged or reduced according to the scaling ratio, thereby realizing the adjustment of the display manner of the page according to the user's needs, and satisfying the user's demand for different page display modes.
- FIG. 10 is a block diagram of an apparatus 600 for adjusting a page display manner, according to an exemplary embodiment, Applicable to terminal devices.
- device 600 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- apparatus 600 can include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, And a communication component 616.
- Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 602 can include one or more processors 620 to execute instructions to perform all or part of the steps described above.
- processing component 602 can include one or more modules to facilitate interaction between component 602 and other components.
- processing component 602 can include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
- Memory 604 is configured to store various types of data to support operation at device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 606 provides power to various components of device 600.
- Power component 606 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
- the multimedia component 608 includes a screen between the device 600 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 608 includes a front camera and/or a rear camera. When the device 600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 610 is configured to output and/or input an audio signal.
- audio component 610 includes a microphone (MIC) that is configured to receive an external audio signal when device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 604 or transmitted via communication component 616.
- audio component 610 also includes a speaker for outputting an audio signal.
- the I/O interface 612 provides an interface between the processing component 602 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 614 includes one or more sensors for providing device 600 with a status assessment of various aspects.
- sensor component 614 can detect an open/closed state of device 600, a relative positioning of components, such as a display and a keypad of device 600, and sensor component 614 can also detect a change in position of one component of device 600 or device 600, user The presence or absence of contact with device 600, device 600 orientation or acceleration/deceleration and temperature variation of device 600.
- Sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 614 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices.
- the device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- communication component 616 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- communication component 616 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A gate array
- controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- non-transitory computer readable storage medium comprising instructions, such as a memory 604 comprising instructions executable by processor 620 of apparatus 600 to perform the above method.
- the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a device for adjusting a page display manner comprising:
- a memory for storing processor executable instructions
- processor is configured to:
- the elements in the page of the application are scaled and displayed according to the scaling.
- the processor is further configured to: acquire a first logical density corresponding to a requirement of the user for the manner of displaying the page according to a requirement of the user for the manner of displaying the page, where the first logical density is defined by the developer in the system;
- the elements in the page of the application are scaled and displayed according to the scaling.
- the processor is further configured to: determine, according to the first logic density and the second logic density, a scaling of an element in the application page, which may include:
- m represents a scaling of elements in the application page
- X represents the first logical density
- Z represents the second logical density
- the processor is further configured to: acquire the first logical density corresponding to the requirement of the user to display the page according to the requirement of the user, and may include:
- the first logical density corresponding to the page layout size set by the user is selected according to the user's setting of the size of the page layout.
- the processor is further configured to: set at least two page layout options, each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and set and store a first corresponding to each of the at least two page layout options Logical density
- the page layout size corresponds to the first logical density.
- the processor is further configured to: obtain the first logical density corresponding to the requirement of the user to display the page according to the user's requirement for the display mode of the page, and the method may include:
- a first logical density corresponding to the model of the current terminal or the size of the display screen is selected according to the model of the current terminal or the size of the display screen.
- a non-transitory computer readable storage medium when executed by a processor of a mobile terminal, enables a mobile terminal to perform a method of adjusting a page display manner, including:
- the elements in the page of the application are scaled and displayed according to the scaling.
- determining the scaling of the elements in the application page according to the first logic density and the second logic density may include:
- m represents a scaling of elements in the application page
- X represents the first logical density
- Z represents the second logical density
- the first logical density corresponding to the requirement of the user to display the page according to the user's requirement for the display mode of the page may include:
- the first logical density corresponding to the page layout size set by the user is selected according to the user's setting of the size of the page layout.
- the method may further include:
- each page layout option includes an identifier for indicating a degree of page layout size corresponding to the option; and setting and storing a first logical density corresponding to each of the at least two page layout options;
- the page layout size corresponds to the first logical density.
- the first logical density corresponding to the requirement of the user to display the page according to the user's requirement for the display mode of the page may include:
- a first logical density corresponding to the model of the current terminal or the size of the display screen is selected according to the model of the current terminal or the size of the display screen.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (11)
- 一种调节页面显示方式的方法,其特征在于,包括:根据用户对页面显示方式的需求,获取与所述用户对页面显示方式的需求对应的第一逻辑密度,所述第一逻辑密度由开发者在系统中定义;获取待显示的应用程序的第二逻辑密度,所述第二逻辑密度由所述待显示的应用程序的开发者定义;根据所述第一逻辑密度和第二逻辑密度,确定所述应用程序页面中的元素的缩放比例;根据所述缩放比例将所述应用程序的页面中的元素进行缩放显示。
- 如权利要求1所述的方法,其特征在于,根据用户对页面显示方式的需求,获取与所述用户对页面显示方式的需求对应的第一逻辑密度,包括:根据用户对页面布局的大小的设定,选择与所述用户设定的页面布局大小对应的第一逻辑密度。
- 如权利要求3所述的方法,其特征在于,所述方法还包括:设置至少两个页面布局选项,每个页面布局选项包括用于表明该选项对应的页面布局大小程度的标识;设置并存储至少两个页面布局选项各自对应的第一逻辑密度;所述根据用户对页面布局的大小的设定,选择与所述用户设定的页面布局大小对应的第一逻辑密度,包括:显示至少两个页面布局选项;确定所述至少两个页面布局选项中被用户选择的页面布局选项;将所述被用户选择的页面布局选项对应的第一逻辑密度,作为与所述用户设定的页面布局大小对应的第一逻辑密度。
- 如权利要求1所述的方法,其特征在于,所述根据用户对页面显示方式的需求,获取与所述用户对页面显示方式的需求对应的第一逻辑密度,包括:根据当前终端的型号或显示屏幕的尺寸,选择与所述当前终端的型号或显示屏幕的尺寸对应的第一逻辑密度。
- 一种调节页面显示方式的装置,其特征在于,包括:第一获取模块,用于根据用户对页面显示方式的需求,获取与所述用户对页面显示方式的需求对应的第一逻辑密度,所述第一逻辑密度由开发者在系统中定义;第二获取模块,用于获取待显示的应用程序的第二逻辑密度,所述第二逻辑密度由所述待显示的应用程序的开发者定义;确定模块,用于根据所述第一逻辑密度和第二逻辑密度,确定所述应用程序页面中的元素的缩放比例;缩放模块,用于根据所述缩放比例将所述应用程序的页面中的元素进行缩放显示。
- 如权利要求6所述的装置,其特征在于,所述第一获取模块,包括:第一选择子模块,用于根据用户对页面布局的大小的设定,选择与所述用户设定的页面布局大小对应的第一逻辑密度。
- 如权利要求8所述的装置,其特征在于,所述装置还包括:设置模块,用于设置至少两个页面布局选项,每个页面布局选项包括用于表明该选项对应的页面布局大小程度的标识;设置并存储至少两个页面布局选项各自对应的第一逻辑密度;第一选择子模块还用于:显示至少两个页面布局选项;确定所述至少两个页面布局选项中被用户选择的页面布局选项;将所述被用户选择的页面布局选项对应的第一逻辑密度,作为与所述用户设定的页面布局大小对应的第一逻辑密度。
- 如权利要求6所述的装置,其特征在于,所述第一获取模块,包括:第二选择子模块,用于根据当前终端的型号或显示屏幕的尺寸,选择与所述当前终端的型号或显示屏幕的尺寸对应的第一逻辑密度。
- 一种调节页面显示方式的装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:根据用户对页面显示方式的需求,获取与所述用户对页面显示方式的需求对应的第一逻辑密度,所述第一逻辑密度由开发者在系统中定义;获取待显示的应用程序的第二逻辑密度,所述第二逻辑密度由所述待显示的应用程序的开发者定义;根据所述第一逻辑密度和第二逻辑密度,确定所述应用程序页面中的元素的缩放比例;根据所述缩放比例将所述应用程序的页面中的元素进行缩放显示。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020157031180A KR101779483B1 (ko) | 2015-01-15 | 2015-08-31 | 화면 표시 방식을 조정하는 방법, 장치, 프로그램 및 기록매체 |
| BR112015030053A BR112015030053A2 (pt) | 2015-01-15 | 2015-08-31 | método e dispositivo para ajustar exibição de página |
| MX2015015871A MX354970B (es) | 2015-01-15 | 2015-08-31 | Metodo y dispositivo para ajustar la visualizacion de pagina. |
| RU2015152475A RU2637475C2 (ru) | 2015-01-15 | 2015-08-31 | Способ и устройство для регулирования отображения страницы |
| JP2016568993A JP2017510914A (ja) | 2015-01-15 | 2015-08-31 | 画面表示方式を調整する方法、装置、プログラムおよび記録媒体 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510020768.X | 2015-01-15 | ||
| CN201510020768.XA CN104598131B (zh) | 2015-01-15 | 2015-01-15 | 调节页面显示方式的方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016112696A1 true WO2016112696A1 (zh) | 2016-07-21 |
Family
ID=53123961
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/088582 Ceased WO2016112696A1 (zh) | 2015-01-15 | 2015-08-31 | 调节页面显示方式的方法及装置 |
Country Status (9)
| Country | Link |
|---|---|
| US (1) | US20160210726A1 (zh) |
| EP (1) | EP3046068B1 (zh) |
| JP (1) | JP2017510914A (zh) |
| KR (1) | KR101779483B1 (zh) |
| CN (1) | CN104598131B (zh) |
| BR (1) | BR112015030053A2 (zh) |
| MX (1) | MX354970B (zh) |
| RU (1) | RU2637475C2 (zh) |
| WO (1) | WO2016112696A1 (zh) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104598131B (zh) * | 2015-01-15 | 2018-07-24 | 小米科技有限责任公司 | 调节页面显示方式的方法及装置 |
| CN107533568B (zh) * | 2015-09-15 | 2020-12-18 | 谷歌有限责任公司 | 确定应用缩放等级的系统和方法 |
| CN105892960A (zh) * | 2015-10-27 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | 移动终端屏幕显示的缩放方法及装置 |
| CN106201709A (zh) * | 2016-06-28 | 2016-12-07 | 北京小米移动软件有限公司 | 资源显示方法及装置 |
| CN108205441A (zh) * | 2016-12-20 | 2018-06-26 | 北大方正集团有限公司 | 列表样式的调整方法、系统及终端 |
| CN106843854A (zh) * | 2016-12-28 | 2017-06-13 | 北京五八信息技术有限公司 | 页面指示器的生成方法和装置 |
| CN108734656A (zh) * | 2017-04-18 | 2018-11-02 | 腾讯科技(深圳)有限公司 | 缩放处理方法及装置 |
| CN107256142B (zh) * | 2017-04-21 | 2020-12-29 | 腾讯科技(深圳)有限公司 | 一种页面显示的方法及终端 |
| CN111880869B (zh) * | 2020-06-17 | 2024-11-19 | 西安万像电子科技有限公司 | 画面调整方法、装置和系统 |
| CN114115619B (zh) * | 2020-08-31 | 2024-07-05 | 华为技术有限公司 | 一种应用程序界面显示的方法及电子设备 |
| CN113204346A (zh) * | 2021-07-05 | 2021-08-03 | 城云科技(中国)有限公司 | 页面适配方法、装置、计算机设备及存储介质 |
| CN113886744B (zh) * | 2021-12-08 | 2022-05-06 | 浙江口碑网络技术有限公司 | 内容渲染方法、装置、电子设备及存储介质 |
| CN114297547B (zh) * | 2021-12-30 | 2025-04-08 | 中国工商银行股份有限公司 | 页面元素调整方法、装置、设备、存储介质和程序产品 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090089660A1 (en) * | 2007-10-01 | 2009-04-02 | Atkins C Brian | Arranging graphic objects on a page with relative position based control |
| CN103699329A (zh) * | 2013-12-31 | 2014-04-02 | 优视科技有限公司 | 页面缩放方法、装置及终端设备 |
| CN104050185A (zh) * | 2013-03-13 | 2014-09-17 | 百度在线网络技术(北京)有限公司 | 一种页面内容缩放显示处理方法及装置 |
| CN104063148A (zh) * | 2014-06-11 | 2014-09-24 | 科大讯飞股份有限公司 | 移动终端上Web应用程序的界面动态适配方法及系统 |
| CN104598131A (zh) * | 2015-01-15 | 2015-05-06 | 小米科技有限责任公司 | 调节页面显示方式的方法及装置 |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8819569B2 (en) * | 2005-02-18 | 2014-08-26 | Zumobi, Inc | Single-handed approach for navigation of application tiles using panning and zooming |
| RU2348975C1 (ru) * | 2007-10-18 | 2009-03-10 | Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." | Способ отображения страниц при предварительном просмотре |
| CN101226454A (zh) * | 2008-01-18 | 2008-07-23 | 魏新成 | 在w2vga手机触摸屏上进行常用手机功能操作 |
| CN101694770B (zh) * | 2009-10-19 | 2011-06-15 | 华为终端有限公司 | 控制屏幕显示的方法、装置及手持设备 |
| CN101882055A (zh) * | 2010-06-21 | 2010-11-10 | 中兴通讯股份有限公司 | 一种终端上缩放显示页面的方法及装置 |
| KR101975906B1 (ko) * | 2012-01-09 | 2019-05-08 | 삼성전자주식회사 | 영상 표시 장치에서 응용 프로그램의 레이아웃을 스케일링하기 위한 장치 및 방법 |
| CN102662616B (zh) * | 2012-03-28 | 2015-12-16 | 北京邮电大学 | 用于移动终端的屏幕图形自适应方法及系统 |
| CN104350737B (zh) * | 2012-05-30 | 2017-09-19 | 富士胶片株式会社 | 放射线图像摄影装置和放射线检测器 |
| US10102848B2 (en) * | 2014-02-28 | 2018-10-16 | Google Llc | Hotwords presentation framework |
| CN104182270A (zh) * | 2014-08-25 | 2014-12-03 | 北京云巢动脉科技有限公司 | 虚拟机界面适应不同分辨率移动终端屏幕的显示方法 |
-
2015
- 2015-01-15 CN CN201510020768.XA patent/CN104598131B/zh active Active
- 2015-08-31 WO PCT/CN2015/088582 patent/WO2016112696A1/zh not_active Ceased
- 2015-08-31 BR BR112015030053A patent/BR112015030053A2/pt not_active IP Right Cessation
- 2015-08-31 JP JP2016568993A patent/JP2017510914A/ja active Pending
- 2015-08-31 MX MX2015015871A patent/MX354970B/es active IP Right Grant
- 2015-08-31 KR KR1020157031180A patent/KR101779483B1/ko active Active
- 2015-08-31 RU RU2015152475A patent/RU2637475C2/ru active
- 2015-12-15 EP EP15200042.8A patent/EP3046068B1/en active Active
- 2015-12-31 US US14/986,201 patent/US20160210726A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090089660A1 (en) * | 2007-10-01 | 2009-04-02 | Atkins C Brian | Arranging graphic objects on a page with relative position based control |
| CN104050185A (zh) * | 2013-03-13 | 2014-09-17 | 百度在线网络技术(北京)有限公司 | 一种页面内容缩放显示处理方法及装置 |
| CN103699329A (zh) * | 2013-12-31 | 2014-04-02 | 优视科技有限公司 | 页面缩放方法、装置及终端设备 |
| CN104063148A (zh) * | 2014-06-11 | 2014-09-24 | 科大讯飞股份有限公司 | 移动终端上Web应用程序的界面动态适配方法及系统 |
| CN104598131A (zh) * | 2015-01-15 | 2015-05-06 | 小米科技有限责任公司 | 调节页面显示方式的方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20160098964A (ko) | 2016-08-19 |
| EP3046068A1 (en) | 2016-07-20 |
| KR101779483B1 (ko) | 2017-09-18 |
| CN104598131B (zh) | 2018-07-24 |
| MX2015015871A (es) | 2016-10-06 |
| EP3046068B1 (en) | 2020-09-02 |
| RU2015152475A (ru) | 2017-06-14 |
| BR112015030053A2 (pt) | 2017-07-25 |
| JP2017510914A (ja) | 2017-04-13 |
| CN104598131A (zh) | 2015-05-06 |
| RU2637475C2 (ru) | 2017-12-04 |
| US20160210726A1 (en) | 2016-07-21 |
| MX354970B (es) | 2018-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016112696A1 (zh) | 调节页面显示方式的方法及装置 | |
| US11010020B2 (en) | Method, apparatus and storage medium for displaying shortcut operation panel | |
| CN105955607B (zh) | 内容分享方法和装置 | |
| JP6130072B2 (ja) | 撮影パラメータの調節方法、装置、プログラム、及び記録媒体 | |
| CN105159640B (zh) | 显示界面旋转方法、装置和移动终端 | |
| CN106527867B (zh) | 移动悬浮层界面的方法及装置 | |
| CN107193606B (zh) | 应用分发方法及装置 | |
| CN108804179B (zh) | 显示通知栏消息的方法、装置、终端及存储介质 | |
| CN104238890B (zh) | 文字显示方法及装置 | |
| WO2017113666A1 (zh) | 应用界面切换方法及装置 | |
| CN106407365A (zh) | 图片共享方法及装置 | |
| US20150116368A1 (en) | Method and device for adjusting characters of application | |
| CN111381746A (zh) | 参数调节方法、装置及存储介质 | |
| CN106201310A (zh) | 通知消息的显示方法、装置及终端 | |
| CN106598429A (zh) | 移动终端的窗口调整方法及装置 | |
| CN112463084B (zh) | 分屏显示方法、装置、终端设备及计算机可读存储介质 | |
| CN104063424B (zh) | 网页图片的展现方法和展现装置 | |
| CN105808096B (zh) | 滑块显示方法及装置 | |
| CN107179837B (zh) | 输入方法及装置 | |
| CN105808102A (zh) | 添加边框的方法及装置 | |
| US11016660B2 (en) | Method and apparatus for responding to gesture operation and storage medium | |
| CN107908346A (zh) | 用于控制屏幕显示的方法及装置 | |
| CN106775247A (zh) | 应用图标移动的方法及智能终端 | |
| CN105930034A (zh) | 显示对话框的方法和装置 | |
| CN107920015A (zh) | 发布图片的方法和发布图片的装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2016568993 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 20157031180 Country of ref document: KR Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2015/015871 Country of ref document: MX |
|
| ENP | Entry into the national phase |
Ref document number: 2015152475 Country of ref document: RU Kind code of ref document: A |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15877609 Country of ref document: EP Kind code of ref document: A1 |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112015030053 Country of ref document: BR |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 112015030053 Country of ref document: BR Kind code of ref document: A2 Effective date: 20151130 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15877609 Country of ref document: EP Kind code of ref document: A1 |