/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/native/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...] |
/frameworks/rs/cpu_ref/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/base/libs/hwui/ |
H A D | PathTessellator.h | 46 template <class TYPE> 47 TYPE* alloc(int vertexCount) { 49 TYPE* reallocBuffer = (TYPE*)mReallocBuffer; 59 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; 60 mCleanupMethod = &(cleanup<TYPE>); 62 return (TYPE*)mBuffer; 65 template <class TYPE> 69 TYPE* dst = alloc<TYPE>(verticesToCop [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.h | 38 template <typename TYPE> 45 TYPE& operator[](size_t index) { 46 return *reinterpret_cast<TYPE*>(&mData[index*mStride]); 48 TYPE const& operator[](size_t index) const { 49 return *reinterpret_cast<TYPE const*>(&mData[index*mStride]); 53 template <typename TYPE> 54 VertexArray<TYPE> getPositionArray() { return VertexArray<TYPE>(getPositions(), mStride); } 56 template <typename TYPE> 57 VertexArray<TYPE> getTexCoordArra [all...] |
/frameworks/rs/cpp/util/ |
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 117 template<typename TYPE> inline 118 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { 122 template<typename TYPE> inlin [all...] |
H A D | RefBase.h | 456 // this class just serves as a namespace so TYPE::moveReferences can stay 464 template <typename TYPE> 466 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } 468 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); 469 return static_cast<typename TYPE::basetype *>(sptr->get()); 473 template <typename TYPE> 475 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } 477 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> cons [all...] |
/frameworks/rs/server/ |
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 117 template<typename TYPE> inline 118 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { 122 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...] |
/frameworks/rs/cpu_ref/linkloader/utils/ |
H A D | traits.h | 35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \ 37 struct TypeTraits<TYPE> { \
|
/frameworks/base/core/java/android/annotation/ |
H A D | TargetApi.java | 20 import static java.lang.annotation.ElementType.TYPE; 28 @Target({TYPE, METHOD, CONSTRUCTOR})
|
H A D | Widget.java | 34 @Target({ ElementType.TYPE })
|
H A D | SuppressLint.java | 23 import static java.lang.annotation.ElementType.TYPE; 30 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 57 template <typename NATIVE_TYPE, typename TYPE, typename REF> 70 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF> BASE; 75 static inline TYPE* getSelf(NATIVE_TYPE* self) { 76 return static_cast<TYPE*>(self); 78 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { 79 return static_cast<TYPE const *>(self); 81 static inline TYPE* getSelf(android_native_base_t* base) { 84 static inline TYPE const * getSelf(android_native_base_t const* base) {
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 30 typedef typename RECT::value_type TYPE; typedef in class:android::region_operator 31 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; 111 TYPE lhs_head; 112 TYPE lhs_tail; 113 TYPE rhs_hea [all...] |
/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/base/core/java/com/android/internal/annotations/ |
H A D | Immutable.java | 27 @Target(ElementType.TYPE)
|