Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/math/include/math/
DTQuatHelpers.h129 constexpr QUATERNION<T> PURE operator *(QUATERNION<T> q, T scalar) {
131 return q *= scalar;
134 constexpr QUATERNION<T> PURE operator *(T scalar, QUATERNION<T> q) {
136 return q *= scalar;
140 constexpr QUATERNION<T> PURE operator /(QUATERNION<T> q, T scalar) {
142 return q /= scalar;
/frameworks/rs/driver/runtime/
Drs_quaternion.c109 rsQuaternionMultiply(rs_quaternion* q, float scalar) { in rsQuaternionMultiply() argument
110 q->w *= scalar; in rsQuaternionMultiply()
111 q->x *= scalar; in rsQuaternionMultiply()
112 q->y *= scalar; in rsQuaternionMultiply()
113 q->z *= scalar; in rsQuaternionMultiply()
/frameworks/rs/script_api/include/
Drs_quaternion.rsh225 * rsQuaternionMultiply: Multiply a quaternion by a scalar or another quaternion
227 * Multiplies a quaternion by a scalar or by another quaternion, e.g
228 * *q = *q * scalar; or *q = *q * *rhs;.
232 * scalar: Scalar to multiply the quaternion by.
237 rsQuaternionMultiply(rs_quaternion* q, float scalar) {
238 q->w *= scalar;
239 q->x *= scalar;
240 q->y *= scalar;
241 q->z *= scalar;
361 rsQuaternionMultiply(rs_quaternion* q, float scalar);
Drs_value_types.rsh24 * RenderScript supports the following scalar numerical types:
Drs_allocation_create.rsh137 * create Allocations of scalar and vector numerical types without creating
Drs_math.rsh737 * min_value: Lower bound, a scalar or matching vector.
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh55 const float scalar = radian * factor * inv_dist;
56 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.cpp83 for (auto scalar : mScalars) { in update() local
84 mBufferAreas.push_back({static_cast<int32_t>(scalar * mDisplayArea.width), in update()
85 static_cast<int32_t>(scalar * mDisplayArea.height)}); in update()
/frameworks/rs/script_api/
DGenerateTestFiles.cpp96 void writeJavaArgumentClass(bool scalar, set<string>* javaGeneratedArgumentClasses) const;
239 void PermutationWriter::writeJavaArgumentClass(bool scalar, in writeJavaArgumentClass() argument
242 if (scalar) { in writeJavaArgumentClass()
254 bool isFieldArray = !scalar && p->mVectorSize != "1"; in writeJavaArgumentClass()
Drs_value_types.spec22 RenderScript supports the following scalar numerical types:
Drs_quaternion.spec373 arg: float scalar
Drs_allocation_create.spec146 create Allocations of scalar and vector numerical types without creating