/frameworks/minikin/tests/unittest/ |
H A D | MeasurementTests.cpp | 26 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 D | ZipUtil.java | 34 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 D | LogWriter.java | 55 @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 D | GridLayoutManagerActivity.java | 105 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 D | GridLayoutManagerActivity.java | 105 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 D | android_AudioToCbRenderer.cpp | 66 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 D | FwdLockEngine.h | 288 * 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 D | AesCtrDecryptor.cpp | 39 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 D | CryptoPlugin.cpp | 46 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 D | ABuffer.h | 40 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 D | EndianUtils.cpp | 48 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 D | MediaCodecBuffer.cpp | 52 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 D | pvmp3_seek_synch.cpp | 208 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 D | ABuffer.h | 40 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 D | ABuffer.h | 40 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 D | MediaExtractorService.cpp | 49 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 D | ResultStorageDescriptor.java | 50 * @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 D | BlackLevelPattern.java | 35 * 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 D | LogWriter.java | 64 @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 D | CorrectionInfo.java | 33 * @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 D | MidiFramer.java | 48 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 D | fd_utils.h | 40 // 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 D | DrmOutputStream.java | 72 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 D | ArrayUtils.java | 58 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 D | android_media_MediaDataSource.cpp | 72 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);
|