/frameworks/av/include/media/ |
H A D | IOMX.h | 64 node_id node, OMX_INDEXTYPE index, 68 node_id node, OMX_INDEXTYPE index, 72 node_id node, OMX_INDEXTYPE index, 76 node_id node, OMX_INDEXTYPE index, 125 OMX_INDEXTYPE *index) = 0;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock.c | 188 OMX_U8 x,y,count,index; local 191 for (y = 0, count = 0, index = 0; y < 8; y++,index += (srcStep -8), count += (dstStep - 8)) 193 for (x = 0; x < 8; x++, count++,index++) 195 pDst[count] = pSrc[index];
|
/frameworks/av/media/libstagefright/include/ |
H A D | OMX.h | 47 node_id node, OMX_INDEXTYPE index, 51 node_id node, OMX_INDEXTYPE index, 55 node_id node, OMX_INDEXTYPE index, 59 node_id node, OMX_INDEXTYPE index, 104 OMX_INDEXTYPE *index);
|
H A D | OMXNodeInstance.h | 44 status_t getParameter(OMX_INDEXTYPE index, void *params, size_t size); 47 OMX_INDEXTYPE index, const void *params, size_t size); 49 status_t getConfig(OMX_INDEXTYPE index, void *params, size_t size); 50 status_t setConfig(OMX_INDEXTYPE index, const void *params, size_t size); 86 const char *parameterName, OMX_INDEXTYPE *index);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbManager.java | 43 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 405 int index = functions.indexOf(function); 406 if (index < 0) return false; 407 if (index > 0 && functions.charAt(index - 1) != ',') return false; 408 int charAfter = index + function.length();
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterViewAnimator.java | 53 * The index of the current child, which appears anywhere from the beginning 59 * The index of the child to restore after the asynchronous connection from the 92 * The index, relative to the adapter, of the beginning of the window of views 97 * The index, relative to the adapter, of the end of the window of views 233 * @param activeOffset This parameter specifies where the current index ({@link #mWhichChild}) 258 * @param fromIndex The relative index within the window that the view was in, -1 if it wasn't 260 * @param toIndex The relative index within the window that the view is going to, -1 if it is 289 * @param whichChild the index of the child view to display 316 * To be overridden by subclasses. This method applies a view / index specific 326 * Returns the index o [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BroadcasterTest.java | 89 int index = msg.what - MESSAGE_B; 90 if (index < 0 || index >= N) { 93 if (msg.getTarget() == mHandlers[index]) { 94 mSuccess[index] = true;
|
/frameworks/base/core/java/android/webkit/ |
H A D | AccessibilityInjectorFallback.java | 516 * @param index The action for a given action <code>index</code>. 518 public int getAction(int index) { argument 519 return mActionSequence[index]; 523 * @param index The action code for a given action <code>index</code>. 525 public int getActionCode(int index) { argument 526 return (mActionSequence[index] & ACTION_MASK) >> ACTION_OFFSET; 530 * @param index The first argument for a given action <code>index</cod 532 getFirstArgument(int index) argument 539 getSecondArgument(int index) argument 546 getThirdArgument(int index) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 113 protected void loadIcon(int index, String iconName, Density density) { argument 114 View child = getChildAt(index); 145 protected void loadIcon(int index, String iconReference) { argument 148 loadIcon(index, value); 160 protected Drawable loadIcon(int index, ResourceType type, String name) { argument 169 return loadIcon(index, value); 172 private Drawable loadIcon(int index, ResourceValue value) { argument 173 View child = getChildAt(index); 204 protected TextView setText(int index, String stringReference) { argument 205 View child = getChildAt(index); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 93 int index = 0; 99 index++; 102 if ('0' == nm.charAt(index)) { 104 if (index == (len - 1)) 107 char c = nm.charAt(index + 1); 110 index += 2; 113 index++; 117 else if ('#' == nm.charAt(index)) 119 index++; 123 return Integer.parseInt(nm.substring(index), bas [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 242 int index = 0; 244 int msgType = (0xFF & pdu[index++]); 249 int totalSegments = (0xFF & pdu[index++]); // >= 1 250 int segment = (0xFF & pdu[index++]); // >= 0 262 sourcePort = (0xFF & pdu[index++]) << 8; 263 sourcePort |= 0xFF & pdu[index++]; 264 destinationPort = (0xFF & pdu[index++]) << 8; 265 destinationPort |= 0xFF & pdu[index++]; 269 if (checkDuplicatePortOmadmWappush(pdu,index)) { 270 index 410 checkDuplicatePortOmadmWappush(byte[] origPdu, int index) argument [all...] |
H A D | SmsMessage.java | 159 for (int index=0; index < count; index++) { 160 data[index] = p.readByte(); 164 data[index] = msg.convertDtmfToAscii(data[index]); 182 for (int index = 0; index < count; ++index) { 183 data[index] 230 createFromEfRecord(int index, byte[] data) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | data.c | 602 int index; local 619 index = clazz->mMPH_to_index[MPH_BUFFERQUEUE]; 621 assert(index == clazz->mMPH_to_index[MPH_ANDROIDSIMPLEBUFFERQUEUE]); 623 if (0 <= index) { 624 if (requiredMask & (1 << index)) { 642 index = clazz->mMPH_to_index[MPH_SEEK]; 643 if (0 <= index) { 644 if (requiredMask & (1 << index)) { 650 index = clazz->mMPH_to_index[MPH_MUTESOLO]; 651 if (0 <= index) { [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 131 sp<MediaSource> MPEG2TSExtractor::getTrack(size_t index) { argument 132 if (index >= mSourceImpls.size()) { 140 sp<MetaData> meta = mSourceImpls.editItemAt(index)->getFormat(); 149 return new MPEG2TSSource(this, mSourceImpls.editItemAt(index), seekable); 153 size_t index, uint32_t flags) { 154 return index < mSourceImpls.size() 155 ? mSourceImpls.editItemAt(index)->getFormat() : NULL; 152 getTrackMetaData( size_t index, uint32_t flags) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | ListPreference.java | 71 * Each entry must have a corresponding index in 176 * Sets the value to the given index from the entry values. 178 * @param index The index of the value to set. 180 public void setValueIndex(int index) { argument 182 setValue(mEntryValues[index].toString()); 202 int index = getValueIndex(); 203 return index >= 0 && mEntries != null ? mEntries[index] : null; 207 * Returns the index o 272 onGetDefaultValue(TypedArray a, int index) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 580 ssize_t index = findTouchState(deviceId, source); local 581 if (index < 0) { 583 index = mTouchStates.size() - 1; 585 TouchState& touchState = mTouchStates.editItemAt(index); 592 ssize_t index = findTouchState(deviceId, source); local 593 if (index >= 0) { 594 TouchState& touchState = mTouchStates.editItemAt(index); 606 ssize_t index = findTouchState(deviceId, source); local 607 if (index >= 0) { 608 TouchState& touchState = mTouchStates.editItemAt(index); 616 ssize_t index = findTouchState(deviceId, source); local 626 ssize_t index = findTouchState(deviceId, source); local 636 ssize_t index = findTouchState(deviceId, source); local 674 ssize_t index = findTouchState(event->getDeviceId(), event->getSource()); local 944 size_t index = 0; local [all...] |
H A D | KeyLayoutMap.cpp | 107 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); local 108 if (index >= 0) { 109 return &mKeysByUsageCode.valueAt(index); 113 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); local 114 if (index >= 0) { 115 return &mKeysByScanCode.valueAt(index); 132 ssize_t index = mAxes.indexOfKey(scanCode); local 133 if (index < 0) { 140 *outAxisInfo = mAxes.valueAt(index);
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageSignatures.java | 64 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/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf_3.cpp | 175 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/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 287 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/base/tools/aapt/ |
H A D | AaptAssets.cpp | 394 int index = 0; local 395 String8 part = parts[index]; 403 index++; 404 if (index == N) { 407 part = parts[index]; 413 index++; 414 if (index == N) { 417 part = parts[index]; 426 index++; 427 if (index 1646 removeFile(size_t index) argument [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | codec.cpp | 164 size_t index; local 165 err = state->mCodec->dequeueInputBuffer(&index, kTimeout); 168 ALOGV("filling input buffer %d", index); 170 const sp<ABuffer> &buffer = state->mInBuffers.itemAt(index); 182 index, 200 size_t index; local 202 state->mCodec->dequeueInputBuffer(&index, kTimeout); 208 index, 244 size_t index; local 250 &index, [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | NuMediaExtractor.h | 56 status_t getTrackFormat(size_t index, sp<AMessage> *format) const; 58 status_t selectTrack(size_t index); 59 status_t unselectTrack(size_t index);
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder.cpp | 150 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 D | cl_ltp.cpp | 515 Word16 index; 526 T0_frac, &resu3, &index); 528 *(*anap)++ = index; 642 Word16 index; local 668 &index, 671 *(*anap)++ = index;
|