Patent ID: 11893226
Assignee: HONOR DEVICE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A display method, applied to an electronic device, the method comprising:
finding, by the electronic device, a plurality of devices within a first time period;
displaying, by the electronic device, a first window and a second window, wherein an identifier of to-be-shared content is displayed in the first window, identifiers corresponding to the plurality of devices are displayed in the second window, and the identifiers of the devices are displayed in the second window in a preset order, wherein the identifiers of the devices comprise a first identifier and a second identifier, and wherein the electronic device displays the first identifier at a first position in the second window, and then displays the second identifier at a second position in the second window;
detecting, by the electronic device, a first operation of dragging the identifier of the to-be-shared content to the second window;
stopping, by the electronic device, the display of the first identifier during a process of receiving the first operation;
detecting, by the electronic device during the process of receiving the first operation, that a distance between the second identifier and the identifier of the to-be-shared content is less than a first value;
detecting, by the electronic device, a second operation on the second identifier;
sharing, by the electronic device, the to-be-shared content with a device corresponding to the second identifier in response to the second operation; and
controlling, by the electronic device within a second time period from a moment when the electronic device stops the display of the first identifier to a moment when the electronic device detects the second operation, either a) a display position of the second identifier in the second window to remain unchanged, or b) displacement of a display position of the second identifier in the second window to be less than a second value.