Abstract:
A method and apparatus for controlling a drag to variably change the speed of an object moving on a display unit includes displaying an object and a control region for controlling a movement of the object, wherein if a touch input is detected from the control region, the control unit determines whether duration of a drag input after the initial touch input is longer than a predetermined time period, then the control unit defines a ratio of a drag speed and an object speed, based on the determination outcome so that the object is moved in response to the drag input according to the defined ratio.
Abstract:
An electronic device includes a display; at least one processor; and at least one memory storing a knowledge graph, where the at least one memory stores instructions that, when executed by the at least one processor, cause the electronic device to perform at least one operation, and where the at least one operation includes: based on an occurrence of a trigger, identifying context information; displaying, through the display, a first reference text determined based on the context information and at least one node of the knowledge graph in a search box; displaying, through the display, a text corresponding to the first reference text in the search box according to a user input identical to part of the first reference text; based on the text and the at least one node of the knowledge graph, searching for a first content; and displaying, through the display, the searched first content.