Searched refs:numPoints (Results 1 – 4 of 4) sorted by relevance
174 final int numPoints = mTouchPoints.size(); in touchStart() local175 if (numPoints == 0) { in touchStart()179 int[] pointerIds = new int[numPoints]; in touchStart()180 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchStart()183 for (int i = 0; i < numPoints; ++i) { in touchStart()192 MotionEvent.ACTION_DOWN, numPoints, pointerIds, pointerCoords, in touchStart()199 final int numPoints = mTouchPoints.size(); in touchMove() local200 if (numPoints == 0) { in touchMove()204 int[] pointerIds = new int[numPoints]; in touchMove()205 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchMove()[all …]
214 int numPoints = getTouchPoints().size();216 if (numPoints == 0) {219 id = getTouchPoints().get(numPoints - 1).getId() + 1;455 int numPoints = getTouchPoints().size(); in executeTouchEvent() local456 int[] pointerIds = new int[numPoints]; in executeTouchEvent()457 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in executeTouchEvent()459 for (int i = 0; i < numPoints; ++i) { in executeTouchEvent()477 numPoints = 0; in executeTouchEvent()479 pointerIds[numPoints] = getTouchPoints().get(i).getId(); in executeTouchEvent()480 pointerCoords[numPoints] = new MotionEvent.PointerCoords(); in executeTouchEvent()[all …]
144 uint32_t numPoints = path.getPoints(0, 0); in getOutlinePoint() local145 if (point >= numPoints) in getOutlinePoint()154 *resultingNumPoints = numPoints; in getOutlinePoint()
268 public static float[] temporalSampling(GestureStroke stroke, int numPoints) { in temporalSampling() argument269 final float increment = stroke.length / (numPoints - 1); in temporalSampling()270 int vectorLength = numPoints * 2; in temporalSampling()