/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);
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
RandomHelper.java | 52 String buildRandomFileName(int averageNodeLength, int totalLength) { 55 while (buf.length() < totalLength) { 56 int remaining = totalLength - buf.length();
|
/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);
|
/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);
|
/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) {
|
/frameworks/base/obex/javax/obex/ |
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...] |
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];
|
/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);
|
/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;
|
/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/protobuf/java/src/main/java/com/google/protobuf/ |
RopeByteString.java | 114 private final int totalLength; 133 totalLength = leftLength + right.size(); 252 if (index > totalLength) { 254 "Index > length: " + index + ", " + totalLength); 269 return totalLength; 290 return totalLength >= minLengthByDepth[treeDepth]; 314 if (endIndex > totalLength) { 316 "End index: " + endIndex + " > " + totalLength); 329 } else if (substringLength == totalLength) { 461 if (totalLength != otherByteString.size()) [all...] |
/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...] |
/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());
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
LinearLayoutCompat.java | 641 final int totalLength = mTotalLength; 642 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); 669 final int totalLength = mTotalLength; 670 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 752 final int totalLength = mTotalLength; 753 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + 837 final int totalLength = mTotalLength [all...] |
/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;
|
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 740 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 + [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;
|
/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
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
cchannel.h | 23 typedef VOID _stdcall CHANNEL_OPEN_EVENT_FN(DWORD openHandle,UINT event,LPVOID pData,UINT32 dataLength,UINT32 totalLength,UINT32 dataFlags);
|
/frameworks/av/media/libstagefright/foundation/ |
ParsedMessage.cpp | 169 size_t totalLength = offset + contentLength; 171 if (size < totalLength) { 177 return totalLength;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jsch.jar | |