/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 51 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 D | MediaDataSource.java | 46 * @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 D | MidiPortImpl.java | 65 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 D | MergedStringTable.cpp | 18 // 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/compile/mclinker/lib/Target/X86/ |
H A D | X86PLT.cpp | 102 uint32_t offset = 0; local 105 frag->setOffset(offset); 106 offset += frag->size(); 154 uint32_t* offset = reinterpret_cast<uint32_t*>(data + 2); local 155 *offset = m_GOTPLT.addr() + 4; 156 offset = reinterpret_cast<uint32_t*>(data + 8); 157 *offset = m_GOTPLT.addr() + 8; 196 uint32_t* offset; local 198 offset = reinterpret_cast<uint32_t*>(data + 2); 199 *offset 237 uint32_t* offset = reinterpret_cast<uint32_t*>(data + 2); local 283 uint32_t* offset; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | MidiIoWrapper.cpp | 43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument 46 mBase = offset; 67 int MidiIoWrapper::readAt(void *buffer, int offset, int size) { argument 68 ALOGV("readAt(%p, %d, %d)", buffer, offset, size); 71 return mDataSource->readAt(offset, buffer, size); 73 lseek(mFd, mBase + offset, SEEK_SET); 74 if (offset + size > mLength) { 75 size = mLength - offset;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 170 // 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...] |
H A D | GLES11Ext.java | 200 int offset 213 int offset 226 int offset 249 int offset 299 int offset 337 int offset 363 int offset 378 int offset 394 int offset 411 int offset [all...] |
/frameworks/base/tools/preload/ |
H A D | Record.java | 150 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 D | GraphemeBreak.h | 33 // 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 D | glMapBufferRange.cpp | 1 /* 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/support/design/src/android/support/design/widget/ |
H A D | ViewOffsetBehavior.java | 61 public boolean setTopAndBottomOffset(int offset) { argument 63 return mViewOffsetHelper.setTopAndBottomOffset(offset); 65 mTempTopBottomOffset = offset; 70 public boolean setLeftAndRightOffset(int offset) { argument 72 return mViewOffsetHelper.setLeftAndRightOffset(offset); 74 mTempLeftRightOffset = offset;
|
H A D | ViewOffsetHelper.java | 50 // And offset it as needed 75 * Set the top and bottom offset for this {@link ViewOffsetHelper}'s view. 77 * @param offset the offset in px. 78 * @return true if the offset has changed 80 public boolean setTopAndBottomOffset(int offset) { argument 81 if (mOffsetTop != offset) { 82 mOffsetTop = offset; 90 * Set the left and right offset for this {@link ViewOffsetHelper}'s view. 92 * @param offset th 95 setLeftAndRightOffset(int offset) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 161 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 D | GL11Ext.java | 40 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 D | MidiEventScheduler.java | 39 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/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 50 ssize_t CallbackDataSource::readAt(off64_t offset, void* data, size_t size) { argument 64 mIDataSource->readAt(offset + totalNumRead, numToRead); 106 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { argument 108 return mSource->readAt(offset, data, size); 112 if (mCachedOffset <= offset 113 && offset < (off64_t) (mCachedOffset + mCachedSize)) { 114 if (offset + size <= mCachedOffset + mCachedSize) { 115 memcpy(data, &mCache[offset - mCachedOffset], size); 123 const ssize_t remaining = mCachedOffset + mCachedSize - offset; 124 memcpy(data, &mCache[offset [all...] |
/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 31 * 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 D | android_AudioToCbRenderer.cpp | 65 size_t offset = 0; local 66 while (offset < full) { 69 + offset + mDecodeBuffer->range_offset(), 70 mDecodeBuffer->range_length() - offset, 72 offset += consumed; 73 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
|
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 34 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 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/media/libstagefright/foundation/ |
H A D | ParsedMessage.cpp | 92 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 D | SurfaceTextureFBO.h | 64 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 D | omxVCM4P2_MCReconBlock_s.s | 86 ;// 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...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.h | 35 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size); 57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
|