Home
last modified time | relevance | path

Searched refs:HashMap (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUserHistoryDictionaryBigramList.java21 import java.util.HashMap;
32 private static final HashMap<String, Byte> EMPTY_BIGRAM_MAP = new HashMap<String, Byte>();
33 private final HashMap<String, HashMap<String, Byte>> mBigramMap =
34 new HashMap<String, HashMap<String, Byte>>();
56 final HashMap<String, Byte> map; in addBigram()
60 map = new HashMap<String, Byte>(); in addBigram()
76 final HashMap<String, Byte> map; in updateBigram()
100 public HashMap<String, Byte> getBigrams(String word1) { in getBigrams()
109 final HashMap<String, Byte> set = getBigrams(word1); in removeBigram()
DSubtypeLocale.java30 import java.util.HashMap;
46 private static final HashMap<String, String> sKeyboardLayoutToDisplayNameMap =
47 new HashMap<String, String>();
49 private static final HashMap<String, Integer> sKeyboardLayoutToNameIdsMap =
50 new HashMap<String, Integer>();
52 private static final HashMap<String, Integer> sExceptionalLocaleToWithLayoutNameIdsMap =
53 new HashMap<String, Integer>();
61 private static final HashMap<String, String> sExceptionalDisplayNamesMap =
62 new HashMap<String, String>();
65 private static final HashMap<String,String> sLocaleAndExtraValueToKeyboardLayoutSetMap =
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DPackedString.java19 import java.util.HashMap;
41 private HashMap<String, String> mExploded;
42 private static final HashMap<String, String> EMPTY_MAP = new HashMap<String, String>();
74 return new HashMap<String,String>(mExploded); in unpack()
80 private static HashMap<String, String> explode(String packed) { in explode()
84 HashMap<String, String> map = new HashMap<String, String>(); in explode()
121 HashMap<String, String> mMap;
127 mMap = new HashMap<String, String>(); in Builder()
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java39 import java.util.HashMap;
99 final List<HashMap<String, Object>> sortedList = getZones(context); in constructTimezoneAdapter()
125 final HashMap<?,?> map = (HashMap<?,?>)adapter.getItem(i); in getTimeZoneIndex()
209 private static List<HashMap<String, Object>> getZones(Context context) { in getZones()
210 final List<HashMap<String, Object>> myData = new ArrayList<HashMap<String, Object>>(); in getZones()
245 List<HashMap<String, Object>> myData, String id, String displayName, long date) { in addItem()
246 final HashMap<String, Object> map = new HashMap<String, Object>(); in addItem()
295 private static class MyComparator implements Comparator<HashMap<?, ?>> {
306 public int compare(HashMap<?, ?> map1, HashMap<?, ?> map2) { in compare() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DKanaConverter.java21 import java.util.HashMap;
36 private static final HashMap<String,String> mHalfNumericMap = new HashMap<String,String>() {{
97 private static final HashMap<String,String> mFullNumericMap = new HashMap<String,String>() {{
158 private static final HashMap<String,String> mHalfKatakanaMap = new HashMap<String,String>() {{
249 private static final HashMap<String,String> mFullKatakanaMap = new HashMap<String,String>() {{
340 private static final HashMap<String,String> mHalfAlphabetMap = new HashMap<String,String>() {{
378 private static final HashMap<String,String> mFullAlphabetMap = new HashMap<String,String>() {{
416 …private static final HashMap<String,String> mFullAlphabetMapQwety = new HashMap<String,String>() {{
612 …private boolean createCandidateString(String input, HashMap<String,String> map, StringBuffer outBu… in createCandidateString()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java23 import java.util.HashMap;
29 private HashMap<String, Object> mValues = new HashMap<String, Object>();
30 private HashMap<String, Object> mTempValues = new HashMap<String, Object>();
44 return new HashMap<String, Object>(mValues); in getAll()
158 mValues = (HashMap<String, Object>)mTempValues.clone(); in commit()
/packages/apps/Launcher2/src/com/android/launcher2/
DIconCache.java31 import java.util.HashMap;
50 private final HashMap<ComponentName, CacheEntry> mCache =
51 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
153 HashMap<Object, CharSequence> labelCache) { in getTitleAndIcon()
177 HashMap<Object, CharSequence> labelCache) { in getIcon()
193 HashMap<Object, CharSequence> labelCache) { in cacheLocked()
219 public HashMap<ComponentName,Bitmap> getAllIcons() { in getAllIcons()
221 HashMap<ComponentName,Bitmap> set = new HashMap<ComponentName,Bitmap>(); in getAllIcons()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java35 import java.util.HashMap;
64 private HashMap<String, Integer> mChannels = new HashMap<String, Integer>();
66 private HashMap<String, String> mNames = new HashMap<String, String>();
92 mNames = (HashMap<String, String>) mNamePreference.getAll(); in init()
93 mChannels = (HashMap<String, Integer>) mChannelPreference.getAll(); in init()
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
DXmlDictInputOutput.java27 import java.util.HashMap;
74 final HashMap<String, ArrayList<WeightedString>> mShortcutsMap;
81 public UnigramHandler(final HashMap<String, ArrayList<WeightedString>> shortcuts) { in UnigramHandler()
111 final HashMap<String, String> attributes = new HashMap<String, String>(); in startElement()
161 private final HashMap<String, ArrayList<WeightedString>> mAssocMap;
171 mAssocMap = new HashMap<String, ArrayList<WeightedString>>(); in AssociativeListHandler()
190 public HashMap<String, ArrayList<WeightedString>> getAssocMap() { in getAssocMap()
211 public HashMap<String, ArrayList<WeightedString>> getBigramMap() { in getBigramMap()
232 public HashMap<String, ArrayList<WeightedString>> getShortcutMap() { in getShortcutMap()
264 final HashMap<String, ArrayList<WeightedString>> bigramMap = bigramHandler.getBigramMap(); in readDictionaryXml()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java23 import java.util.HashMap;
33 private HashMap<String, Object> mValues = Maps.newHashMap();
34 private HashMap<String, Object> mTempValues = Maps.newHashMap();
38 mTempValues = (HashMap<String, Object>) mValues.clone(); in edit()
47 return new HashMap<String, Object>(mValues); in getAll()
144 mValues = (HashMap<String, Object>) mTempValues.clone(); in commit()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DBasicSettingPopup.java31 import java.util.HashMap;
63 ArrayList<HashMap<String, Object>> listItem = in initialize()
64 new ArrayList<HashMap<String, Object>>(); in initialize()
66 HashMap<String, Object> map = new HashMap<String, Object>(); in initialize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardCodesSet.java21 import java.util.HashMap;
24 private static final HashMap<String, int[]> sLanguageToCodesMap =
25 new HashMap<String, int[]>();
26 private static final HashMap<String, Integer> sNameToIdMap = new HashMap<String, Integer>();
DKeyboardIconsSet.java26 import java.util.HashMap;
34 private static final HashMap<Integer, Integer> ATTR_ID_TO_ICON_ID
35 = new HashMap<Integer, Integer>();
38 private static final HashMap<String, Integer> sNameToIdsMap = new HashMap<String, Integer>();
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java29 import java.util.HashMap;
39 private final HashMap<Integer, String> mForward = new HashMap<Integer, String>();
40 private final HashMap<String, Integer> mReverse = new HashMap<String, Integer>();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTransitionStore.java19 import java.util.HashMap;
22 private HashMap<Object, Object> mStorage = new HashMap<Object, Object>();
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDiff.java28 import java.util.HashMap;
93 final HashMap<String, NamedContentValues> beforeChildren = buildChildrenMap(before); in buildDiff()
94 final HashMap<String, NamedContentValues> afterChildren = buildChildrenMap(after); in buildDiff()
138 private static HashMap<String, NamedContentValues> buildChildrenMap(Entity entity) { in buildChildrenMap()
140 … final HashMap<String, NamedContentValues> childrenMap = new HashMap<String, NamedContentValues>( in buildChildrenMap()
/packages/apps/Exchange/tests/src/com/android/exchange/
DTagsTests.java24 import java.util.HashMap;
32 HashMap<String, Boolean> map = new HashMap<String, Boolean>(); in disable_testNoDuplicates()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DTagsTests.java24 import java.util.HashMap;
32 HashMap<String, Boolean> map = new HashMap<String, Boolean>(); in disable_testNoDuplicates()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockSharedPreferences.java23 import java.util.HashMap;
33 private HashMap<String, Object> mValues = Maps.newHashMap();
34 private HashMap<String, Object> mTempValues = Maps.newHashMap();
45 return new HashMap<String, Object>(mValues); in getAll()
142 mValues = (HashMap<String, Object>)mTempValues.clone(); in commit()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java23 import java.util.HashMap;
33 private HashMap<String, Object> mValues = Maps.newHashMap();
34 private HashMap<String, Object> mTempValues = Maps.newHashMap();
45 return new HashMap<String, Object>(mValues); in getAll()
142 mValues = (HashMap<String, Object>)mTempValues.clone(); in commit()
/packages/apps/Camera/src/com/android/camera/ui/
DBasicSettingPopup.java32 import java.util.HashMap;
83 ArrayList<HashMap<String, Object>> listItem = in initialize()
84 new ArrayList<HashMap<String, Object>>(); in initialize()
86 HashMap<String, Object> map = new HashMap<String, Object>(); in initialize()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableCorpora.java28 import java.util.HashMap;
48 private HashMap<String,Corpus> mCorporaByName;
50 private HashMap<Source,Corpus> mCorporaBySource;
115 mCorporaByName = new HashMap<String,Corpus>(corpora.size()); in update()
116 mCorporaBySource = new HashMap<Source,Corpus>(corpora.size()); in update()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSources.java22 import java.util.HashMap;
29 private final HashMap<String, Source> mSources = new HashMap<String, Source>();
DMockSuggestionExtras.java19 import java.util.HashMap;
26 HashMap<String, Object> mMap;
30 mMap = new HashMap<String, Object>(); in MockSuggestionExtras()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DMockActivityManager.java20 import java.util.HashMap;
29 private Map<String, PkgUsageStats> mPackageUsageStats = new HashMap<String, PkgUsageStats>();
33 PkgUsageStats stats = new PkgUsageStats(packageName, 1, 0, new HashMap<String, Long>()); in addLastResumeTime()

12345678910>>...12