Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 7 of 7) sorted by relevance

/development/ndk/sources/android/ndk_helper/
Dvecmath.h79 Vec2 operator*( const Vec2& rhs ) const
82 ret.x_ = x_ * rhs.x_;
83 ret.y_ = y_ * rhs.y_;
87 Vec2 operator/( const Vec2& rhs ) const
90 ret.x_ = x_ / rhs.x_;
91 ret.y_ = y_ / rhs.y_;
95 Vec2 operator+( const Vec2& rhs ) const
98 ret.x_ = x_ + rhs.x_;
99 ret.y_ = y_ + rhs.y_;
103 Vec2 operator-( const Vec2& rhs ) const
[all …]
Dvecmath.cpp38 Vec4 Vec4::operator*( const Mat4& rhs ) const in operator *()
41 out.x_ = x_ * rhs.f_[0] + y_ * rhs.f_[1] + z_ * rhs.f_[2] + w_ * rhs.f_[3]; in operator *()
42 out.y_ = x_ * rhs.f_[4] + y_ * rhs.f_[5] + z_ * rhs.f_[6] + w_ * rhs.f_[7]; in operator *()
43 out.z_ = x_ * rhs.f_[8] + y_ * rhs.f_[9] + z_ * rhs.f_[10] + w_ * rhs.f_[11]; in operator *()
44 out.w_ = x_ * rhs.f_[12] + y_ * rhs.f_[13] + z_ * rhs.f_[14] + w_ * rhs.f_[15]; in operator *()
63 Mat4 Mat4::operator*( const Mat4& rhs ) const in operator *()
66 ret.f_[0] = f_[0] * rhs.f_[0] + f_[4] * rhs.f_[1] + f_[8] * rhs.f_[2] in operator *()
67 + f_[12] * rhs.f_[3]; in operator *()
68 ret.f_[1] = f_[1] * rhs.f_[0] + f_[5] * rhs.f_[1] + f_[9] * rhs.f_[2] in operator *()
69 + f_[13] * rhs.f_[3]; in operator *()
[all …]
DJNIHelper.h64 JNIHelper( const JNIHelper& rhs );
65 JNIHelper& operator=( const JNIHelper& rhs );
/development/ndk/platforms/android-3/include/linux/
Dktime.h38 #define ktime_sub(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) argument
39 #define ktime_add(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) argument
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java552 public int compare(Size lhs, Size rhs) { in compare() argument
555 (long) rhs.getWidth() * rhs.getHeight()); in compare()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java797 public int compare(Size lhs, Size rhs) { in compare() argument
800 (long) rhs.getWidth() * rhs.getHeight()); in compare()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java240 public int compare(LocaleInfo lhs, LocaleInfo rhs) { in setupLocaleList()
241 return lhs.getLocale().compareTo(rhs.getLocale()); in setupLocaleList()