/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 165 XAAint64 offset; member in struct:XADataLocator_AndroidFD_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 364 SLAint64 offset; member in struct:SLDataLocator_AndroidFD_
|
/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 | AudioPlayer_to_android.cpp | 1598 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local 1601 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 1602 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset, 1640 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local 1643 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 1644 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
|
H A D | BufferQueueSource.cpp | 57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument 58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size); 96 //assert(mStreamToBqOffset <= offset); 97 CHECK_LE(mStreamToBqOffset, offset); 99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) { 100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset); 102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
|
H A D | MediaPlayer_to_android.cpp | 434 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; local 437 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 438 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
|
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);
|
H A D | android_GenericPlayer.cpp | 101 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument 102 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd, 103 offset, length, closeAfterUse ? "true" : "false"); 115 if (offset >= sb.st_size) { 116 SL_LOGE("SfPlayer::setDataSource: invalid offset"); 119 mDataLocator.fdi.offset = offset; 123 } else if (offset + length > sb.st_size) { 124 mDataLocator.fdi.length = sb.st_size - offset;
|
H A D | android_defs.h | 194 int64_t offset; member in struct:android::FdInfo
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument 55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); 133 off64_t offset = 0, numFrames = 0; local 134 while (offset < streamSize) { 136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) { 140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", (long long) offset); 144 offset += frameSize; 145 if (offset > streamSize) { 146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 54 size_t offset = x->mOffset; local 55 void *thisItf = (char *) thisObject + offset; 162 size_t offset = x->mOffset; local 163 void *thisItf = (char *) thisObject + offset; 231 size_t offset = x->mOffset; local 232 void *thisItf = (char *) thisObject + offset; 310 size_t offset = x->mOffset; local 311 void *thisItf = (char *) thisObject + offset; 410 size_t offset = x->mOffset; local 411 void *thisItf = (char *) thiz + offset; [all...] |
H A D | IObject.c | 587 size_t offset = x->mOffset; local 588 void *thisItf = (char *) thiz + offset;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 52 , SLAint64 offset, SLAint64 size 130 locatorFd.offset = offset; 286 fprintf(stdout, "starting at the specified offset, and using the specified length.\n"); 50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
|
H A D | slesTestEqOutputPath.cpp | 52 , SLAint64 offset, SLAint64 size 137 locatorFd.offset = offset; 290 fprintf(stdout, "starting at the specified offset, and using the specified length.\n"); 50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
|
H A D | slesTestPlayFdPath.cpp | 71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument 139 locatorFd.offset = offset; 230 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseGridView.java | 287 * Sets the offset in pixels for window alignment. 289 * @param offset The number of pixels to offset. If the offset is positive, 291 * if the offset is negative, the absolute value is distance from high 295 public void setWindowAlignmentOffset(int offset) { argument 296 mLayoutManager.setWindowAlignmentOffset(offset); 301 * Returns the offset in pixels for window alignment. 303 * @return The number of pixels to offset. If the offset i 348 setItemAlignmentOffset(int offset) argument [all...] |
H A D | ItemAlignmentFacet.java | 58 * Sets number of pixels to offset. Can be negative for alignment from the high edge, or 61 public final void setItemAlignmentOffset(int offset) { argument 62 mOffset = offset; 66 * Gets number of pixels to offset. Can be negative for alignment from the high edge, or 74 * Sets whether to include left/top padding for positive item offset, include 75 * right/bottom padding for negative item offset. 82 * When it is true: we include left/top padding for positive item offset, include 83 * right/bottom padding for negative item offset. 90 * Sets the offset percent for item alignment in addition to offset [all...] |
H A D | StaggeredGrid.java | 52 public int offset; field in class:StaggeredGrid.Location 59 public Location(int row, int offset, int size) { argument 61 this.offset = offset; 149 int offset; 153 offset = getLocation(mFirstVisibleIndex).offset; 158 offset = 0; 185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset); 190 offset [all...] |
H A D | WindowAlignment.java | 91 final public void setWindowAlignmentOffset(int offset) { argument 92 mWindowAlignmentOffset = offset;
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/wizard/ |
H A D | GuidedDatePickerTest.java | 156 int offset = SCROLL_DIR == KeyEvent.KEYCODE_DPAD_DOWN ? 1 : -1; 157 addDate(currentActionCal, field, offset, minCal, maxCal); 167 private void addDate(Calendar mCurrentDate, int field, int offset, argument 180 if ( offset > 0 ) { 182 actualMaxFieldValue - mCurrentDate.get(field), offset); 189 actualMinFieldValue - mCurrentDate.get(field), offset); 190 mCurrentDate.add(field, Math.max(offset, maxOffset));
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewCompatLollipop.java | 205 static void offsetTopAndBottom(final View view, final int offset) { argument 219 // Now offset, invoking the API 11+ implementation (which contains it's own workarounds) 220 ViewCompatHC.offsetTopAndBottom(view, offset); 222 // The view has now been offset, so let's intersect the Rect and invalidate where 230 static void offsetLeftAndRight(final View view, final int offset) { argument 244 // Now offset, invoking the API 11+ implementation (which contains it's own workarounds) 245 ViewCompatHC.offsetLeftAndRight(view, offset); 247 // The view has now been offset, so let's intersect the Rect and invalidate where
|
/frameworks/support/v4/api23/android/support/v4/view/ |
H A D | ViewCompatMarshmallow.java | 34 static void offsetTopAndBottom(View view, int offset) { argument 35 view.offsetTopAndBottom(offset); 38 static void offsetLeftAndRight(View view, int offset) { argument 39 view.offsetLeftAndRight(offset);
|
/frameworks/support/v4/donut/android/support/v4/view/ |
H A D | ViewCompatBase.java | 113 static void offsetTopAndBottom(View view, int offset) { argument 115 view.offsetTopAndBottom(offset); 117 if (offset != 0) { 121 final int absOffset = Math.abs(offset); 133 static void offsetLeftAndRight(View view, int offset) { argument 135 view.offsetLeftAndRight(offset); 137 if (offset != 0) { 141 final int absOffset = Math.abs(offset);
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
H A D | ViewCompatHC.java | 170 static void offsetTopAndBottom(View view, int offset) { argument 171 view.offsetTopAndBottom(offset); 180 static void offsetLeftAndRight(View view, int offset) { argument 181 view.offsetLeftAndRight(offset);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 186 /** Fraction of its total width by which to offset the toggle drawable. */ 422 * @param slideOffset The new offset of this drawer within its range, from 0-1 513 * Sets the current position along the offset. 527 * Specifies the maximum offset when the position is at 1. 529 * @param offset maximum offset as a fraction of the drawable width, 533 public void setOffset(float offset) { argument 534 mOffset = offset;
|