/frameworks/base/include/utils/ |
H A D | Vector.h | 32 template <typename TYPE> 41 template <class TYPE> 45 typedef TYPE value_type; 52 Vector(const Vector<TYPE>& rhs); 53 explicit Vector(const SortedVector<TYPE>& rhs); 57 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const; 58 Vector<TYPE>& operator = (const Vector<TYPE>& rhs); 60 const Vector<TYPE> [all...] |
H A D | SortedVector.h | 32 template <class TYPE> 35 friend class Vector<TYPE>; 38 typedef TYPE value_type; 45 SortedVector(const SortedVector<TYPE>& rhs); 49 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 50 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 76 inline const TYPE* array() const; 80 TYPE* editArra [all...] |
H A D | Singleton.h | 28 template <typename TYPE> 32 static TYPE& getInstance() { 34 TYPE* instance = sInstance; 36 instance = new TYPE(); 55 static TYPE* sInstance; 59 * use ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) in your implementation file 60 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes, 61 * and avoid to have a copy of them in each compilation units Singleton<TYPE> 67 #define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \ 68 template class Singleton< TYPE >; \ [all...] |
H A D | TypeHelpers.h | 40 template <typename TYPE> 44 is_pointer = trait_pointer<TYPE>::value, 46 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value, 48 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value, 50 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value, 52 has_trivial_move = is_pointer || trait_trivial_move<TYPE>::value 105 template<typename TYPE> inline 106 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { 110 template<typename TYPE> inlin [all...] |
H A D | RefBase.h | 455 // this class just serves as a namespace so TYPE::moveReferences can stay 463 template <typename TYPE> 465 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } 467 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); 468 return static_cast<typename TYPE::basetype *>(sptr->get()); 472 template <typename TYPE> 474 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } 476 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> cons [all...] |
H A D | Debug.h | 40 struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; }; typedef in struct:android::CompileTimeIfElse 42 struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; }; typedef in struct:android::CompileTimeIfElse
|
/frameworks/base/libs/hwui/utils/ |
H A D | SortedList.h | 35 template<class TYPE> 38 typedef TYPE value_type; 41 SortedList(const SortedList<TYPE>& rhs); 44 const SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs) const; 45 SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs); 67 inline const TYPE* array() const; 69 TYPE* editArray(); 71 ssize_t indexOf(const TYPE [all...] |
/frameworks/base/services/sensorservice/ |
H A D | quat.h | 29 template <typename TYPE> 30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { 31 mat<TYPE, 3, 3> R; 32 TYPE q0(q.w); 33 TYPE q1(q.x); 34 TYPE q2(q.y); 35 TYPE q3(q.z); 36 TYPE sq_q1 = 2 * q1 * q1; 37 TYPE sq_q [all...] |
H A D | vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 48 typename TYPE, size_t SIZE, size_t S> 49 vec<TYPE, SIZE>& doAssign( 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { 64 typename TYPE, 67 VLHS<TYPE, SIZE> PURE doAdd( 68 const VLHS<TYPE, SIZE>& lhs, 69 const VRHS<TYPE, SIZ [all...] |
H A D | mat.h | 27 template <typename TYPE, size_t C, size_t R> 32 template <typename TYPE, size_t C, size_t R> 33 mat<TYPE, C, R>& doAssign( 34 mat<TYPE, C, R>& lhs, 35 typename TypeTraits<TYPE>::ParameterType rhs) { 42 template <typename TYPE, size_t C, size_t R, size_t D> 43 mat<TYPE, C, R> PURE doMul( 44 const mat<TYPE, D, R>& lhs, 45 const mat<TYPE, C, D>& rhs) 47 mat<TYPE, [all...] |
H A D | Fusion.cpp | 92 template <typename TYPE, size_t C, size_t R> 93 static mat<TYPE, R, R> scaleCovariance( 94 const mat<TYPE, C, R>& A, 95 const mat<TYPE, C, C>& P) { 97 mat<TYPE, R, R> APAt; 114 template <typename TYPE, typename OTHER_TYPE> 115 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { 116 mat<TYPE, 3, 3> r; 130 template<typename TYPE, size_ [all...] |
/frameworks/compile/linkloader/lib/ |
H A D | ELFSymbol.cpp | 25 #define CASE(TYPE) \ 26 case STT_##TYPE: return #TYPE; 49 #define CASE(TYPE) \ 50 case STB_##TYPE: return #TYPE; 68 #define CASE(TYPE) \ 69 case STV_##TYPE: return #TYPE;
|
H A D | ELFTypes.cpp | 23 #define ELF_TYPE_PRINT_OPERATOR(TYPE, FORMAT_WIDTH) \ 24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
|
H A D | ELFSectionHeader.cpp | 42 #define CASE(TYPE) \ 43 case SHT_##TYPE: return #TYPE;
|
/frameworks/compile/linkloader/utils/ |
H A D | traits.h | 35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \ 37 struct TypeTraits<TYPE> { \
|
/frameworks/base/include/ui/egl/ |
H A D | android_natives.h | 58 template <typename NATIVE_TYPE, typename TYPE, typename REF> 71 typedef EGLNativeBase<NATIVE_TYPE, TYPE, REF> BASE; 76 static inline TYPE* getSelf(NATIVE_TYPE* self) { 77 return static_cast<TYPE*>(self); 79 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { 80 return static_cast<TYPE const *>(self); 82 static inline TYPE* getSelf(android_native_base_t* base) { 85 static inline TYPE const * getSelf(android_native_base_t const* base) {
|
/frameworks/base/include/ui/ |
H A D | EGLNativeSurface.h | 32 template <class TYPE> 33 class EGLNativeSurface : public egl_native_window_t, public LightRefBase<TYPE>
|
/frameworks/base/include/private/ui/ |
H A D | RegionHelper.h | 29 typedef typename RECT::value_type TYPE; typedef in class:android::region_operator 30 static const TYPE max_value = 0x7FFFFFF; 52 TYPE dx; 53 TYPE dy; 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) 81 TYPE left, right; 106 TYPE lhs_head; 107 TYPE lhs_tail; 108 TYPE rhs_hea [all...] |
/frameworks/base/core/java/android/annotation/ |
H A D | Widget.java | 34 @Target({ ElementType.TYPE })
|
/frameworks/base/core/java/android/test/suitebuilder/annotation/ |
H A D | LargeTest.java | 28 @Target({ElementType.METHOD, ElementType.TYPE})
|
H A D | MediumTest.java | 29 @Target({ElementType.METHOD, ElementType.TYPE})
|
H A D | SmallTest.java | 28 @Target({ElementType.METHOD, ElementType.TYPE})
|
H A D | Smoke.java | 32 @Target({ElementType.METHOD, ElementType.TYPE})
|
H A D | Suppress.java | 31 @Target({ElementType.METHOD, ElementType.TYPE})
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardExporterTests.java | 410 .put(Phone.TYPE, Phone.TYPE_HOME); 436 .put(Phone.TYPE, Phone.TYPE_HOME); 450 .put(Phone.TYPE, Phone.TYPE_HOME); 453 .put(Phone.TYPE, Phone.TYPE_WORK); 456 .put(Phone.TYPE, Phone.TYPE_FAX_HOME); 459 .put(Phone.TYPE, Phone.TYPE_FAX_WORK); 462 .put(Phone.TYPE, Phone.TYPE_MOBILE); 465 .put(Phone.TYPE, Phone.TYPE_PAGER); 468 .put(Phone.TYPE, Phone.TYPE_OTHER); 471 .put(Phone.TYPE, Phon [all...] |