Searched defs:offset (Results 51 - 75 of 693) sorted by relevance

1234567891011>>

/frameworks/minikin/tests/unittest/
H A DMeasurementTests.cpp26 size_t offset; local
28 ParseUnicode(buf, BUF_SIZE, src, &size, &offset);
29 return getRunAdvance(advances, buf, 0, size, offset);
/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java34 long offset; field in class:ZipUtil.CentralDirectory
101 dir.offset = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL;
110 raf.seek(dir.offset);
/frameworks/support/compat/java/android/support/v4/util/
H A DLogWriter.java55 @Override public void write(char[] buf, int offset, int count) { argument
57 char c = buf[offset + i];
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
107 super.scrollToPositionWithOffset(smooth, position, offset);
109 mLayoutManager.scrollToPositionWithOffset(position, offset);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
107 super.scrollToPositionWithOffset(smooth, position, offset);
109 mLayoutManager.scrollToPositionWithOffset(position, offset);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioToCbRenderer.cpp66 size_t offset = 0; local
67 while (offset < full) {
70 + offset + mDecodeBuffer->range_offset(),
71 mDecodeBuffer->range_length() - offset,
73 offset += consumed;
74 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h288 * the output converted data and offset. In this case the
289 * application will ignore the offset information.
298 * the entire data used over a conversion session. This signature must be copied to the offset
305 * the application about the file offset at which this
326 * @param offset Start position of the content
334 int fd, off64_t offset, off64_t length);
338 int fd, int offset, int length);
457 * @param offset Offset with which to update the file position.
467 off64_t offset,
472 off_t offset,
535 off_t offset; member in class:android::FwdLockEngine::DecodeSession
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp39 size_t offset = 0; local
49 memcpy(destination + offset, source + offset,
51 offset += subSample.mNumBytesOfClearData;
55 AES_ctr128_encrypt(source + offset, destination + offset,
59 offset += subSample.mNumBytesOfEncryptedData;
63 *bytesDecryptedOut = offset;
H A DCryptoPlugin.cpp46 size_t offset = 0; local
58 memcpy(reinterpret_cast<uint8_t*>(dstPtr) + offset,
59 reinterpret_cast<const uint8_t*>(srcPtr) + offset,
61 offset += subSample.mNumBytesOfClearData;
64 return static_cast<ssize_t>(offset);
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h40 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer
42 void setRange(size_t offset, size_t size);
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
50 if((res = mOutput->write(buf, offset, count)) == OK) {
56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument
57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count);
61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \
62 return writeHelper<_type_>(buf, offset, count); \
72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument
74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count);
77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument
79 return writeHelper<uint64_t>(reinterpret_cast<const uint64_t*>(buf), offset, coun
[all...]
/frameworks/av/media/libmedia/
H A DMediaCodecBuffer.cpp52 size_t MediaCodecBuffer::offset() const { function in class:android::MediaCodecBuffer
53 return mBuffer->offset();
56 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { argument
57 mBuffer->setRange(offset, size);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local
210 offset >>= INBUF_ARRAY_INDEX_SHIFT;
211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DABuffer.h40 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer
42 void setRange(size_t offset, size_t size);
/frameworks/av/media/libstagefright/include/foundation/
H A DABuffer.h40 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer
42 void setRange(size_t offset, size_t size);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.cpp49 sp<IDataSource> MediaExtractorService::makeIDataSource(int fd, int64_t offset, int64_t length) argument
51 sp<DataSource> source = DataSource::CreateFromFd(fd, offset, length);
/frameworks/base/core/java/android/bluetooth/le/
H A DResultStorageDescriptor.java50 * @param offset Offset from start of the advertise packet payload.
53 public ResultStorageDescriptor(int type, int offset, int length) { argument
55 mOffset = offset;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java35 * Create a new {@link BlackLevelPattern} from a given offset array.
37 * <p>The given offset array must contain offsets for each color channel in
58 * Return the color channel offset for a given index into the array of raw pixel values.
62 * @return a color channel offset.
79 * {@code offset}
80 * @param offset a non-negative offset into the array
82 * @throws IllegalArgumentException if the offset is invalid.
86 public void copyTo(int[] destination, int offset) { argument
88 if (offset <
[all...]
/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { argument
66 char c = buf[offset + i];
/frameworks/base/core/java/android/view/inputmethod/
H A DCorrectionInfo.java33 * @param offset The offset in the edited text where the old and new text start.
37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { argument
38 mOffset = offset;
50 * Return the offset position of this correction in the text. Both the {@link #getOldText()} and
51 * {@link #getNewText()} start at this offset.
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiFramer.java48 public static String formatMidiData(byte[] data, int offset, int count) { argument
49 String text = "MIDI+" + offset + " : ";
51 text += String.format("0x%02X, ", data[offset + i]);
60 public void onSend(byte[] data, int offset, int count, long timestamp) argument
62 int sysExStartOffset = (mInSysEx ? offset : -1);
65 final byte currentByte = data[offset];
76 sysExStartOffset = offset;
81 offset - sysExStartOffset + 1, timestamp);
95 offset - sysExStartOffset, timestamp);
96 sysExStartOffset = offset
[all...]
/frameworks/base/core/jni/
H A Dfd_utils.h40 // offset and mode. If the whilelisted path is associated with a
69 // Keeps track of all relevant information (flags, offset etc.) of an
89 const off_t offset; member in class:FileDescriptorInfo
96 int fd_flags, int fs_flags, off_t offset);
/frameworks/base/drm/java/android/drm/
H A DDrmOutputStream.java72 Os.lseek(mFd, status.offset, SEEK_SET);
93 public void write(byte[] buffer, int offset, int count) throws IOException { argument
94 Arrays.checkOffsetAndCount(buffer.length, offset, count);
101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
/frameworks/base/keystore/java/android/security/keystore/
H A DArrayUtils.java58 public static byte[] subarray(byte[] arr, int offset, int len) { argument
62 if ((offset == 0) && (len == arr.length)) {
66 System.arraycopy(arr, offset, result, 0, len);
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.cpp72 ssize_t JMediaDataSource::readAt(off64_t offset, size_t size) { argument
84 (jlong)offset, mByteArrayObj, (jint)0, (jint)size);
108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread);

Completed in 6594 milliseconds

1234567891011>>