Lines Matching full:other

92 	}other;  member
111 }other; member
130 }other; member
147 }other; member
190 }other; member
338 }other; member
572 if(global_state.other.ex) in PointCoor()
606 if (point_now[i].other.key) in PointRepeat()
608 x_min = point_now[i].other.x - pn; in PointRepeat()
609 x_max = point_now[i].other.x + pn; in PointRepeat()
610 y_min = point_now[i].other.y - pn; in PointRepeat()
611 y_max = point_now[i].other.y + pn; in PointRepeat()
616 if (point_now[j].other.key) in PointRepeat()
618 x = point_now[j].other.x; in PointRepeat()
619 y = point_now[j].other.y; in PointRepeat()
622 point_now[i].other.x = in PointRepeat()
623 (point_now[i].other.x + in PointRepeat()
624 point_now[j].other.x + 1) / 2; in PointRepeat()
625 point_now[i].other.y = in PointRepeat()
626 (point_now[i].other.y + in PointRepeat()
627 point_now[j].other.y + 1) / 2; in PointRepeat()
775 if (point_now[i].other.key != 0) in CoordinateCorrect()
777 if (point_now[i].other.x >= edge_size && in CoordinateCorrect()
778 point_now[i].other.x <= drv_num_nokey * 64 - edge_size) in CoordinateCorrect()
782 if (point_now[i].other.x & 64) in CoordinateCorrect()
783 point_now[i].other.x = CCO(point_now[i].other.x, px[0], 2); in CoordinateCorrect()
785 point_now[i].other.x = CCO(point_now[i].other.x, px[1], 2); in CoordinateCorrect()
794 point_now[i].other.x < multi_x[j].range)) in CoordinateCorrect()
796 point_now[i].other.x = CCO(point_now[i].other.x, px[j], kx); in CoordinateCorrect()
801 if (point_now[i].other.y >= edge_size && in CoordinateCorrect()
802 point_now[i].other.y <= sen_num_nokey * 64 - edge_size) in CoordinateCorrect()
806 if (point_now[i].other.y & 64) in CoordinateCorrect()
807 point_now[i].other.y = CCO(point_now[i].other.y, py[0], 2); in CoordinateCorrect()
809 point_now[i].other.y = CCO(point_now[i].other.y, py[1], 2); in CoordinateCorrect()
818 point_now[i].other.y < multi_y[j].range)) in CoordinateCorrect()
820 point_now[i].other.y = CCO(point_now[i].other.y, py[j], ky); in CoordinateCorrect()
832 pp[0][n].other.predict = 0; in PointPredictOne()
839 t = pp[1][n].other.x * 2; in PointPredictTwo()
840 if (t > pp[2][n].other.x) in PointPredictTwo()
841 t -= pp[2][n].other.x; in PointPredictTwo()
845 pp[0][n].other.x = 0xffff; in PointPredictTwo()
847 pp[0][n].other.x = t; in PointPredictTwo()
848 t = pp[1][n].other.y * 2; in PointPredictTwo()
849 if (t > pp[2][n].other.y) in PointPredictTwo()
850 t -= pp[2][n].other.y; in PointPredictTwo()
854 pp[0][n].other.y = 0xfff; in PointPredictTwo()
856 pp[0][n].other.y = t; in PointPredictTwo()
857 pp[0][n].other.predict = 1; in PointPredictTwo()
864 t = pp[1][n].other.x * 5 + pp[3][n].other.x; in PointPredictThree()
865 t2 = pp[2][n].other.x * 4; in PointPredictThree()
872 pp[0][n].other.x = 0xffff; in PointPredictThree()
874 pp[0][n].other.x = t; in PointPredictThree()
875 t = pp[1][n].other.y * 5 + pp[3][n].other.y; in PointPredictThree()
876 t2 = pp[2][n].other.y * 4; in PointPredictThree()
883 pp[0][n].other.y = 0xfff; in PointPredictThree()
885 pp[0][n].other.y = t; in PointPredictThree()
886 pp[0][n].other.predict = 1; in PointPredictThree()
896 if (global_state.other.interpolation in PointPredict()
898 || pp[2][i].other.fill != 0 in PointPredict()
899 || pp[3][i].other.fill != 0 in PointPredict()
900 || pp[1][i].other.key != 0 in PointPredict()
901 || global_state.other.only) in PointPredict()
917 if (pp[1][i].other.key) in PointPredict()
991 if (pp[0][i].other.predict == 0 || pp[1][i].other.fill != 0) in PointId()
1007 if (global_state.other.only) in PointId()
1014 pp[1][0].other.key != in PointId()
1015 point_now[distance.j].other.key) in PointId()
1071 if (point_now[j].other.able) in PointNewId()
1092 if (pp[0][i].other.fill == 0) in PointOrder()
1094 if (pp[1][i].all == 0 || pp[1][i].other.fill != 0 || filter_able == 0 || filter_able == 1) in PointOrder()
1113 if (((pp[0][j].other.x < pp[0][i].other.x && pp[1][j].other.x > pp[1][i].other.x) in PointCross()
1114 || (pp[0][j].other.x > pp[0][i].other.x && pp[1][j].other.x < pp[1][i].other.x)) in PointCross()
1115 && ((pp[0][j].other.y < pp[0][i].other.y && pp[1][j].other.y > pp[1][i].other.y) in PointCross()
1116 || (pp[0][j].other.y > pp[0][i].other.y && pp[1][j].other.y < pp[1][i].other.y))) in PointCross()
1118 t = pp[0][i].other.x; in PointCross()
1119 pp[0][i].other.x = pp[0][j].other.x; in PointCross()
1120 pp[0][j].other.x = t; in PointCross()
1121 t = pp[0][i].other.y; in PointCross()
1122 pp[0][i].other.y = pp[0][j].other.y; in PointCross()
1123 pp[0][j].other.y = t; in PointCross()
1147 point_delay[i].other.able = 1; in PointDelay()
1151 point_delay[i].other.init == 0 && in PointDelay()
1152 point_delay[i].other.able == 0) in PointDelay()
1156 point_delay[i].other.delay = (report_delay >> 3 * in PointDelay()
1158 point_delay[i].other.report = (report_ahead >> 3 * in PointDelay()
1160 if (point_delay[i].other.report > point_delay[i].other.delay) in PointDelay()
1161 point_delay[i].other.report = point_delay[i].other.delay; in PointDelay()
1162 point_delay[i].other.init = 1; in PointDelay()
1166 point_delay[i].other.init = 0; in PointDelay()
1168 if (point_delay[i].other.able == 0 && point_delay[i].other.init != 0) in PointDelay()
1170 for (j = 0; j <= (int)point_delay[i].other.delay; j++) in PointDelay()
1172 pp[j][i].other.fill != 0 || in PointDelay()
1173 pp[j][i].other.able != 0) in PointDelay()
1175 if (j <= (int)point_delay[i].other.delay) in PointDelay()
1177 point_delay[i].other.able = 1; in PointDelay()
1179 if (pp[point_delay[i].other.report][i].all == 0) in PointDelay()
1181 point_delay[i].other.able = 0; in PointDelay()
1184 if (point_delay[i].other.able == 0) in PointDelay()
1186 if (point_delay[i].other.report) in PointDelay()
1188 if (PointDistance(&pp[point_delay[i].other.report][i], in PointDelay()
1189 &pp[point_delay[i].other.report - 1][i]) < 3 * 3) in PointDelay()
1190 point_delay[i].other.report--; in PointDelay()
1206 x += (int)pr[j][i].other.x * (int)pr_c[j] + in FilterOne()
1207 (int)ps[j][i].other.x * (int)ps_c[j]; in FilterOne()
1208 y += (int)pr[j][i].other.y * (int)pr_c[j] + in FilterOne()
1209 (int)ps[j][i].other.y * (int)ps_c[j]; in FilterOne()
1221 pr[0][i].other.x = x; in FilterOne()
1222 pr[0][i].other.y = y; in FilterOne()
1270 buf_x[j] = ps[j][i].other.x; in PointMedian()
1271 buf_y[j] = ps[j][i].other.y; in PointMedian()
1275 pr[0][i].other.x = buf_x[deep / 2]; in PointMedian()
1276 pr[0][i].other.y = buf_y[deep / 2]; in PointMedian()
1377 x = p->other.x; in ScreenResolution()
1378 y = p->other.y; in ScreenResolution()
1379 if (p->other.key == FALSE) in ScreenResolution()
1386 if (p->other.key == FALSE) in ScreenResolution()
1414 if (global_flag.other.opposite_x) in ScreenResolution()
1416 if (global_flag.other.opposite_y) in ScreenResolution()
1418 if (global_flag.other.opposite_xy) in ScreenResolution()
1442 if (point_num > point_num_max && global_flag.other.over_report_mask != 0) in PointReport()
1451 if (global_flag.other.id_over) in PointReport()
1455 if (point_delay[i].other.able == 0) in PointReport()
1457 if (point_delay[i].other.report >= PR_DEEP - 1) in PointReport()
1459 if (pr[point_delay[i].other.report + 1][i].other.able == 0) in PointReport()
1461 if (pr[point_delay[i].other.report][i].all) in PointReport()
1463 pr[point_delay[i].other.report][i].other.able = 1; in PointReport()
1464 data[i] = ScreenResolution(&pr[point_delay[i].other.report][i]); in PointReport()
1474 if (point_delay[i].other.able == 0) in PointReport()
1476 if (point_delay[i].other.report >= PR_DEEP) in PointReport()
1478 if (pr[point_delay[i].other.report][i].all == 0) in PointReport()
1480 if (pr[point_delay[i].other.report][i].other.able == 0) in PointReport()
1482 pr[point_delay[i].other.report][i].other.able = 1; in PointReport()
1483 data[i] = ScreenResolution(&pr[point_delay[i].other.report][i]); in PointReport()
1497 if (point_delay[i].other.able == 0) in PointReport()
1499 if (point_delay[i].other.report >= PR_DEEP) in PointReport()
1501 data[num] = ScreenResolution(&pr[point_delay[i].other.report][i]); in PointReport()
1586 if (point_now[id].all == 0 || point_now[id].other.key != 0) in PointEdge()
1588 x = point_now[id].other.x; in PointEdge()
1589 y = point_now[id].other.y; in PointEdge()
1667 point_now[id].other.x = x; in PointEdge()
1668 point_now[id].other.y = y; in PointEdge()
1693 if (pp[0][i].all == 0 || pp[0][i].other.key) in PointStretch()
1705 if (point_edge.coor.other.x < (unsigned int)((edge_first >> 24) & 0xff)) in PointStretch()
1706 point_edge.coor.other.x = ((edge_first >> 24) & 0xff); in PointStretch()
1707 if (point_edge.coor.other.x > drv_num_nokey * 64 - ((edge_first >> 16) & 0xff)) in PointStretch()
1708 point_edge.coor.other.x = drv_num_nokey * 64 - ((edge_first >> 16) & 0xff); in PointStretch()
1709 if (point_edge.coor.other.y < (unsigned int)((edge_first >> 8) & 0xff)) in PointStretch()
1710 point_edge.coor.other.y = ((edge_first >> 8) & 0xff); in PointStretch()
1711 if (point_edge.coor.other.y > sen_num_nokey * 64 - ((edge_first >> 0) & 0xff)) in PointStretch()
1712 point_edge.coor.other.y = sen_num_nokey * 64 - ((edge_first >> 0) & 0xff); in PointStretch()
1734 ps[0][i].other.x = point_edge.coor.other.x + in PointStretch()
1735 (ps[0][i].other.x - point_edge.coor.other.x) * in PointStretch()
1737 ps[0][i].other.y = point_edge.coor.other.y + in PointStretch()
1738 (ps[0][i].other.y - point_edge.coor.other.y) * in PointStretch()
1785 ps[0][i].other.x = ps[1][i].other.x; in PointStretch()
1786 ps[0][i].other.y = ps[1][i].other.y; in PointStretch()
1790 ps[0][i].other.x = (int)ps[1][i].other.x + in PointStretch()
1791 ((int)pp[0][i].other.x - in PointStretch()
1792 (int)ps[1][i].other.x) * dr / dn; in PointStretch()
1793 ps[0][i].other.y = (int)ps[1][i].other.y + in PointStretch()
1794 ((int)pp[0][i].other.y - in PointStretch()
1795 (int)ps[1][i].other.y) * dr / dn; in PointStretch()
1802 point_decimal[i].other.x += in PointStretch()
1803 (short)ps[0][i].other.x - in PointStretch()
1804 (short)ps[1][i].other.x; in PointStretch()
1805 point_decimal[i].other.y += in PointStretch()
1806 (short)ps[0][i].other.y - in PointStretch()
1807 (short)ps[1][i].other.y; in PointStretch()
1808 ps[0][i].other.x = ps[1][i].other.x; in PointStretch()
1809 ps[0][i].other.y = ps[1][i].other.y; in PointStretch()
1810 if (point_decimal[i].other.x > dc[0] && ps[1][i].other.x < 0xffff) in PointStretch()
1812 ps[0][i].other.x += 1; in PointStretch()
1813 point_decimal[i].other.x = 0; in PointStretch()
1815 if (point_decimal[i].other.x < -dc[0] && ps[1][i].other.x > 0) in PointStretch()
1817 ps[0][i].other.x -= 1; in PointStretch()
1818 point_decimal[i].other.x = 0; in PointStretch()
1820 if (point_decimal[i].other.y > dc[0] && ps[1][i].other.y < 0xffff) in PointStretch()
1822 ps[0][i].other.y += 1; in PointStretch()
1823 point_decimal[i].other.y = 0; in PointStretch()
1825 if (point_decimal[i].other.y < -dc[0] && ps[1][i].other.y > 0) in PointStretch()
1827 ps[0][i].other.y -= 1; in PointStretch()
1828 point_decimal[i].other.y = 0; in PointStretch()
1833 point_decimal[i].other.x = 0; in PointStretch()
1834 point_decimal[i].other.y = 0; in PointStretch()
1880 ps[0][i].other.x = (int)ps[1][i].other.x + in PointStretch()
1881 (((int)pp[0][i].other.x - in PointStretch()
1882 (int)ps[1][i].other.x) * dr) / 128; in PointStretch()
1883 ps[0][i].other.y = (int)ps[1][i].other.y + in PointStretch()
1884 (((int)pp[0][i].other.y - in PointStretch()
1885 (int)ps[1][i].other.y) * dr) / 128; in PointStretch()
1892 ps[0][i].other.x = ps[1][i].other.x; in PointStretch()
1893 ps[0][i].other.y = ps[1][i].other.y; in PointStretch()
1903 ps[0][i].other.x = (int)ps[1][i].other.x + in PointStretch()
1904 (((int)pp[0][i].other.x - in PointStretch()
1905 (int)ps[1][i].other.x) * dr + 64) / 128; in PointStretch()
1906 ps[0][i].other.y = (int)ps[1][i].other.y + in PointStretch()
1907 (((int)pp[0][i].other.y - in PointStretch()
1908 (int)ps[1][i].other.y) * dr + 64) / 128; in PointStretch()
1926 if (global_state.other.mask) in ResetMask()
1942 global_state.other.mask = 1; in ResetMask()
2053 square = ((int)sen_num_nokey*(int)(p->other.x) - in DiagonalDistance()
2054 (int)drv_num_nokey*(int)(p->other.y)) / 4; in DiagonalDistance()
2056 square = ((int)sen_num_nokey*(int)(p->other.x) + in DiagonalDistance()
2057 (int)drv_num_nokey*(int)(p->other.y) - in DiagonalDistance()
2075 x = p->other.x; in DiagonalCompress()
2076 y = p->other.y; in DiagonalCompress()
2097 p->other.x = x; in DiagonalCompress()
2098 p->other.y = y; in DiagonalCompress()
2113 if (ps[0][i].all == 0 || ps[0][i].other.key != 0) in PointDiagonal()
2120 if ((ps[0][i].other.x <= diagonal_start && in PointDiagonal()
2121 ps[0][i].other.y <= diagonal_start) || in PointDiagonal()
2122 (ps[0][i].other.x >= drv_num_nokey * 64 - diagonal_start && in PointDiagonal()
2123 ps[0][i].other.y >= sen_num_nokey * 64 - diagonal_start)) in PointDiagonal()
2125 else if ((ps[0][i].other.x <= diagonal_start && in PointDiagonal()
2126 ps[0][i].other.y >= sen_num_nokey * 64 - diagonal_start) || in PointDiagonal()
2127 (ps[0][i].other.x >= drv_num_nokey * 64 - diagonal_start && in PointDiagonal()
2128 ps[0][i].other.y <= diagonal_start)) in PointDiagonal()
2221 if (point_num >= 2 || (point_num == 1 && pp[0][0].all == 0) || pp[0][0].other.key) in DoubleClick()
2614 global_state.other.reset == 1)) in GetFlag()
2620 global_state.other.reset = 1; in GetFlag()
2623 global_state.other.only = 1; in GetFlag()
2625 global_state.other.only = 0; in GetFlag()
2627 global_state.other.interpolation = 0xf; in GetFlag()
2628 else if (global_state.other.interpolation) in GetFlag()
2629 global_state.other.interpolation--; in GetFlag()
2631 global_state.other.ex = 1; in GetFlag()
2633 global_state.other.ex = 0; in GetFlag()
2752 return GestureSqrt((d1->other.x - d2->other.x) * in GestureDistance()
2753 (d1->other.x - d2->other.x) + in GestureDistance()
2754 (d1->other.y - d2->other.y) * in GestureDistance()
2755 (d1->other.y - d2->other.y)); in GestureDistance()
2757 return (d1->other.x - d2->other.x) * in GestureDistance()
2758 (d1->other.x - d2->other.x) + in GestureDistance()
2759 (d1->other.y - d2->other.y) * in GestureDistance()
2760 (d1->other.y - d2->other.y); in GestureDistance()
2797 if(gesture_buf[i].other.x > x_max) in GestureStretch()
2798 x_max = gesture_buf[i].other.x; in GestureStretch()
2799 if (gesture_buf[i].other.x < x_min) in GestureStretch()
2800 x_min = gesture_buf[i].other.x; in GestureStretch()
2801 if (gesture_buf[i].other.y > y_max) in GestureStretch()
2802 y_max = gesture_buf[i].other.y; in GestureStretch()
2803 if (gesture_buf[i].other.y < y_min) in GestureStretch()
2804 y_min = gesture_buf[i].other.y; in GestureStretch()
2810 gesture_buf[i].other.x = (gesture_buf[i].other.x - x_min) * in GestureStretch()
2812 gesture_buf[i].other.y = (gesture_buf[i].other.y - y_min) * in GestureStretch()
2850 t = (int)gesture_buf[n - 1].other.x in GestureStandard()
2851 + ((int)gesture_buf[n].other.x - (int)gesture_buf[n - 1].other.x) in GestureStandard()
2857 gesture_standard[i].other.x = t; in GestureStandard()
2858 t = (int)gesture_buf[n - 1].other.y in GestureStandard()
2859 + ((int)gesture_buf[n].other.y - (int)gesture_buf[n - 1].other.y) in GestureStandard()
2865 gesture_standard[i].other.y = t; in GestureStandard()
3026 x1 = gesture_buf[0].other.x;//480 in GestureLRUD()
3027 y1 = gesture_buf[0].other.y;//800 in GestureLRUD()
3028 x2 = gesture_buf[gesture_num - 1].other.x; in GestureLRUD()
3029 y2 = gesture_buf[gesture_num - 1].other.y; in GestureLRUD()
3036 if (abs(gesture_buf[i].other.x - middle_x)<(int)sen_num_nokey * 64 / x_scale)//screen_y_max/8)//30 in GestureLRUD()
3040 if (abs(gesture_buf[i].other.y - middle_y)<(int)drv_num_nokey * 64 / y_scale)//screen_x_max/8)//25 in GestureLRUD()
3044 if ((int)gesture_buf[i].other.x - (int)gesture_buf[i - 1].other.x>min_scale) in GestureLRUD()
3046 else if ((int)gesture_buf[i].other.x - (int)gesture_buf[i - 1].other.x<-min_scale) in GestureLRUD()
3048 if ((int)gesture_buf[i].other.y - (int)gesture_buf[i - 1].other.y>min_scale) in GestureLRUD()
3050 else if ((int)gesture_buf[i].other.y - (int)gesture_buf[i - 1].other.y<-min_scale) in GestureLRUD()