Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/packages/apps/IM/src/com/android/im/imps/
DImpsConnectionConfig.java81 String dataChannel = map.get(ImpsConfigNames.DATA_CHANNEL); in ImpsConnectionConfig()
89 String dataEncoding = map.get(ImpsConfigNames.DATA_ENCODING); in ImpsConnectionConfig()
97 String cirChannel = map.get(ImpsConfigNames.CIR_CHANNEL); in ImpsConnectionConfig()
105 mHost = map.get(ImpsConfigNames.HOST); in ImpsConnectionConfig()
107 if (map.get(ImpsConfigNames.CLIENT_ID) != null) { in ImpsConnectionConfig()
108 mClientId = map.get(ImpsConfigNames.CLIENT_ID); in ImpsConnectionConfig()
111 if (map.get(ImpsConfigNames.MSISDN) != null) { in ImpsConnectionConfig()
112 mMsisdn = map.get(ImpsConfigNames.MSISDN); in ImpsConnectionConfig()
114 if (map.get(ImpsConfigNames.SECURE_LOGIN) != null) { in ImpsConnectionConfig()
115 mSecureLogin = isTrue(map.get(ImpsConfigNames.SECURE_LOGIN)); in ImpsConnectionConfig()
[all …]
DPtsPrimitiveParser.java150 type = sInfoElemTypeMap.get(elemCode); in translateParam()
185 result.addChild(ImpsTags.Code, elemValue.mValueGroup.get(0).mStrValue); in translateParam()
186 result.addChild(ImpsTags.Description, elemValue.mValueGroup.get(1).mStrValue); in translateParam()
226 ArrayList<ParamValue> valueGroup = elemValue.mValueGroup.get(i).mValueGroup; in translateParam()
229 String nickname = valueGroup.get(0).mStrValue; in translateParam()
230 String address = valueGroup.get(1).mStrValue; in translateParam()
251 ArrayList<ParamValue> valueGroup = elemValue.mValueGroup.get(i).mValueGroup; in translateParam()
254 String name = valueGroup.get(0).mStrValue; in translateParam()
255 String value = valueGroup.get(1).mStrValue; in translateParam()
282 ParamValue value = elemValue.mValueGroup.get(0); in translateParam()
[all …]
DPtsCodes.java50 return sCodeToTransaction.get(type.toUpperCase()); in getTransaction()
55 return sCodeToElement.get(type.toUpperCase()); in getElement()
60 return sCodeToCapElement.get(type.toUpperCase()); in getCapElement()
65 return sCodeToCapValue.get(type.toUpperCase()) == null ? in getCapValue()
66 type : sCodeToCapValue.get(type.toUpperCase()); in getCapValue()
71 return sCodeToServiceTree.get(type.toUpperCase()); in getServiceTreeValue()
75 return sTransactionToCode.get(txType); in getTxCode()
83 return sElementToCode.get(elemType); in getElementCode()
87 return sCapElementToCode.get(elemType); in getCapElementCode()
91 return sCapValueToCode.get(value); in getCapValueCode()
[all …]
DImpsSession.java89 mId = values.get(KEY_SESSION_ID); in ImpsSession()
94 mCookie = values.get(KEY_SESSION_COOKIE); in ImpsSession()
100 mKeepAliveTime = Long.parseLong(values.get(KEY_KEEP_ALIVE_TIME)); in ImpsSession()
106 mServerPollMin = Long.parseLong(values.get(KEY_SERVER_POLL_MIN)); in ImpsSession()
111 String username = values.get(KEY_USERNAME); in ImpsSession()
112 String password = values.get(KEY_PASSWORD); in ImpsSession()
120 mCurrentCirMethod = CirMethod.valueOf(values.get(KEY_CIR_METHOD)); in ImpsSession()
122 mCirTcpAddress = values.get(KEY_CIR_TCP_ADDRESS); in ImpsSession()
128 mCirTcpPort = Integer.parseInt(values.get(KEY_CIR_TCP_PORT)); in ImpsSession()
134 mCirHttpAddress = values.get(KEY_CIR_HTTP_ADDRESS); in ImpsSession()
DPtsPrimitiveSerializer.java97 PrimitiveElement elem = infoElems.get(i); in serialize()
153 writer.write(escapeValueString(values.get(0))); in writeMultiValue()
161 writer.write(escapeValueString(values.get(i))); in writeMultiValue()
194 String nameCode = nameCodes.get(name); in appendNameAndValue()
201 valueCode = valueCodes.get(value); in appendNameAndValue()
222 return sEncoders.get(elemName); in getEncoder()
262 encodePresence(buf, presences.get(0)); in encodeValue()
265 encodePresence(buf, presences.get(0)); in encodeValue()
273 encodePresence(buf, presences.get(i)); in encodeValue()
316 PrimitiveElement value = children.get(i); in encodePresence()
[all …]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoftKeyboard.java188 KeyRow keyRow = mKeyRows.get(mKeyRows.size() - 1); in addSoftKey()
215 KeyRow keyRow = mKeyRows.get(row); in setSkbCoreSize()
221 SoftKey softKey = softKeys.get(i); in setSkbCoreSize()
281 KeyRow keyRow = mKeyRows.get(row); in getKeyRowForDisplay()
292 List<SoftKey> softKeys = mKeyRows.get(row).mSoftKeys; in getKey()
294 return softKeys.get(location); in getKey()
308 KeyRow keyRow = mKeyRows.get(row); in mapToKey()
316 SoftKey sKey = softKeys.get(i); in mapToKey()
329 KeyRow keyRow = mKeyRows.get(row); in mapToKey()
337 SoftKey sKey = softKeys.get(i); in mapToKey()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java110 return strLayer.get(pos); in getStrSegment()
130 StrSegment ss = strLayer.get(i); in toString()
177 StrSegment last = strUplayer.get(strUplayer.size() - 1); in modifyUpper()
189 StrSegment ss = strUplayer.get(i); in modifyUpper()
222 StrSegment ss = strUplayer.get(uplayer_mod_from); in modifyUpper()
226 ss = strUplayer.get(next); in modifyUpper()
237 ss = strUplayer.get(i); in modifyUpper()
249 ss = strUplayer.get(i); in modifyUpper()
290 StrSegment ss = strLayer.get(j); in insertStrSegment()
369 fromL[1] = strLayer2.get(from).from; in deleteStrSegment()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowEditor.java110 return mModel.get(position).removeText(); in removeText()
114 return mModel.get(position).removeImage(); in removeImage()
118 return mModel.get(position).removeVideo(); in removeVideo()
122 return mModel.get(position).removeAudio(); in removeAudio()
127 SlideModel slide = mModel.get(position); in changeText()
142 mModel.get(position).add(new ImageModel( in changeImage()
148 SlideModel slide = mModel.get(position); in changeAudio()
156 SlideModel slide = mModel.get(position); in changeVideo()
171 mModel.get(position).setDuration(dur); in changeDuration()
/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityDeltaTests.java235 final ContentProviderOperation oper = diff.get(0); in testEntityDiffNoneInsert()
239 final ContentProviderOperation oper = diff.get(1); in testEntityDiffNoneInsert()
244 final ContentProviderOperation oper = diff.get(2); in testEntityDiffNoneInsert()
249 final ContentProviderOperation oper = diff.get(3); in testEntityDiffNoneInsert()
275 final ContentProviderOperation oper = diff.get(0); in testEntityDiffUpdateInsert()
279 final ContentProviderOperation oper = diff.get(1); in testEntityDiffUpdateInsert()
284 final ContentProviderOperation oper = diff.get(2); in testEntityDiffUpdateInsert()
289 final ContentProviderOperation oper = diff.get(3); in testEntityDiffUpdateInsert()
294 final ContentProviderOperation oper = diff.get(4); in testEntityDiffUpdateInsert()
314 final ContentProviderOperation oper = diff.get(0); in testEntityDiffNoneUpdate()
[all …]
/packages/apps/IM/src/com/android/im/provider/
DImpsProvider.java1100 appendWhere(whereClause, Imps.Provider._ID, "=", url.getPathSegments().get(1)); in queryInternal()
1113 appendWhere(whereClause, Imps.Account._ID, "=", url.getPathSegments().get(1)); in queryInternal()
1180 appendWhere(whereClause, "contacts._id", "=", url.getPathSegments().get(1)); in queryInternal()
1194 url.getPathSegments().get(2)); in queryInternal()
1203 appendWhere(whereClause, Imps.ContactList._ID, "=", url.getPathSegments().get(1)); in queryInternal()
1215 url.getPathSegments().get(2)); in queryInternal()
1224 appendWhere(whereClause, "_id", "=", url.getPathSegments().get(1)); in queryInternal()
1228 … appendWhere(whereClause, Imps.Messages.THREAD_ID, "=", url.getPathSegments().get(1)); in queryInternal()
1255 appendWhere(whereClause, Imps.Messages._ID, "=", url.getPathSegments().get(1)); in queryInternal()
1262 appendWhere(whereClause, Imps.Contacts.ACCOUNT, "=", url.getPathSegments().get(1)); in queryInternal()
[all …]
/packages/apps/Camera/src/com/android/camera/gallery/
DLruCache.java65 return entry == null ? null : entry.get(); in put()
68 public synchronized V get(K key) { in get() method in LruCache
70 V value = mLruMap.get(key); in get()
72 Entry<K, V> entry = mWeakMap.get(key); in get()
73 return entry == null ? null : entry.get(); in get()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DAddressList.java58 public Address get(int index) { in get() method in AddressList
61 return (Address) addresses.get(index); in get()
73 if (!(get(i) instanceof Mailbox)) { in flatten()
84 Address addr = get(i); in flatten()
99 Address addr = get(i); in print()
DMailboxList.java54 public Mailbox get(int index) { in get() method in MailboxList
57 return (Mailbox) mailboxes.get(index); in get()
66 Mailbox mailbox = get(i); in print()
DDomainList.java56 public String get(int index) { in get() method in DomainList
59 return (String) domains.get(index); in get()
70 out.append(get(i)); in toRouteString()
/packages/apps/Gallery/src/com/android/camera/gallery/
DLruCache.java65 return entry == null ? null : entry.get(); in put()
68 public synchronized V get(K key) { in get() method in LruCache
70 V value = mLruMap.get(key); in get()
72 Entry<K, V> entry = mWeakMap.get(key); in get()
73 return entry == null ? null : entry.get(); in get()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java129 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); in query()
138 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
145 threadID = Integer.parseInt(url.getPathSegments().get(1)); in query()
153 + url.getPathSegments().get(1)); in query()
184 "(sms_id = " + url.getPathSegments().get(1) + ")"); in query()
196 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
203 String messageIndexString = url.getPathSegments().get(1); in query()
259 SmsMessage message = messages.get(messageIndex); in getSingleMessageFromIcc()
282 SmsMessage message = messages.get(i); in getAllMessagesFromIcc()
318 Integer.parseInt(url.getPathSegments().get(0)); in getType()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java954 qb.appendWhere("_id = " + uri.getPathSegments().get(3)); in queryThumbnail()
1053 qb.appendWhere("_id = " + uri.getPathSegments().get(3)); in query()
1070 qb.appendWhere("_id=" + uri.getPathSegments().get(3)); in query()
1077 uri.getPathSegments().get(3) + ")"); in query()
1082 qb.appendWhere("_id=" + uri.getPathSegments().get(5)); in query()
1089 uri.getPathSegments().get(3) + ")"); in query()
1094 qb.appendWhere("_id=" + uri.getPathSegments().get(5)); in query()
1103 qb.appendWhere("_id=" + uri.getPathSegments().get(3)); in query()
1110 uri.getPathSegments().get(3) + ")"); in query()
1115 qb.appendWhere("_id=" + uri.getPathSegments().get(5)); in query()
[all …]
/packages/apps/Camera/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java13 assertEquals(value, cache.get(key)); in testPut()
25 assertEquals(value, cache.get(key)); in testTracingInUsedObject()
33 cache.get(0); in testLruAlgorithm()
36 assertEquals(Integer.valueOf(0), cache.get(0)); in testLruAlgorithm()
52 mMap.get(i % 2); in run()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java13 assertEquals(value, cache.get(key)); in testPut()
25 assertEquals(value, cache.get(key)); in testTracingInUsedObject()
33 cache.get(0); in testLruAlgorithm()
36 assertEquals(Integer.valueOf(0), cache.get(0)); in testLruAlgorithm()
52 mMap.get(i % 2); in run()
/packages/apps/Contacts/src/com/android/contacts/
DContactEntryAdapter.java111 ArrayList<E> section = mSections.get(i); in setSections()
114 E e = section.get(j); in setSections()
151 ArrayList<E> section = mSections.get(i); in isEnabled()
184 ArrayList<T> section = sections.get(i); in getEntry()
191 return section.get(position); in getEntry()
209 ArrayList<T> section = sections.get(i); in countEntries()
215 count += sections.get(i).size(); in countEntries()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DSuggest.java193 if (!haveSufficientCommonality(mLowerOriginalWord, mSuggestions.get(1))) { in getSuggestions()
203 String suggestedWord = mSuggestions.get(i).toString().toLowerCase(); in getSuggestions()
205 AutoText.get(suggestedWord, 0, suggestedWord.length(), view); in getSuggestions()
209 canAdd &= !TextUtils.equals(autoText, mSuggestions.get(i)); in getSuggestions()
212 canAdd &= !TextUtils.equals(autoText, mSuggestions.get(i + 1)); in getSuggestions()
232 final CharSequence cur = suggestions.get(i); in removeDupes()
235 CharSequence previous = suggestions.get(j); in removeDupes()
284 .get(pos).length())) { in addWord()
327 CharSequence garbage = mSuggestions.get(garbageSize - 1); in collectGarbage()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java377 int n = mHistory.get(i); in saveQueue()
1227 int idx = mHistory.get(i).intValue(); in next()
1814 mService.get().openAsync(path); in openFileAsync()
1818 mService.get().open(path, oneShot); in openFile()
1821 mService.get().open(list, position); in open()
1824 return mService.get().getQueuePosition(); in getQueuePosition()
1827 mService.get().setQueuePosition(index); in setQueuePosition()
1830 return mService.get().isPlaying(); in isPlaying()
1833 mService.get().stop(); in stop()
1836 mService.get().pause(); in pause()
[all …]
/packages/apps/Email/src/com/android/email/provider/
DAttachmentProvider.java147 String accountId = segments.get(0); in getType()
148 String id = segments.get(1); in getType()
149 String format = segments.get(2); in getType()
181 String accountId = segments.get(0); in openFile()
182 String id = segments.get(1); in openFile()
183 String format = segments.get(2); in openFile()
185 int width = Integer.parseInt(segments.get(3)); in openFile()
186 int height = Integer.parseInt(segments.get(4)); in openFile()
258 String accountId = segments.get(0); in query()
259 String id = segments.get(1); in query()
[all …]
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java80 mDummyDate.set(mDummyDate.get(Calendar.YEAR), 11, 31, 13, 0, 0); in initUI()
215 calendar.get(Calendar.YEAR), in onCreateDialog()
216 calendar.get(Calendar.MONTH), in onCreateDialog()
217 calendar.get(Calendar.DAY_OF_MONTH)); in onCreateDialog()
226 calendar.get(Calendar.HOUR_OF_DAY), in onCreateDialog()
227 calendar.get(Calendar.MINUTE), in onCreateDialog()
247 calendar.get(Calendar.YEAR), in onPrepareDialog()
248 calendar.get(Calendar.MONTH), in onPrepareDialog()
249 calendar.get(Calendar.DAY_OF_MONTH)); in onPrepareDialog()
256 calendar.get(Calendar.HOUR_OF_DAY), in onPrepareDialog()
[all …]
/packages/providers/GoogleSubscribedFeedsProvider/src/com/android/settings/
DAccountPreferenceBase.java111 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in getAuthoritiesForAccountType()
120 return mAccountTypeToAuthorities.get(type); in getAuthoritiesForAccountType()
133 mTypeToAuthDescription.get(accountType); in getDrawableForType()
154 mTypeToAuthDescription.get(accountType); in getLabelForType()
174 desc = (AuthenticatorDescription) mTypeToAuthDescription.get(accountType); in addPreferencesForType()
192 mAuthDescs = AccountManager.get(this).getAuthenticatorTypes(); in updateAuthDescriptions()

12345678910>>...16