Searched refs:reference (Results 26 - 50 of 64) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java46 mReference = activity.findViewById(R.id.reference);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMetricsLoggerService.java82 * contain this reference. The client can save it and use next time it calls getEvents.
316 * @param reference of the last event previously returned. The function will return
319 * After the function call it will contain reference of the
323 public ConnectivityMetricsEvent[] getEvents(ConnectivityMetricsEvent.Reference reference) {
325 long ref = reference.getValue();
331 Log.e(TAG, "Invalid reference");
332 reference.setValue(mLastEventReference);
353 reference.setValue(mLastEventReference);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h93 typedef typename traits::reference reference; typedef in class:mcld::PolicyIteratorBase
124 reference operator->() const {
185 typedef typename traits::reference reference; typedef in struct:mcld::TreeIterator
208 reference operator->() const {
342 typedef value_type& reference; typedef in class:mcld::BinaryTree
H A DHashIterator.h248 typedef typename traits::reference reference; typedef in class:mcld::HashIterator
/frameworks/base/tools/aapt2/
H A DValueVisitor.h94 for (Reference& reference : styleable->entries) {
95 visit(&reference);
H A DResourceUtils.cpp198 // Skip over these identifiers. A style's parent is a normal reference.
227 err << "invalid parent reference '" << str << "'";
485 std::unique_ptr<Reference> reference = tryParseReference(value, &create); local
486 if (reference) {
488 onCreateReference(reference->name.value());
490 return std::move(reference);
/frameworks/compile/mclinker/lib/Script/
H A DAssignment.cpp89 SectionMap::reference out = script.sectionMap().back();
133 SectionMap::Output::reference in = script.sectionMap().back()->back();
/frameworks/rs/api/
H A Drs_allocation_data.spec417 See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.renderscript.Sampler</a> for more details.
/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
/frameworks/base/packages/Osu/src/com/android/configparse/
H A DConfigBuilder.java141 byte[] reference = credential.getFingerPrint();
146 if (Arrays.equals(reference, fingerprint)) {
155 String alias = Base64.encodeToString(reference, Base64.DEFAULT);
/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
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java530 * Shrink the {@code shrinkTarget} rectangle to snugly fit inside of {@code reference};
532 * {@code reference}.
536 * @param reference the rectangle whose aspect ratio will be used as the new aspect ratio
540 * whose aspect ratio will match that of {@code reference}
542 private static Rect shrinkToSameAspectRatioCentered(Rect reference, Rect shrinkTarget) { argument
543 float aspectRatioReference = reference.width() * 1.0f / reference.height();
549 cropH = reference.height();
553 cropW = reference.width();
561 translateMatrix.setScale(cropW / reference
[all...]
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp40 * Visitor that converts a reference's resource ID to a resource name,
55 void visit(Reference* reference) override {
56 if (!reference->id || !reference->id.value().isValid()) {
60 ResourceId id = reference->id.value();
63 reference->name = cacheIter->second;
64 reference->id = {};
429 // A reference of 0, must be the magic @null reference.
435 // This is a normal reference
[all...]
/frameworks/base/tools/aapt2/test/
H A DBuilders.h130 std::unique_ptr<Reference> reference = util::make_unique<Reference>(parseNameOrDie(ref)); local
131 reference->id = id;
132 return reference;
/frameworks/base/tools/aapt2/proto/
H A DTableProtoDeserializer.cpp38 void visit(Reference* reference) override {
39 if (!reference->id || !reference->id.value().isValid()) {
43 ResourceId id = reference->id.value();
46 reference->name = cacheIter->second.toResourceName();
355 mDiag->error(DiagMessage(mSource) << "invalid reference name '"
/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/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java279 byte[] reference = credential.getFingerPrint();
284 if (Arrays.equals(reference, fingerprint)) {
293 String alias = Base64.encodeToString(reference, Base64.DEFAULT);
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DContentRecommendation.java1142 * Ensures that an object reference passed as a parameter to the calling method is not null.
1144 * @param reference an object reference
1145 * @return the non-null reference that was validated
1146 * @throws NullPointerException if {@code reference} is null
1148 private static <T> T checkNotNull(final T reference) { argument
1149 if (reference == null) {
1152 return reference;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSerializer.h201 static const char reference[]; member in struct:android::VolumeTraits::Attributes
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
H A DXMLParser.java24 "document", "prolog", "content", "element", "reference", "attribute",
214 public ReferenceContext reference(int i) { method in class:XMLParser.ContentContext
224 public List<? extends ReferenceContext> reference() { method in class:XMLParser.ContentContext
280 setState(45); reference();
455 public final ReferenceContext reference() throws RecognitionException { method in class:XMLParser
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java311 public void setResourceReference(ResourceReference reference) { argument
312 mResourceReference = reference;
350 // else if there's a resource reference, this means we are in an adapter
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DCursorAnchorInfoTest.java197 private static void assertNotEquals(final CursorAnchorInfo reference, argument
199 assertFalse(Objects.equals(reference, actual));
/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

Completed in 2122 milliseconds

123