Searched refs:offset (Results 276 - 300 of 837) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DStagefrightMetadataRetriever.h40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip);
169 size_t offset = 0; local
174 memcpy((uint8_t *)accessUnit->data() + offset,
177 offset += unit->size();
H A DAMPEG4AudioAssembler.cpp368 size_t offset = 0; local
382 CHECK_LT(offset, buffer->size());
383 tmp = ptr[offset++];
408 CHECK_LE(offset + payloadLength, buffer->size());
410 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
413 offset += payloadLength;
419 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size());
420 offset += mOtherDataLenBits / 8;
424 if (offset < buffer->size()) {
425 ALOGI("ignoring %d bytes of trailing data", buffer->size() - offset);
[all...]
H A DAAVCAssembler.cpp292 size_t offset = 1; local
302 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2);
303 offset += buffer->size() - 2;
329 size_t offset = 0; local
332 memcpy(accessUnit->data() + offset, "\x00\x00\x00\x01", 4);
333 offset += 4;
336 memcpy(accessUnit->data() + offset, nal->data(), nal->size());
337 offset += nal->size();
/frameworks/base/core/java/android/hardware/camera2/params/
H A DTonemapCurve.java215 * {@link #POINT_SIZE} elements after the {@code offset}
216 * @param offset
217 * a non-negative offset into the array
221 * If offset was negative
224 * offset.
233 int offset) {
234 checkArgumentNonnegative(offset, "offset must not be negative");
237 if (destination.length + offset < getPointCount(colorChannel) * POINT_SIZE) {
242 System.arraycopy(curve, /*srcPos*/0, destination, offset, curv
232 copyColorCurve(int colorChannel, float[] destination, int offset) argument
[all...]
/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java64 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, argument
H A DSelection.java24 * A cursor is a selection where the start and end are at the same offset.
34 * Return the offset of the selection anchor or cursor, or -1 if
45 * Return the offset of the selection edge or cursor, or -1 if
84 * Move the cursor to offset <code>index</code>.
98 * Move the selection edge to offset <code>index</code>.
118 * Move the cursor to the buffer offset physically above the current
119 * offset, to the beginning if it is on the top line but not at the
163 * Move the cursor to the buffer offset physically below the current
164 * offset, to the end of the buffer if it is on the bottom line but
209 * Move the cursor to the buffer offset physicall
[all...]
/frameworks/base/libs/hwui/
H A DProgram.cpp157 const mat4& transformMatrix, bool offset) {
158 if (projectionMatrix != mProjection || offset != mOffset) {
159 if (CC_LIKELY(!offset)) {
163 // offset screenspace xy by an amount that compensates for typical precision
166 // This offset value is based on an assumption that some hardware may use as
167 // little as 12.4 precision, so we offset by slightly more than 1/16.
172 mOffset = offset;
156 set(const mat4& projectionMatrix, const mat4& modelViewMatrix, const mat4& transformMatrix, bool offset) argument
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java95 int offset, int size, long presentationTimeUs, int flags);
318 if (bufferInfo.size < 0 || bufferInfo.offset < 0
319 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity()
322 " valid buffer offset, size and presentation time");
334 bufferInfo.offset, bufferInfo.size,
93 nativeWriteSampleData(long nativeObject, int trackIndex, ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, int flags) argument
H A DAmrInputStream.java74 public int read(byte[] b, int offset, int length) throws IOException { argument
96 System.arraycopy(mBuf, mBufOut, b, offset, length);
H A DResampleInputStream.java82 public int read(byte[] b, int offset, int length) throws IOException { argument
109 fir21(mBuf, 0, b, offset, length / 2);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.h44 jint offset,
/frameworks/base/native/android/
H A Dasset_manager.cpp176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument
178 return asset->mAsset->seek(offset, whence);
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument
183 return asset->mAsset->seek(offset, whence);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java124 int offset = 0;
136 offset++;
140 int start = Math.min(offset + depth, callStack.length);
141 int end = offset;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java427 * @param bitOffset the bit offset that the septet should be packed at
450 * @param offset the byte offset of
454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0);
466 * @param offset the byte offset of
475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift));
516 gsmVal |= 0x7f & (pdu[offset
559 gsm8BitUnpackedToString(byte[] data, int offset, int length) argument
574 gsm8BitUnpackedToString(byte[] data, int offset, int length, String characterset) argument
677 stringToGsm8BitUnpackedField(String s, byte dest[], int offset, int length) argument
[all...]
/frameworks/native/include/binder/
H A DMemoryDealer.h41 virtual void deallocate(size_t offset);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java275 * {@code offset + 2 * width * height)} bytes. The width and height of
288 * @param offset the offset of the raw image in bytes. This indicates how many bytes will
296 public void writeInputStream(OutputStream dngOutput, Size size, InputStream pixels, long offset) argument
304 } else if (offset < 0) {
305 throw new IllegalArgumentException("Negative offset passed to writeInputStream");
314 nativeWriteInputStream(dngOutput, pixels, width, height, offset);
323 * {@code offset + 2 * width * height)} bytes. The width and height of
341 * @param offset the offset o
348 writeByteBuffer(OutputStream dngOutput, Size size, ByteBuffer pixels, long offset) argument
449 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
623 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument
628 nativeWriteInputStream(OutputStream out, InputStream rawStream, int width, int height, long offset) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp103 int offset = (i >> 1) * (width >> 1); local
104 cb[i/2] = uRows + offset;
105 cr[i/2] = vRows + offset;
120 int offset = ((rowIndex >> 1) + row) * fStrides[1]; local
121 uint8_t* vu = vuPlanar + offset;
177 int offset = i * (width >> 1); local
178 cb[i] = uRows + offset;
179 cr[i] = vRows + offset;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java62 rect.offset(0, -2 * second.getBottom());
87 rect.offset(0,
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h44 status_t setDataSource(int fd, off64_t offset, off64_t size);
58 status_t readSampleData(jobject byteBuf, size_t offset, size_t *sampleSize);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonAbsoluteStub.cpp87 int64_t offset = pTargetSymValue - pSource; local
88 // if offset is going to fit in nbits then we dont
90 if (FITS_IN_NBITS(offset, nbits))
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc42 JNI_METHOD(playFileDescriptor, void) (JNIEnv*, jclass, jint fd, jlong offset,
45 AudioEngine::GetEngine()->PlayFileDescriptor(fd, offset, length);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;

Completed in 405 milliseconds

<<11121314151617181920>>