/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
AbstractBoxParser.java | 62 long contentSize; 69 contentSize = size - 16; 76 contentSize = size - 8; 78 contentSize = size - 8; 85 contentSize -= 16; 93 if (l2i(size - contentSize) == 8) { 97 } else if (l2i(size - contentSize) == 16) { 102 } else if (l2i(size - contentSize) == 24) { 107 } else if (l2i(size - contentSize) == 32) { 118 box.parse(byteChannel, header, contentSize, this) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
MpegSampleEntry.java | 27 long contentSize = 8;
29 contentSize += boxe.getSize();
31 return contentSize;
|
SubtitleSampleEntry.java | 31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3; 32 return contentSize;
|
AudioSampleEntry.java | 223 long contentSize = 28; 224 contentSize += soundVersion > 0 ? 16 : 0; 225 contentSize += soundVersion == 2 ? 20 : 0; 227 contentSize += boxe.getSize(); 229 return contentSize;
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Transport.java | 259 final int contentSize = buffer.getInt(); 260 if (contentSize == 0) { 263 final int end = buffer.position() + contentSize; 293 int contentSize = -1; 316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { 317 contentSize = buffer.getInt(4); 318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { 319 mLogger.logError("Encountered invalid content size: " + contentSize); 322 length += contentSize; [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
MediaDataBox.java | 61 private long contentSize; 99 transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteChannel); 134 size += contentSize; 138 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 140 this.contentSize = contentSize; 142 if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) { 145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize)); 170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
FreeBox.java | 95 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 96 if (readableByteChannel instanceof FileChannel && contentSize > 1024 * 1024) { 98 data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 99 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 101 assert contentSize < Integer.MAX_VALUE; 102 data = ChannelHelper.readFully(readableByteChannel, contentSize);
|
MediaHeaderBox.java | 64 long contentSize = 4; 66 contentSize += 8 + 8 + 4 + 8; 68 contentSize += 4 + 4 + 4 + 4; 70 contentSize += 2; 71 contentSize += 2; 72 return contentSize;
|
UserDataBox.java | 41 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 42 super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridden methods use File | Settings | File Templates.
|
KeywordsBox.java | 56 long contentSize = 7; 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; 60 return contentSize;
|
Box.java | 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
|
EditListBox.java | 74 long contentSize = 8; 76 contentSize += entries.size() * 20; 78 contentSize += entries.size() * 12; 81 return contentSize;
|
MovieHeaderBox.java | 92 long contentSize = 4; 94 contentSize += 28; 96 contentSize += 16; 98 contentSize += 80; 99 return contentSize;
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
WbxmlResponseLoggerTests.java | 39 final long contentSize = WbxmlResponseLogger.MAX_LENGTH + 1; 40 assertEquals(false, WbxmlResponseLogger.shouldLogResponse(contentSize)); 44 final long contentSize = WbxmlResponseLogger.MAX_LENGTH - 1; 45 assertEquals(true, WbxmlResponseLogger.shouldLogResponse(contentSize));
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoDownloadRunnable.java | 177 int contentSize = httpConn.getContentLength(); 182 if (-1 == contentSize) { 290 byteBuffer = new byte[contentSize]; 293 int remainingLength = contentSize;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ColorChooserPopupUIController.h | 53 virtual WebCore::IntSize contentSize() OVERRIDE;
|
DateTimeChooserImpl.h | 58 virtual WebCore::IntSize contentSize() OVERRIDE;
|
/external/chromium_org/skia/ext/ |
vector_platform_device_skia.cc | 24 const SkISize& contentSize, 26 : SkPDFDevice(pageSize, contentSize, initialTransform) {
|
vector_platform_device_skia.h | 24 const SkISize& contentSize,
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
TrackFragmentRandomAccessBox.java | 69 long contentSize = 4; 70 contentSize += 4 + 4 /*26 + 2 + 2 + 2 */ + 4; 72 contentSize += (8 + 8) * entries.size(); 74 contentSize += (4 + 4) * entries.size(); 76 contentSize += lengthSizeOfTrafNum * entries.size(); 77 contentSize += lengthSizeOfTrunNum * entries.size(); 78 contentSize += lengthSizeOfSampleNum * entries.size(); 79 return contentSize;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadEntry.java | 43 public long contentSize; 65 .append("_size").append(contentSize).append(", ")
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
AbstractContainerBox.java | 46 long contentSize = 0; 48 contentSize += boxe.getSize(); 50 return contentSize; 104 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 106 super.parse(readableByteChannel, header, contentSize, boxParser);
|
FullContainerBox.java | 68 long contentSize = 4; // flags and version 70 contentSize += boxe.getSize(); 72 return contentSize; 94 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 96 super.parse(readableByteChannel, header, contentSize, boxParser);
|
AbstractBox.java | 98 * @param contentSize expected contentSize of the box 103 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 104 if (readableByteChannel instanceof FileChannel && contentSize > MEM_MAP_THRESHOLD) { 109 content = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 110 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 112 assert contentSize < Integer.MAX_VALUE; 113 content = ChannelHelper.readFully(readableByteChannel, contentSize);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PagePopupClient.h | 46 virtual IntSize contentSize() = 0;
|