Searched refs:totalLength (Results 1 - 18 of 18) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DBerTlv.java134 int totalLength = 0;
138 totalLength += itemLength + 3; //3: 'tag'(1 byte) and 'length'(2 bytes).
140 totalLength += itemLength + 2; //2: 'tag'(1 byte) and 'length'(1 byte).
154 if (length != totalLength) {
/frameworks/base/obex/javax/obex/
H A DServerSession.java264 int totalLength = 3;
272 totalLength += header.length;
273 data = new byte[totalLength];
275 data[1] = (byte)(totalLength >> 8);
276 data[2] = (byte)totalLength;
279 data = new byte[totalLength];
282 data[2] = (byte)totalLength;
302 int totalLength = 3;
316 totalLength = 3;
390 totalLength
[all...]
H A DClientSession.java107 int totalLength = 4;
117 totalLength += head.length;
128 byte[] requestPacket = new byte[totalLength];
339 int totalLength = 2;
365 totalLength += head.length;
367 if (totalLength > mMaxTxPacketSize) {
393 byte[] packet = new byte[totalLength];
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java635 final int totalLength = mTotalLength;
636 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
663 final int totalLength = mTotalLength;
664 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
746 final int totalLength = mTotalLength;
747 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
831 final int totalLength
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java740 final int totalLength = mTotalLength;
741 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
770 final int totalLength = mTotalLength;
771 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
851 final int totalLength = mTotalLength;
852 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
930 final int totalLength
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java82 float totalLength = 0;
122 totalLength += mSegmentsLength[i];
125 mTotalLength = totalLength;
220 float totalLength = 0;
231 totalLength += Point2D.distance(previousPoint[0], previousPoint[1], segment[0],
241 return totalLength;
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp169 size_t totalLength = offset + contentLength; local
171 if (size < totalLength) {
177 return totalLength;
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java311 int totalLength = 0;
316 totalLength += 1 + s.length;
318 byte[] result = new byte[totalLength];
/frameworks/base/core/jni/android/graphics/
H A DMovie.cpp120 int totalLength = env->GetArrayLength(byteArray); local
121 if ((offset | length) < 0 || offset + length > totalLength) {
H A DPath.cpp444 float totalLength = lengths.back(); local
445 if (totalLength == 0) {
449 totalLength = 1;
460 approximation[approximationIndex++] = lengths[i] / totalLength;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1);
128 byte[] envelope = new byte[totalLength];
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp457 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET);
458 allocate(totalLength);
459 while (totalLength > static_cast<uint32_t>(length)) {
461 request->buffer_length = totalLength - length;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java491 float totalLength = 0;
499 totalLength += currentPoint.distance(previousPoint);
512 result[i * 3] = distance / totalLength;
516 totalLength += distance;
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DPathParser.java206 int totalLength = s.length();
211 while (startPosition < totalLength) {
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java341 int totalLength = s.length();
346 while (startPosition < totalLength) {
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java5417 int totalLength = 0;
5419 totalLength += accounts.length;
5421 if (totalLength == 0) {
5424 Account[] accounts = new Account[totalLength];
5425 totalLength = 0;
5427 System.arraycopy(accountsOfType, 0, accounts, totalLength,
5429 totalLength += accountsOfType.length;
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java3217 int totalLength = 0;
3226 totalLength += maxLength;
3231 totalLength += (mCols - 1) * 2;
3232 for (int i = 0; i < totalLength; ++i) {
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 513 milliseconds