Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java

Issue 543553002: [Checkstyle] Enable additional name checks for Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java b/content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java
index 6cd3e2551528821b7288d8faf6b34a0dc3fe0a03..9b5ab7b7438e02a7b8012d249f1ac72d17fa6d64 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java
@@ -299,10 +299,10 @@ public class DeviceSensorsTest extends AndroidTestCase {
*/
private void verifyOrientationAngles(float[] gravity, float[] magnetic,
double[] expectedAngles) {
- float[] R = new float[9];
+ float[] r = new float[9];
double[] values = new double[3];
- SensorManager.getRotationMatrix(R, null, gravity, magnetic);
- mDeviceSensors.computeDeviceOrientationFromRotationMatrix(R, values);
+ SensorManager.getRotationMatrix(r, null, gravity, magnetic);
+ mDeviceSensors.computeDeviceOrientationFromRotationMatrix(r, values);
assertEquals(expectedAngles.length, values.length);
final double epsilon = 0.001;

Powered by Google App Engine
This is Rietveld 408576698