Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSensorManager.java1353 public static boolean remapCoordinateSystem(float[] inR, int X, int Y, float[] outR) { in remapCoordinateSystem() argument
1354 if (inR == outR) { in remapCoordinateSystem()
1359 final int size = outR.length; in remapCoordinateSystem()
1361 outR[i] = temp[i]; in remapCoordinateSystem()
1367 return remapCoordinateSystemImpl(inR, X, Y, outR); in remapCoordinateSystem()
1370 private static boolean remapCoordinateSystemImpl(float[] inR, int X, int Y, float[] outR) { in remapCoordinateSystemImpl() argument
1382 final int length = outR.length; in remapCoordinateSystemImpl()
1422 if (x == i) outR[offset + i] = sx ? -inR[offset + 0] : inR[offset + 0]; in remapCoordinateSystemImpl()
1423 if (y == i) outR[offset + i] = sy ? -inR[offset + 1] : inR[offset + 1]; in remapCoordinateSystemImpl()
1424 if (z == i) outR[offset + i] = sz ? -inR[offset + 2] : inR[offset + 2]; in remapCoordinateSystemImpl()
[all …]