Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/support/transition/tests/src/android/support/transition/
DPathMotionTest.java35 float expectedLength = expectedMeasure.getLength(); in assertPathMatches()
36 assertEquals("Lengths differ", expectedLength, pathMeasure.getLength(), 0.01f); in assertPathMatches()
38 float minLength = Math.min(expectedLength, pathMeasure.getLength()); in assertPathMatches()
/frameworks/base/core/jni/android/graphics/
DUtils.cpp37 size_t AssetStreamAdaptor::getLength() const { in getLength() function in AssetStreamAdaptor
38 return fAsset->getLength(); in getLength()
94 const off64_t size = asset->getLength(); in CopyAssetToStream()
DPathMeasure.cpp81 static jfloat getLength(JNIEnv* env, jobject clazz, jlong pairHandle) { in getLength() function in android::SkPathMeasureGlue
83 return static_cast<jfloat>(SkScalarToFloat(pair->fMeasure.getLength())); in getLength()
149 {"native_getLength", "(J)F", (void*) SkPathMeasureGlue::getLength },
DUtils.h36 virtual size_t getLength() const;
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java227 Log.w(TAG, "Unrecognized Interface l: " + descriptor.getLength() in getInterfaceDescriptorsForClass()
250 Log.w(TAG, "Unrecognized Audio Interface l: " + descriptor.getLength() in getACInterfaceDescriptors()
281 Log.w(TAG, "Undefined Audio Class Interface l: " + descriptor.getLength() in hasMIDIInterface()
314 Log.w(TAG, "Undefined Audio Input terminal l: " + descriptor.getLength() in getInputHeadsetProbability()
335 Log.w(TAG, "Undefined Audio Output terminal l: " + descriptor.getLength() in getInputHeadsetProbability()
390 Log.w(TAG, "Undefined Audio Output terminal l: " + descriptor.getLength() in getOutputHeadsetProbability()
DUsbDescriptor.java144 public int getLength() { in getLength() method in UsbDescriptor
259 + " Len: " + getLength(); in report()
275 + " Len: " + getLength(); in shortReport()
DUsbMSMidiHeader.java45 + " Length: " + getLength()); in report()
DUsbMSMidiOutputJack.java45 + " Length: " + getLength()); in report()
DUsbMSMidiInputJack.java45 + " Length: " + getLength()); in report()
DUsbACMidiEndpoint.java60 + " Length: " + getLength()); in report()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java115 int length = ctlv.getLength(); in retrieveItem()
192 int numOfItems = ctlv.getLength() - 1; in retrieveItemsIconId()
222 int length = ctlv.getLength(); in retrieveTextAttribute()
281 int length = ctlv.getLength(); in retrieveAlphaId()
324 int textLen = ctlv.getLength(); in retrieveTextString()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DMetadataListReader.java74 final ByteBuffer buffer = ByteBuffer.allocate((int) offsetInfo.getLength()); in read()
76 if (numRead != offsetInfo.getLength()) { in read()
77 throw new IOException("Needed " + offsetInfo.getLength() + " bytes, got " + numRead); in read()
180 long getLength() { in getLength() method in MetadataListReader.OffsetInfo
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java344 int len = start.getLength(); in appendEncodedString()
554 int flen = fstart.getLength(); in appendHeader()
635 int expiryLength = expiryStart.getLength(); in appendHeader()
892 int ctLength = ctStart.getLength(); in makeMessageBody()
954 int contentTypeLength = contentTypeBegin.getLength(); in makeMessageBody()
979 int headerLength = attachment.getLength(); in makeMessageBody()
1014 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody()
1044 int getLength() { in getLength() method in PduComposer.PositionMarker
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java259 if (mPathMeasure.getLength() == 0) { in StrokeDescription()
277 mTimeToLengthConversion = getLength() / duration; in StrokeDescription()
364 float getLength() { in getLength() method in GestureDescription.StrokeDescription
365 return mPathMeasure.getLength(); in getLength()
377 return mPathMeasure.getPosTan(getLength(), pos, null); in getPosForTime()
/frameworks/base/graphics/java/android/graphics/
DPathMeasure.java71 public float getLength() { in getLength() method in PathMeasure
126 float length = getLength(); in getSegment()
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h95 virtual off64_t getLength(void) const = 0;
265 virtual off64_t getLength(void) const { return mLength; } in getLength() function
321 virtual off64_t getLength(void) const { return mUncompressedLen; } in getLength() function
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DSdkUtil.java106 mFullLookup = new HashMap<String, Integer>(allClasses.getLength() * 4); in buildFullLookup()
107 for (int j = 0; j < allClasses.getLength(); j++) { in buildFullLookup()
118 for (int i = 0; i < childNodes.getLength(); i++) { in buildFullLookup()
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java152 int attrLen = atts.getLength(); in startElement()
161 int attrLen = atts.getLength(); in startElement()
181 int attrLen = atts.getLength() - 2; in startElement()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java131 public long getLength() { in getLength() method in AssetFileDescriptor
207 mRemaining = (int)fd.getLength(); in AutoCloseInputStream()
296 mRemaining = (int)fd.getLength(); in AutoCloseOutputStream()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java62 int length = Array.getLength(value); in marshal()
126 int arrayLength = Array.getLength(value); in calculateMarshalSize()
/frameworks/base/native/android/
Dasset_manager.cpp199 return asset->mAsset->getLength(); in AAsset_getLength()
204 return asset->mAsset->getLength(); in AAsset_getLength64()
/frameworks/base/obex/javax/obex/
DOperation.java164 long getLength(); in getLength() method
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
DAsn1Octets.java41 } else if (getTag() == Asn1Decoder.TAG_NULL && getLength() == 0) { in toString()
/frameworks/support/transition/api14/android/support/transition/
DPathProperty.java48 mPathLength = mPathMeasure.getLength(); in PathProperty()
/frameworks/base/core/java/android/bluetooth/le/
DResultStorageDescriptor.java42 public int getLength() { in getLength() method in ResultStorageDescriptor

1234