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

1234567

/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/base/libs/hwui/
H A DVertexBuffer.h57 template <class TYPE>
58 TYPE* alloc(int vertexCount) {
60 TYPE* reallocBuffer = (TYPE*)mReallocBuffer;
71 mByteCount = mVertexCount * sizeof(TYPE);
72 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount];
74 mCleanupMethod = &(cleanup<TYPE>);
76 return (TYPE*)mBuffer;
79 template <class TYPE>
80 TYPE* allocIndice
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSystemBuildProperties.java24 return Build.TYPE.equals("eng");
29 return Build.TYPE.equals("userdebug");
34 return Build.TYPE.equals("user");
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DMesh.h38 template <typename TYPE>
46 TYPE& operator[](size_t index) { return *reinterpret_cast<TYPE*>(&mData[index * mStride]); }
47 TYPE const& operator[](size_t index) const {
48 return *reinterpret_cast<TYPE const*>(&mData[index * mStride]);
52 template <typename TYPE>
53 VertexArray<TYPE> getPositionArray() {
54 return VertexArray<TYPE>(getPositions(), mStride);
57 template <typename TYPE>
58 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...]
/frameworks/base/core/java/android/annotation/
H A DSystemService.java19 import static java.lang.annotation.ElementType.TYPE;
35 @Target(TYPE)
H A DAnyThread.java21 import static java.lang.annotation.ElementType.TYPE;
49 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
H A DBinderThread.java24 import static java.lang.annotation.ElementType.TYPE;
41 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
H A DMainThread.java21 import static java.lang.annotation.ElementType.TYPE;
48 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
H A DRequiresFeature.java21 import static java.lang.annotation.ElementType.TYPE;
37 @Target({TYPE,FIELD,METHOD,CONSTRUCTOR})
H A DSuppressAutoDoc.java24 import static java.lang.annotation.ElementType.TYPE;
37 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
H A DSystemApi.java24 import static java.lang.annotation.ElementType.TYPE;
41 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
H A DTargetApi.java21 import static java.lang.annotation.ElementType.TYPE;
29 @Target({TYPE, METHOD, CONSTRUCTOR, FIELD})
H A DTestApi.java24 import static java.lang.annotation.ElementType.TYPE;
39 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
H A DUiThread.java21 import static java.lang.annotation.ElementType.TYPE;
49 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
H A DWorkerThread.java24 import static java.lang.annotation.ElementType.TYPE;
46 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})
/frameworks/native/include/ui/
H A 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) {
57 return static_cast<TYPE*>(self);
59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) {
60 return static_cast<TYPE const *>(self);
62 static inline TYPE* getSelf(NATIVE_BASE* base) {
65 static inline TYPE const * getSelf(NATIVE_BASE const* base) {
/frameworks/native/libs/ui/include/ui/
H A 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) {
57 return static_cast<TYPE*>(self);
59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) {
60 return static_cast<TYPE const *>(self);
62 static inline TYPE* getSelf(NATIVE_BASE* base) {
65 static inline TYPE const * getSelf(NATIVE_BASE const* base) {
/frameworks/native/libs/ui/include_vndk/ui/
H A 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) {
57 return static_cast<TYPE*>(self);
59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) {
60 return static_cast<TYPE const *>(self);
62 static inline TYPE* getSelf(NATIVE_BASE* base) {
65 static inline TYPE const * getSelf(NATIVE_BASE const* base) {
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DBindingMethods.java26 @Target({ElementType.TYPE})
H A DInverseBindingMethods.java25 @Target(ElementType.TYPE)
H A DUntaggable.java24 @Target({ElementType.TYPE})
/frameworks/support/annotations/src/main/java/androidx/annotation/
H A DAnyThread.java21 import static java.lang.annotation.ElementType.TYPE;
45 @Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER})

Completed in 173 milliseconds

1234567