Searched refs:index (Results 376 - 400 of 1090) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/preference/
H A DListPreference.java80 * Each entry must have a corresponding index in
192 * Sets the value to the given index from the entry values.
194 * @param index The index of the value to set.
196 public void setValueIndex(int index) { argument
198 setValue(mEntryValues[index].toString());
218 int index = getValueIndex();
219 return index >= 0 && mEntries != null ? mEntries[index] : null;
223 * Returns the index o
288 onGetDefaultValue(TypedArray a, int index) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSignatures.java64 serializer.attribute(null, "index", Integer.toString(j));
70 serializer.attribute(null, "index", Integer.toString(numPast));
104 String index = parser.getAttributeValue(null, "index");
105 if (index != null) {
107 int idx = Integer.parseInt(index);
118 + "index " + index + " is not defined at "
124 + "index " + index
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp590 ssize_t index = findTouchState(deviceId, source); local
591 if (index < 0) {
593 index = mTouchStates.size() - 1;
595 TouchState& touchState = mTouchStates.editItemAt(index);
602 ssize_t index = findTouchState(deviceId, source); local
603 if (index >= 0) {
604 TouchState& touchState = mTouchStates.editItemAt(index);
616 ssize_t index = findTouchState(deviceId, source); local
617 if (index >= 0) {
618 TouchState& touchState = mTouchStates.editItemAt(index);
626 ssize_t index = findTouchState(deviceId, source); local
636 ssize_t index = findTouchState(deviceId, source); local
646 ssize_t index = findTouchState(deviceId, source); local
684 ssize_t index = findTouchState(event->getDeviceId(), event->getSource()); local
954 size_t index = 0; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java167 for (int index=0; index < count; index++) {
168 data[index] = p.readByte();
172 data[index] = msg.convertDtmfToAscii(data[index]);
190 for (int index = 0; index < count; ++index) {
191 data[index]
238 createFromEfRecord(int index, byte[] data) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_3.cpp175 index = quantization index (Q0) (Word16)
202 Vq_subvec4( // o: quantization index, Q0
208 Word16 i, index = 0;
237 index = i;
243 p_dico = &dico[shl (index, 2)];
249 return index;
276 static Word16 Vq_subvec4( /* o: quantization index, Q0 */
287 Word16 index = 0; local
337 index
616 Word16 index = 0; local
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java243 final int index = cursor.getColumnIndex(columnName);
244 return (index != -1) ? cursor.getString(index) : null;
251 final int index = cursor.getColumnIndex(columnName);
252 if (index == -1) return -1;
253 final String value = cursor.getString(index);
266 final int index = cursor.getColumnIndex(columnName);
267 return (index != -1) ? cursor.getInt(index) : 0;
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java287 int index = mPositionCache.indexOfKey(position);
291 if (index < 0) {
296 index = ~index - 1;
298 if (index >= mPositionCache.size()) {
299 index--;
303 // A non-negative index gives us the position of the group header
307 if (index >= 0) {
308 listPosition = mPositionCache.keyAt(index);
309 firstGroupToCheck = mPositionCache.valueAt(index);
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp167 size_t index; local
168 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
171 ALOGV("filling input buffer %d", index);
173 const sp<ABuffer> &buffer = state->mInBuffers.itemAt(index);
185 index,
203 size_t index; local
205 state->mCodec->dequeueInputBuffer(&index, kTimeout);
211 index,
247 size_t index; local
253 &index,
[all...]
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h58 status_t getTrackFormat(size_t index, sp<AMessage> *format) const;
62 status_t selectTrack(size_t index);
63 status_t unselectTrack(size_t index);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp150 OMX_INDEXTYPE index, OMX_PTR params) {
151 switch (index) {
220 return SimpleSoftOMXComponent::internalGetParameter(index, params);
225 OMX_INDEXTYPE index, const OMX_PTR params) {
226 switch (index) {
305 return SimpleSoftOMXComponent::internalSetParameter(index, params);
337 static status_t getSampleRateTableIndex(int32_t sampleRate, int32_t &index) { argument
347 index = i;
357 // number of channels and the sample rate (mapped to an index into
360 int32_t index; local
149 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
224 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcl_ltp.cpp515 Word16 index;
526 T0_frac, &resu3, &index);
528 *(*anap)++ = index;
642 Word16 index; local
668 &index,
671 *(*anap)++ = index;
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXPlugin.cpp160 OMX_U32 index) {
161 if (index >= kNumComponents) {
165 strcpy(name, kComponents[index].mName);
157 enumerateComponents( OMX_STRING name, size_t , OMX_U32 index) argument
H A DSoftVideoDecoderOMXComponent.cpp260 OMX_INDEXTYPE index, OMX_PTR params) {
261 switch (index) {
296 ALOGE("Invalid port index: %" PRIu32, profileLevel->nPortIndex);
310 return SimpleSoftOMXComponent::internalGetParameter(index, params);
315 OMX_INDEXTYPE index, const OMX_PTR params) {
316 // Include extension index OMX_INDEXEXTTYPE.
317 const int32_t indexFull = index;
409 return SimpleSoftOMXComponent::internalSetParameter(index, params);
413 return SimpleSoftOMXComponent::internalSetParameter(index, params);
418 OMX_INDEXTYPE index, OMX_PT
259 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
314 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
417 getConfig( OMX_INDEXTYPE index, OMX_PTR params) argument
441 getExtensionIndex( const char *name, OMX_INDEXTYPE *index) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java112 int index = encoded.length;
121 encoded[--index] = SEPARATOR;
130 encoded[--index] = alphabet[group];
/frameworks/base/core/java/android/util/
H A DMapCollections.java190 int index = colIndexOfKey(e.getKey());
191 if (index < 0) {
194 Object foundVal = colGetEntry(index, 1);
306 int index = colIndexOfKey(object);
307 if (index >= 0) {
308 colRemoveAt(index);
400 int index = colIndexOfValue(object);
401 if (index >= 0) {
402 colRemoveAt(index);
551 protected abstract Object colGetEntry(int index, in argument
556 colSetValue(int index, V value) argument
557 colRemoveAt(int index) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DSortedListImpl.cpp79 ssize_t index = _indexOrderOf(item, &order); local
80 index = VectorImpl::insertAt(item, order, 1);
81 return index;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java37 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument
41 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, argument
46 public void removeIcon(String slot, int index, int viewIndex) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java68 protected void loadIcon(int index, String iconName, Density density) { argument
70 super.loadIcon(index, iconName, density);
73 View child = getChildAt(index);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java54 To be safe, we will always advance to some index-4, so we'll need 4 more for the +8
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument
205 return index < byteSize;
207 // For large values of index, this will cause the internal buffer to resize.
208 return jpeg.has(index);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java49 To be safe, we will always advance to some index-4, so we'll need 4 more for the +8
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument
200 return index < byteSize;
202 // For large values of index, this will cause the internal buffer to resize.
203 return jpeg.has(index);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java286 int index = OFFSET_ARRAY_OFFSET + offsetHr;
287 if (index >= mHasTimeZonesInHrOffset.length || index < 0) {
290 return mHasTimeZonesInHrOffset[index];
295 int index = OFFSET_ARRAY_OFFSET + (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS);
296 mHasTimeZonesInHrOffset[index] = true;
298 ArrayList<Integer> group = mTimeZonesByOffsets.get(index);
301 mTimeZonesByOffsets.put(index, group);
307 int index = OFFSET_ARRAY_OFFSET + offsetHr;
308 if (index >
[all...]
/frameworks/rs/cpp/
H A DElement.cpp26 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) { argument
31 if (index >= mVisibleElementMap.size()) {
32 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index");
35 return mElements[mVisibleElementMap[index]];
38 const char * Element::getSubElementName(uint32_t index) { argument
43 if (index >= mVisibleElementMap.size()) {
44 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index");
47 return mElementNames[mVisibleElementMap[index]].c_str();
50 size_t Element::getSubElementArraySize(uint32_t index) { argument
55 if (index >
62 getSubElementOffsetBytes(uint32_t index) argument
[all...]
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionHeader.h37 size_t index; member in class:ELFSectionHeader_CRTP
52 return index;
88 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0);
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java188 int index = colIndexOfKey(e.getKey());
189 if (index < 0) {
192 Object foundVal = colGetEntry(index, 1);
304 int index = colIndexOfKey(object);
305 if (index >= 0) {
306 colRemoveAt(index);
398 int index = colIndexOfValue(object);
399 if (index >= 0) {
400 colRemoveAt(index);
550 protected abstract Object colGetEntry(int index, in argument
555 colSetValue(int index, V value) argument
556 colRemoveAt(int index) argument
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp99 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) { argument
100 if (index >= NB_PCMMETADATA_KEYS) {
103 *pKeySize = strlen(kPcmDecodeMetadataKeys[index]) +1;
110 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { argument
112 if (!getPcmFormatKeySize(index, &actualKeySize)) {
118 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize);
124 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) { argument
125 if (index >= NB_PCMMETADATA_KEYS) {
136 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
138 if (!getPcmFormatValueSize(index,
[all...]

Completed in 747 milliseconds

<<11121314151617181920>>