WO2023066130A1 - 文件夹显示方法、装置及电子设备 - Google Patents

文件夹显示方法、装置及电子设备 Download PDF

Info

Publication number
WO2023066130A1
WO2023066130A1 PCT/CN2022/125125 CN2022125125W WO2023066130A1 WO 2023066130 A1 WO2023066130 A1 WO 2023066130A1 CN 2022125125 W CN2022125125 W CN 2022125125W WO 2023066130 A1 WO2023066130 A1 WO 2023066130A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
display
folder
input
display parameters
Prior art date
Application number
PCT/CN2022/125125
Other languages
English (en)
French (fr)
Inventor
胡交
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023066130A1 publication Critical patent/WO2023066130A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the technical field of electronic equipment, and in particular relates to a folder display method, device and electronic equipment.
  • the purpose of the embodiments of the present application is to provide a folder display method, device and electronic equipment, which can solve the problem of single management mode of icons in the prior art.
  • the embodiment of the present application provides a folder display method, the method includes:
  • the size and/or shape of the selected icon is different from that of the target icon
  • the first icon is the selected icon, and the second icon is the target icon; or, the first icon is the target icon, and the second icon is the selected icon;
  • the size of the second icon in the folder is the size and/or shape before adjustment, or the size and/or shape after adjustment.
  • an embodiment of the present application provides a folder display device, which includes:
  • a first display module configured to display a first icon and a second icon, the display area of the first icon is independent from the display area of the second icon;
  • a first receiving module configured to receive a first input for the first icon
  • a first adjustment module configured to adjust the display parameters of the first icon according to the display parameters of the second icon in response to the first input
  • the second display module is configured to display a folder according to the second icon and the first icon adjusted by display parameters, and the folder includes the first icon and the second icon;
  • the display parameters include at least one of size and shape.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the display area of the first icon and the display area of the second icon are independent of each other; receiving a first input for the first icon; responding Based on the first input, adjusting the display parameters of the first icon according to the display parameters of the second icon; displaying folders according to the second icon and the adjusted first icon according to the display parameters, and the The folder includes the first icon and the second icon; wherein, the display parameters include at least one of size and shape; regardless of whether the length and width of the icons are consistent, icons that are independent of each other for the display area can be realized It is processed, and the corresponding folder is displayed, which is convenient for user management, can well meet the individual needs of users, enriches the management mode of icons, and well solves the problem of single management mode of existing icons.
  • FIG. 1 is a schematic flow chart of a folder display method in an embodiment of the present application
  • Figure 2 is a schematic diagram of a file folder with a size of 1x1 in the embodiment of the present application
  • FIG. 3 is a schematic diagram of a folder with a size of 2x2 in the embodiment of the present application.
  • Fig. 4 is a schematic diagram of a folder with a size of 2x1 in the embodiment of the present application.
  • Fig. 5 is a schematic diagram of a folder with a size of 1x2 in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of icon movement with a size of 1x2 in the embodiment of the present application.
  • FIG. 7 is a schematic diagram of icon movement with a size of 2x1 in the embodiment of the present application.
  • FIG. 8 is a schematic diagram of icon movement with a size of 2x2 in the embodiment of the present application.
  • FIG. 9 is a schematic diagram of icon movement with a size of 1x1 in the embodiment of the present application.
  • FIG. 10 is a schematic diagram of the icon being cut out according to the embodiment of the present application.
  • Fig. 11 is a second schematic diagram of the icon being cut out according to the embodiment of the present application.
  • Fig. 12 is the third schematic diagram of the cut icon of the embodiment of the present application.
  • Fig. 13 is a schematic diagram of the cut icon in the embodiment of the present application after adaptation
  • FIG. 14 is a schematic structural diagram of a folder display device according to an embodiment of the present application.
  • FIG. 15 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
  • FIG. 16 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
  • the folder display method provided in the embodiment of the present application, as shown in Figure 1, includes:
  • Step 11 Displaying a first icon and a second icon, the display area of the first icon and the display area of the second icon are independent of each other.
  • the display parameters of the first icon and the second icon are the same or different.
  • the first icon and the second icon may be application icons or component icons, respectively, which are not limited herein.
  • Step 12 Receive a first input for the first icon.
  • the first input may be input in various forms, such as: manual, voice and so on.
  • the first input may be a click operation, a drag operation, a graphics drawing operation, etc., which is not limited herein.
  • Step 13 In response to the first input, adjusting the display parameters of the first icon according to the display parameters of the second icon.
  • the display parameter of the second icon may also be adjusted according to the display parameter of the first icon, which is not limited herein.
  • Step 14 According to the second icon and the first icon adjusted by display parameters, display a folder, the folder includes the first icon and the second icon; wherein, the display parameters include size and at least one item of (of) shape.
  • the size of the second icon in the folder is a display parameter before adjustment, or a display parameter after adjustment, which is not limited here.
  • displaying folders may include building folders, or including building folders before displaying folders.
  • step 14 may include: determining the display parameters of the folder according to the display parameters of the second icon and the adjusted display parameters of the first icon; and displaying the folder according to the display size of the folder.
  • the method further includes: in the case of displaying the folder interface, restoring the display parameters of the first icon in the folder to the display parameters before adjustment; or maintaining the The display parameters of the first icon and the second icon are preset display parameters.
  • the first icon in the folder is the adjusted display at the beginning parameters, and then restore to the displayed parameters before adjustment.
  • the preset display parameters may be the display parameters of the first icon before adjustment, which is not limited here.
  • the adjusting the display parameters of the first icon according to the display parameters of the second icon in response to the first input includes: updating the first icon in response to the first input The display position of the icon; when the first icon and the second icon at least partially overlap, acquire the display parameters of the second icon, and adjust the display parameters of the first icon according to the display parameters of the second icon .
  • partial overlap may include an overlap whose overlap ratio is greater than a first threshold; and may also include an overlap whose coverage duration is greater than a second threshold. In this way, it is possible to avoid using all the icons touched by the first icon as the second icon, which can better meet user needs.
  • first icon overlaps at least partially with the second icon it may include: when the display position of the first icon overlaps with the display position of the second icon at least partially, But not limited to this.
  • the method further includes: receiving a second input for the first icon; in response to the second input, canceling the first icon in the folder and display the first icon on the desktop; wherein, the display parameters of the first icon displayed on the desktop are the display parameters before adjustment.
  • the displayed size is the size before adjustment.
  • the method further includes: receiving a third input for the folder; in response to the third input, adjusting the size of the folder; After the size of the folder is set, if part of the image of the third icon in the folder is hidden, the edge of the third icon is adjusted, and the adjusted edge is the same as the edge of the folder; wherein, The third icon is the first icon, the second icon or other icons.
  • adjusting the edge of the third icon and the adjusted edge is the same as the edge of the folder
  • it may include: adapting (adjusting) the edge of the third icon to the rounded corner of the folder. That is, the edge shape of the third icon is adjusted according to the rounded corner of the folder.
  • the "partial image is hidden” may include: part of the image is cropped.
  • it may further include: adjusting the display parameters of the icons in the folder according to the adjusted display parameters of the folder.
  • the icon in the folder can be displayed more appropriately on the desktop later, and the situation that the icon does not match the folder can be avoided. For example, only an incomplete application icon can be displayed on the folder icon on the desktop.
  • the folder display method provided by the embodiment of the present application is illustrated below.
  • the above-mentioned size is embodied in the form of length A (vertical direction) ⁇ width B (horizontal direction), and the size in this solution can be
  • the ratio of the length dimension to the preset value is 1, and the ratio of the width dimension to the preset value is 2, so the size is expressed as 1x2 in this application.
  • the embodiment of the present application provides a folder display method; specifically, in this solution, the desktop icons can be freely transformed into 4 sizes, the default is 1x1, and can be transformed into 1x2, 2x1 or 2x2; While customizing the size, it can also create a new folder like a 1x1 application icon.
  • the degree of customization is high, and the user's customization needs can be better met.
  • this solution can increase practical expansibility, and allow components of different sizes to be the same as application icons, which can be dragged and dropped to form corresponding folders, which is more convenient for users to manage categories. It is clear, highly recognizable, and more interesting. , with a user-specific desktop.
  • this solution supports icon size deformation to 1x2, 2x1 or 2x2, and also supports folder size deformation to 1x2, 2x1 or 2x2.
  • This solution can be executed when the icons (components or application icons) on the desktop are in the non-editable state, and can also be executed when the icon editing on the desktop is in the editable state.
  • the principle is similar; the icons on the desktop are as follows Executing this solution in the non-editable state is taken as an example for illustration. Specifically, this solution involves the following content:
  • the reverse operation such as dragging a 1x2 icon out of the folder, restores its original (dimension) size.
  • the display effect of the icon remains unchanged, that is, the 1x2 icon is still the 1x2 icon, and the 1x1 icon is still the 1x1 icon (corresponding to the above-mentioned situation where the folder interface is displayed, the restoration of the above-mentioned
  • the display parameter of the first icon in the folder is the display parameter before adjustment), but the icon will shrink during the establishment process (that is, the process of forming the folder).
  • the icon size does not need to be scaled; however, it can be uniformly scaled to a 1x1 size when you let go, which is an icon with a size of 1x1 Size (B in the figure represents icon 3, A represents icon 4), this scheme can use this rule to constrain the display logic, so that the desktop is more coordinated as a whole; the display parameters corresponding to the above-mentioned maintenance of the first icon and the second icon are Preset display parameters.
  • the 1x2 icon will return to its original (dimension) size when it is dragged out of the folder.
  • the above process of dragging the icon out of the folder corresponds to receiving the second input for the first icon; in response to the second input, canceling the display of the first icon in the folder , and display the first icon on the desktop; wherein, the display parameters of the first icon displayed on the desktop are display parameters before adjustment.
  • the folders created at the beginning are all folders with a size of 1x1. Further, this solution supports folder deformation size of 1x2, 2x1 or 2x2; assuming that after the implementation of the above example 1 solution, that is, after creating a folder with a size of 1x1, the size of the folder (size) can also be adjusted (such as manual adjustment) , similar to the icon change method, after the folder size changes, the icons in the folder are adaptively adjusted. Specifically, the display parameters of the icons in the folder may be adjusted corresponding to the above adjusted display parameters of the folder.
  • the folder will be cut into various shapes during the deformation process, and if there are application icons with a large length and/or a large width in the folder , or the component (pendant) icon, it will be cut during the deformation process (it can be understood as a part of the hidden icon), resulting in a very stiff display effect, as shown in Figure 10 and Figure 11, the cut icon (i.e. icon 8 in the figure) includes square corners and rounded corners;
  • icons with larger length or width will also adapt to rounded corners (specifically, adjust according to the edge shape of the folder), so that the file
  • the display effect of the clip is more complete.
  • the display effect before the rounded corner is adapted is shown in Figure 12
  • the display effect after the rounded corner is adapted is shown in Figure 13.
  • This part specifically corresponds to adjusting the edge of the third icon in the case where part of the image of the third icon in the folder is hidden after the size of the folder is adjusted, and the adjusted edge is consistent with the The edges of the above folders are the same.
  • the size of the folder constructed in this solution can be related to the dragged icon (corresponding to the above-mentioned first icon), as above, when dragging the icon of size 1x2 to the icon of size 1x1 (corresponding to the above-mentioned second icon ), a folder with a size of 1x1 can be created; when an icon with a size of 1x1 is dragged onto an icon with a size of 2x1 (corresponding to the second icon above), a folder with a size of 2x1 can be created. That is, a folder of a corresponding size may be established according to the size of the above-mentioned first icon. Specifically, it may correspond to determining the display parameter of the folder according to the display parameter of the second icon and the adjusted display parameter of the first icon; displaying the folder according to the display size of the folder.
  • the solution provided by the embodiment of the present application can realize customization of a user-specific desktop style, strong playability, full of fun, simple and fast classification, and at the same time make the overall effect of the desktop more unified and better enhance the user experience.
  • the display area of the first icon and the display area of the second icon are independent of each other; receiving a first input for the first icon; responding Based on the first input, adjusting the display parameters of the first icon according to the display parameters of the second icon; displaying folders according to the second icon and the adjusted first icon according to the display parameters, and the The folder includes the first icon and the second icon; wherein, the display parameters include at least one of size and shape; regardless of whether the length and width of the icons are consistent, icons that are independent of each other for the display area can be realized It is processed, and the corresponding folder is displayed, which is convenient for user management, can well meet the individual needs of users, enriches the management mode of icons, and well solves the problem of single management mode of existing icons.
  • the folder display method provided in the embodiment of the present application may be executed by a folder display device, or a control module in the folder display device for executing the folder display method.
  • the folder display device provided in the embodiment of the present application is described by taking the folder display device executing the folder display method as an example.
  • the embodiment of the present application also provides a folder display device, as shown in Figure 14, including:
  • the first display module 141 is configured to display a first icon and a second icon, the display area of the first icon is independent from the display area of the second icon;
  • a first receiving module 142 configured to receive a first input for the first icon
  • the first adjustment module 143 is configured to adjust the display parameters of the first icon according to the display parameters of the second icon in response to the first input;
  • the second display module 144 is configured to display a folder according to the second icon and the first icon adjusted by display parameters, and the folder includes the first icon and the second icon;
  • the display parameters include at least one of size and shape.
  • the device further includes: a first processing module, configured to restore the display parameters of the first icon in the folder to the one before adjustment when the folder interface is displayed after the folder is displayed. display parameters; or, maintaining the display parameters of the first icon and the second icon as preset display parameters.
  • the adjusting the display parameters of the first icon according to the display parameters of the second icon in response to the first input includes: updating the first icon in response to the first input The display position of the icon; when the first icon and the second icon at least partially overlap, acquire the display parameters of the second icon, and adjust the display parameters of the first icon according to the display parameters of the second icon .
  • the device further includes: a second receiving module, configured to receive a second input for the first icon after the folder is displayed; a third display module, configured to respond to the second input , cancel the display of the first icon in the folder, and display the first icon on the desktop; wherein, the display parameters of the first icon displayed on the desktop are the display parameters before adjustment.
  • the device further includes: a third receiving module, configured to receive a third input for the folder after the folder is displayed; a second adjustment module, configured to respond to the first The third input is to adjust the size of the folder; the third adjustment module is used to adjust the size of the third icon in the folder when the partial image of the third icon in the folder is hidden after the size of the folder is adjusted.
  • the edges of the three icons, and the adjusted edges are the same as the edges of the folder; wherein, the third icon is the first icon, the second icon or other icons.
  • the display area of the first icon and the display area of the second icon are independent of each other; receiving a first input for the first icon; responding Based on the first input, adjusting the display parameters of the first icon according to the display parameters of the second icon; displaying folders according to the second icon and the adjusted first icon according to the display parameters, and the The folder includes the first icon and the second icon; wherein, the display parameters include at least one of size and shape; regardless of whether the length and width of the icons are consistent, icons that are independent of each other for the display area can be realized It is processed, and the corresponding folder is displayed, which is convenient for user management, can well meet the individual needs of users, enriches the management mode of icons, and well solves the problem of single management mode of existing icons.
  • the folder display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the folder display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the folder display device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 13 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 150, including a processor 151, a memory 152, and programs or instructions stored in the memory 152 and operable on the processor 151,
  • an electronic device 150 including a processor 151, a memory 152, and programs or instructions stored in the memory 152 and operable on the processor 151,
  • the program or instruction is executed by the processor 151, each process of the folder display method embodiment described above can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 16 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 160 includes, but is not limited to: a radio frequency unit 161, a network module 162, an audio output unit 163, an input unit 164, a sensor 165, a display unit 166, a user input unit 167, an interface unit 168, a memory 169, and a processor 1610, etc. part.
  • the electronic device 160 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1610 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 16 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the display unit 166 is configured to display the first icon and the second icon, and the display area of the first icon is independent from the display area of the second icon;
  • a user input unit 167 configured to receive a first input for the first icon
  • a processor 1610 configured to adjust the display parameters of the first icon according to the display parameters of the second icon in response to the first input
  • the display unit 166 is configured to display a folder according to the second icon and the first icon adjusted by display parameters, and the folder includes the first icon and the second icon;
  • the display parameters include at least one of size and shape.
  • the display area of the first icon and the display area of the second icon are independent of each other; receiving a first input for the first icon; responding Based on the first input, adjusting the display parameters of the first icon according to the display parameters of the second icon; displaying folders according to the second icon and the adjusted first icon according to the display parameters, and the The folder includes the first icon and the second icon; wherein, the display parameters include at least one of size and shape; regardless of whether the length and width of the icons are consistent, icons that are independent of each other for the display area can be realized It is processed, and the corresponding folder is displayed, which is convenient for user management, can well meet the individual needs of users, enriches the management mode of icons, and well solves the problem of single management mode of existing icons.
  • the processor 1610 is further configured to restore the display parameters of the first icon in the folder to the display parameters before adjustment when the folder interface is displayed after the folder is displayed; or, The display parameters of the first icon and the second icon are maintained as preset display parameters.
  • the adjusting the display parameter of the first icon according to the display parameter of the second icon in response to the first input includes: updating the display parameter of the first icon in response to the first input. Display position: when the first icon at least partially overlaps with the second icon, acquire the display parameters of the second icon, and adjust the display parameters of the first icon according to the display parameters of the second icon.
  • the user input unit 167 is further configured to receive a second input for the first icon after the folder is displayed;
  • the display unit 166 is configured to, in response to the second input, cancel the display of the first icon in the folder, and display the first icon on the desktop; wherein, the first icon displayed on the desktop
  • the display parameters of the icon are the display parameters before adjustment.
  • the user input unit 167 is further configured to receive a third input for the folder after the folder is displayed;
  • the processor 1610 is configured to adjust the size of the folder in response to the third input; when the partial image of the third icon in the folder is hidden after the size of the folder is adjusted, The edge of the third icon is adjusted, and the adjusted edge is the same as the edge of the folder; wherein, the third icon is the first icon, the second icon or other icons.
  • the input unit 164 may include a graphics processor (Graphics Processing Unit, GPU) 1641 and a microphone 1642, and the graphics processor 1641 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 166 may include a display panel 1661, and the display panel 1661 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 167 includes a touch panel 1671 and other input devices 1672 .
  • the touch panel 1671 is also called a touch screen.
  • the touch panel 1671 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1672 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 169 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1610 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above embodiment of the folder display method is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the folder display method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement each embodiment of the folder display method. process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种文件夹显示方法、装置及电子设备,属于电子设备技术领域。其中,文件夹显示方法,包括:显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立(11);接收针对所述第一图标的第一输入(12);响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数(13);根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中至少一项(14)。

