Searched refs:reference (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DPreconditions.java26 * Ensures that an object reference passed as a parameter to the calling
29 * @param reference an object reference
30 * @return the non-null reference that was validated
31 * @throws NullPointerException if {@code reference} is null
33 public static <T> T checkNotNull(T reference) { argument
34 if (reference == null) {
37 return reference;
41 * Ensures that an object reference passed as a parameter to the calling
44 * @param reference a
50 checkNotNull(T reference, Object errorMessage) argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTypeTraits.h27 typedef const DataType& reference; typedef in struct:mcld::ConstTraits
38 typedef DataType& reference; typedef in struct:mcld::NonConstTraits
49 typedef const DataType& reference; typedef in struct:mcld::ConstIteratorTraits
61 typedef DataType& reference; typedef in struct:mcld::NonConstIteratorTraits
H A DBinTree.h107 typedef typename traits::reference reference; typedef in class:mcld::PolicyIteratorBase
135 reference operator->() const
195 typedef typename traits::reference reference; typedef in struct:mcld::TreeIterator
221 reference operator->() const
367 typedef value_type& reference; typedef in class:mcld::BinaryTree
H A DHashIterator.h263 typedef typename traits::reference reference; typedef in class:mcld::HashIterator
/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocData.h49 typedef RelocationListType::reference reference; typedef in class:mcld::RelocData
77 reference front () { return m_Relocations.front(); }
79 reference back () { return m_Relocations.back(); }
H A DSectionData.h44 typedef FragmentListType::reference reference; typedef in class:mcld::SectionData
70 reference front () { return m_Fragments.front(); }
72 reference back () { return m_Fragments.back(); }
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsBroadcastUndelivered.java124 SmsReferenceKey reference = new SmsReferenceKey(tracker);
125 Integer receivedCount = multiPartReceivedCount.get(reference);
127 multiPartReceivedCount.put(reference, 1); // first segment seen
131 oldMultiPartMessages.add(reference);
141 oldMultiPartMessages.remove(reference);
143 multiPartReceivedCount.put(reference, newCount);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java277 * with respect to the <code>reference</code> view.
279 * @param reference The reference view
280 * @param test The view that should be center aligned with the reference view
282 static public void assertHorizontalCenterAligned(View reference, View test) { argument
284 reference.getLocationOnScreen(xy);
290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
298 * with respect to the <code>reference</code> view.
300 * @param reference The reference vie
303 assertVerticalCenterAligned(View reference, View test) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactory.h67 typedef typename traits::reference reference; typedef in class:mcld::DataIterator
96 reference operator*() {
127 typedef typename Alloc::reference reference; typedef in class:mcld::GCFactoryBase
H A DAllocators.h104 typedef typename ChunkType::value_type& reference; typedef in class:mcld::LinearAllocatorBase
125 pointer address(reference X) const
336 typedef DataType& reference; typedef in class:mcld::MallocAllocator
356 pointer address(reference X) const
390 typedef void* reference; typedef in class:mcld::MallocAllocator
413 pointer address(reference X) const
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java46 mReference = activity.findViewById(R.id.reference);
/frameworks/native/include/ui/
H A Dvec2.h39 typedef T& reference; typedef in class:android::tvec2
H A Dvec3.h38 typedef T& reference; typedef in class:android::tvec3
H A Dvec4.h38 typedef T& reference; typedef in class:android::tvec4
H A Dmat4.h45 typedef T& reference; typedef in class:android::tmat44
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java246 // else if there's a resource reference, this means we are in an adapter
264 public void setResourceReference(ResourceReference reference) { argument
265 mResourceReference = reference;
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DTextGraphReader.java394 "Unknown object reference to '" + refName + "'!");
431 + "You must add a reference to this external in the host program using "
442 for (String reference : mReferences.keySet()) {
443 if (!mBoundReferences.containsKey(reference)) {
445 "Host program specifies reference to '" + reference + "', which is not "
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java313 private ResourceValue getResourceValue(String reference) { argument
318 ResourceValue value = res.findResValue(reference, false /*isFramework*/);
/frameworks/native/services/sensorservice/
H A Dmat.h130 typedef TYPE& reference; typedef in class:android::mat
261 typedef TYPE& reference; typedef in class:android::mat
H A Dvec.h308 typedef TYPE& reference; typedef in class:android::vec
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h78 typedef value_type& reference; typedef in class:mcld::BinaryTree
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1904 * @param reference a GPS reference reperesented by a String containing "N",
1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument
1915 if ((reference.equals("S") || reference.equals("W"))) {

Completed in 600 milliseconds