/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/tensorflow/tensorflow/contrib/image/python/ops/ |
image_ops.py | 42 def rotate(images, angles, interpolation="NEAREST", name=None): 50 angles: A scalar angle to rotate all images by, or (if images has rank 4) 83 angles_to_projective_transforms(angles, image_height, image_width), 123 def angles_to_projective_transforms(angles, 130 angles: A scalar angle to rotate all images by, or (for batches of images) 142 angles, name="angles", dtype=dtypes.float32) 144 angles = angle_or_angles[None] 146 angles = angle_or_angles 148 raise TypeError("Angles should have rank 0 or 1." [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VirtualizerTest.java | 352 int[] angles = new int[3*6]; local 355 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 359 VIRTUALIZATION_MODES[m], angles); 363 //check if the number of angles matched the expected number of channels for 367 int speakerIdentification = angles[k*3]; 471 int[] angles = new int[3*6]; local 477 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 481 VIRTUALIZATION_MODES[m], angles); 492 Arrays.fill(angles,AudioFormat.CHANNEL_INVALID); 496 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...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/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/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
image_ops_test.py | 54 angles = constant_op.constant([0.0, np.pi / 4.0, np.pi / 2.0], 56 image_rotated = image_ops.rotate(image_rep, angles) 76 angles = constant_op.constant([np.pi / 4.0, 1.0, -np.pi / 2.0], 78 image_rotated = image_ops.rotate(image_rep, angles)
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
test_multi_camera_frame_sync.py | 49 """Assert the angles between each frame pair are sufficiently different. 51 Different angles is an indication of camera movement. 53 angles = [i for i, j in frame_pairs_angles] 54 max_angle = numpy.amax(angles) 55 min_angle = numpy.amin(angles) 80 """Plot the extracted angles.""" 148 # Compute angles in frame pairs 166 # The chessboard angles we compute go from 0 to 89. Meaning, 171 # Plot angles and differences
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 336 float[] angles = new float[total - 1]; local 360 if ((currentAngle - angles[start]) * direction >= 0) { 371 angles[j] = lastAngle;
|
/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].
|
/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/gm/ |
gradients.cpp | 1049 } angles[] = { local [all...] |
/external/skqp/gm/ |
gradients.cpp | 1049 } angles[] = { local [all...] |
/external/skia/src/pathops/ |
SkPathOpsDebug.cpp | [all...] |
/external/skqp/src/pathops/ |
SkPathOpsDebug.cpp | [all...] |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/27/ |
android.jar | |
/prebuilts/sdk/28/ |
android.jar | |