Description

文件夹显示方法、装置及电子设备
相关申请的交叉引用
本申请主张在2021年10月19日在中国提交的中国专利申请No.202111213779.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于电子设备技术领域,具体涉及一种文件夹显示方法、装置及电子设备。
背景技术
用户针对电子设备的桌面自定义需求越来越高,希望随意搭配一个个性化的桌面,但是,目前只能实现相同长宽尺寸的图标打包成一个专属文件夹进行文件夹显示,而无法针对长宽尺寸不完全一致的图标进行文件夹显示处理,不便于用户管理,因此,无法很好的满足用户的个性化需求。
由上,现有图标管理方式较为单一。
发明内容
本申请实施例的目的是提供一种文件夹显示方法、装置及电子设备,能够解决现有图标管理方式单一的问题。
第一方面,本申请实施例提供了一种文件夹显示方法,该方法包括:
根据第一输入,确定被选中图标以及目标图标;
根据第一图标,调整第二图标的尺寸和/或形状;
根据所述第一图标,以及尺寸和/或形状调整后的所述第二图标,组成文件夹;
其中,所述被选中图标与所述目标图标的尺寸和/或形状不同;
所述第一图标为所述被选中图标,所述第二图标为所述目标图标;或者,所述第一图标为所述目标图标,所述第二图标为所述被选中图标;
在所述文件夹中所述第二图标的尺寸为调整前的尺寸和/或形状,或者为 调整后的尺寸和/或形状。
第二方面,本申请实施例提供了一种文件夹显示装置,该装置包括:
第一显示模块,用于显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;
第一接收模块,用于接收针对所述第一图标的第一输入;
第一调整模块,用于响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;
第二显示模块,用于根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;
其中,所述显示参数包括尺寸和形状中至少一项。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,通过显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;接收针对所述第一图标的第一输入;响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中至少一项;能够实现不论图标的长宽尺寸是否一致,都可针对显示区域互相独的图标进行处理,并显示对应的文件夹,便于用户管理,能够很好的满足用户的个性化需求,丰富图标的管理方式,很好的解决了现有图标管理方式单一的问题。
附图说明
图1为本申请实施例的文件夹显示方法流程示意图;
图2为本申请实施例中尺寸为1x1的文件夹示意图;
图3为本申请实施例中尺寸为2x2的文件夹示意图;
图4为本申请实施例中尺寸为2x1的文件夹示意图;
图5为本申请实施例中尺寸为1x2的文件夹示意图;
图6为本申请实施例中尺寸为1x2的图标移动示意图;
图7为本申请实施例中尺寸为2x1的图标移动示意图;
图8为本申请实施例中尺寸为2x2的图标移动示意图;
图9为本申请实施例中尺寸为1x1的图标移动示意图;
图10为本申请实施例的图标被裁切示意图一;
图11为本申请实施例的图标被裁切示意图二;
图12为本申请实施例的图标被裁切示意图三;
图13为本申请实施例中被裁切的图标适配后的示意图;
图14为本申请实施例的文件夹显示装置结构示意图;
图15为本申请实施例的电子设备结构示意图一;
图16为本申请实施例的电子设备结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说 明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的文件夹显示方法进行详细地说明。
本申请实施例提供的文件夹显示方法,如图1所示,包括:
步骤11:显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立。
其中,第一图标和第二图标的显示参数相同或不同。第一图标和第二图标可以分别为应用图标或组件图标等,在此不作限定。
步骤12:接收针对所述第一图标的第一输入。
第一输入可以是各种形式的输入,比如:手动、语音等。另外,第一输入可以是点击操作、拖动操作、图形绘制操作等,在此不作限定。
步骤13:响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数。
本申请实施例中,还可以根据第一图标的显示参数调整第二图标的显示参数,在此不作限定。
步骤14:根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中(的)至少一项。
其中,在所述文件夹中所述第二图标的尺寸为调整前的显示参数,或者为调整后的显示参数,在此不作限定。本申请实施例中,显示文件夹可以包括组建文件夹,或者是显示文件夹之前还包括组建文件夹。
本申请实施例中,步骤14可以包括:根据第二图标的显示参数和调整后的第一图标的显示参数确定文件夹的显示参数;根据文件夹的显示尺寸显示文件夹。这样可以实现组建不同尺寸文件夹的目的,更好的满足用户的个性化需求,解决现有技术中图标打包形成的文件夹的形状和尺寸单一的问题。
进一步的,在所述显示文件夹之后,所述方法还包括:在显示文件夹界 面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数;或者,维持所述第一图标和第二图标的显示参数为预设显示参数。
关于“在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数”,可以理解为:刚开始在文件夹中第一图标是调整后的显示参数,然后恢复为调整前的显示参数。
预设显示参数可以为第一图标的调整前的显示参数,在此不作限定。
本申请实施例中,所述响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数,包括:响应于所述第一输入,更新所述第一图标的显示位置;在所述第一图标与所述第二图标至少部分重叠的情况下,获取所述第二图标的显示参数,根据第二图标的显示参数调整所述第一图标的显示参数。
其中,“部分重叠”可包括重叠率大于第一阈值的重叠;也可包括覆盖时长大于第二阈值的重叠。这样可以避免将第一图标所有接触到的图标都作为第二图标,可更好的满足用户需求。关于“在所述第一图标与所述第二图标至少部分重叠的情况下”,可以包括:在所述第一图标的显示位置与所述第二图标的显示位置至少部分重叠的情况下,但并不以此为限。
进一步的,在所述显示文件夹之后,所述方法还包括:接收针对所述第一图标的第二输入;响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第一图标的显示参数为调整前的显示参数。
也就是,将第一图标从文件夹移至桌面显示时,显示的尺寸是调整前的尺寸。
本申请实施例中,在所述显示文件夹之后,所述方法还包括:接收针对所述文件夹的第三输入;响应于所述第三输入,调整所述文件夹的尺寸;在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同;其中,所述第三图标为所述第一图标、第二图标或其他图标。
这样能够使得文件夹的显示效果更加完整。关于“调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同”,可以包括:将所述第三图标的边缘(调整)适配所述文件夹的圆角。也就是,根据所述文件夹的圆角,调整所述第三图标的边缘形状。关于“部分图像被隐藏”可以包括:部分图像被裁切。
本申请中,还可以包括:根据调整后的文件夹的显示参数,调整所述文件夹内的图标的显示参数。这样能够实现后续在桌面上对文件夹内的图标进行更合适的显示,避免图标与文件夹不适配的情况,比如桌面上的文件夹图标上只能显示一个不完整的应用图标。
下面对本申请实施例提供的所述文件夹显示方法进行举例说明,本方案中,上述的尺寸以长度A(竖直方向)×宽度B(水平方向)的形式来体现,本方案中的尺寸可以是以与预设值的比值进行呈现,长度尺寸与预设值比值为1,宽度尺寸与预设值比值为2,则本申请中将尺寸表示为1x2。
针对上述技术问题,本申请实施例提供了一种文件夹显示方法;具体的,本方案中桌面图标可以自由变换为4挡大小,默认为1x1,可以变形为1x2、2x1或2x2;在满足用户自定义大小的同时,也能像1x1应用图标一样,新建文件夹,自定义程度高,用户的自定义需求能得到较好的满足。同时,本方案可增加实用的拓展性,并允许不同尺寸的组件和应用图标一样,可以拖拽组成对应的文件夹,更方便用户去管理分类,清晰明了,辨识度高,更能增加趣味性,搭配出属于用户专属的桌面。除此之外,本方案支持图标大小变形为1x2、2x1或2x2,也支持文件夹尺寸变形为1x2、2x1或2x2。本方案中可以随意拖拽不同尺寸大小的应用和组件,组建不同尺寸的文件夹。具体的,尺寸1x1文件夹可参见图2,尺寸2x2文件夹可参见图3,尺寸2x1文件夹可参见图4,尺寸1x2文件夹可参见图5。
下面对本申请实施例提供的方案进行具体举例说明。
举例一:
本方案可以在桌面上的图标(组件或应用的图标)处于不可编辑状态下 执行,也可以在桌面上的图标编辑处于可编辑状态下执行,其原理是类似的;以下以桌面上的图标处于不可编辑状态下执行本方案为例进行说明,具体的,本方案涉及以下内容:
1、如图6所示,当拖动尺寸为1x2的应用或组件图标(即图中的图标7,对应于上述第一图标)到尺寸为1x1的图标(即图中的图标5(被图标7覆盖未示出),对应于上述第二图标)上时,当前拖拽的图标会适配尺寸1x1的尺寸,触碰(第二图标)便整体缩小(具体可以是覆盖率达到第一阈值,或者覆盖时长达到第二阈值,再缩小),缩小至宽度和1x1的宽度一致;这样松手时,可以创建成文件夹,符合预期,也符合现实中的规律。同样,反向操作,如将尺寸为1x2的图标拖出文件夹时,会恢复其原始(尺寸)大小。本方案中,在建成的文件夹里,图标的显示效果不变,也就是1x2的图标还是1x2的图标,1x1的图标还是1x1的(对应于上述在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数),只是在建立过程中(即组成文件夹的过程中)图标会缩小。
2、如图7所示,当拖动尺寸为2x1的应用或组件图标(即图中的图标4,对应于上述第一图标)到尺寸为1x1的图标(即图中的图标5,对应于上述第二图标)上时,当前拖拽的图标会适配尺寸1x1的宽度,触碰(第二图标)便整体缩小,缩小至高度(即上述长度)和尺寸1x1的高度一致;相似的,如图8所示,尺寸为2x2的图标(即图中的图标4,对应于上述第一图标)则是整体缩小至尺寸1x1的大小;这样松手时,可以创建成文件夹,符合预期,也符合现实中的规律。同样,反向操作,如将尺寸为1x2的图标拖出文件夹时,会恢复其原始(尺寸)大小。
3、如图9所示,将尺寸小的应用或组件图标拖动到尺寸大的图标上时,图标尺寸不用缩放;但是,可以在松手时统一缩放成1x1尺寸大小,即为尺寸1x1的图标大小(图中B表示图标3、A表示图标4),本方案可以用这个规则约束一下显示逻辑,让桌面更加整体协调一些;对应于上述维持所述第一图标和第二图标的显示参数为预设显示参数。同样,反向操作,尺寸1x2 的图标拖出文件夹时,会恢复其原始(尺寸)大小。
以上关于将图标从文件夹拖出的处理,对应于上述接收针对所述第一图标的第二输入;响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第一图标的显示参数为调整前的显示参数。
举例二
1、上述举例一涉及的方案,一开始建立的文件夹都是尺寸1x1的文件夹。进一步的,本方案支持文件夹变形尺寸为1x2、2x1或2x2;假设在上述举例一的方案执行后,即建立尺寸1x1的文件夹之后,还可以调整文件夹(尺寸)大小(比如手动调整),类似图标的变化方式,在文件夹尺寸变化后,文件夹内图标自适应调节。具体可对应于上述根据调整后的文件夹的显示参数,调整所述文件夹内的图标的显示参数。
但是,因为要适配各种尺寸的文件夹形状,在变形的过程中,文件夹会被裁切为各种形状,而如果文件夹内有长度尺寸较大和/或宽度尺寸较大的应用图标、或者组件(挂件)图标,那在变形的过程中将会被裁切(可理解为隐藏图标的一部分),导致显示的效果很生硬,如图10和图11所示,被裁切的图标(即图中图标8)的边缘包含方角和圆角;
为了能有更好的显示的效果,本方案在文件夹变形的过程中,长度或宽度尺寸较大的图标也会适配圆角(具体是根据文件夹的边缘形状进行调整),从而让文件夹的显示效果更加完整,具体的,适配圆角前的显示效果如图12所示,适配圆角后的显示效果如图13所示。此部分具体对应于上述在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同。
2、进一步的,本方案中构建的文件夹大小可与拖动的图标(对应于上述第一图标)有关,如上,当拖动尺寸1x2的图标到尺寸1x1的图标(对应于上述第二图标)上时,可建立尺寸1x1的文件夹;当拖动尺寸1x1的图标到尺寸2x1的图标(对应于上述第二图标)上时,可建立尺寸2x1的文件夹。 也就是,可根据上述第一图标的尺寸建立对应尺寸的文件夹。具体可对应于上述根据第二图标的显示参数和调整后的第一图标的显示参数确定文件夹的显示参数;根据文件夹的显示尺寸显示文件夹。
在此说明,上述各部分内容间可相互参见,重复之处不再赘述。上述涉及的“变形”也可理解为调整。
由上可知,本申请实施例提供的方案可实现定制属于用户专属的桌面风格,可玩性强,乐趣十足、归类简单快捷,同时让桌面整体效果更加统一,更好的提升用户体验。
综上,本方案可实现定制不同的桌面布局效果,更好的满足用户需要。
在本申请实施例中,通过显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;接收针对所述第一图标的第一输入;响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中至少一项;能够实现不论图标的长宽尺寸是否一致,都可针对显示区域互相独的图标进行处理,并显示对应的文件夹,便于用户管理,能够很好的满足用户的个性化需求,丰富图标的管理方式,很好的解决了现有图标管理方式单一的问题。
需要说明的是,本申请实施例提供的文件夹显示方法,执行主体可以为文件夹显示装置,或者该文件夹显示装置中的用于执行文件夹显示方法的控制模块。本申请实施例中以文件夹显示装置执行文件夹显示方法为例,说明本申请实施例提供的文件夹显示装置。
本申请实施例还提供了一种文件夹显示装置,如图14所示,包括:
第一显示模块141,用于显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;
第一接收模块142,用于接收针对所述第一图标的第一输入;
第一调整模块143,用于响应于所述第一输入,根据所述第二图标的显 示参数调整所述第一图标的显示参数;
第二显示模块144,用于根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;
其中,所述显示参数包括尺寸和形状中至少一项。
进一步的,所述装置还包括:第一处理模块,用于在所述显示文件夹之后,在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数;或者,维持所述第一图标和第二图标的显示参数为预设显示参数。
本申请实施例中,所述响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数,包括:响应于所述第一输入,更新所述第一图标的显示位置;在所述第一图标与所述第二图标至少部分重叠的情况下,获取所述第二图标的显示参数,根据第二图标的显示参数调整所述第一图标的显示参数。
进一步的,所述装置还包括:第二接收模块,用于在所述显示文件夹之后,接收针对所述第一图标的第二输入;第三显示模块,用于响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第一图标的显示参数为调整前的显示参数。
本申请实施例中,所述装置还包括:第三接收模块,用于在所述显示文件夹之后,接收针对所述文件夹的第三输入;第二调整模块,用于响应于所述第三输入,调整所述文件夹的尺寸;第三调整模块,用于在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同;其中,所述第三图标为所述第一图标、第二图标或其他图标。
在本申请实施例中,通过显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;接收针对所述第一图标的第一输入;响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;根据所述第二图标和显示参数调整后的所述第一图标,显示 文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中至少一项;能够实现不论图标的长宽尺寸是否一致,都可针对显示区域互相独的图标进行处理,并显示对应的文件夹,便于用户管理,能够很好的满足用户的个性化需求,丰富图标的管理方式,很好的解决了现有图标管理方式单一的问题。
本申请实施例中的文件夹显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的文件夹显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的文件夹显示装置能够实现图1至图13的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图15所示,本申请实施例还提供一种电子设备150,包括处理器151,存储器152,存储在存储器152上并可在所述处理器151上运行的程序或指令,该程序或指令被处理器151执行时实现上述文件夹显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图16为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备160包括但不限于:射频单元161、网络模块162、音频输出单元163、输入单元164、传感器165、显示单元166、用户输入单元167、 接口单元168、存储器169、以及处理器1610等部件。
本领域技术人员可以理解,电子设备160还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图16中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,显示单元166,用于显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;
用户输入单元167,用于接收针对所述第一图标的第一输入;
处理器1610,用于响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;
显示单元166,用于根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;
其中,所述显示参数包括尺寸和形状中至少一项。
在本申请实施例中,通过显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;接收针对所述第一图标的第一输入;响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;其中,所述显示参数包括尺寸和形状中至少一项;能够实现不论图标的长宽尺寸是否一致,都可针对显示区域互相独的图标进行处理,并显示对应的文件夹,便于用户管理,能够很好的满足用户的个性化需求,丰富图标的管理方式,很好的解决了现有图标管理方式单一的问题。
可选的,处理器1610,还用于在所述显示文件夹之后,在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数;或者,维持所述第一图标和第二图标的显示参数为预设显示参数。
可选的,所述响应于所述第一输入,根据所述第二图标的显示参数调整 所述第一图标的显示参数,包括:响应于所述第一输入,更新所述第一图标的显示位置;在所述第一图标与所述第二图标至少部分重叠的情况下,获取所述第二图标的显示参数,根据第二图标的显示参数调整所述第一图标的显示参数。
可选的,用户输入单元167,还用于在所述显示文件夹之后,接收针对所述第一图标的第二输入;
显示单元166,用于响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第一图标的显示参数为调整前的显示参数。
可选的,用户输入单元167,还用于在所述显示文件夹之后,接收针对所述文件夹的第三输入;
处理器1610,用于响应于所述第三输入,调整所述文件夹的尺寸;在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同;其中,所述第三图标为所述第一图标、第二图标或其他图标。
综上,本方案可实现定制不同的桌面布局效果,更好的满足用户需要。
应理解的是,本申请实施例中,输入单元164可以包括图形处理器(Graphics Processing Unit,GPU)1641和麦克风1642,图形处理器1641对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元166可包括显示面板1661,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1661。用户输入单元167包括触控面板1671以及其他输入设备1672。触控面板1671,也称为触摸屏。触控面板1671可包括触摸检测装置和触摸控制器两个部分。其他输入设备1672可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器169可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用 户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文件夹显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述文件夹显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现文件夹显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例 如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种文件夹显示方法,包括:
    显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;
    接收针对所述第一图标的第一输入;
    响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;
    根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;
    其中,所述显示参数包括尺寸和形状中至少一项。
  2. 根据权利要求1所述的文件夹显示方法,其中,在所述显示文件夹之后,所述方法还包括:
    在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数;或者,维持所述第一图标和第二图标的显示参数为预设显示参数。
  3. 根据权利要求1所述的文件夹显示方法,其中,所述响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数,包括:
    响应于所述第一输入,更新所述第一图标的显示位置;在所述第一图标与所述第二图标至少部分重叠的情况下,获取所述第二图标的显示参数,根据第二图标的显示参数调整所述第一图标的显示参数。
  4. 根据权利要求1所述的文件夹显示方法,其中,在所述显示文件夹之后,所述方法还包括:
    接收针对所述第一图标的第二输入;
    响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第一图标的显示参数为调整前的显示参数。
  5. 根据权利要求1所述的文件夹显示方法,其中,在所述显示文件夹之后,所述方法还包括:
    接收针对所述文件夹的第三输入;
    响应于所述第三输入,调整所述文件夹的尺寸;
    在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同;
    其中,所述第三图标为所述第一图标、第二图标或其他图标。
  6. 一种文件夹显示装置,包括:
    第一显示模块,用于显示第一图标和第二图标,所述第一图标的显示区域与所述第二图标的显示区域互相独立;
    第一接收模块,用于接收针对所述第一图标的第一输入;
    第一调整模块,用于响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数;
    第二显示模块,用于根据所述第二图标和显示参数调整后的所述第一图标,显示文件夹,所述文件夹包括所述第一图标和所述第二图标;
    其中,所述显示参数包括尺寸和形状中至少一项。
  7. 根据权利要求6所述的文件夹显示装置,其中,所述装置还包括:
    第一处理模块,用于在所述显示文件夹之后,在显示文件夹界面的情况下,恢复所述文件夹中的第一图标的显示参数为调整前的显示参数;或者,维持所述第一图标和第二图标的显示参数为预设显示参数。
  8. 根据权利要求6所述的文件夹显示装置,其中,所述响应于所述第一输入,根据所述第二图标的显示参数调整所述第一图标的显示参数,包括:
    响应于所述第一输入,更新所述第一图标的显示位置;在所述第一图标与所述第二图标至少部分重叠的情况下,获取所述第二图标的显示参数,根据第二图标的显示参数调整所述第一图标的显示参数。
  9. 根据权利要求6所述的文件夹显示装置,其中,所述装置还包括:
    第二接收模块,用于在所述显示文件夹之后,接收针对所述第一图标的第二输入;
    第三显示模块,用于响应于所述第二输入,取消对所述第一图标在所述文件夹中的显示,并在桌面显示所述第一图标;其中,在桌面显示的所述第 一图标的显示参数为调整前的显示参数。
  10. 根据权利要求6所述的文件夹显示装置,其中,所述装置还包括:
    第三接收模块,用于在所述显示文件夹之后,接收针对所述文件夹的第三输入;
    第二调整模块,用于响应于所述第三输入,调整所述文件夹的尺寸;
    第三调整模块,用于在调整所述文件夹的尺寸后,所述文件夹内的第三图标的部分图像被隐藏的情况下,调整所述第三图标的边缘,且调整后的边缘与所述文件夹的边缘相同;
    其中,所述第三图标为所述第一图标、第二图标或其他图标。
  11. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的文件夹显示方法的步骤。
  12. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的文件夹显示方法的步骤。
  13. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现权利要求1至5中任一项所述的文件夹显示方法的步骤。
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的文件夹显示方法的步骤。
  15. 一种电子设备,被配置为执行如权利要求1至5中任一项所述的文件夹显示方法的步骤。
PCT/CN2022/125125 2021-10-19 2022-10-13 文件夹显示方法、装置及电子设备 WO2023066130A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111213779.1A CN113946250A (zh) 2021-10-19 2021-10-19 文件夹显示方法、装置及电子设备
CN202111213779.1 2021-10-19

Publications (1)

Publication Number Publication Date
WO2023066130A1 true WO2023066130A1 (zh) 2023-04-27

Family

ID=79331623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/125125 WO2023066130A1 (zh) 2021-10-19 2022-10-13 文件夹显示方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN113946250A (zh)
WO (1) WO2023066130A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946250A (zh) * 2021-10-19 2022-01-18 维沃移动通信有限公司 文件夹显示方法、装置及电子设备
CN114816167B (zh) * 2022-05-23 2022-11-08 荣耀终端有限公司 应用图标的显示方法、电子设备及可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005004419A (ja) * 2003-06-11 2005-01-06 Fuji Photo Film Co Ltd ファイル閲覧装置及び方法並びにプログラム
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN103428358A (zh) * 2012-05-17 2013-12-04 Lg电子株式会社 移动终端及其控制方法
US20150113452A1 (en) * 2013-10-17 2015-04-23 Cyan Inc. Graphical user interface
CN112099686A (zh) * 2020-09-04 2020-12-18 维沃移动通信有限公司 图标显示控制方法、装置和电子设备
CN113268182A (zh) * 2021-05-19 2021-08-17 维沃移动通信有限公司 应用图标的管理方法和电子设备
CN113946250A (zh) * 2021-10-19 2022-01-18 维沃移动通信有限公司 文件夹显示方法、装置及电子设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980433A (zh) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 图标的分组方法及装置
CN112181225A (zh) * 2020-09-29 2021-01-05 维沃移动通信有限公司 桌面元素调整方法、装置和电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005004419A (ja) * 2003-06-11 2005-01-06 Fuji Photo Film Co Ltd ファイル閲覧装置及び方法並びにプログラム
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN103428358A (zh) * 2012-05-17 2013-12-04 Lg电子株式会社 移动终端及其控制方法
US20150113452A1 (en) * 2013-10-17 2015-04-23 Cyan Inc. Graphical user interface
CN112099686A (zh) * 2020-09-04 2020-12-18 维沃移动通信有限公司 图标显示控制方法、装置和电子设备
CN113268182A (zh) * 2021-05-19 2021-08-17 维沃移动通信有限公司 应用图标的管理方法和电子设备
CN113946250A (zh) * 2021-10-19 2022-01-18 维沃移动通信有限公司 文件夹显示方法、装置及电子设备

