Searched refs:TYPE (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/base/libs/hwui/utils/
H A DSortedList.h35 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 Dquat.h29 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 Dvec.h36 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 Dmat.h27 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 DELFSymbol.cpp25 #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 DELFTypes.cpp23 #define ELF_TYPE_PRINT_OPERATOR(TYPE, FORMAT_WIDTH) \
24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
H A DELFSectionHeader.cpp42 #define CASE(TYPE) \
43 case SHT_##TYPE: return #TYPE;
/frameworks/base/libs/hwui/
H A DPathTessellator.h46 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 DMesh.h38 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 DTypeHelpers.h40 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 DRefBase.h456 // 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 DTypeHelpers.h40 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 DRefBase.h455 // 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 Dtraits.h35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \
37 struct TypeTraits<TYPE> { \
/frameworks/base/core/java/android/annotation/
H A DTargetApi.java20 import static java.lang.annotation.ElementType.TYPE;
28 @Target({TYPE, METHOD, CONSTRUCTOR})
H A DWidget.java34 @Target({ ElementType.TYPE })
H A DSuppressLint.java23 import static java.lang.annotation.ElementType.TYPE;
30 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
/frameworks/native/include/ui/
H A DANativeObjectBase.h57 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 DRegionHelper.h30 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 DLargeTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})
H A DMediumTest.java29 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSmallTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSmoke.java32 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSuppress.java31 @Target({ElementType.METHOD, ElementType.TYPE})
/frameworks/base/core/java/com/android/internal/annotations/
H A DImmutable.java27 @Target(ElementType.TYPE)

Completed in 2522 milliseconds

1234