HomeSort by relevance Sort by last modified time
    Searched refs:mag1 (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/java/com/android/server/power/
WirelessChargerDetector.java 315 final double mag1 = Math.sqrt((x1 * x1) + (y1 * y1) + (z1 * z1)); local
317 if (mag1 < MIN_GRAVITY || mag1 > MAX_GRAVITY
320 Slog.d(TAG, "Weird gravity vector: mag1=" + mag1 + ", mag2=" + mag2);
324 final boolean moved = (dotProduct < mag1 * mag2 * MOVEMENT_ANGLE_COS_THRESHOLD);
329 + ", angle=" + (Math.acos(dotProduct / mag1 / mag2) * 180 / Math.PI)
331 + ", mag1=" + mag1 + ", mag2=" + mag2);
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
FFTFrame.cpp 105 double mag1 = abs(c1); local
109 double mag1db = 20.0 * log10(mag1);

Completed in 57 milliseconds