×

Method, device and storage medium for interchanging icon positions

  • US 10,061,497 B2
  • Filed: 05/24/2016
  • Issued: 08/28/2018
  • Est. Priority Date: 11/05/2015
  • Status: Active Grant
First Claim
Patent Images

1. An icon position interchanging method, comprising:

  • receiving a first sliding signal and a second sliding signal, the first sliding signal being triggered by a first dragging operation over a first icon and the second sliding signal being triggered by a second dragging operation over a second icon;

    determining a first sliding vector according to the first sliding signal and a second sliding vector according to the second sliding signal;

    judging whether the first sliding signal and the second sliding signal satisfy a preset condition according to a first length of the first sliding vector and a second length of the second sliding vector; and

    performing, if the first sliding signal and the second sliding signal satisfy the preset condition, position interchanging on the first icon and the second icon;

    wherein judging whether the first sliding signal and the second sliding signal satisfy the preset condition includes;

    acquiring a display position distance between a display position of the first icon and a display position of the second icon;

    determining whether the display position distance, the first length, and the second length satisfy a numerical relationship; and

    determining, if the display position distance, the first length, and the second length satisfy the numerical relationship, that the first sliding signal and the second sliding signal satisfy the preset condition;

    wherein determining whether the display position distance, the first length, and the second length satisfy the numerical relationship includes determining whether the display position distance, the first length, and the second length satisfy at least one of following relationships;

    a ratio of the first length to the display position distance exceeds a first preset value;

    a ratio of the second length to the display position distance exceeds a second preset value;

    ora ratio of a sum of the first length and the second length to the display position distance exceeds a third preset value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×