Searched defs:reference (Results 1 - 11 of 11) 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 DHashIterator.h263 typedef typename traits::reference reference; typedef in class:mcld::HashIterator
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
/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/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java297 private ResourceValue getResourceValue(String reference) { argument
302 ResourceValue value = res.findResValue(reference, false /*isFramework*/);
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h87 typedef typename ChunkType::value_type& reference; typedef in class:mcld::LinearAllocatorBase
108 pointer address(reference X) const
322 typedef DataType& reference; typedef in class:mcld::MallocAllocator
342 pointer address(reference X) const
376 typedef void* reference; typedef in class:mcld::MallocAllocator
399 pointer address(reference X) const
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
/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

Completed in 1222 milliseconds