/frameworks/base/libs/hwui/utils/ |
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& item) const; 72 size_t orderOf(const TYPE& item) const; 74 inline const TYPE& operator [](size_t index) const; [all …]
|
/frameworks/native/services/sensorservice/ |
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( 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 …]
|
D | quat.h | 29 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 …]
|
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( 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 …]
|
D | Fusion.cpp | 92 template <typename TYPE, size_t C, size_t R> 93 static mat<TYPE, R, R> scaleCovariance( in scaleCovariance() 94 const mat<TYPE, C, R>& A, in scaleCovariance() argument 95 const mat<TYPE, C, C>& P) { in scaleCovariance() 97 mat<TYPE, R, R> APAt; in scaleCovariance() 114 template <typename TYPE, typename OTHER_TYPE> 115 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { in crossMatrix() argument 116 mat<TYPE, 3, 3> r; in crossMatrix() 130 template<typename TYPE, size_t SIZE> 132 mat<TYPE, SIZE, SIZE> mSumXX; [all …]
|
/frameworks/rs/server/ |
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> inline 123 int compare_type(const TYPE& lhs, const TYPE& rhs) { [all …]
|
D | RefBase.h | 463 template <typename TYPE> 465 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } in getReferenceTypeSize() 467 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); in getReferenceBase() 468 return static_cast<typename TYPE::basetype *>(sptr->get()); in getReferenceBase() 472 template <typename TYPE> 474 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } in getReferenceTypeSize() 476 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> const*>(p)); in getReferenceBase() 477 return static_cast<typename TYPE::basetype *>(sptr->unsafe_get()); in getReferenceBase() 482 template<typename TYPE> static inline 483 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references() [all …]
|
/frameworks/rs/cpp/util/ |
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> inline 123 int compare_type(const TYPE& lhs, const TYPE& rhs) { [all …]
|
D | RefBase.h | 464 template <typename TYPE> 466 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } in getReferenceTypeSize() 468 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); in getReferenceBase() 469 return static_cast<typename TYPE::basetype *>(sptr->get()); in getReferenceBase() 473 template <typename TYPE> 475 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } in getReferenceTypeSize() 477 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> const*>(p)); in getReferenceBase() 478 return static_cast<typename TYPE::basetype *>(sptr->unsafe_get()); in getReferenceBase() 483 template<typename TYPE> static inline 484 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references() [all …]
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 59 template <class TYPE> 60 TYPE* alloc(int vertexCount) { in alloc() 62 TYPE* reallocBuffer = (TYPE*)mReallocBuffer; in alloc() 73 mByteCount = mVertexCount * sizeof(TYPE); in alloc() 74 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; in alloc() 76 mCleanupMethod = &(cleanup<TYPE>); in alloc() 78 return (TYPE*)mBuffer; in alloc() 81 template <class TYPE> 82 TYPE* allocIndices(int indexCount) { in allocIndices() 85 mIndices = (void*)new TYPE[indexCount]; in allocIndices() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
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); } in getPositionArray() 56 template <typename TYPE> 57 VertexArray<TYPE> getTexCoordArray() { return VertexArray<TYPE>(getTexCoords(), mStride); } in getTexCoordArray()
|
/frameworks/rs/cpu_ref/linkloader/lib/ |
D | ELFSymbol.cpp | 25 #define CASE(TYPE) \ in getTypeStr() argument 26 case STT_##TYPE: return #TYPE; in getTypeStr() 49 #define CASE(TYPE) \ in getBindingAttributeStr() argument 50 case STB_##TYPE: return #TYPE; in getBindingAttributeStr() 68 #define CASE(TYPE) \ in getVisibilityStr() argument 69 case STV_##TYPE: return #TYPE; in getVisibilityStr()
|
D | ELFSectionHeader.cpp | 42 #define CASE(TYPE) \ in getSectionTypeStr() argument 43 case SHT_##TYPE: return #TYPE; in getSectionTypeStr()
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 30 typedef typename RECT::value_type TYPE; typedef 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) in region() 81 TYPE left, right; in operator() 111 TYPE lhs_head; 112 TYPE lhs_tail; 113 TYPE rhs_head; 114 TYPE rhs_tail; [all …]
|
/frameworks/native/include/ui/ |
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) { in getSelf() 76 return static_cast<TYPE*>(self); in getSelf() 78 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf() 79 return static_cast<TYPE const *>(self); in getSelf() 81 static inline TYPE* getSelf(android_native_base_t* base) { in getSelf() 84 static inline TYPE const * getSelf(android_native_base_t const* base) { in getSelf()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 493 .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 …]
|
D | VCardExporterTests.java | 410 .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 …]
|
D | VCardJapanizationTests.java | 217 .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/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMasRequestUpdateInbox.java | 26 private static final String TYPE = "x-bt/MAP-messageUpdate"; field in BluetoothMasRequestUpdateInbox 29 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestUpdateInbox()
|
D | BluetoothMasRequestSetNotificationRegistration.java | 28 private static final String TYPE = "x-bt/MAP-NotificationRegistration"; field in BluetoothMasRequestSetNotificationRegistration 35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestSetNotificationRegistration()
|
D | BluetoothMasRequestGetFolderListingSize.java | 28 private static final String TYPE = "x-obex/folder-listing"; field in BluetoothMasRequestGetFolderListingSize 33 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestGetFolderListingSize()
|
D | BluetoothMasRequestGetMessagesListingSize.java | 28 private static final String TYPE = "x-bt/MAP-msg-listing"; field in BluetoothMasRequestGetMessagesListingSize 34 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestGetMessagesListingSize()
|
D | BluetoothMasRequestSetMessageStatus.java | 32 private static final String TYPE = "x-bt/messageStatus"; field in BluetoothMasRequestSetMessageStatus 37 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestSetMessageStatus()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapRequestPullVcardListingSize.java | 29 private static final String TYPE = "x-bt/vcard-listing"; field in BluetoothPbapRequestPullVcardListingSize 36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullVcardListingSize()
|
D | BluetoothPbapRequestPullPhoneBookSize.java | 29 private static final String TYPE = "x-bt/phonebook"; field in BluetoothPbapRequestPullPhoneBookSize 36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBookSize()
|