/frameworks/ml/nn/common/operations/ |
SimpleMath.cpp | 280 const int32_t* axis, const Shape& axisShape, bool keepDims, 285 // Creates a temp tensor to store resolved axis given input data. 298 axis, axisSize, keepDims, scratchBuffer, resolvedAxis); local 307 axis, axisSize, keepDims, scratchBuffer, resolvedAxis); local
|
/frameworks/native/include/input/ |
InputDevice.h | 66 int32_t axis; member in struct:android::InputDeviceInfo::MotionRange 91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; 94 void addMotionRange(int32_t axis, uint32_t source,
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
Quaternion.java | 56 double[] axis = normal(cross(vec1, vec2));
local 58 set(angle, axis);
73 public void set(double angle, double[] axis) {
76 x[1] = axis[0] * sin;
77 x[2] = axis[1] * sin;
78 x[3] = axis[2] * sin;
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
HexagonOperationsCheck.cpp | 137 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); local 145 HEXAGON_SOFT_ASSERT(concatenationPrepare(inShapes, axis, &outShape), "Error getting shape");
|
HexagonOperationsPrepare.cpp | 113 // axis being concatenated 114 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); local 116 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); 572 // axis being concatenated 573 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); local 575 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon215 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon324 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon403 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/test/ |
controllermap.c | 44 int axis, button, hat, hat_value; member in struct:MappingStep 104 SDL_Texture *background, *button, *axis, *marker; local 139 /* Create a window to display joystick axis position */ 157 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); 190 step->axis = -1; 198 marker = axis; 238 if (steps[_s].axis == event.jaxis.axis) { 243 step->axis = event.jaxis.axis [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon497 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
reflection.cpp | 778 static const char* axis[] = { "X", "Y", "Z" }; local [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorConcatenation.h | 23 template<typename Axis, typename LhsXprType, typename RhsXprType> 24 struct traits<TensorConcatenationOp<Axis, LhsXprType, RhsXprType> > 42 template<typename Axis, typename LhsXprType, typename RhsXprType> 43 struct eval<TensorConcatenationOp<Axis, LhsXprType, RhsXprType>, Eigen::Dense> 45 typedef const TensorConcatenationOp<Axis, LhsXprType, RhsXprType>& type; 48 template<typename Axis, typename LhsXprType, typename RhsXprType> 49 struct nested<TensorConcatenationOp<Axis, LhsXprType, RhsXprType>, 1, typename eval<TensorConcatenationOp<Axis, LhsXprType, RhsXprType> >::type> 51 typedef TensorConcatenationOp<Axis, LhsXprType, RhsXprType> type; 57 template<typename Axis, typename LhsXprType, typename RhsXprType 80 EIGEN_DEVICE_FUNC const Axis& axis() const { return m_axis; } function in class:Eigen::TensorConcatenationOp [all...] |
TensorScan.h | 60 const XprType& expr, const Index& axis, bool exclusive = false, const Op& op = Op()) 61 : m_expr(expr), m_axis(axis), m_accumulator(op), m_exclusive(exclusive) {} 64 const Index axis() const { return m_axis; } function in class:Eigen::TensorScanOp 110 m_size(m_impl.dimensions()[op.axis()]), 116 eigen_assert(op.axis() >= 0 && op.axis() < NumDims); 118 // Compute stride of scan axis 121 for (int i = 0; i < op.axis(); ++i) { 125 for (int i = NumDims - 1; i > op.axis(); --i) { 218 // We fix the index along the scan axis to 0 and perform [all...] |
/external/skia/src/utils/ |
SkCamera.cpp | 215 SkUnit3D axis, zenith, cross; local 217 // construct a orthonormal basis of cross (x), zenith (y), and axis (z) 218 fAxis.normalize(&axis); 221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); 223 zenith.fX = fZenith.fX - dot * axis.fX; 224 zenith.fY = fZenith.fY - dot * axis.fY; 225 zenith.fZ = fZenith.fZ - dot * axis.fZ; 230 SkUnit3D::Cross(axis, zenith, &cross); 238 // Looking along the view axis we have: 248 // So this does a z-shear along the view axis based on the observer's x and y values [all...] |
/external/skqp/src/utils/ |
SkCamera.cpp | 215 SkUnit3D axis, zenith, cross; local 217 // construct a orthonormal basis of cross (x), zenith (y), and axis (z) 218 fAxis.normalize(&axis); 221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); 223 zenith.fX = fZenith.fX - dot * axis.fX; 224 zenith.fY = fZenith.fY - dot * axis.fY; 225 zenith.fZ = fZenith.fZ - dot * axis.fZ; 230 SkUnit3D::Cross(axis, zenith, &cross); 238 // Looking along the view axis we have: 248 // So this does a z-shear along the view axis based on the observer's x and y values [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
inv_self_test.c | 485 int axis = 0; local 487 axis = 1; 489 if (ABS(accel_bias[2].l) > ABS(accel_bias[axis].l)) { 490 axis = 2; 492 if (accel_bias[axis].l < 0) { 527 accel_bias[axis].l -= gravity; 533 save_data.factory_accel_bias[axis] -= gravity;
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
LocPathIterator.java | 122 int axis = getAxis(); local 123 int bit = WalkerFactory.getAnalysisBitFromAxes(axis); 1007 * Returns the axis being iterated, if it is known. 1009 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
|
/external/eigen/Eigen/src/Geometry/ |
Quaternion.h | 55 /** the equivalent angle-axis type */ 259 /** Constructs and initializes a quaternion from the angle-axis \a aa */ 497 /** Set \c *this from an angle-axis \a aa and returns a reference to \c *this 506 this->vec() = sin(ha) * aa.axis(); 585 // => accurately compute the rotation axis by computing the 597 Vector3 axis = svd.matrixV().col(2); local 601 this->vec() = axis * sqrt(Scalar(1) - w2); 604 Vector3 axis = v0.cross(v1); local 607 this->vec() = axis * invs;
|
/external/freetype/src/autofit/ |
afhints.c | 35 /* Get new segment for given axis. */ 38 af_axis_hints_new_segment( AF_AxisHints axis, 46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) 48 if ( !axis->segments ) 50 axis->segments = axis->embedded.segments; 51 axis->max_segments = AF_SEGMENTS_EMBEDDED; 54 else if ( axis->num_segments >= axis->max_segments ) 56 FT_Int old_max = axis->max_segments 246 AF_AxisHints axis = &hints->axis[dimension]; local 291 AF_AxisHints axis = &hints->axis[dimension]; local 413 AF_AxisHints axis = &hints->axis[dimension]; local 475 AF_AxisHints axis; local 504 AF_AxisHints axis; local 552 AF_AxisHints axis = &hints->axis[dimension]; local 689 AF_AxisHints axis = &hints->axis[dim]; local 1184 AF_AxisHints axis = & hints->axis[dim]; local 1261 AF_AxisHints axis = &hints->axis[dim]; local [all...] |
afhints.h | 76 * approximately aligned along a coordinate axis. The analysis to do 352 AF_AxisHintsRec axis[AF_DIMENSION_MAX]; member in struct:AF_GlyphHintsRec_ 416 af_axis_hints_new_segment( AF_AxisHints axis, 421 af_axis_hints_new_edge( AF_AxisHints axis,
|
/external/freetype/src/sfnt/ |
sfdriver.c | 625 The maximum length of an axis value descriptor. 636 bytes for the axis tag. 933 FT_Var_Axis* axis; local 937 axis = mm_var->axis; 949 for ( i = 0; i < num_coords; i++, coords++, axis++ ) 954 /* omit axis value descriptor if it is identical */ 955 /* to the default axis value */ 956 if ( *coords == axis->def ) 962 t = (char)( axis->tag >> 24 ) [all...] |
/external/freetype/src/type1/ |
t1load.c | 158 /* allocate axis data if needed */ 209 FT_MM_Axis* axis = master->axis + n; local 213 axis->name = blend->axis_names[n]; 214 axis->minimum = map->design_points[0]; 215 axis->maximum = map->design_points[map->num_points - 1]; 257 /* normalized axis coordinates which gave rise to those weights. */ 325 mmvar->axis = (FT_Var_Axis*)&mmvar[1]; 331 mmvar->axis[i].name = mmaster.axis[i].name 809 FT_Int axis, n_axis; local [all...] |
/external/skia/tests/ |
SerializationTest.cpp | 371 // Load typeface as stream to create with axis settings. 376 SkFixed axis = SK_FixedSqrt2; local 378 skstd::make_unique<SkFontData>(std::move(distortable), 0, &axis, 1)));
|
/external/skqp/tests/ |
SerializationTest.cpp | 371 // Load typeface as stream to create with axis settings. 376 SkFixed axis = SK_FixedSqrt2; local 378 skstd::make_unique<SkFontData>(std::move(distortable), 0, &axis, 1)));
|
/external/tensorflow/tensorflow/contrib/lite/ |
builtin_op_data.h | 110 int axis; member in struct:__anon39197 188 int axis; member in struct:__anon39214
|