Screen rotation method and device, mobile device

Screen rotation method and device, mobile device

  • CN 103,902,185 B
  • Filed: 04/23/2014
  • Issued: 02/12/2019
  • Est. Priority Date: 04/23/2014
  • Status: Active Grant
First Claim
Patent Images

1. a kind of screen rotation method characterized by comprisingStart position when two groups of fingers move on the screen and final position are obtained, two groups of fingers separation is in screen centerThe two sides of point;

  • Wherein, center'"'"'s point of screen is being equidistant away from screen upper edge and lower edge and away from left margin and the right edgeEquidistant point;

    One ray is determined by the center'"'"'s point of screen and the start position, directions of rays is by the screen center to instituteState start position;

    When the final position is at the left side of the directions of rays, determine that the moving direction of finger is counterclockwise;

    When the final position is at the right side of the directions of rays, determine that the moving direction of finger is clockwise;

    If the moving direction of two groups of fingers is identical, by the moving direction Rotation screen;

    Wherein, the final position is penetrated in the judgment method in the left side of the directions of rays and the final position describedThe judgment method on the right side in line direction, comprising;

    The first coordinate system is established by the X-axis of default coordinate system and the parallel direction of Y-axis using center'"'"'s point of screen as origin;

    The angle [alpha] for determining the X positive axis of start position and the first coordinate system, angle is negative if starting point is above X positive axis, ifThen angle is positive below X positive axis;

    The absolute value of α

    should be less than 180 °



    The second coordinate system is established by the X-axis of default coordinate system and the parallel direction of Y-axis using start position as origin;

    Determine the angle beta of the negative semiaxis of final position and the second coordinate system, if starting point is above X positive axis, then angle is negative, ifBelow X positive axis, then angle is positive, and the absolute value of β

    should be less than 180 °



    Obtain angle [alpha] angle beta;

    As α

    <

    0 and β

    <

    0 and β

    >

    α



    Or α

    <

    0 and β

    >

    0 and-α

    <

    180 °

    β



    Or α

    >

    0 and β

    <

    α



    Or α

    >

    0 and when alpha-beta<

    180 °

    , determine handRefer to be mobile clockwise;

    As β



    or | β



    |=180 °

    , can not determine moving direction;

    It is unsatisfactory under the condition moved clockwise is also unsatisfactory for the condition that can not determine moving direction in angle [alpha] angle beta, reallyDetermining moving direction is counterclockwise movement.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×