HomeSort by relevance Sort by last modified time
    Searched defs:totalLength (Results 1 - 25 of 191) sorted by null

1 2 3 4 5 6 7 8

  /packages/apps/TV/common/src/com/android/tv/common/
CollectionUtils.java 33 int totalLength = first.length;
35 totalLength += array.length;
37 T[] result = Arrays.copyOf(first, totalLength);
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java 65 int totalLength = 0;
101 totalLength += child.getMeasuredWidth()
109 outOfSpec |= (ellipsizeView == null) || (totalLength == 0);
111 if (!outOfSpec && totalLength > parentWidth) {
112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth);
  /developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 120 int totalLength = env->GetArrayLength(byteArray);
121 if ((offset | length) < 0 || offset + length > totalLength) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
BerTlv.java 134 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) {
  /external/icu/icu4c/source/i18n/
collationsettings.cpp 194 int32_t totalLength = codesLength + rangesLength;
195 U_ASSERT(totalLength > 0);
196 if(totalLength <= reorderCodesCapacity) {
200 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
Mp3.java 65 int totalLength = 0;
67 while (totalLength <= minRequiredLength) {
85 System.arraycopy(outputBuffer.getBuffer(), 0, buffer, totalLength, length);
86 totalLength += length;
88 return totalLength;
  /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
Mp3.java 65 int totalLength = 0;
67 while (totalLength <= minRequiredLength) {
85 System.arraycopy(outputBuffer.getBuffer(), 0, buffer, totalLength, length);
86 totalLength += length;
88 return totalLength;
  /frameworks/av/media/libstagefright/foundation/
ParsedMessage.cpp 169 size_t totalLength = offset + contentLength;
171 if (size < totalLength) {
177 return totalLength;
  /cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/
Ipv4Packet.java 32 int totalLength;
48 totalLength = stream.readUnsignedShort();
70 if (totalLength < headerLength) {
71 throw new IllegalArgumentException("Total length = " + totalLength
74 data = new byte[totalLength - headerLength];
77 byte[] original = new byte[totalLength];
92 totalLength = headerLength + data.length;
101 stream.writeShort(totalLength);
130 out.append("\n Total length: ").append(totalLength);
  /external/skia/src/gpu/
GrTRecorder.h 207 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength;
212 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) {
214 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock);
224 header->fTotalLength = totalLength;
227 fTailBlock->fBack += totalLength;
  /external/testng/src/main/java/org/testng/internal/
Parameters.java 173 int totalLength = parameterTypes.length;
186 totalLength--;
190 if (parameterNames.length != totalLength) {
  /frameworks/base/core/java/android/net/
SSLCertificateSocketFactory.java 311 int totalLength = 0;
316 totalLength += 1 + s.length;
318 byte[] result = new byte[totalLength];
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
UsimDataDownloadHandler.java 126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1);
128 byte[] envelope = new byte[totalLength];
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 160 int totalLength = 0;
163 totalLength += length;
165 Log.v(TAG, "Wrote " + totalLength + " bytes for photo " + inputUri.toString());
  /packages/apps/DeskClock/src/com/android/deskclock/data/
Timer.java 101 Timer(int id, State state, long length, long totalLength, long lastStartTime,
106 mTotalLength = totalLength;
228 final long totalLength;
233 totalLength = MINUTE_IN_MILLIS;
238 totalLength = mRemainingTime + MINUTE_IN_MILLIS;
247 return new Timer(mId, state, mLength, totalLength, lastStartTime, remainingTime, mLabel,
TimerDAO.java 92 final long totalLength = prefs.getLong(TOTAL_LENGTH + id, Long.MIN_VALUE);
94 final long remainingTime = prefs.getLong(REMAINING_TIME + id, totalLength);
97 timers.add(new Timer(id, state, length, totalLength, lastStartTime, remainingTime,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 52 private long totalLength;
185 this.totalLength = 0;
214 return totalLength + newInputLen + bufOff;
340 if (totalLength == 0)
359 if (totalLength == 0)
416 long c = ((totalLength * 8) + 127) >>> 7;
437 Pack.longToBigEndian(totalLength * 8, X, 8);
493 totalLength = 0;
520 totalLength += BLOCK_SIZE;
532 totalLength += len
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/
UrlEncoded.java 398 int totalLength=0;
462 if (maxLength>=0 && (++totalLength > maxLength))
497 int totalLength=0;
569 if (maxLength>=0 && (++totalLength > maxLength))
635 int totalLength = 0;
703 totalLength++;
704 if (maxLength>=0 && totalLength > maxLength)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
AlertDialogLayout.java 282 final int totalLength = getMeasuredHeight();
291 // totalLength contains the padding already
292 childTop = mPaddingTop + bottom - top - totalLength;
295 // totalLength contains the padding already
297 childTop = mPaddingTop + (bottom - top - totalLength) / 2;
  /frameworks/base/obex/javax/obex/
ClientSession.java 107 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];
ServerSession.java 264 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 += head.length
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
CachedPathIteratorFactory.java 82 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;

Completed in 497 milliseconds

1 2 3 4 5 6 7 8