Searched refs:reference (Results 1 - 25 of 34) sorted by path

12

/frameworks/av/services/audioflinger/tests/
H A Dresampler_tests.cpp56 void buffercmp(const void *reference, const void *test, argument
60 int check = memcmp((const char*)reference + i * outputFrameSize,
100 // set up the reference run
103 void* reference = malloc(outputSize); local
104 resample(channels, reference, outputFrames, refIncr, &provider, resampler);
131 buffercmp(reference, test, outputFrameSize, outputFrames);
133 free(reference);
188 // set up the reference run
191 void* reference = malloc(outputSize); local
192 resample(channels, reference, outputFrame
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java527 * Shrink the {@code shrinkTarget} rectangle to snugly fit inside of {@code reference};
529 * {@code reference}.
533 * @param reference the rectangle whose aspect ratio will be used as the new aspect ratio
537 * whose aspect ratio will match that of {@code reference}
539 private static Rect shrinkToSameAspectRatioCentered(Rect reference, Rect shrinkTarget) { argument
540 float aspectRatioReference = reference.width() * 1.0f / reference.height();
546 cropH = reference.height();
550 cropW = reference.width();
558 translateMatrix.setScale(cropW / reference
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DPreconditions.java28 * Ensures that an object reference passed as a parameter to the calling
31 * @param reference an object reference
32 * @return the non-null reference that was validated
33 * @throws NullPointerException if {@code reference} is null
35 public static <T> T checkNotNull(final T reference) { argument
36 if (reference == null) {
39 return reference;
43 * Ensures that an object reference passed as a parameter to the calling
46 * @param reference a
52 checkNotNull(final T reference, final Object errorMessage) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java46 mReference = activity.findViewById(R.id.reference);
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DCursorAnchorInfoTest.java197 private static void assertNotEquals(final CursorAnchorInfo reference, argument
199 assertFalse(Objects.equals(reference, actual));
/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/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"))) {
/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.java237 public void setResourceReference(ResourceReference reference) { argument
238 mResourceReference = reference;
276 // else if there's a resource reference, this means we are in an adapter
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java130 protected TextView setText(int index, String string, boolean reference) { argument
134 setText(textView, string, reference);
141 private void setText(TextView textView, String string, boolean reference) { argument
142 if (reference) {
213 private ResourceValue getResourceValue(String reference) { argument
218 ResourceValue value = res.findResValue(reference, false /*isFramework*/);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h104 typedef typename traits::reference reference; typedef in class:mcld::PolicyIteratorBase
132 reference operator->() const
192 typedef typename traits::reference reference; typedef in struct:mcld::TreeIterator
218 reference operator->() const
364 typedef value_type& reference; typedef in class:mcld::BinaryTree
H A DHashIterator.h260 typedef typename traits::reference reference; typedef in class:mcld::HashIterator
H A DTypeTraits.h24 typedef const DataType& reference; typedef in struct:mcld::ConstTraits
35 typedef DataType& reference; typedef in struct:mcld::NonConstTraits
46 typedef const DataType& reference; typedef in struct:mcld::ConstIteratorTraits
58 typedef DataType& reference; typedef in struct:mcld::NonConstIteratorTraits
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h75 typedef value_type& reference; typedef in class:mcld::BinaryTree
/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocData.h48 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.h41 typedef FragmentListType::reference reference; typedef in class:mcld::SectionData
67 reference front () { return m_Fragments.front(); }
69 reference back () { return m_Fragments.back(); }
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h67 typedef InputList::reference reference; typedef in class:mcld::SectionMap::Output
101 reference front() { return m_InputList.front(); }
103 reference back () { return m_InputList.back(); }
151 typedef OutputDescList::reference reference; typedef in class:mcld::SectionMap
183 reference front() { return m_OutputDescList.front(); }
185 reference back () { return m_OutputDescList.back(); }
/frameworks/compile/mclinker/include/mcld/Script/
H A DOutputSectDesc.h163 typedef OutputSectCmds::reference reference; typedef in class:mcld::OutputSectDesc
175 reference front() { return m_OutputSectCmds.front(); }
177 reference back() { return m_OutputSectCmds.back(); }
H A DScriptFile.h50 typedef CommandQueue::reference reference; typedef in class:mcld::ScriptFile
62 reference front() { return m_CommandQueue.front(); }
64 reference back() { return m_CommandQueue.back(); }
H A DSectionsCmd.h32 typedef SectionCommands::reference reference; typedef in class:mcld::SectionsCmd
44 reference front() { return m_SectionCommands.front(); }
46 reference back() { return m_SectionCommands.back(); }
H A DStringList.h32 typedef Tokens::reference reference; typedef in class:mcld::StringList
47 reference front() { return m_Tokens.front(); }
49 reference back() { return m_Tokens.back(); }
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h101 typedef typename ChunkType::value_type& reference; typedef in class:mcld::LinearAllocatorBase
122 pointer address(reference X) const
333 typedef DataType& reference; typedef in class:mcld::MallocAllocator
353 pointer address(reference X) const
387 typedef void* reference; typedef in class:mcld::MallocAllocator
410 pointer address(reference X) const
H A DGCFactory.h64 typedef typename traits::reference reference; typedef in class:mcld::DataIterator
93 reference operator*() {
124 typedef typename Alloc::reference reference; typedef in class:mcld::GCFactoryBase
/frameworks/compile/mclinker/lib/Script/
H A DAssignment.cpp90 SectionMap::reference out = script.sectionMap().back();
131 SectionMap::Output::reference in = script.sectionMap().back()->back();
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java293 List<android.hardware.Camera.Area> reference) {
295 if (reference.size() > 0) {
296 transformed = new MeteringRectangle[reference.size()];
297 for (int index = 0; index < reference.size(); ++index) {
298 android.hardware.Camera.Area source = reference.get(index);
292 legacyAreasToMeteringRectangles( List<android.hardware.Camera.Area> reference) argument

Completed in 8368 milliseconds

12