Home
last modified time | relevance | path

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

1234567

/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.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> inline
123 int compare_type(const TYPE& lhs, const TYPE& rhs) {
[all …]
DRefBase.h464 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/
DVertexBuffer.h58 template <class TYPE>
59 TYPE* alloc(int vertexCount) { in alloc()
61 TYPE* reallocBuffer = (TYPE*)mReallocBuffer; in alloc()
72 mByteCount = mVertexCount * sizeof(TYPE); in alloc()
73 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; in alloc()
75 mCleanupMethod = &(cleanup<TYPE>); in alloc()
77 return (TYPE*)mBuffer; in alloc()
80 template <class TYPE>
81 TYPE* allocIndices(int indexCount) { in allocIndices()
84 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
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); } in getPositionArray()
56 template <typename TYPE>
57 VertexArray<TYPE> getTexCoordArray() { return VertexArray<TYPE>(getTexCoords(), mStride); } in getTexCoordArray()
/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()
84 TYPE left, right; in operator()
114 TYPE lhs_head;
115 TYPE lhs_tail;
116 TYPE rhs_head;
117 TYPE rhs_tail;
[all …]
/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/rs/rsov/compiler/tests/errors/
Dunsupported_type.rs4 #define TYPE short
6 TYPE RS_KERNEL tSet(TYPE v) { return v; }
/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/support/compat/java/android/support/v4/graphics/
DTypefaceCompatApi26Impl.java84 AssetManager.class, String.class, Integer.TYPE, Boolean.TYPE, Integer.TYPE,
85 Integer.TYPE, Integer.TYPE, FontVariationAxis[].class);
87 ByteBuffer.class, Integer.TYPE, FontVariationAxis[].class, Integer.TYPE,
88 Integer.TYPE);
94 familyArray.getClass(), Integer.TYPE, Integer.TYPE);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasRequestUpdateInbox.java26 private static final String TYPE = "x-bt/MAP-messageUpdate"; field in BluetoothMasRequestUpdateInbox
29 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestUpdateInbox()
DBluetoothMasRequestSetNotificationRegistration.java28 private static final String TYPE = "x-bt/MAP-NotificationRegistration"; field in BluetoothMasRequestSetNotificationRegistration
35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestSetNotificationRegistration()
DBluetoothMasRequestGetFolderListingSize.java28 private static final String TYPE = "x-obex/folder-listing"; field in BluetoothMasRequestGetFolderListingSize
33 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestGetFolderListingSize()
DBluetoothMasRequestGetMessagesListingSize.java28 private static final String TYPE = "x-bt/MAP-msg-listing"; field in BluetoothMasRequestGetMessagesListingSize
34 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestGetMessagesListingSize()
DBluetoothMasRequestSetMessageStatus.java32 private static final String TYPE = "x-bt/messageStatus"; field in BluetoothMasRequestSetMessageStatus
37 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestSetMessageStatus()
DBluetoothMasRequestGetFolderListing.java29 private static final String TYPE = "x-obex/folder-listing"; field in BluetoothMasRequestGetFolderListing
43 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestGetFolderListing()
DBluetoothMasRequestPushMessage.java31 private static final String TYPE = "x-bt/message"; field in BluetoothMasRequestPushMessage
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothMasRequestPushMessage()
/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

1234567