Touch screen-based electronic book automatic scrolling control method and mobile terminal
AssigneeHuizhou Tcl Mobile Communication Co., Ltd.
InventorsBin Yu, Weiqin Yang
Life of this patent
Estimating the term…
Abstract
A touch screen-based electronic book automatic scrolling control method may comprise detecting a leftmost column of touch points of a touch screen to obtain an ordinate value yl of a touch point that has a smallest ordinate value; detecting a rightmost column of touch points of the touch screen to obtain an ordinate value yr of a touch point that has a largest ordinate value; and based on yl and yr, calculating a rate at which a content currently displayed on the screen will be scrolled down, and controlling the automatic scrolling down of an electronic book according to the calculated rate.
Claims12
A touch screen-based electronic book automatic scrolling control method, comprising:
- detecting a leftmost column of touch points of a touch screen to obtain an ordinate value yl of a touch point that has a smallest ordinate value;
- detecting a rightmost column of touch points of the touch screen to obtain an ordinate value yr of a touch point that has a largest ordinate value;
- and
- based on the ordinate value yl and the ordinate value yr, calculating a rate at which a content currently displayed on the screen will be scrolled down, and controlling the automatic scrolling down of an electronic book according to the calculated rate;
- wherein the step of, based on the ordinate value yl and the ordinate value yr, calculating a rate at which the content currently displayed on the screen will be scrolled down, and controlling the automatic scrolling down of the electronic book according to the calculated rate comprises:
- based on the ordinate value yl and the ordinate value yr, calculating the rate at which the content currently displayed on the screen will be scrolled down according to the formula (yr−yl)/YM, and controlling the automatic scrolling down of the electronic book according to the calculated rate, wherein YM is a maximum ordinate value of the touch screen.
A mobile terminal, comprising a touch screen, a central processing unit, wherein the central processing unit comprises:
- a touch point detecting module, which is configured to detect the leftmost column of touch points of a touch screen to obtain an ordinate value yl of a touch point that has a smallest ordinate value;
- and is configured to detect the rightmost column of touch points of the touch screen to obtain an ordinate value yr of a touch point that has a largest ordinate value;
- and
- a scrolling control module, which is configured to, based on the ordinate value yl and the ordinate value yr, calculate a rate at which the content currently displayed on the screen will be scrolled down, and control the automatic scrolling down of an electronic book according to the calculated rate;
- wherein the scrolling control module is configured to, based on the ordinate value yl and the ordinate value yr, calculate a rate at which the content currently displayed on the screen will be scrolled down according to the formula (yr−yl)/YM, and control the automatic scrolling down of an electronic book according to the calculated rate, wherein YM is a maximum ordinate value of the touch screen.
Dependencies are inferred from the claim text.