Searched defs:operator (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/base/include/ui/
H A DPoint.h30 // we don't provide copy-ctor and operator= on purpose
39 inline bool operator == (const Point& rhs) const {
42 inline bool operator != (const Point& rhs) const {
43 return !operator == (rhs);
50 // operator < defines an order which allows to use points in sorted
52 bool operator < (const Point& rhs) const {
56 inline Point& operator - () {
62 inline Point& operator += (const Point& rhs) {
67 inline Point& operator -= (const Point& rhs) {
73 const Point operator
[all...]
H A DRegion.h42 Region& operator = (const Region& rhs);
89 inline const Region operator | (const Region& rhs) const;
90 inline const Region operator & (const Region& rhs) const;
91 inline const Region operator - (const Region& rhs) const;
92 inline const Region operator + (const Point& pt) const;
94 inline Region& operator |= (const Region& rhs);
95 inline Region& operator &= (const Region& rhs);
96 inline Region& operator -= (const Region& rhs);
97 inline Region& operator += (const Point& pt);
158 const Region Region::operator | (cons
[all...]
H A DRect.h32 // we don't provide copy-ctor and operator= on purpose
64 operator = (rhs);
102 inline bool operator == (const Rect& rhs) const {
107 inline bool operator != (const Rect& rhs) const {
108 return !operator == (rhs);
111 // operator < defines an order which allows to use rectangles in sorted
113 bool operator < (const Rect& rhs) const;
127 Rect& operator += (const Point& rhs) {
130 Rect& operator -= (const Point& rhs) {
133 const Rect operator
[all...]
/frameworks/base/include/utils/
H A DString16.h71 inline String16& operator=(const String16& other);
73 inline String16& operator+=(const String16& other);
74 inline String16 operator+(const String16& other) const;
95 inline bool operator<(const String16& other) const;
96 inline bool operator<=(const String16& other) const;
97 inline bool operator==(const String16& other) const;
98 inline bool operator!=(const String16& other) const;
99 inline bool operator>=(const String16& other) const;
100 inline bool operator>(const String16& other) const;
102 inline bool operator<(cons
[all...]
H A DString8.h88 inline String8& operator=(const String8& other);
89 inline String8& operator=(const char* other);
91 inline String8& operator+=(const String8& other);
92 inline String8 operator+(const String8& other) const;
94 inline String8& operator+=(const char* other);
95 inline String8 operator+(const char* other) const;
99 inline bool operator<(const String8& other) const;
100 inline bool operator<=(const String8& other) const;
101 inline bool operator==(const String8& other) const;
102 inline bool operator!
[all...]
H A DStrongPointer.h37 inline bool operator _op_ (const sp<T>& o) const { \
40 inline bool operator _op_ (const T* o) const { \
44 inline bool operator _op_ (const sp<U>& o) const { \
48 inline bool operator _op_ (const U* o) const { \
51 inline bool operator _op_ (const wp<T>& o) const { \
55 inline bool operator _op_ (const wp<U>& o) const { \
76 sp& operator = (T* other);
77 sp& operator = (const sp<T>& other);
79 template<typename U> sp& operator = (const sp<U>& other);
80 template<typename U> sp& operator
[all...]
H A DFunctor.h28 virtual status_t operator ()(int what, void* data) { return NO_ERROR; }
H A DSortedVector.h48 /*! copy operator */
49 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
50 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
94 inline const TYPE& operator [] (size_t index) const;
95 //! alternate name for operator []
99 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
162 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) {
163 SortedVectorImpl::operator = (rhs);
168 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const {
169 SortedVectorImpl::operator
[all...]
/frameworks/base/tools/localize/
H A DConfiguration.h22 inline bool operator<(const Configuration& that) const { return Compare(that) < 0; }
23 inline bool operator<=(const Configuration& that) const { return Compare(that) <= 0; }
24 inline bool operator==(const Configuration& that) const { return Compare(that) == 0; }
25 inline bool operator!=(const Configuration& that) const { return Compare(that) != 0; }
26 inline bool operator>=(const Configuration& that) const { return Compare(that) >= 0; }
27 inline bool operator>(const Configuration& that) const { return Compare(that) > 0; }
H A DValues.h27 inline bool operator<(const StringResource& that) const { return Compare(that) < 0; }
28 inline bool operator<=(const StringResource& that) const { return Compare(that) <= 0; }
29 inline bool operator==(const StringResource& that) const { return Compare(that) == 0; }
30 inline bool operator!=(const StringResource& that) const { return Compare(that) != 0; }
31 inline bool operator>=(const StringResource& that) const { return Compare(that) >= 0; }
32 inline bool operator>(const StringResource& that) const { return Compare(that) > 0; }
H A DXLIFFFile.h72 inline bool operator<(const File& that) const { return Compare(that) < 0; }
73 inline bool operator<=(const File& that) const { return Compare(that) <= 0; }
74 inline bool operator==(const File& that) const { return Compare(that) == 0; }
75 inline bool operator!=(const File& that) const { return Compare(that) != 0; }
76 inline bool operator>=(const File& that) const { return Compare(that) >= 0; }
77 inline bool operator>(const File& that) const { return Compare(that) > 0; }
/frameworks/base/libs/hwui/
H A DVector.h43 void operator+=(const Vector2& v) {
48 void operator-=(const Vector2& v) {
53 void operator+=(const float v) {
58 void operator-=(const float v) {
63 void operator/=(float s) {
68 void operator*=(float s) {
73 Vector2 operator+(const Vector2& v) const {
77 Vector2 operator-(const Vector2& v) const {
81 Vector2 operator/(float s) const {
85 Vector2 operator*(floa
[all...]
H A DLayerCache.h122 bool operator<(const LayerEntry& rhs) const {
129 bool operator==(const LayerEntry& rhs) const {
/frameworks/base/libs/ui/
H A DRect.cpp36 bool Rect::operator < (const Rect& rhs) const
74 const Rect Rect::operator + (const Point& rhs) const
80 const Rect Rect::operator - (const Point& rhs) const
/frameworks/compile/linkloader/include/
H A DELFSectionHeaderTable.h47 ELFSectionHeaderTy const *operator[](size_t i) const {
51 ELFSectionHeaderTy *operator[](size_t i) {
H A DELFSectionRelTable.h49 ELFRelocTy const *operator[](size_t index) const {
53 ELFRelocTy *operator[](size_t index) {
H A DELFSectionStrTab.h43 char const *operator[](size_t index) const {
H A DELFSectionBits.h48 unsigned char &operator[](size_t index) {
52 unsigned char const &operator[](size_t index) const {
H A DELFSectionSymTab.h52 ELFSymbolTy const *operator[](size_t index) const {
56 ELFSymbolTy *operator[](size_t index) {
H A DMemChunk.h47 unsigned char &operator[](size_t index) {
51 unsigned char const &operator[](size_t index) const {
/frameworks/base/drm/common/
H A DDrmSupportInfo.cpp33 bool DrmSupportInfo::operator<(const DrmSupportInfo& drmSupportInfo) const {
35 // Note Vector doesn't overrides "<" operator
39 bool DrmSupportInfo::operator==(const DrmSupportInfo& drmSupportInfo) const {
41 // Note Vector doesn't overrides "==" operator
71 DrmSupportInfo& DrmSupportInfo::operator=(const DrmSupportInfo& drmSupportInfo) {
120 DrmSupportInfo::FileSuffixIterator& DrmSupportInfo::FileSuffixIterator::operator=(
144 DrmSupportInfo::MimeTypeIterator& DrmSupportInfo::MimeTypeIterator::operator=(
/frameworks/base/media/libstagefright/foundation/
H A DAString.cpp69 AString &AString::operator=(const AString &from) {
125 bool AString::operator==(const AString &other) const {
289 bool AString::operator<(const AString &other) const {
293 bool AString::operator>(const AString &other) const {
/frameworks/base/libs/utils/
H A DCallStack.cpp227 CallStack& CallStack::operator = (const CallStack& rhs)
236 bool CallStack::operator == (const CallStack& rhs) const {
242 bool CallStack::operator != (const CallStack& rhs) const {
243 return !operator == (rhs);
246 bool CallStack::operator < (const CallStack& rhs) const {
252 bool CallStack::operator >= (const CallStack& rhs) const {
253 return !operator < (rhs);
256 bool CallStack::operator > (const CallStack& rhs) const {
262 bool CallStack::operator <= (const CallStack& rhs) const {
263 return !operator > (rh
[all...]
/frameworks/base/services/sensorservice/
H A Dvec.h145 inline VLHS<TYPE, SIZE> PURE operator + (
157 inline VLHS<TYPE, SIZE> PURE operator - (
168 inline VEC<TYPE, SIZE> PURE operator * (
179 inline VEC<TYPE, SIZE> PURE operator * (
245 vec<TYPE, SIZE> PURE operator - (const vec<TYPE, SIZE>& lhs) {
260 inline const TYPE& operator[](size_t i) const { return v[i]; }
261 inline TYPE& operator[](size_t i) { return v[i]; }
269 inline const float& operator[](size_t i) const { return v[i]; }
270 inline float& operator[](size_t i) { return v[i]; }
280 inline const float& operator[](size_
[all...]
H A Dmat.h155 mat& operator=(const mat& rhs) {
156 base::operator=(rhs);
160 mat& operator=(const base& rhs) {
161 base::operator=(rhs);
165 mat& operator=(pTYPE rhs) {
172 friend inline mat PURE operator + (const mat& lhs, const mat& rhs) {
177 friend inline mat PURE operator - (const mat& lhs, const mat& rhs) {
185 friend mat PURE operator * (
192 friend vec<TYPE, R> PURE operator * (
198 friend mat PURE operator * (
[all...]

Completed in 6915 milliseconds

1234