/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 170 protected String makeFragmentName(int viewId, int index) { argument 171 return "android:switcher:" + viewId + ":" + index;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 40 public int index; field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 64 ret.index = p.nextInt(); 107 return "id=" + index + "," 148 /** For sorting by index */ 153 if (index < dc.index) { 155 } else if (index == dc.index) { 157 } else { /*index > d [all...] |
H A D | TelephonyDevController.java | 202 * get modem at index 'index'. 204 public HardwareConfig getModem(int index) { argument 211 if (index > getModemCount()) { 212 loge("getModem: out-of-bounds access for modem device " + index + " max: " + getModemCount()); 216 if (DBG) logd("getModem: " + index); 217 return mModems.get(index); 233 * get sim at index 'index'. 235 public HardwareConfig getSim(int index) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInboundSmsHandler.java | 279 int index = 0; 281 int msgType = (0xFF & pdu[index++]); 286 int totalSegments = (0xFF & pdu[index++]); // >= 1 287 int segment = (0xFF & pdu[index++]); // >= 0 299 sourcePort = (0xFF & pdu[index++]) << 8; 300 sourcePort |= 0xFF & pdu[index++]; 301 destinationPort = (0xFF & pdu[index++]) << 8; 302 destinationPort |= 0xFF & pdu[index++]; 306 if (checkDuplicatePortOmadmWapPush(pdu, index)) { 307 index 338 checkDuplicatePortOmadmWapPush(byte[] origPdu, int index) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SuppServiceNotification.java | 31 /** TS 27.007 7.17 "index" */ 32 public int index; field in class:SuppServiceNotification 66 + " index: " + index
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFSectionHeader.h | 37 size_t index; member in class:ELFSectionHeader_CRTP 52 return index; 88 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0);
|
H A D | ELFSymbol.h | 44 size_t index; member in class:ELFSymbol_CRTP 70 return index; 133 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0);
|
/frameworks/rs/ |
H A D | rsMesh.h | 67 void setVertexBuffer(Allocation *vb, uint32_t index) { argument 68 mVertexBuffers[index].set(vb); 69 mHal.state.vertexBuffers[index] = vb; 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument 73 mIndexBuffers[index].set(idx); 74 mHal.state.indexBuffers[index] = idx; 75 mHal.state.primitives[index] = prim;
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | TaskStackBuilder.java | 260 * Get the intent at the specified index. 264 * @param index Index from 0-getIntentCount() 265 * @return the intent at position index 269 public Intent getIntent(int index) { argument 270 return editIntentAt(index); 274 * Return the intent at the specified index for modification. 278 * @param index Index from 0-getIntentCount() 279 * @return the intent at position index 281 public Intent editIntentAt(int index) { argument 282 return mIntents.get(index); [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 136 * Removes the mapping at the specified index. 138 public void removeAt(int index) { argument 139 if (mValues[index] != DELETED) { 140 mValues[index] = DELETED; 238 * Given an index in the range <code>0...size()-1</code>, returns 239 * the key from the <code>index</code>th key-value mapping that this 242 public long keyAt(int index) { argument 247 return mKeys[index]; 251 * Given an index in the range <code>0...size()-1</code>, returns 252 * the value from the <code>index</cod 256 valueAt(int index) argument 269 setValueAt(int index, E value) argument [all...] |
H A D | SparseArrayCompat.java | 116 * Removes the mapping at the specified index. 118 public void removeAt(int index) { argument 119 if (mValues[index] != DELETED) { 120 mValues[index] = DELETED; 128 * @param index Index to begin at 131 public void removeAtRange(int index, int size) { argument 132 final int end = Math.min(mSize, index + size); 133 for (int i = index; i < end; i++) { 231 * Given an index in the range <code>0...size()-1</code>, returns 232 * the key from the <code>index</cod 235 keyAt(int index) argument 249 valueAt(int index) argument 262 setValueAt(int index, E value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompat.java | 31 public Object getRecord(AccessibilityEvent event, int index); argument 42 public Object getRecord(AccessibilityEvent event, int index) { argument 60 public Object getRecord(AccessibilityEvent event, int index) { argument 61 return AccessibilityEventCompatIcs.getRecord(event, index); 210 * Gets the record at a given index. 212 * @param index The index. 213 * @return The record at the specified index. 215 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) { argument 216 return new AccessibilityRecordCompat(IMPL.getRecord(event, index)); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ElementThunker.java | 130 public Element getSubElement(int index) { argument 132 return new ElementThunker(mRS, mN.getSubElement(index)); 138 public String getSubElementName(int index) { argument 140 return mN.getSubElementName(index); 146 public int getSubElementArraySize(int index) { argument 148 return mN.getSubElementArraySize(index); 154 public int getSubElementOffsetBytes(int index) { argument 156 return mN.getSubElementOffsetBytes(index);
|
H A D | ScriptCThunker.java | 149 void thunkSetVar(int index, float v) { argument 151 setVar(index, v); 156 void thunkSetVar(int index, double v) { argument 158 setVar(index, v); 163 void thunkSetVar(int index, int v) { argument 165 setVar(index, v); 170 void thunkSetVar(int index, long v) { argument 172 setVar(index, v); 177 void thunkSetVar(int index, boolean v) { argument 179 setVar(index, 185 thunkSetVar(int index, BaseObj o) argument 200 thunkSetVar(int index, FieldPacker v) argument 210 thunkSetVar(int index, FieldPacker v, Element e, int[] dims) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 36 int index = clazz->mMPH_to_index[MPH]; local 37 assert(0 <= index && index < (int) clazz->mInterfaceCount); 38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 53 const struct iid_vtable *x = &clazz->mInterfaces[index]; 117 int MPH, index; local 121 (0 > (index = clazz->mMPH_to_index[MPH]))) { 124 assert(index < (int) clazz->mInterfaceCount); 125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 161 const struct iid_vtable *x = &clazz->mInterfaces[index]; 213 int MPH, index; local 292 int index = clazz->mMPH_to_index[MPH]; local 365 int MPH, index; local [all...] |
H A D | IEffectSend.c | 22 /** \brief Maps AUX index to OutputMix interface index */ 63 int index = MPH_to_OutputMix[MPH]; local 64 if (0 > index) { 68 unsigned mask = 1 << index; 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index];
|
H A D | IEngineCapabilities.c | 109 SLuint32 index; local 113 index = *pIndex; 114 if (index >= thiz->mMaxIndexLED) { 117 id_descriptor = &LED_id_descriptors[index]; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 130 id_descriptor = &LED_id_descriptors[index]; 151 SLuint32 index; local 155 index [all...] |
/frameworks/wilhelm/src/ |
H A D | locks.c | 180 SLuint32 index = objectID; local 181 if ((XA_OBJECTID_ENGINE <= index) && (index <= XA_OBJECTID_CAMERADEVICE)) { 183 } else if ((SL_OBJECTID_ENGINE <= index) && (index <= SL_OBJECTID_METADATAEXTRACTOR)) { 184 index -= SL_OBJECTID_ENGINE - XA_OBJECTID_CAMERADEVICE - 1; 187 index = 0; 199 AttributeHandler handler = handlerTable[index][bit];
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 357 size_t index; local 358 err = state->mCodec->dequeueInputBuffer(&index, -1ll); 361 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index); 368 index, 427 size_t index; local 428 err = state->mCodec->dequeueInputBuffer(&index); 434 state->mAvailInputBufferIndices.push_back(index); 484 size_t index = *state->mAvailInputBufferIndices.begin(); local 489 state->mBuffers[0].itemAt(index); 498 index, [all...] |
H A D | codec.cpp | 167 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/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 56 status_t CharacterEncodingDetector::getTag(int index, const char **name, const char**value) { argument 57 if (index >= mNames.size()) { 61 *name = mNames.getEntry(index); 62 *value = mValues.getEntry(index);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 92 ssize_t index = mUUIDToLibraryPathMap.indexOfKey(uuidVector); local 93 if (index >= 0) { 94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) { 143 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); local 144 if (index >= 0) { 145 mLibrary = mLibraryPathToOpenLibraryMap[index].promote(); 147 index = mLibraryPathToOpenLibraryMap.add(path, NULL); 157 mLibraryPathToOpenLibraryMap.replaceValueAt(index, mLibrary);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 51 ssize_t index = local 54 if (index >= 0) { 57 mExtraHeaders.removeItemsAt(index);
|
H A D | NuPlayerCCDecoder.cpp | 128 sp<AMessage> NuPlayer::CCDecoder::getTrackInfo(size_t index) const { 129 if (!isTrackValid(index)) { 139 bool isDefaultAuto = (mFoundChannels[index] == 0); 147 status_t NuPlayer::CCDecoder::selectTrack(size_t index, bool select) { argument 148 if (!isTrackValid(index)) { 153 if (mSelectedTrack == (ssize_t)index) { 154 ALOGE("track %zu already selected", index); 157 ALOGV("selected track %zu", index); 158 mSelectedTrack = index; 160 if (mSelectedTrack != (ssize_t)index) { 291 filterCCBuf( const sp<ABuffer> &ccBuf, size_t index) argument 329 ssize_t index = mCCMap.indexOfKey(timeUs); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 74 // Returns the sample rate based on the sampling frequency index 214 sp<MediaSource> AACExtractor::getTrack(size_t index) { argument 215 if (mInitCheck != OK || index != 0) { 222 sp<MetaData> AACExtractor::getTrackMetaData(size_t index, uint32_t /* flags */) { argument 223 if (mInitCheck != OK || index != 0) {
|