Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java309 float[] locationVector = new float[2]; in checkCollision() local
310 locationVector[X] = location[X] - ring.getRectangleHitBox().get(3)[X]; in checkCollision()
311 locationVector[Y] = location[Y] - ring.getRectangleHitBox().get(3)[Y]; in checkCollision()
313 if (dotProduct(rectangleVector1, locationVector, VECTOR_2D) > 0) { in checkCollision()
315 > dotProduct(rectangleVector1, locationVector, VECTOR_2D)) { in checkCollision()
316 if (dotProduct(rectangleVector2, locationVector, VECTOR_2D) > 0) { in checkCollision()
318 > dotProduct(rectangleVector2, locationVector, VECTOR_2D)) { in checkCollision()