Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 149) sorted by relevance

123456

/frameworks/native/services/sensorservice/
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( in doAssign() argument
50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument
64 typename TYPE,
67 VLHS<TYPE, SIZE> PURE doAdd( in doAdd()
68 const VLHS<TYPE, SIZE>& lhs, in doAdd() argument
69 const VRHS<TYPE, SIZE>& rhs) { in doAdd() argument
70 VLHS<TYPE, SIZE> r; in doAdd()
[all …]
Dquat.h29 template <typename TYPE>
30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { in quatToMatrix() argument
31 mat<TYPE, 3, 3> R; in quatToMatrix()
32 TYPE q0(q.w); in quatToMatrix()
33 TYPE q1(q.x); in quatToMatrix()
34 TYPE q2(q.y); in quatToMatrix()
35 TYPE q3(q.z); in quatToMatrix()
36 TYPE sq_q1 = 2 * q1 * q1; in quatToMatrix()
37 TYPE sq_q2 = 2 * q2 * q2; in quatToMatrix()
38 TYPE sq_q3 = 2 * q3 * q3; in quatToMatrix()
[all …]
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( in doAssign() argument
34 mat<TYPE, C, R>& lhs, in doAssign()
35 typename TypeTraits<TYPE>::ParameterType rhs) { in doAssign()
42 template <typename TYPE, size_t C, size_t R, size_t D>
43 mat<TYPE, C, R> PURE doMul( in doMul()
44 const mat<TYPE, D, R>& lhs, in doMul() argument
45 const mat<TYPE, C, D>& rhs) in doMul()
47 mat<TYPE, C, R> res; in doMul()
[all …]
DFusion.cpp109 template <typename TYPE, size_t C, size_t R>
110 static mat<TYPE, R, R> scaleCovariance( in scaleCovariance()
111 const mat<TYPE, C, R>& A, in scaleCovariance() argument
112 const mat<TYPE, C, C>& P) { in scaleCovariance()
114 mat<TYPE, R, R> APAt; in scaleCovariance()
131 template <typename TYPE, typename OTHER_TYPE>
132 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { in crossMatrix() argument
133 mat<TYPE, 3, 3> r; in crossMatrix()
147 template<typename TYPE, size_t SIZE>
149 mat<TYPE, SIZE, SIZE> mSumXX;
[all …]
/frameworks/rs/cpp/util/
DTypeHelpers.h41 template <typename TYPE>
45 is_pointer = trait_pointer<TYPE>::value,
47 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value,
49 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value,
51 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value,
53 has_trivial_move = is_pointer || trait_trivial_move<TYPE>::value
118 template<typename TYPE> inline
119 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) {
123 template<typename TYPE> inline
124 int compare_type(const TYPE& lhs, const TYPE& rhs) {
[all …]
DRefBase.h465 template <typename TYPE>
467 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } in getReferenceTypeSize()
469 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); in getReferenceBase()
470 return static_cast<typename TYPE::basetype *>(sptr->get()); in getReferenceBase()
474 template <typename TYPE>
476 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } in getReferenceTypeSize()
478 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> const*>(p)); in getReferenceBase()
479 return static_cast<typename TYPE::basetype *>(sptr->unsafe_get()); in getReferenceBase()
484 template<typename TYPE> static inline
485 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references()
[all …]
/frameworks/base/libs/hwui/
DVertexBuffer.h57 template <class TYPE>
58 TYPE* alloc(int vertexCount) { in alloc()
60 TYPE* reallocBuffer = (TYPE*)mReallocBuffer; in alloc()
71 mByteCount = mVertexCount * sizeof(TYPE); in alloc()
72 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; in alloc()
74 mCleanupMethod = &(cleanup<TYPE>); in alloc()
76 return (TYPE*)mBuffer; in alloc()
79 template <class TYPE>
80 TYPE* allocIndices(int indexCount) { in allocIndices()
83 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h41 template <typename TYPE>
49 TYPE& operator[](size_t index) { return *reinterpret_cast<TYPE*>(&mData[index * mStride]); }
50 TYPE const& operator[](size_t index) const {
51 return *reinterpret_cast<TYPE const*>(&mData[index * mStride]);
55 template <typename TYPE>
56 VertexArray<TYPE> getPositionArray() { in getPositionArray()
57 return VertexArray<TYPE>(getPositions(), mStride); in getPositionArray()
60 template <typename TYPE>
61 VertexArray<TYPE> getTexCoordArray() { in getTexCoordArray()
62 return VertexArray<TYPE>(getTexCoords(), mStride); in getTexCoordArray()
[all …]
/frameworks/native/include/private/ui/
DRegionHelper.h33 typedef typename RECT::value_type TYPE; typedef
34 static const TYPE max_value = std::numeric_limits<TYPE>::max();
55 TYPE dx;
56 TYPE dy;
61 inline region(RECT const* _r, size_t _c, TYPE _dx, TYPE _dy) in region()
113 TYPE lhs_head;
114 TYPE lhs_tail;
115 TYPE rhs_head;
116 TYPE rhs_tail;
118 inline int next(TYPE& head, TYPE& tail, in next()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DANativeObjectBase.h37 template <typename NATIVE_TYPE, typename TYPE, typename REF,
51 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF, NATIVE_BASE> BASE;
56 static inline TYPE* getSelf(NATIVE_TYPE* self) { in getSelf()
57 return static_cast<TYPE*>(self); in getSelf()
59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf()
60 return static_cast<TYPE const *>(self); in getSelf()
62 static inline TYPE* getSelf(NATIVE_BASE* base) { in getSelf()
65 static inline TYPE const * getSelf(NATIVE_BASE const* base) { in getSelf()
/frameworks/native/libs/ui/include/ui/
DANativeObjectBase.h37 template <typename NATIVE_TYPE, typename TYPE, typename REF,
51 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF, NATIVE_BASE> BASE;
56 static inline TYPE* getSelf(NATIVE_TYPE* self) { in getSelf()
57 return static_cast<TYPE*>(self); in getSelf()
59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf()
60 return static_cast<TYPE const *>(self); in getSelf()
62 static inline TYPE* getSelf(NATIVE_BASE* base) { in getSelf()
65 static inline TYPE const * getSelf(NATIVE_BASE const* base) { in getSelf()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java493 .put(Organization.TYPE, Organization.TYPE_WORK); in testOrgBeforTitle()
505 .put(Organization.TYPE, Organization.TYPE_WORK); in testTitleBeforOrg()
520 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary()
523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary()
527 .put(Phone.TYPE, Phone.TYPE_ISDN); in testV21PrefToIsPrimary()
530 .put(Email.TYPE, Email.TYPE_HOME) in testV21PrefToIsPrimary()
534 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21PrefToIsPrimary()
539 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
543 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
547 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
[all …]
DVCardExporterTests.java410 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon()
436 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting()
450 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport()
453 .put(Phone.TYPE, Phone.TYPE_WORK); in testPhoneVariousTypeSupport()
456 .put(Phone.TYPE, Phone.TYPE_FAX_HOME); in testPhoneVariousTypeSupport()
459 .put(Phone.TYPE, Phone.TYPE_FAX_WORK); in testPhoneVariousTypeSupport()
462 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport()
465 .put(Phone.TYPE, Phone.TYPE_PAGER); in testPhoneVariousTypeSupport()
468 .put(Phone.TYPE, Phone.TYPE_OTHER); in testPhoneVariousTypeSupport()
471 .put(Phone.TYPE, Phone.TYPE_CAR); in testPhoneVariousTypeSupport()
[all …]
DVCardJapanizationTests.java217 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAddressWithJapaneseCommon()
243 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME); in testPostalAddressWithJapaneseCommon()
257 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_1()
260 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_1()
263 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME) in testPostalAdrressForDoCoMo_1()
266 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_1()
285 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_2()
288 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_2()
291 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_2()
310 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_3()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSystemBuildProperties.java24 return Build.TYPE.equals("eng"); in isEngBuild()
29 return Build.TYPE.equals("userdebug"); in isUserdebugBuild()
34 return Build.TYPE.equals("user"); in isUserBuild()
/frameworks/base/core/java/android/annotation/
DSystemApi.java24 import static java.lang.annotation.ElementType.TYPE;
41 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
76 @Target(TYPE)
DSystemService.java19 import static java.lang.annotation.ElementType.TYPE;
35 @Target(TYPE)
DBinderThread.java24 import static java.lang.annotation.ElementType.TYPE;
41 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
DAnyThread.java21 import static java.lang.annotation.ElementType.TYPE;
49 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
DWorkerThread.java24 import static java.lang.annotation.ElementType.TYPE;
46 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
/frameworks/base/core/java/android/view/inspector/
DInspectableProperty.java21 import static java.lang.annotation.ElementType.TYPE;
113 @Target({TYPE})
138 @Target({TYPE})
/frameworks/opt/vcard/tests/res/raw/
Dv40_sip.vcf5 TEL;TYPE=HOME:tel:1
6 TEL;TYPE=HOME:sip:example@example.com
Dv30_comma_separated.vcf3 N;TYPE=PREF,HOME:F;G;M;;
4 TEL;TYPE="COMMA,SEPARATED:INSIDE.DQUOTE",PREF:1
Dv21_blackberry_photo.vcf41 TEL;TYPE=WORK:+5555555
42 TEL;TYPE=CELL:+5555556
43 EMAIL;TYPE=INTERNET:forrestgump@walladalla.com
Dv30_simple.vcf7 TEL;TYPE=PREF;TYPE=VOICE:0300000000

123456