Display method, graphical interference, and related apparatus
AssigneeHonor Device Co., Ltd.
InventorsBolun Gao, Ruilin Quan
Life of this patent
Estimating the term…
Abstract
A display method, a graphical interface, and a related apparatus. In the method, when an electronic device detects, in a process of detecting an operation of dragging an identifier of to-be-shared content to a target identifier, that an identifier before the target identifier disappears, the electronic device may maintain a position of the target identifier in a display screen unchanged, so that a user drags the identifier of the to-be-shared content to the target identifier and releases the same, to send the to-be-shared content to a device corresponding to the target identifier.
Claims20
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.
An electronic device, comprising:
- a processor;
- and
- a non-transitory memory coupled to the processor and storing instructions that, when executed by the processor, cause the electronic device to be configured to:
- find a plurality of devices within a first time period;
- display 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 comprises a first identifier and a second identifier, and wherein the electronic device is configured to display the first identifier at a first position in the second window, and then display the second identifier at a second position in the second window;
- detect a first operation of dragging the identifier of the to-be-shared content to the second window;
- stop the display of the first identifier during a process of receiving the first operation;
- detect, 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;
- detect a second operation on the second identifier;
- share the to-be-shared content with a device corresponding to the second identifier in response to the second operation;
- and
- control, 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.
A non-transitory computer-readable storage medium storing instructions that, when executed by a processor of an electronic device, cause the electronic device to be configured to:
- find a plurality of devices within a first time period;
- display 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 comprises a first identifier and a second identifier, and wherein the electronic device is configured to display the first identifier at a first position in the second window, and then display the second identifier at a second position in the second window;
- detect a first operation of dragging the identifier of the to-be-shared content to the second window;
- stop the display of the first identifier during a process of receiving the first operation;
- detect, 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;
- detect a second operation on the second identifier;
- share the to-be-shared content with a device corresponding to the second identifier in response to the second operation;
- and
- control, 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.
Dependencies are inferred from the claim text.