Searched defs:offset (Results 276 - 300 of 693) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java50 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 DOrientationHelper.java189 * @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 DChildHelperTest.java140 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 DLinearLayoutManagerSavedStateTest.java120 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 DCurvingLayoutCallback.java124 void setOffset(int offset) { argument
125 mXCurveOffset = offset;
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.cpp54 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 DslesTestPlayFdPath.cpp71 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 Dcodec.cpp182 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 DDrmEngineBase.cpp124 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 DDrmManagerClient.cpp120 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 DCrypto.cpp239 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 DICrypto.cpp101 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 DAAudioUtilities.cpp57 * 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 DIHDCP.cpp122 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 DIMediaMetadataRetriever.cpp119 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 DJetPlayer.cpp344 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 DAACExtractor.cpp90 // 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 DAMRExtractor.cpp101 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 Dblock_idct.cpp232 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 Dcombined_decode.cpp555 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 Ddatapart_decode.cpp624 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 Dmb_motion_comp.cpp146 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 Dbitstream_io.cpp422 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 Dcombined_encode.cpp45 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 Dfastcodemb.cpp33 /* 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...]

Completed in 440 milliseconds

<<11121314151617181920>>