80,351
社区成员
发帖
与我相关
我的任务
分享
/**the view width as 9 weights*/
private static final int WIDTH_TOTAL_WEIGHTS = 9;
/**the view height as 9 weights*/
private static final int HEIGHT_TOTAL_WEIGHTS = 9;
//The peak point, all of numbers are weight, such as (4/total_width_weight)*width, (0/total_height_weight)*height
//(8,7) to (6,0)
//need to draw line by other software
//draw the wave peak when the valid heartrate is gotten.
//LLL 0 1 2 3 4 5 6 7 8 9
//0 (7,0)[2]
//1
//2
//3
//4
//5
//6
//7 (0, 6)[5] (4,6)[4]
//8
//9 (8,6)[1]
//10 (5,9)[3]