Home
last modified time | relevance | path

Searched refs:numPoints (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java174 final int numPoints = mTouchPoints.size(); in touchStart() local
175 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() local
200 if (numPoints == 0) { in touchMove()
204 int[] pointerIds = new int[numPoints]; in touchMove()
205 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchMove()
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java214 int numPoints = getTouchPoints().size();
216 if (numPoints == 0) {
219 id = getTouchPoints().get(numPoints - 1).getId() + 1;
455 int numPoints = getTouchPoints().size(); in executeTouchEvent() local
456 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 …]
/frameworks/base/core/jni/android/graphics/
DHarfbuzzSkia.cpp144 uint32_t numPoints = path.getPoints(0, 0); in getOutlinePoint() local
145 if (point >= numPoints) in getOutlinePoint()
154 *resultingNumPoints = numPoints; in getOutlinePoint()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java268 public static float[] temporalSampling(GestureStroke stroke, int numPoints) { in temporalSampling() argument
269 final float increment = stroke.length / (numPoints - 1); in temporalSampling()
270 int vectorLength = numPoints * 2; in temporalSampling()