Home
last modified time | relevance | path

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

12

/frameworks/base/include/utils/
DVector.h38 template <class TYPE>
42 typedef TYPE value_type;
49 Vector(const Vector<TYPE>& rhs);
53 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
54 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
80 inline const TYPE* array() const;
82 TYPE* editArray();
89 inline const TYPE& operator [] (size_t index) const;
91 inline const TYPE& itemAt(size_t index) const;
93 const TYPE& top() const;
[all …]
DSortedVector.h32 template <class TYPE>
36 typedef TYPE value_type;
43 SortedVector(const SortedVector<TYPE>& rhs);
47 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
48 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
74 inline const TYPE* array() const;
78 TYPE* editArray();
81 ssize_t indexOf(const TYPE& item) const;
84 size_t orderOf(const TYPE& item) const;
92 inline const TYPE& operator [] (size_t index) const;
[all …]
DTypeHelpers.h52 template <typename TYPE>
56 is_pointer = trait_pointer<TYPE>::value,
58 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value,
60 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value,
62 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value,
64 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 …]
DSingleton.h27 template <typename TYPE>
31 static TYPE& getInstance() { in getInstance()
33 TYPE* instance = sInstance; in getInstance()
35 instance = new TYPE(); in getInstance()
49 static TYPE* sInstance;
61 #define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \ argument
62 template class Singleton< TYPE >; \
63 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
64 template<> TYPE* Singleton< TYPE >::sInstance(0);
DDebug.h40 struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; };
42 struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; };
DList.h71 template <typename TYPE>
74 typedef const TYPE Type;
77 template <typename TYPE>
80 typedef TYPE Type;
/frameworks/base/include/private/ui/
DRegionHelper.h29 typedef typename RECT::value_type TYPE; typedef
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) in region()
81 TYPE left, right; in operator()
106 TYPE lhs_head;
107 TYPE lhs_tail;
108 TYPE rhs_head;
109 TYPE rhs_tail;
[all …]
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
DVCardImporterTests.java492 .put(Organization.TYPE, Organization.TYPE_WORK); in testOrgBeforTitle()
504 .put(Organization.TYPE, Organization.TYPE_WORK); in testTitleBeforOrg()
519 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary()
522 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary()
526 .put(Phone.TYPE, Phone.TYPE_ISDN); in testV21PrefToIsPrimary()
529 .put(Email.TYPE, Email.TYPE_HOME) in testV21PrefToIsPrimary()
533 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21PrefToIsPrimary()
538 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
542 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
546 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary()
[all …]
DVCardExporterTests.java407 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon()
428 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting()
442 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport()
445 .put(Phone.TYPE, Phone.TYPE_WORK); in testPhoneVariousTypeSupport()
448 .put(Phone.TYPE, Phone.TYPE_FAX_HOME); in testPhoneVariousTypeSupport()
451 .put(Phone.TYPE, Phone.TYPE_FAX_WORK); in testPhoneVariousTypeSupport()
454 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport()
457 .put(Phone.TYPE, Phone.TYPE_PAGER); in testPhoneVariousTypeSupport()
460 .put(Phone.TYPE, Phone.TYPE_OTHER); in testPhoneVariousTypeSupport()
463 .put(Phone.TYPE, Phone.TYPE_CAR); in testPhoneVariousTypeSupport()
[all …]
DVCardJapanizationTests.java215 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAddressWithJapaneseCommon()
241 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME); in testPostalAddressWithJapaneseCommon()
255 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_1()
258 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_1()
261 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME) in testPostalAdrressForDoCoMo_1()
264 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_1()
283 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_2()
286 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_2()
289 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_2()
308 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_3()
[all …]
/frameworks/base/services/surfaceflinger/
DBlurFilter.cpp233 typedef typename PIXEL::type TYPE; in blurFilter() typedef
248 (src->stride * kernelSize) * sizeof(TYPE)); in blurFilter()
253 TYPE* const scratch = (TYPE*)(sums + w + kernelSize); in blurFilter()
261 TYPE* head; in blurFilter()
262 TYPE pixel; in blurFilter()
272 src->stride*kernelHalfSize*sizeof(TYPE)); in blurFilter()
277 head = (TYPE*)src->data + y*src->stride; in blurFilter()
283 TYPE* fb = (TYPE*)dst->data + y*dst->stride; in blurFilter()
329 TYPE* const tail = scratch + (y & mask) * src->stride; in blurFilter()
336 (TYPE*)src->data + (y+kernelHalfSize)*src->stride, in blurFilter()
[all …]
/frameworks/base/include/ui/egl/
Dandroid_natives.h378 template <typename NATIVE_TYPE, typename TYPE, typename REF>
391 typedef EGLNativeBase<NATIVE_TYPE, TYPE, REF> BASE;
396 static inline TYPE* getSelf(NATIVE_TYPE* self) { in getSelf()
397 return static_cast<TYPE*>(self); in getSelf()
399 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf()
400 return static_cast<TYPE const *>(self); in getSelf()
402 static inline TYPE* getSelf(android_native_base_t* base) { in getSelf()
405 static inline TYPE const * getSelf(android_native_base_t const* base) { in getSelf()
/frameworks/base/core/tests/coretests/res/raw/
Dv30_comma_separated.vcf3 N;TYPE=PREF,HOME:F;G;M;;
4 TEL;TYPE="COMMA,SEPARATED:INSIDE.DQUOTE",PREF:1
Dv30_simple.vcf7 TEL;TYPE=PREF;TYPE=VOICE:0300000000
Dv30_multibyte_param.vcf4 TEL;TYPE="费":1
Dv40_sort_as.vcf5 ORG;TYPE=WORK;SORT-AS="ぐーぐる;けんさくぶもん":グーグル;検索部門
Dv30_pager.vcf4 TEL;TYPE=PAGER,WORK,MSG:6101231234@pagersample.com
/frameworks/base/include/ui/
DEGLNativeSurface.h32 template <class TYPE>
33 class EGLNativeSurface : public egl_native_window_t, public LightRefBase<TYPE>
/frameworks/base/tests/CoreTests/android/core/
DReflectArrayTest.java31 Object intArray = Array.newInstance(Integer.TYPE, 2); in testSingleInt()
57 intArray = Array.newInstance(Integer.TYPE, 0); in testSingleInt()
81 Object intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); in testMultiInt()
/frameworks/base/core/java/android/provider/
DCallLog.java78 public static final String TYPE = "type"; field in CallLog.Calls
170 values.put(TYPE, Integer.valueOf(callType)); in addCall()
204 TYPE + " = " + OUTGOING_TYPE, in getLastOutgoingCall()
/frameworks/base/obex/javax/obex/
DHeaderSet.java68 public static final int TYPE = 0x42; field in HeaderSet
274 case TYPE: in setHeader()
451 case TYPE: in getHeader()
513 out.write(TYPE); in getHeaderList()
/frameworks/base/core/java/android/util/
DXml.java119 static final String TYPE field in Xml.XmlSerializerFactory
124 instance = XmlPullParserFactory.newInstance(TYPE, null);
/frameworks/base/core/java/android/annotation/
DWidget.java34 @Target({ ElementType.TYPE })
/frameworks/base/core/java/android/test/suitebuilder/annotation/
DSmallTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})
DLargeTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})

12