Searched refs:offset (Results 51 - 75 of 967) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpPacket.h65 uint16_t getUInt16(int offset) const;
66 uint32_t getUInt32(int offset) const;
67 void putUInt16(int offset, uint16_t value);
68 void putUInt32(int offset, uint32_t value);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServerCallback.java57 * @param offset Offset into the value of the characteristic
61 int offset, BluetoothGattCharacteristic characteristic) {
76 * @param offset The offset given for the value
82 int offset, byte[] value) {
93 * @param offset Offset into the value of the characteristic
97 int offset, BluetoothGattDescriptor descriptor) {
112 * @param offset The offset given for the value
118 int offset, byt
60 onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) argument
79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument
115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java51 public int[] following(int offset) { argument
56 if (offset >= mText.length()) {
60 if (offset < 0) {
63 final int currentLine = mLayout.getLineForOffset(offset);
64 if (getLineEdgeIndex(currentLine, DIRECTION_START) == offset) {
79 public int[] preceding(int offset) { argument
84 if (offset <= 0) {
88 if (offset > mText.length()) {
91 final int currentLine = mLayout.getLineForOffset(offset);
92 if (getLineEdgeIndex(currentLine, DIRECTION_END) + 1 == offset) {
136 following(int offset) argument
165 preceding(int offset) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaDataSource.java46 * @param offset the offset within buffer to read the data into.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java65 public static int packData(byte[] message, int offset, int size, long timestamp, argument
74 System.arraycopy(message, offset, dest, length, size);
103 * returns the offset of the MIDI message in packed buffer
125 int offset = bufferLength;
129 int b = (int)buffer[--offset] & 0xFF;
/frameworks/compile/mclinker/lib/LD/
H A DMergedStringTable.cpp18 // trverse the string table and set the offset
20 size_t offset = 0; local
22 it->setValue(offset);
23 offset += it->getKey().size() + 1;
25 return offset;
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument
46 mBase = offset;
69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
73 return mDataSource->readAt(offset, buffer, size);
79 lseek(mFd, mBase + offset, SEEK_SET);
80 if (offset + size > mLength) {
81 size = mLength - offset;
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java170 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
174 int offset,
184 int offset
199 int offset
218 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
224 int offset
232 int offset
242 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
248 int offset
256 int offset
172 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
/frameworks/base/tools/preload/
H A DRecord.java150 int offset = result.indexOf("\\u");
151 while (offset >= 0) {
152 String before = result.substring(0, offset);
153 String escaped = result.substring(offset+2, offset+6);
154 String after = result.substring(offset+6);
159 offset = result.indexOf("\\u", offset + 1);
/frameworks/minikin/include/minikin/
H A DGraphemeBreak.h33 // Determine whether the given offset is a grapheme break.
37 static bool isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, size_t offset);
42 size_t offset, MoveOpt opt);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglMapBufferRange.cpp1 /* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
3 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) argument
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DKernelDataForRenderScript.java53 * 4*m: offset; 4*m + 1: radius_x; 4*m + 2: radius_y
104 int offset = 0;
110 infoArray[m*4] = offset;
114 // Updates offset variable.
116 offset += kernelLength;
119 stackLength = offset;
126 int offset = 0;
132 kernelInfo.set_offset(m, offset, true);
135 // Updates offset variable.
137 offset
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DViewOffsetBehavior.java66 public boolean setTopAndBottomOffset(int offset) { argument
68 return mViewOffsetHelper.setTopAndBottomOffset(offset);
70 mTempTopBottomOffset = offset;
75 public boolean setLeftAndRightOffset(int offset) { argument
77 return mViewOffsetHelper.setLeftAndRightOffset(offset);
79 mTempLeftRightOffset = offset;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java161 int offset,
169 int offset
180 int offset
199 int offset
205 int offset
217 int offset
223 int offset
234 int offset
246 int offset
258 int offset
159 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
H A DGL11Ext.java40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument
56 int offset
73 int offset
90 int offset
107 int offset
136 int offset
150 int offset
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiEventScheduler.java39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument
41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp);
62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument
65 System.arraycopy(msg, offset, data, 0, count);
82 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, argument
86 event = new MidiEvent(msg, offset, count, timestamp);
92 System.arraycopy(msg, offset, event.data, 0, count);
/frameworks/minikin/tests/
H A DUnicodeUtils.cpp21 // src is of the form "U+1F431 | 'h' 'i'". Position of "|" gets saved to offset if non-null.
24 size_t* offset) {
70 ASSERT_NE(offset, nullptr);
71 *offset = output_ix;
81 ASSERT_TRUE(seen_offset || offset == nullptr);
87 size_t offset; local
89 ParseUnicode(buf, BUF_SIZE, "U+000D U+1F431 | 'a'", &size, &offset);
91 EXPECT_EQ(offset, 3u);
23 ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, size_t* offset) argument
/frameworks/av/media/libstagefright/
H A DCallbackDataSource.cpp53 ssize_t CallbackDataSource::readAt(off64_t offset, void* data, size_t size) { argument
67 mIDataSource->readAt(offset + totalNumRead, numToRead);
125 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { argument
127 return mSource->readAt(offset, data, size);
131 if (mCachedOffset <= offset
132 && offset < (off64_t) (mCachedOffset + mCachedSize)) {
133 if (offset + size <= mCachedOffset + mCachedSize) {
134 memcpy(data, &mCache[offset - mCachedOffset], size);
142 const ssize_t remaining = mCachedOffset + mCachedSize - offset;
143 memcpy(data, &mCache[offset
[all...]
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
34 * @param offset offset in bytes relative to data of where the frame is supposed to start
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
48 const uint8_t *syncword = data + offset;
54 const uint8_t protectionAbsent = data[offset+1] & 0x1;
56 const uint8_t* header = data + offset
86 off64_t offset = 0; local
[all...]
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/media/libstagefright/id3/
H A Dtestid3.cpp34 size_t offset = 0; local
35 while (offset < size) {
36 printf("0x%04zx ", offset);
38 size_t n = size - offset;
48 if (offset + i < size) {
49 printf("%02x ", data[offset + i]);
58 if (isprint(data[offset + i])) {
59 printf("%c", data[offset + i]);
67 offset += 16;
/frameworks/av/drm/mediadrm/plugins/clearkey/
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/media/libstagefright/foundation/
H A DParsedMessage.cpp92 size_t offset = 0; local
94 while (offset < size) {
95 size_t lineEndOffset = offset;
106 AString line(&data[offset], lineEndOffset - offset);
108 if (offset == 0) {
112 offset = lineEndOffset + 2;
117 if (lineEndOffset == offset) {
120 offset += 2;
135 offset
185 size_t offset = 0; local
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO.h64 off_t offset = (y * stride + x) * PIXEL_SIZE; local
65 buf[offset + 0] = r;
66 buf[offset + 1] = g;
67 buf[offset + 2] = b;
68 buf[offset + 3] = a;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_MCReconBlock_s.s86 ;// M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
93 ;// $offset Difference of source data location to the source pointer
94 ;// Use when $offset != 0 (unaligned load)
103 ;// register numbering. In case offset is 0, $scratch is not modified.
106 M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
107 IF $offset = 0
114 MOV $out0, $out0, LSR #8 * $offset
115 ORR $out0, $out0, $out1, LSL #(32 - 8 * ($offset))
116 MOV $out1, $out1, LSR #8 * $offset
117 ORR $out1, $out1, $scratch, LSL #(32 - 8 * ($offset))
[all...]

Completed in 1822 milliseconds

1234567891011>>