/frameworks/base/media/java/android/media/audiofx/ |
Virtualizer.java | 69 * Parameter ID to query the virtual speaker angles for a channel mask / device configuration. 172 * Checks if a configuration is supported, and query the virtual speaker angles. 175 * @param angles if non-null: array in which the angles will be written. If null, no angles 183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) 193 if ((angles != null) && (angles.length < (nbChannels * 3))) { 194 Log.e(TAG, "Size of array for angles cannot accomodate number of channels in mask (" 197 "Virtualizer: array for channel / angle pairs is too small: is " + angles.lengt [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 92 public void setGyroAngles(float[] angles) { 106 mAngles[1] = -angles[0]; 107 mAngles[0] = angles[1]; 110 mAngles[0] = angles[0]; 111 mAngles[1] = angles[1]; 114 mAngles[1] = -angles[0]; 115 mAngles[0] = angles[1]; 118 mAngles[0] = angles[0]; 119 mAngles[1] = angles[1];
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
cv_util.py | 23 # If the difference between the angles is more than pi/2 - tolerance, the 57 angles = np.arctan2(lines[:, 1] - lines[:, 3], lines[:, 0] - lines[:, 2]) 58 xoffsets = half_length * np.cos(angles) 59 yoffsets = half_length * np.sin(angles)
|
screen_finder.py | 60 _anglesp5, _anglesm5: The angles for each point we look at in the grid 450 # The angles for each point we look at in the grid when computing 456 angles = np.arctan2(vectors[:, 1], vectors[:, 0]) + np.pi 457 self._anglesp5 = angles + self.SMALL_ANGLE 458 self._anglesm5 = angles - self.SMALL_ANGLE [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VirtualizerTest.java | 350 int[] angles = new int[3*6]; local 353 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 357 VIRTUALIZATION_MODES[m], angles); 361 //check if the number of angles matched the expected number of channels for 365 int speakerIdentification = angles[k*3]; 469 int[] angles = new int[3*6]; local 475 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 479 VIRTUALIZATION_MODES[m], angles); 490 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 494 VIRTUALIZATION_MODES[m], angles); [all...] |
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
EulerAngles.h | 24 * \brief Represents a rotation in a 3 dimensional space as three Euler angles. 26 * Euler rotation is a set of three rotation of three angles over three fixed axes, defined by the EulerSystem given as a template parameter. 28 * Here is how intrinsic Euler angles works: 33 * \note This class support only intrinsic Euler angles for simplicity, 39 * by Euler angles, but there is no singular representation (e.g. unlike rotation matrices). 43 * Euler angles usually used for: 48 * However, Euler angles are slow comparing to quaternion or matrices, 57 * #### Euler angles ranges in conversions #### 59 * When converting some rotation to Euler angles, there are some ways you can guarantee 60 * the Euler angles ranges 212 const Vector3& angles() const { return m_angles; } function in class:Eigen::EulerAngles 214 Vector3& angles() { return m_angles; } function in class:Eigen::EulerAngles [all...] |
EulerSystem.h | 83 * - both tait bryan and proper/classic Euler angles (i.e. the opposite). 101 * just use the equal intrinsic opposite order for axes and angles. 102 * I.e axes (A,B,C) becomes (C,B,A), and angles (a,b,c) becomes (c,b,a). 111 * More information about Euler angles: https://en.wikipedia.org/wiki/Euler_angles 235 // With a=(0,1,0), we have i=0; j=1; k=2, and after computing the first two angles, 279 res.angles(), mat,
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
euler_angles.hpp | 34 /// @brief Build matrices from Euler angles. 72 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y). 79 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X). 86 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z). 93 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X). 100 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z). 107 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y). 114 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). 122 /// Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). 140 /// Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z). [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 447 float angles[2]; local 480 angles[i] = acos(cos_a)/M_PI; 483 if (angles[0] + angles[1] > 1.) { 487 angles[0] = 1. - angles[0]; 488 angles[1] = 1. - angles[1]; 502 float kappa = 2.*KAPPA * sign * offset * angles[i];
|
/external/eigen/unsupported/test/ |
EulerAngles.cpp | 79 Vector3 eabis = EulerAnglesType(m, positiveRangeAlpha, positiveRangeBeta, positiveRangeGamma).angles(); 93 // Saturate the angles to the correct range 120 eabis = EulerAnglesType(q, positiveRangeAlpha, positiveRangeBeta, positiveRangeGamma).angles(); 121 VERIFY_IS_APPROX(eabis, eabis2);// Verify that the euler angles are still the same 182 // Check with random angles in range [0:pi]x[-pi:pi]x[-pi:pi].
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 370 float[] angles = new float[total - 1]; 394 if ((currentAngle - angles[start]) * direction >= 0) { 405 angles[j] = lastAngle;
|
/external/eigen/bench/btl/data/ |
gnuplot_common_settings.hh | 18 set angles radians
|
/cts/tests/sensor/src/android/hardware/cts/ |
SensorManagerStaticTest.java | 133 // avoid directly checking the rotation angles to avoid corner cases 191 // Avoid directly comparing rotation angles. Instead, compare the rotation matrix. 702 private static float [] mat9VRot(float [] angles) { 703 assertTrue(angles.length == 3); 705 float [] R = mat9Rot(SensorManager.AXIS_Z, -angles[0]); 707 R = mat9Mul(R, mat9Rot(SensorManager.AXIS_X, -angles[1])); 709 R = mat9Mul(R, mat9Rot(SensorManager.AXIS_Y, angles[2]));
|
/external/eigen/demos/opengl/ |
quaternion_demo.cpp | 59 static const float angles [10] = { local 83 Vector3f newC = c + ( (AngleAxisf(angles[j*2+1], ax0) 84 * AngleAxisf(angles[j*2+0] * (l==1 ? 0.35 : 0.5), ax1)) * ax0) 188 // Euler angles slerp 610 but = new QRadioButton("euler angles"); 613 but->setToolTip("use Euler angles to interpolate orientations");
|
/external/ImageMagick/www/api/ |
distort.php | 158 <p>RotateImage() creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image. RotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
|
feature.php | 141 <p>Use HoughLineImage() in conjunction with any binary edge extracted image (we recommand Canny) to identify lines in the image. The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines</p>
|
morphology.php | 148 <dd> Blur:{radius},{sigma}[,{angle}] Generates a 1 dimensional or linear gaussian blur, at the angle given (current restricted to orthogonal angles). If a 'radius' is given the kernel is clipped to a width of 2*radius+1. Kernel can be rotated by a 90 degree angle. </dd> [all...] |
/external/skia/src/pathops/ |
SkPathOpsDebug.cpp | [all...] |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |