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

123

/frameworks/base/include/utils/
H A DVector.h32 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 DSortedVector.h32 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 DSingleton.h28 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 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
105 template<typename TYPE> inline
106 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) {
110 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...]
H A DDebug.h40 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 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/base/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...]
H A DFusion.cpp92 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 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/compile/linkloader/utils/
H A Dtraits.h35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \
37 struct TypeTraits<TYPE> { \
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h58 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 DEGLNativeSurface.h32 template <class TYPE>
33 class EGLNativeSurface : public egl_native_window_t, public LightRefBase<TYPE>
/frameworks/base/include/private/ui/
H A DRegionHelper.h29 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 DWidget.java34 @Target({ ElementType.TYPE })
/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/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardExporterTests.java410 .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...]

Completed in 288 milliseconds

123