/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StaggeredGrid.java | 50 public int offset; field in class:StaggeredGrid.Location 57 public Location(int row, int offset, int size) { argument 59 this.offset = offset; 144 int offset; 148 offset = getLocation(mFirstVisibleIndex).offset; 153 offset = 0; 181 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset); 186 offset [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OrientationHelper.java | 189 * @param view View to offset 190 * @param offset offset amount 192 public abstract void offsetChild(View view, int offset); argument 321 public void offsetChild(View view, int offset) { 322 view.offsetLeftAndRight(offset); 419 public void offsetChild(View view, int offset) { 420 view.offsetTopAndBottom(offset);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | ChildHelperTest.java | 140 public View getChildAt(int offset) { argument 141 if (validateIndex(offset)) { 142 return mViews.remove(offset); 164 public void detachViewFromParent(int offset) { argument 165 mDetached.add(getChildAt(offset));
|
H A D | LinearLayoutManagerSavedStateTest.java | 120 return "scroll to position with positive offset"; 134 return "scroll to position with negative offset"; 371 void scrollToPositionWithOffset(final int position, final int offset) { argument 375 layoutManager().scrollToPositionWithOffset(position, offset);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | CurvingLayoutCallback.java | 124 void setOffset(int offset) { argument 125 mXCurveOffset = offset;
|
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.cpp | 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...] |
/frameworks/wilhelm/tests/examples/ |
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/av/cmds/stagefright/ |
H A D | codec.cpp | 182 buffer->setRange(abuffer->offset(), abuffer->size()); 192 0 /* offset */, 218 0 /* offset */, 254 size_t offset; local 259 &index, &offset, &size, &presentationTimeUs, &flags,
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 127 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length); 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { 169 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); 122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument 167 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 120 int fd, off64_t offset, off64_t length, const char* mime) { 123 mUniqueId, fd, offset, length, mime); 162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { 163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); 119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument 161 pread( sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 239 const sp<IMemory> &source, size_t offset, 253 const void *srcPtr = static_cast<uint8_t *>(source->pointer()) + offset; 237 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
|
H A D | ICrypto.cpp | 101 const SourceBuffer &source, size_t offset, 132 data.writeInt32(offset); 336 int32_t offset = data.readInt32(); local 390 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) { 393 result = decrypt(key, iv, mode, pattern, source, offset, 99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | AAudioUtilities.cpp | 57 * floating point significand. The normal shift is 3<<22, but the -15 offset 60 static const float offset = (float)(3 << (22 - 15)); local 70 u.f = f + offset; /* recenter valid range */ 84 static const float offset = (float)(3 << (22 - 15)); local 89 u.f = f + offset; /* recenter valid range */
|
/frameworks/av/media/libmedia/ |
H A D | IHDCP.cpp | 122 size_t offset, size_t size, uint32_t streamCTR, 127 data.writeInt32(offset); 288 size_t offset = data.readInt32(); local 299 err = encryptNative(graphicBuffer, offset, size, 120 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
|
H A D | IMediaMetadataRetriever.cpp | 119 status_t setDataSource(int fd, int64_t offset, int64_t length) argument 124 data.writeInt64(offset); 249 int64_t offset = data.readInt64(); local 251 reply->writeInt32(setDataSource(fd, offset, length));
|
H A D | JetPlayer.cpp | 344 int JetPlayer::loadFromFD(const int fd, const long long offset, const long long length) argument 346 ALOGV("JetPlayer::loadFromFD(): fd=%d offset=%lld length=%lld", fd, offset, length); 350 mIoWrapper = new MidiIoWrapper(fd, offset, length);
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 90 // Returns the frame length in bytes as described in an ADTS header starting at the given offset, 95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { argument 103 if (source->readAt(offset, &syncword, 2) != 2) { 111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) { 117 if (source->readAt(offset + 3, &header, 3) < 3) { 152 int64_t offset; local 153 CHECK(meta->findInt64("offset", &offset)); 156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) { 175 while (offset < streamSiz [all...] |
H A D | AMRExtractor.cpp | 101 off64_t offset, bool isWide, size_t *frameSize) { 103 ssize_t count = source->readAt(offset, &header, 1); 139 off64_t offset = mIsWide ? 9 : 6; local 145 while (offset < streamSize) { 146 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize); 155 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6); 159 offset += frameSize; 100 getFrameSizeByOffset(const sp<DataSource> &source, off64_t offset, bool isWide, size_t *frameSize) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | block_idct.cpp | 232 int32 offset; local 235 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 237 c_comp = currVop->yChan + offset; 238 cu_comp = currVop->uChan + (offset >> 2) + (x_pos << 2); 239 cv_comp = currVop->vChan + (offset >> 2) + (x_pos << 2); 531 /* preset the offset, such that we can take advantage pre-offset addressing mode */ 629 int offset = width; local 727 comp += offset;
|
H A D | combined_decode.cpp | 555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4); local 666 c_comp = video->currVop->yChan + offset; 707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5], 785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 809 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
|
H A D | datapart_decode.cpp | 624 int32 offset; local 715 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 716 c_comp = video->currVop->yChan + offset; 755 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 775 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
|
H A D | mb_motion_comp.cpp | 146 int32 offset; local 186 /* offset to (x,y) position in current luminance MB */ 189 offset = (int32)ypos * width + xpos; 196 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3); 262 c_comp = video->currVop->yChan + offset; 462 /* x position in prediction data offset by motion vector */ 467 /* y position in prediction data offset by motion vector */ 472 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2); 473 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2); 568 int32 offset; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 422 Int bitused, bitleft, offset, fraction; local 430 offset = fraction; 437 if (!offset) /* bitstream1 is byte-aligned */ 442 offset += fraction; 446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize) 448 if (PV_SUCCESS != BitstreamUseOverrunBuffer(bitstream1, bitstream2->byteCount + offset)) 450 bitstream1->byteCount += (bitstream2->byteCount + offset);
|
H A D | combined_encode.cpp | 45 Int offset = 0; local 139 getMotionCompensatedMB(video, ind_x, ind_y, offset); 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 207 offset += 16; 210 offset += (lx << 4) - width; 277 Int offset = video->offset; /* get current MB location */ local 404 getMotionCompensatedMB(video, ind_x, ind_y, offset); 427 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 490 video->offset [all...] |
H A D | fastcodemb.cpp | 33 /* QP Combined offset from the origin to the current */ 80 Int offset = QP >> 5; /* QP is combined offset and QP */ local 81 Int offsetc = (offset >> 2) + (ind_x << 2); /* offset for chrom */ 129 rec = currVop->yChan + offset; 130 input = inputFrame->yChan + offset; 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ 262 /* QP Combined offset from the origin to the current */ 311 Int offset local [all...] |