Searched refs:mIndex (Results 1 - 25 of 89) sorted by relevance

1234

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DMultiActionsProvider.java40 private int mIndex; field in class:MultiActionsProvider.MultiAction
45 mIndex = 0;
55 if (mIndex > drawables.length - 1) {
56 mIndex = drawables.length - 1;
75 setIndex(mIndex < (mDrawables.length - 1) ? (mIndex + 1) : 0);
83 mIndex = index;
91 return mIndex;
98 return mDrawables[mIndex];
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java49 private int mIndex; field in class:PrivateInputStream
60 mIndex = 0;
76 return mData.length - mIndex;
92 while (mData.length == mIndex) {
97 return (mData[mIndex++] & 0xFF);
116 int currentDataLength = mData.length - mIndex;
122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength);
123 mIndex += currentDataLength;
131 currentDataLength = mData.length - mIndex;
134 System.arraycopy(mData, mIndex,
[all...]
/frameworks/av/drm/common/
H A DDrmInfo.cpp70 mDrmInfo(keyIterator.mDrmInfo), mIndex(keyIterator.mIndex) {
75 return (mIndex < mDrmInfo->mAttributes.size());
79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex);
80 mIndex++;
86 mIndex = keyIterator.mIndex;
92 : mDrmInfo(iterator.mDrmInfo), mIndex(iterator.mIndex) {
98 mIndex
[all...]
H A DDrmInfoRequest.cpp64 mIndex(keyIterator.mIndex) {
69 return (mIndex < mDrmInfoRequest->mRequestInformationMap.size());
73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex);
74 mIndex++;
81 mIndex = keyIterator.mIndex;
87 mDrmInfoRequest(iterator.mDrmInfoRequest), mIndex(iterator.mIndex) {
93 mIndex
[all...]
H A DDrmConstraints.cpp62 return mIndex < mDrmConstraints->mConstraintMap.size();
66 const String8& key = mDrmConstraints->mConstraintMap.keyAt(mIndex);
67 mIndex++;
77 mIndex(keyIterator.mIndex) {
83 mIndex = keyIterator.mIndex;
94 mIndex(iterator.mIndex) {
100 mIndex
[all...]
H A DDrmMetadata.cpp65 return mIndex < mDrmMetadata->mMetadataMap.size();
69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex);
70 mIndex++;
80 mIndex(keyIterator.mIndex) {
87 mIndex = keyIterator.mIndex;
98 mIndex(iterator.mIndex) {
105 mIndex
[all...]
H A DDrmSupportInfo.cpp116 mIndex(iterator.mIndex) {
123 mIndex = iterator.mIndex;
128 return mIndex < mDrmSupportInfo->mFileSuffixVector.size();
132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex);
133 mIndex++;
140 mIndex(iterator.mIndex) {
147 mIndex
[all...]
/frameworks/base/include/androidfw/
H A DTypeWrappers.h32 mIndex = rhs.mIndex;
36 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex;
40 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
44 uint32_t prevIndex = mIndex;
54 return mIndex;
63 : mTypeVariant(tv), mIndex(index) {}
65 uint32_t mIndex; member in class:android::TypeVariant::iterator
[all...]
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java29 private final int mIndex; field in class:AudioGainConfig
37 mIndex = index;
50 return mIndex;
H A DAudioGain.java60 private final int mIndex; field in class:AudioGain
75 mIndex = index;
157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
/frameworks/base/libs/androidfw/
H A DTypeWrappers.cpp22 mIndex++;
23 if (mIndex > dtohl(mTypeVariant->data->entryCount)) {
24 mIndex = dtohl(mTypeVariant->data->entryCount);
32 if (mIndex >= entryCount) {
45 const uint32_t entryOffset = dtohl(entryIndices[mIndex]);
51 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset);
58 ALOGE("Entry offset at index %u points outside the Type's boundaries", mIndex);
61 ALOGE("Entry at index %u extends beyond Type's boundaries", mIndex);
64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry->size));
/frameworks/base/core/java/android/util/
H A DFastImmutableArraySet.java45 it.mIndex = 0;
57 int mIndex; field in class:FastImmutableArraySet.FastIterator
65 return mIndex != mContents.length;
70 return mContents[mIndex++];
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesVerifier.java29 private int mIndex; field in class:ContentValuesVerifier
46 AndroidTestCase.assertTrue(mIndex < mContentValuesVerifierElemList.size());
47 mContentValuesVerifierElemList.get(mIndex).onEntryCreated(entry);
48 mIndex++;
H A DPropertyNodesVerifier.java32 private int mIndex; field in class:PropertyNodesVerifier
79 AndroidTestCase.assertTrue(mIndex < mPropertyNodesVerifierElemList.size());
84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());
86 mIndex++;
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestCertificateSource.java29 private final TrustedCertificateIndex mIndex = new TrustedCertificateIndex(); field in class:TestCertificateSource
33 mIndex.index(cert);
44 java.security.cert.TrustAnchor anchor = mIndex.findBySubjectAndPublicKey(cert);
53 java.security.cert.TrustAnchor anchor = mIndex.findByIssuerAndSignature(cert);
63 for (java.security.cert.TrustAnchor anchor : mIndex.findAllByIssuerAndSignature(cert)) {
/frameworks/av/include/drm/
H A DDrmInfo.h59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {}
72 unsigned int mIndex; member in class:android::DrmInfo::KeyIterator
83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {}
96 unsigned int mIndex; member in class:android::DrmInfo::Iterator
H A DDrmInfoRequest.h73 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {}
86 unsigned int mIndex; member in class:android::DrmInfoRequest::KeyIterator
97 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {}
110 unsigned int mIndex; member in class:android::DrmInfoRequest::Iterator
H A DDrmMetadata.h38 KeyIterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {}
51 unsigned int mIndex; member in class:android::DrmMetadata::KeyIterator
60 Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {}
73 unsigned int mIndex; member in class:android::DrmMetadata::Iterator
H A DDrmSupportInfo.h41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
53 unsigned int mIndex; member in class:android::DrmSupportInfo::MimeTypeIterator
64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
76 unsigned int mIndex; member in class:android::DrmSupportInfo::FileSuffixIterator
H A DDrmConstraints.h74 : mDrmConstraints(drmConstraints), mIndex(0) {}
87 unsigned int mIndex; member in class:android::DrmConstraints::KeyIterator
97 : mDrmConstraints(drmConstraints), mIndex(0) {}
110 unsigned int mIndex; member in class:android::DrmConstraints::Iterator
/frameworks/base/location/java/android/location/
H A DGpsStatus.java46 private int mIndex = 0; field in class:GpsStatus.SatelliteIterator
54 for (; mIndex < mSatellitesCount; ++mIndex) {
55 GpsSatellite satellite = mSatellites.valueAt(mIndex);
65 while (mIndex < mSatellitesCount) {
66 GpsSatellite satellite = mSatellites.valueAt(mIndex);
67 ++mIndex;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DVolumeCurve.cpp31 int nbSteps = 1 + mCurvePoints[nbCurvePoints - 1].mIndex - mCurvePoints[0].mIndex;
40 if (indexInUiPosition != mCurvePoints[0].mIndex) {
47 ((float)(volIdx - mCurvePoints[indexInUiPosition - 1].mIndex)) *
50 ((float)(mCurvePoints[indexInUiPosition].mIndex -
51 mCurvePoints[indexInUiPosition - 1].mIndex)) );
55 mCurvePoints[indexInUiPosition - 1].mIndex, volIdx,
56 mCurvePoints[indexInUiPosition].mIndex,
72 mCurvePoints[i].mIndex, mCurvePoints[i].mAttenuationInMb);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DCube.java53 mIndex = Arrays.copyOf(src.mIndex, src.mIndex.length);
92 mIndex = new int[]{
106 for (int i = 0; i < mIndex.length; i++) {
107 mIndex[i] *= 3;
/frameworks/av/media/libstagefright/
H A DFrameRenderTracker.cpp70 if (renderInfo->mIndex >= 0) {
85 renderInfo->mIndex = index;
117 if (it->mIndex < 0) {
163 if (it->mIndex > index) {
164 --(it->mIndex);
179 (long long)it->mMediaTimeUs, it->mIndex, (long long)it->mRenderTimeNs);
180 } else if (it->mIndex < 0) {
186 it->mGraphicBuffer->handle, (long long)it->mMediaTimeUs, it->mIndex);
/frameworks/av/include/media/stagefright/
H A DFrameRenderTracker.h40 // queue fence (read fence). mIndex is negative, and mRenderTimeNs is invalid.
41 // Key characteristics: mFence is not NULL and mIndex is negative.
43 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set.
44 // Key characteristics: mFence is not NULL and mIndex is non-negative. mRenderTime is still
58 ssize_t getIndex() const { return mIndex; }
64 mIndex(-1),
73 mIndex(-1),
81 ssize_t mIndex; // to be used by client member in struct:android::FrameRenderTracker::Info

Completed in 1000 milliseconds

1234