Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 25 of 25) 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/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/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/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/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/toolkit/test/
DBufferUtils.kt125 operator fun times(scalar: Int) = Rgba(r * scalar, g * scalar, b * scalar, a * scalar) shr 8 in plus()
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rscript6 // Basic scalar and floating point types.
/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
/frameworks/base/core/java/android/widget/
DEdgeEffect.java835 double scalar = Math.E / SCROLL_DIST_AFFECTED_BY_EXP_STRETCH; in dampStretchVector() local
836 double expIntensity = EXP_STRETCH_INTENSITY * (1 - Math.exp(-overscroll * scalar)); in dampStretchVector()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field.rscript22 // "checkOuter()", passing the expected field values as scalar
Dsingle_source_alloc.rscript280 // These types are valid for scalar and vectors, but don't support pixel
300 // U8, U16 are valid for scalar, vector and pixel
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field.rscript24 // "checkOuter()", passing the expected field values as scalar
Dsingle_source_alloc.rscript282 // These types are valid for scalar and vectors, but don't support pixel
302 // U8, U16 are valid for scalar, vector and pixel
/frameworks/native/services/sensorservice/
DAidlSensorHalWrapper.cpp174 dst->data[0] = src.payload.get<Event::EventPayload::scalar>(); in convertToSensorEvent()
387 dst->payload.set<Event::EventPayload::Tag::scalar>((float)src.data[0]); in convertFromSensorEvent()