Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 9 of 9) sorted by relevance

/development/ndk/sources/android/ndk_helper/
DtapCamera.cpp129 Vec3 vec = vec_offset_ + vec_offset_now_; in Update() local
132 vec *= vec_tmp * vec_pinch_transform_factor_; in Update()
134 mat_transform_ = Mat4::Translation( vec ); in Update()
165 Vec2 vec = v * vec_flip_; in BeginDrag() local
166 vec_ball_now_ = vec; in BeginDrag()
171 vec_last_input_ = vec; in BeginDrag()
190 Vec2 vec = v * vec_flip_; in Drag() local
191 vec_ball_now_ = vec; in Drag()
193 vec_drag_delta_ = vec_drag_delta_ * MOMENTUM_FACTOR + (vec - vec_last_input_); in Drag()
194 vec_last_input_ = vec; in Drag()
[all …]
Dvecmath.h66 Vec2( const Vec2& vec ) in Vec2() argument
68 x_ = vec.x_; in Vec2()
69 y_ = vec.y_; in Vec2()
271 Vec3( const Vec3& vec ) in Vec3() argument
273 x_ = vec.x_; in Vec3()
274 y_ = vec.y_; in Vec3()
275 z_ = vec.z_; in Vec3()
285 Vec3( const Vec2& vec, float f ) in Vec3() argument
287 x_ = vec.x_; in Vec3()
288 y_ = vec.y_; in Vec3()
[all …]
DtapCamera.h85 void BeginDrag( const Vec2& vec );
87 void Drag( const Vec2& vec );
Dvecmath.cpp28 Vec3::Vec3( const Vec4& vec ) in Vec3() argument
30 x_ = vec.x_; in Vec3()
31 y_ = vec.y_; in Vec3()
32 z_ = vec.z_; in Vec3()
294 Mat4 Mat4::Translation( const Vec3 vec ) in Translation() argument
300 ret.f_[12] = vec.x_; in Translation()
304 ret.f_[13] = vec.y_; in Translation()
308 ret.f_[14] = vec.z_; in Translation()
/development/ndk/platforms/android-3/include/linux/nfsd/
Dxdr.h38 struct kvec vec[RPCSVC_MAXPAGES]; member
46 struct kvec vec[RPCSVC_MAXPAGES]; member
/development/ndk/platforms/android-3/include/sys/
Dmman.h62 extern int mincore(void* start, size_t length, unsigned char* vec);
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsNativeActivity.cpp74 void TransformPosition( ndk_helper::Vec2& vec );
402 void Engine::TransformPosition( ndk_helper::Vec2& vec ) in TransformPosition() argument
404 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec in TransformPosition()
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotNativeActivity.cpp64 void TransformPosition( ndk_helper::Vec2& vec );
391 void Engine::TransformPosition( ndk_helper::Vec2& vec ) in TransformPosition() argument
393 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec in TransformPosition()
/development/ndk/platforms/android-21/include/linux/
Drds.h142 struct rds_iovec vec; member
150 struct rds_iovec vec; member