Searched refs:get (Results 101 - 125 of 1044) sorted by relevance

1234567891011>>

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockSuggestionExtras.java40 Object o = mMap.get(columnName);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryCollection.java63 // To avoid creating unnecessary objects, we get the list out of the first
64 // dictionary and add the rest to it if not null, hence the get(0)
65 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composer,
70 final ArrayList<SuggestedWordInfo> sugg = dictionaries.get(i).getSuggestions(composer,
80 if (mDictionaries.get(i).isValidWord(word)) return true;
88 final int tempFreq = mDictionaries.get(i).getFrequency(word);
H A DStaticInnerHandlerWrapper.java40 return mOuterInstanceRef.get();
H A DUserHistoryDictionaryBigramList.java60 map = mBigramMap.get(word1);
80 map = mBigramMap.get(word1);
103 if (mBigramMap.containsKey(word1)) return mBigramMap.get(word1);
106 if (mBigramMap.containsKey(lowerWord1)) return mBigramMap.get(lowerWord1);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFormatSpec.java270 // Helper method to get the locale as a String
272 return mDictionaryOptions.mAttributes.get(FileHeader.DICTIONARY_LOCALE_ATTRIBUTE);
275 // Helper method to get the version String
277 return mDictionaryOptions.mAttributes.get(FileHeader.DICTIONARY_VERSION_ATTRIBUTE);
280 // Helper method to get the dictionary ID as a String
282 return mDictionaryOptions.mAttributes.get(FileHeader.DICTIONARY_ID_ATTRIBUTE);
285 // Helper method to get the description
289 return mDictionaryOptions.mAttributes.get(FileHeader.DICTIONARY_DESCRIPTION_ATTRIBUTE);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DRecurrenceSetTest.java115 assertEquals("19700101T000000Z", list.get(0).getValue());
119 assertEquals(RRULE_LESS_THAN_75_CHARS,list.get(0).getValue());
132 assertEquals(RRULE_MORE_THAN_75_CHARS_FOLDED, list.get(0).getValue());
145 assertEquals(STRING_WITH_160_CHARS_FOLDED, list.get(0).getValue());
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DProfileAwareUriMatcher.java113 int idSegment = PROFILE_URI_ID_MAP.get(match);
114 long id = Long.parseLong(uri.getPathSegments().get(idSegment));
119 int lookupKeySegment = PROFILE_URI_LOOKUP_KEY_MAP.get(match);
120 String lookupKey = uri.getPathSegments().get(lookupKeySegment);
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDiff.java79 if (null == dict0.mOptions.mAttributes.get("locale")) return false;
80 if (null == dict1.mOptions.mAttributes.get("locale")) return false;
81 final String dict0Lang = dict0.mOptions.mAttributes.get("locale").split("_", 3)[0];
82 final String dict1Lang = dict1.mOptions.mAttributes.get("locale").split("_", 3)[0];
103 if (!dict0.mOptions.mAttributes.get(optionKey).equals(
104 dict1.mOptions.mAttributes.get(optionKey))) {
106 + dict0.mOptions.mAttributes.get(optionKey) + " <=> "
107 + dict1.mOptions.mAttributes.get(optionKey));
113 System.out.println(" " + optionKey + " : null <=> " + options1.get(optionKey));
/packages/apps/Camera/src/com/android/camera/
H A DPreferenceGroup.java44 public CameraPreference get(int index) { method in class:PreferenceGroup
45 return list.get(index);
/packages/apps/Camera/src/com/android/camera/ui/
H A DEffectSettingPopup.java164 if (value.equals(mSillyFacesItem.get(i).get("value"))) {
171 if (value.equals(mBackgroundItem.get(i).get("value"))) {
190 value = (String) mSillyFacesItem.get(index).get("value");
192 value = (String) mBackgroundItem.get(index).get("value");
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DCollapser.java56 T iItem = list.get(i);
59 T jItem = list.get(j);
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
H A DGalResult.java82 public String get(String field) { method in class:GalResult.GalData
83 return builder.get(field);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DCalendarSyncEnablerTest.java61 for (Account account : AccountManager.get(getContext()).getAccounts()) {
78 Boolean state = origCalendarSyncStates.get(account);
160 for (Account account : AccountManager.get(getContext()).getAccounts()) {
172 assertEquals(message, origCalendarSyncStates.get(account), (Boolean) enabled);
181 if (AccountManager.get(getContext()).getAccountsByType(EAT).length > 0) {
210 return AccountManager.get(getContext()).getAccountsByType(
220 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null);
252 AccountManager.get(getContext()).removeAccount(account, null, null);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
H A DExchangeDirectoryProviderTests.java42 // Create a test projection; we should only get back values for display name and email address
64 GalData data = result.galData.get(i);
125 assertEquals(testFields[TEST_FIELD_FIRST_NAME], ps.get(GalData.FIRST_NAME));
126 assertEquals(testFields[TEST_FIELD_LAST_NAME], ps.get(GalData.LAST_NAME));
127 assertEquals(EXPECTED_DISPLAY_NAMES[i], ps.get(GalData.DISPLAY_NAME));
135 assertNull(provider.mAccountIdMap.get("foo@android.com"));
136 assertNull(provider.mAccountIdMap.get("bar@android.com"));
143 assertEquals((Long)acctFoo.mId, provider.mAccountIdMap.get("foo@android.com"));
144 assertEquals((Long)acctBar.mId, provider.mAccountIdMap.get("bar@android.com"));
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DCalendarSyncEnablerTest.java61 for (Account account : AccountManager.get(getContext()).getAccounts()) {
78 Boolean state = origCalendarSyncStates.get(account);
160 for (Account account : AccountManager.get(getContext()).getAccounts()) {
172 assertEquals(message, origCalendarSyncStates.get(account), (Boolean) enabled);
181 if (AccountManager.get(getContext()).getAccountsByType(EAT).length > 0) {
210 return AccountManager.get(getContext()).getAccountsByType(
220 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null);
252 AccountManager.get(getContext()).removeAccount(account, null, null);
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DExchangeDirectoryProviderTests.java42 // Create a test projection; we should only get back values for display name and email address
64 GalData data = result.galData.get(i);
125 assertEquals(testFields[TEST_FIELD_FIRST_NAME], ps.get(GalData.FIRST_NAME));
126 assertEquals(testFields[TEST_FIELD_LAST_NAME], ps.get(GalData.LAST_NAME));
127 assertEquals(EXPECTED_DISPLAY_NAMES[i], ps.get(GalData.DISPLAY_NAME));
135 assertNull(provider.mAccountIdMap.get("foo@android.com"));
136 assertNull(provider.mAccountIdMap.get("bar@android.com"));
143 assertEquals((Long)acctFoo.mId, provider.mAccountIdMap.get("foo@android.com"));
144 assertEquals((Long)acctBar.mId, provider.mAccountIdMap.get("bar@android.com"));
/packages/apps/Gallery2/src/com/android/camera/
H A DPreferenceGroup.java44 public CameraPreference get(int index) { method in class:PreferenceGroup
45 return list.get(index);
/packages/apps/Gallery2/src/com/android/camera/ui/
H A DEffectSettingPopup.java164 if (value.equals(mSillyFacesItem.get(i).get("value"))) {
171 if (value.equals(mBackgroundItem.get(i).get("value"))) {
190 value = (String) mSillyFacesItem.get(index).get("value");
192 value = (String) mBackgroundItem.get(index).get("value");
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPreparePageFadeoutTexture.java34 public synchronized RawTexture get() { method in class:PreparePageFadeoutTexture
71 texture = task.get();
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DMockSet.java55 result.add(mItems.get(i));
67 return mSets.get(index);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DPreferenceGroup.java44 public CameraPreference get(int index) { method in class:PreferenceGroup
45 return list.get(index);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DEffectSettingPopup.java161 if (value.equals(mSillyFacesItem.get(i).get("value"))) {
168 if (value.equals(mBackgroundItem.get(i).get("value"))) {
187 value = (String) mSillyFacesItem.get(index).get("value");
189 value = (String) mBackgroundItem.get(index).get("value");
/packages/apps/Mms/src/com/android/mms/dom/
H A DNodeListImpl.java77 node = mSearchNodes.get(index);
83 node = mStaticNodes.get(index);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DTimeClustering.java44 // Try and get around 9 clusters (best-effort for the common case).
132 long t = items.get(i).dateInMs;
145 compute(items.get(i));
153 mNames[i] = mClusters.get(i).generateCaption(mContext);
164 ArrayList<SmallItem> items = mClusters.get(index).getItems();
167 result.add(items.get(i).path);
180 // Heuristic to get min and max cluster size - half and double the
255 partitionedCluster.addItem(currClusterItems.get(j));
260 partitionedCluster.addItem(currClusterItems.get(j));
278 SmallItem prevItem = currClusterItems.get(
[all...]
/packages/apps/Email/src/com/android/email/widget/
H A DWidgetManager.java63 final EmailWidget widget = WidgetManager.getInstance().get(widgetId);
75 final EmailWidget widget = WidgetManager.getInstance().get(widgetId);
85 EmailWidget widget = WidgetManager.getInstance().get(widgetId);
97 private EmailWidget get(int widgetId) { method in class:WidgetManager
98 return mWidgets.get(widgetId);

Completed in 337 milliseconds

1234567891011>>