Searched defs:offset (Results 451 - 475 of 644) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h928 buffer->setRange(buffer->offset(), buffer->size() + 28);
940 size_t offset = 8; local
942 data[offset++] = 1; // CNAME
945 data[offset++] = strlen(kCNAME);
947 memcpy(&data[offset], kCNAME, strlen(kCNAME));
948 offset += strlen(kCNAME);
950 data[offset++] = 7; // NOTE
953 data[offset++] = strlen(kNOTE);
955 memcpy(&data[offset], kNOTE, strlen(kNOTE));
956 offset
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp184 size_t offset = 0; local
188 memcpy(dup->data() + offset, csd->data(), csd->size());
189 offset += csd->size();
192 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size());
955 size_t offset = copy; local
956 while (offset < accessUnit->size()) {
970 size_t copy = accessUnit->size() - offset;
999 memcpy(ptr, accessUnit->data() + offset, copy);
1003 offset += copy;
/frameworks/av/media/mtp/
H A DMtpDevice.cpp719 uint32_t offset = 0; local
727 if (!callback(initialData, offset, initialDataLength, clientData)) {
731 offset += initialDataLength;
743 while (offset < length) {
758 const uint32_t nextOffset = offset + writeLength;
773 if (!callback(writeBuffer, offset, writeLength, clientData)) {
778 offset = nextOffset;
789 uint32_t offset,
798 mRequest.setParameter(2, offset);
811 uint64_t offset,
788 readPartialObject(MtpObjectHandle handle, uint32_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument
810 readPartialObject64(MtpObjectHandle handle, uint64_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp307 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) {
310 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg);
318 size_t offset; local
322 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs,
327 info->offset = offset;
398 off_t offset,
415 offset,
306 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument
395 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp417 const size_t offset = c.halfNumCoefs; local
418 indexP *= offset;
419 indexN *= offset;
426 size_t count = offset;
432 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP);
434 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN);
442 int32_t const* coefsP1 = coefsP + offset;
443 int32_t const* coefsN1 = coefsN + offset;
510 int32_t const* coefsP1 = coefsP + offset;
511 int32_t const* coefsN1 = coefsN + offset;
596 interpolate( int32_t& l, int32_t& r, const int32_t* coefs, size_t offset, int32_t lerp, const int16_t* samples) argument
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java98 * offset
99 * @param offset the minimum start time
100 * @return The next key time that is at least the offset or -1 if one can't be found
102 private long getNextKeyPointAtLeast(long offset) { argument
106 if ((thisStartTime < nextKeyPoint) && (thisStartTime >= offset)) {
110 if ((thisEndTime < nextKeyPoint) && (thisEndTime >= offset)) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java495 * characteristic value at the given offset are interpreted to generate the
500 * @param offset Offset at which the integer value can be found.
501 * @return Cached value of the characteristic or null of offset exceeds
504 public Integer getIntValue(int formatType, int offset) { argument
505 if ((offset + getTypeLen(formatType)) > mValue.length) return null;
509 return unsignedByteToInt(mValue[offset]);
512 return unsignedBytesToInt(mValue[offset], mValue[offset+1]);
515 return unsignedBytesToInt(mValue[offset], mValue[offset
542 getFloatValue(int formatType, int offset) argument
564 getStringValue(int offset) argument
597 setValue(int value, int formatType, int offset) argument
644 setValue(int mantissa, int exponent, int formatType, int offset) argument
[all...]
H A DBluetoothSocket.java489 /*package*/ int read(byte[] b, int offset, int length) throws IOException { argument
495 if (VDBG) Log.v(TAG, "l2cap: read(): offset: " + offset + " length:" + length
509 if(VDBG) Log.v(TAG, "get(): offset: " + offset
511 mL2capBuffer.get(b, offset, bytesToRead);
514 if (VDBG) Log.v(TAG, "default: read(): offset: " + offset + " length:" + length);
515 ret = mSocketIS.read(b, offset, length);
523 /*package*/ int write(byte[] b, int offset, in argument
[all...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java252 public final boolean move(int offset) { argument
253 return moveToPosition(mPos + offset);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java388 int offset = BLOCK_MINIMUM_CHARACTER_LENGTH;
393 offset = TextUtils.indexOf(text, '\n', offset);
394 if (offset < 0) {
398 addBlockAtOffset(offset);
399 offset += BLOCK_MINIMUM_CHARACTER_LENGTH;
411 * Create a new block, ending at the specified character offset.
412 * A block will actually be created only if has at least one line, i.e. this offset is
415 private void addBlockAtOffset(int offset) { argument
416 final int line = getLineForOffset(offset);
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java58 * On touch, this offset plus the scaled value from the position of the
129 // Guess thumb offset if thumb != null, but allow layout to override.
155 * used as the new thumb offset (@see #setThumbOffset(int)).
177 // Assuming the thumb drawable is symmetric, set the thumb offset
309 * Sets the thumb offset that allows the thumb to extend out of the range of
312 * @param thumbOffset The offset amount in pixels.
571 // Apply offset to whichever item is taller.
605 * @param offset Vertical offset for centering. If set to
606 * {@link Integer#MIN_VALUE}, the current offset wil
608 setThumbPos(int w, Drawable thumb, float scale, int offset) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp103 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
123 *offset = _env->CallStaticIntMethod(nioAccessClass,
346 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
361 if (offset < 0) {
364 _exceptionMessage = "offset < 0";
367 _remaining = _env->GetArrayLength(params_ref) - offset;
375 _exceptionMessage = "length - offset < needed";
380 params = params_base + offset;
345 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
H A Dandroid_os_Parcel.cpp168 jint offset, jint length)
189 memcpy(dest, ar + offset, length);
195 jint offset, jint length) {
226 memcpy(blob.data(), ar + offset, length);
599 jbyteArray data, jint offset, jint length)
613 memcpy(raw, (array + offset), length);
621 jlong otherNativePtr, jint offset, jint length)
632 status_t err = thisParcel->appendFrom(otherParcel, offset, length);
167 android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, jint offset, jint length) argument
194 android_os_Parcel_writeBlob(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, jint offset, jint length) argument
598 android_os_Parcel_unmarshall(JNIEnv* env, jclass clazz, jlong nativePtr, jbyteArray data, jint offset, jint length) argument
620 android_os_Parcel_appendFrom(JNIEnv* env, jclass clazz, jlong thisNativePtr, jlong otherNativePtr, jint offset, jint length) argument
H A Dcom_android_internal_content_NativeLibraryHelper.cpp77 off_t offset = 0; local
79 switch (*(filename + offset)) {
95 offset++;
190 off64_t offset; local
192 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) {
205 if (offset % PAGE_SIZE != 0) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java95 // TYPE_DATA: data offset
139 * @return The offset into the byte array held by this {@link #TYPE_DATA} Icon at which
450 inputStream.read(data, 0 /* offset */, length);
451 return createWithData(data, 0 /* offset */, length);
558 * @param offset Offset into <code>data</code> at which the bitmap data starts
561 public static Icon createWithData(byte[] data, int offset, int length) { argument
568 rep.mInt2 = offset;
/frameworks/base/media/java/android/media/
H A DJetPlayer.java545 private native final boolean native_loadJetFromFileD(FileDescriptor fd, long offset, long len); argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp82 status_t JMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { argument
83 return mImpl->setDataSource(fd, offset, size);
136 jobject byteBuf, size_t offset, size_t *sampleSize) {
167 if (dstSize < offset) {
175 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
200 byteBuf, limitID, offset + *sampleSize);
203 byteBuf, positionID, offset);
407 JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) {
416 status_t err = extractor->readSampleData(byteBuf, offset,
135 readSampleData( jobject byteBuf, size_t offset, size_t *sampleSize) argument
406 android_media_MediaExtractor_readSampleData( JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) argument
670 android_media_MediaExtractor_setDataSourceFd( JNIEnv *env, jobject thiz, jobject fileDescObj, jlong offset, jlong length) argument
[all...]
H A Dandroid_media_MediaRecorder.cpp265 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument
274 status_t opStatus = mr->setOutputFile(fd, offset, length);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java207 public void setData(ByteBuffer buffer, int offset, int length) { argument
213 } else if (!setNativeData(bytes, offset, length)) {
380 private native boolean setNativeData(byte[] data, int offset, int length); argument
/frameworks/base/packages/MtpDocumentsProvider/jni/
H A Dcom_android_mtp_AppFuse.cpp285 uint64_t offset = in->offset; local
290 const int64_t result = get_object_bytes(it->second, offset, size, out->data());
308 const uint64_t offset = in->offset; local
313 in->fh, it->second, offset, size, buffer, &written_size);
363 uint64_t offset,
370 static_cast<jlong>(offset),
388 int write_object_bytes(uint64_t handle, int inode, uint64_t offset, uint32_t size, argument
407 offset,
361 get_object_bytes( int inode, uint64_t offset, uint32_t size, void* buf) argument
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java295 0, // Start offset.
617 int inode, long offset, long size, byte[] buffer) throws IOException {
624 identifier.mDeviceId, identifier.mObjectHandle, offset, size, buffer);
627 if (0 <= offset && offset <= 0xffffffffL && MtpDeviceRecord.isSupported(
630 identifier.mDeviceId, identifier.mObjectHandle, offset, size, buffer);
638 long fileHandle, int inode, long offset, int size, byte[] bytes)
647 return writer.write(offset, size, bytes);
616 readObjectBytes( int inode, long offset, long size, byte[] buffer) argument
637 writeObjectBytes( long fileHandle, int inode, long offset, int size, byte[] bytes) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java218 long offset = mTiffStream.readUnsignedInt();
219 if (offset > Integer.MAX_VALUE) {
220 throw new ExifInvalidFormatException("Invalid offset " + offset);
222 mIfd0Position = (int) offset;
225 registerIfd(IfdId.TYPE_IFD_0, offset);
226 if (offset != DEFAULT_IFD0_OFFSET) {
227 mDataAboveIfd0 = new byte[(int) offset - DEFAULT_IFD0_OFFSET];
275 int offset = mTiffStream.getReadByteCount();
277 if (offset < endOfTag
496 skipTo(int offset) argument
518 registerIfd(int ifdType, long offset) argument
524 registerCompressedImage(long offset) argument
528 registerUncompressedStrip(int stripIndex, long offset) argument
800 read(byte[] buffer, int offset, int length) argument
[all...]
H A DExifTag.java102 // Value offset in exif header.
219 * contain an offset value that is determined when the tag is written.
411 public boolean setValue(byte[] value, int offset, int length) { argument
419 System.arraycopy(value, offset, mValue, 0, length);
844 * @param offset the initial position in buffer to store the bytes.
850 protected void getBytes(byte[] buf, int offset, int length) { argument
855 System.arraycopy(mValue, 0, buf, offset,
860 * Gets the offset of this tag. This is only valid if this data size > 4 and
861 * contains an offset to the location of the actual value.
868 * Sets the offset o
870 setOffset(int offset) argument
[all...]
/frameworks/base/tools/aapt/
H A DZipFile.cpp297 ALOGD("Failure seeking to central dir offset %ld\n",
977 /* Get the length of this entry by finding the offset
1160 off_t offset = entry->getFileOffset(); local
1161 if (fseek(mZipFp, offset, SEEK_SET) != 0) {
1177 printf("0x%08x ", (int)(offset+(i*0x10)));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java251 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
259 image.setRGB(0, 0, width, height, colors, offset, stride);
413 /*package*/ static void nativeGetPixels(long nativeBitmap, int[] pixels, int offset, argument
420 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
435 /*package*/ static void nativeSetPixels(long nativeBitmap, int[] colors, int offset, argument
442 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);

Completed in 492 milliseconds

<<11121314151617181920>>