Home
last modified time | relevance | path

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

12345678910>>...20

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPersonalDictionaryLookup.java37 import java.util.HashMap;
202 private volatile HashMap<String, HashMap<Locale, String>> mDictWords;
208 private volatile HashMap<Locale, HashMap<String, String>> mShortcutsPerLocale;
319 final HashMap<String, HashMap<Locale, String>> dictWords = mDictWords; in getWordsForLocale()
327 HashMap<Locale, String> localeStringMap = dictWords.get(word); in getWordsForLocale()
353 final Map<Locale, HashMap<String, String>> shortcutsPerLocale = mShortcutsPerLocale; in getShortcutsForLocale()
408 final HashMap<String, HashMap<Locale, String>> dictWords = mDictWords; in isValidWord()
414 final HashMap<Locale, String> dictLocales = dictWords.get(lowercased); in isValidWord()
464 final HashMap<Locale, HashMap<String, String>> shortcutsPerLocale = mShortcutsPerLocale; in expandShortcut()
509 @Nullable final HashMap<Locale, HashMap<String, String>> shortcutsPerLocale, in expandShortcut()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DResourceUtilsTests.java22 import java.util.HashMap;
27 final HashMap<String,String> anyKeyValue = new HashMap<>(); in testFindConstantForKeyValuePairsSimple()
29 final HashMap<String,String> nullKeyValue = null; in testFindConstantForKeyValuePairsSimple()
30 final HashMap<String,String> emptyKeyValue = new HashMap<>(); in testFindConstantForKeyValuePairsSimple()
51 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsSimple()
91 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsCombined()
129 final HashMap<String,String> keyValues = new HashMap<>(); in testFindConstantForKeyValuePairsRegexp()
/packages/services/Telephony/src/com/android/phone/common/mail/
DPackedString.java18 import java.util.HashMap;
40 private HashMap<String, String> mExploded;
41 private static final HashMap<String, String> EMPTY_MAP = new HashMap<String, String>();
73 return new HashMap<String,String>(mExploded); in unpack()
79 private static HashMap<String, String> explode(String packed) { in explode()
83 HashMap<String, String> map = new HashMap<String, String>(); in explode()
120 HashMap<String, String> mMap;
126 mMap = new HashMap<String, String>(); in Builder()
/packages/apps/UnifiedEmail/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java36 import java.util.HashMap;
66 new HashMap<String, String>()); in createEmptyDictionaryAndGetFile()
70 final HashMap<String, String> attributeMap) { in createEmptyDictionaryWithAttributesAndGetFile()
83 final HashMap<String, String> attributeMap) throws IOException { in createEmptyVer4DictionaryAndGetFile()
130 FormatSpec.VERSION403, new HashMap<String, String>()); in testConstructingDictionaryOnMemory()
245 final HashMap<String, Integer> probabilityMap = new HashMap<>(); in testRandomlyAddUnigramWord()
325 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testRandomlyAddBigramWords()
326 final HashMap<Pair<String, String>, Integer> bigramProbabilities = new HashMap<>(); in testRandomlyAddBigramWords()
463 final HashMap<String, Integer> unigramProbabilities = new HashMap<>(); in testAddBigramWordsAndFlashWithGC()
464 final HashMap<Pair<String, String>, Integer> bigramProbabilities = new HashMap<>(); in testAddBigramWordsAndFlashWithGC()
[all …]
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java33 import java.util.HashMap;
59 private static final HashMap<String, String> sKeyboardLayoutToDisplayNameMap = new HashMap<>();
61 private static final HashMap<String, Integer> sKeyboardLayoutToNameIdsMap = new HashMap<>();
63 private static final HashMap<String, Integer> sExceptionalLocaleDisplayedInRootLocale =
64 new HashMap<>();
66 private static final HashMap<String, Integer> sExceptionalLocaleToNameIdsMap = new HashMap<>();
68 private static final HashMap<String, Integer> sExceptionalLocaleToWithLayoutNameIdsMap =
69 new HashMap<>();
82 private static final HashMap<String, String> sLocaleAndExtraValueToKeyboardLayoutSetMap =
83 new HashMap<>();
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java31 import java.util.HashMap;
67 private static final HashMap<String, String> sIddProjectionMap;
68 private static final HashMap<String, String> sLookupProjectionMap;
69 private static final HashMap<String, String> sConflictProjectionMap;
70 private static final HashMap<String, String> sRangeProjectionMap;
71 private static final HashMap<String, String> sNanpProjectionMap;
72 private static final HashMap<String, String> sArbitraryProjectionMap;
97 sIddProjectionMap = new HashMap<String, String>();
102 sLookupProjectionMap = new HashMap<String, String>();
115 sConflictProjectionMap = new HashMap<String, String>();
[all …]
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java26 import java.util.HashMap;
122 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in fitsOnOneByte()
151 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getCharSize()
162 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getCharArraySize()
178 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeCharArray()
209 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeString()
242 final HashMap<Integer, Integer> codePointToOneByteCodeMap) throws IOException { in writeString()
375 public static HashMap<String, String> decodeHeaderAttributes(@Nonnull final byte[] headerBuffer) in decodeHeaderAttributes()
398 final HashMap<String, String> attributes = new HashMap<>(); in decodeHeaderAttributes()
DBinaryDictEncoderUtils.java28 import java.util.HashMap;
63 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize()
79 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize()
99 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeMaximumSize()
122 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in calculatePtNodeArrayMaximumSize()
138 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getNodeHeaderSize()
321 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in computeActualPtNodeArraySize()
408 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in computeAddresses()
631 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getChildrenPosition()
654 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePlacedPtNodeArray()
[all …]
/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/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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java19 import java.util.HashMap;
96 private HashMap<Long,BluetoothMapConvoListingElement> mSmsMmsConvoList =
97 new HashMap<Long, BluetoothMapConvoListingElement>();
99 private HashMap<Long,BluetoothMapConvoListingElement> mImEmailConvoList =
100 new HashMap<Long, BluetoothMapConvoListingElement>();
226 HashMap<Long,BluetoothMapConvoListingElement> getSmsMmsConvoList() { in getSmsMmsConvoList()
230 void setSmsMmsConvoList(HashMap<Long,BluetoothMapConvoListingElement> smsMmsConvoList) { in setSmsMmsConvoList()
234 HashMap<Long,BluetoothMapConvoListingElement> getImEmailConvoList() { in getImEmailConvoList()
238 void setImEmailConvoList(HashMap<Long,BluetoothMapConvoListingElement> imEmailConvoList) { in setImEmailConvoList()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java23 import java.util.HashMap;
56 protected HashMap<String, TagParser> getFolderElementsMap() { in getFolderElementsMap()
60 @Thunk HashMap<String, TagParser> getFolderElementsMap(Resources res) { in getFolderElementsMap()
61 HashMap<String, TagParser> parsers = new HashMap<String, TagParser>(); in getFolderElementsMap()
68 protected HashMap<String, TagParser> getLayoutElementsMap() { in getLayoutElementsMap()
69 HashMap<String, TagParser> parsers = new HashMap<String, TagParser>(); in getLayoutElementsMap()
/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/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()
DEffectSettingPopup.java32 import java.util.HashMap;
48 ArrayList<HashMap<String, Object>> mSillyFacesItem =
49 new ArrayList<HashMap<String, Object>>();
52 ArrayList<HashMap<String, Object>> mBackgroundItem =
53 new ArrayList<HashMap<String, Object>>();
90 HashMap<String, Object> map = new HashMap<String, Object>(); in initialize()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DCharacterSets.java21 import java.util.HashMap;
119 private static final HashMap<Integer, String> MIBENUM_TO_NAME_MAP;
120 private static final HashMap<String, Integer> NAME_TO_MIBENUM_MAP;
124 MIBENUM_TO_NAME_MAP = new HashMap<Integer, String>();
125 NAME_TO_MIBENUM_MAP = new HashMap<String, Integer>();
DPduBody.java20 import java.util.HashMap;
38 mPartMapByContentId = new HashMap<String, PduPart>(); in PduBody()
39 mPartMapByContentLocation = new HashMap<String, PduPart>(); in PduBody()
40 mPartMapByName = new HashMap<String, PduPart>(); in PduBody()
41 mPartMapByFileName = new HashMap<String, PduPart>(); in PduBody()
/packages/apps/Dialer/src/com/android/dialer/calllog/calllogcache/
DCallLogCacheLollipopMr1.java27 import java.util.HashMap;
41 new HashMap<>();
42 private final Map<PhoneAccountHandle, String> mPhoneAccountLabelCache = new HashMap<>();
43 private final Map<PhoneAccountHandle, Integer> mPhoneAccountColorCache = new HashMap<>();
44 private final Map<PhoneAccountHandle, Boolean> mPhoneAccountCallWithNoteCache = new HashMap<>();
/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/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl19 import java.util.HashMap;
45 private static final HashMap<String, Integer> sNameToIndexesMap = new HashMap<>();
47 private static final HashMap<String, String[]> sLocaleToTextsTableMap = new HashMap<>();
50 private static final HashMap<String[], String> sTextsTableToLocaleMap = new HashMap<>();
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java48 import java.util.HashMap;
70 private final HashMap<String, ClientPolicy> mClientPolicies =
71 new HashMap<>();
73 private HashMap<String, AppBlockingPackageInfoWrapper> mSystemWhitelists = new HashMap<>();
209 private boolean isActivityInMapAndMatching(HashMap<String, AppBlockingPackageInfoWrapper> map, in isActivityInMapAndMatching()
373 HashMap<String, AppBlockingPackageInfoWrapper> systemWhitelists = new HashMap<>(); in generateSystemWhitelists()
587 private final HashMap<String, AppBlockingPackageInfoWrapper> whitelistsMap =
588 new HashMap<>();
589 private final HashMap<String, AppBlockingPackageInfoWrapper> blacklistsMap =
590 new HashMap<>();
/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()

12345678910>>...20