Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java173 private void notifyPrompt(int axis) { in notifyPrompt() argument
178 message("Manipulate the device in " + axisName.charAt(axis - 1) + in notifyPrompt()
193 private void switchAxis(int axis) { in switchAxis() argument
198 if (axis >=SensorManager.AXIS_X && axis <=SensorManager.AXIS_Z) { in switchAxis()
199 imageView.setImageResource(prompts[axis-1]); in switchAxis()
200 mIndicatorView.enableAxis(axis); in switchAxis()
201 mRVSensorLogger.updateRegister(mCoverManager.getAxis(axis), axis); in switchAxis() local
202 notifyPrompt(axis); in switchAxis()
214 public void switchAxisAsync(int axis) { in switchAxisAsync() argument
216 final int fAxis = axis; in switchAxisAsync()
[all …]
DRVCVXCheckAnalyzer.java625 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument
631 if (axis<0 || axis > 2) { in calcMaxErr()
644 switch(axis) { in calcMaxErr()
673 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument
679 if (axis<0 || axis > 2) { in calcSqrErr()
693 switch(axis) { in calcSqrErr()
DMotionIndicatorView.java153 public void enableAxis(int axis) { in enableAxis() argument
156 switch(axis) in enableAxis()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java446 int axis = (i % 3) + 1; in testGetRotationMatrixFromVector() local
451 v[axis - 1] = (float) Math.sin(theta / 2.f); in testGetRotationMatrixFromVector()
453 v[axis-1] = -v[axis-1]; in testGetRotationMatrixFromVector()
457 R = mat9Rot(axis, theta); in testGetRotationMatrixFromVector()
677 private static float [] mat9Rot(int axis, float angle) { in mat9Rot() argument
679 switch (axis) { in mat9Rot()
714 private static float [] mat9Axis(float m[], int axis) { in mat9Axis() argument
717 boolean negative = (axis & 0x80) != 0; in mat9Axis()
721 offset = (axis & ~0x80) - 1; in mat9Axis()
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py155 np.mean(tile(p, tile_size), axis=(0, 1)).flatten()
157 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()
/cts/apps/CameraITS/pymodules/its/
Dimage.py414 u = u.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)
415 v = v.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)