Also Published As

Publication number Publication date
CN113946250A (zh) 2022-01-18

Similar Documents

Publication Publication Date Title
WO2023066130A1 (zh) 文件夹显示方法、装置及电子设备
WO2022068773A1 (zh) 桌面元素调整方法、装置和电子设备
WO2021136136A1 (zh) 截图方法及电子设备
US20130038627A1 (en) Method and apparatus for displaying an image
WO2016106997A1 (zh) 屏幕截图方法及装置、移动终端
WO2022127304A1 (zh) 界面显示状态的调整方法及装置、设备、存储介质
WO2017032078A1 (zh) 一种界面控制方法及移动终端
WO2023061280A1 (zh) 应用程序显示方法、装置及电子设备
WO2022166893A1 (zh) 信息显示方法、装置、电子设备和存储介质
WO2023155811A1 (zh) 页面布局调整方法、装置
WO2023046101A1 (zh) 图标显示方法、装置及电子设备
WO2022135409A1 (zh) 显示处理方法、显示处理装置和可穿戴设备
WO2023046068A1 (zh) 文件处理方法及装置
CN104516644A (zh) 一种自由截屏的方法及终端
WO2024037418A1 (zh) 显示方法、装置、电子设备及可读存储介质
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
WO2023284632A1 (zh) 图像展示方法、装置及电子设备
WO2023155877A1 (zh) 应用图标管理方法、装置和电子设备
WO2023025121A1 (zh) 显示方法、装置、电子设备及可读存储介质
WO2023030115A1 (zh) 界面显示方法和装置
WO2023274067A1 (zh) 图标生成方法、装置、电子设备和可读存储介质
WO2022242542A1 (zh) 应用图标的管理方法和电子设备
WO2022242515A1 (zh) 界面显示方法及装置
WO2024088317A1 (zh) 应用界面显示方法、装置、电子设备及存储介质
WO2024046203A1 (zh) 内容显示方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22882740

Country of ref document: EP

Kind code of ref document: A1