/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
H A D | LruCacheUnitTests.java | 44 public Accessor(LruCache<Integer, Integer> map) { argument 45 mMap = map;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | LocaleUtils.java | 245 public static String localeAndTimeHashMapToStr(HashMap<String, Long> map) { argument 246 if (map == null || map.isEmpty()) { 250 for (String localeStr : map.keySet()) { 254 final Long time = map.get(localeStr);
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | bigram_dictionary.cpp | 170 const int prevWordLength, std::map<int, int> *map, uint8_t *filter) const { 188 (*map)[bigramPos] = probability; 169 fillBigramAddressToProbabilityMapAndFilter(const int *prevWord, const int prevWordLength, std::map<int, int> *map, uint8_t *filter) const argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | KanaConverter.java | 608 * @param map The hash map 612 private boolean createCandidateString(String input, HashMap<String,String> map, StringBuffer outBuf) { argument 617 String convChar = map.get(input.substring(index, index + 1));
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | Template.java | 149 public HashMapEntityData(HashMap<String, Object> map) {
argument 150 mData = map;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Logic.java | 252 private void addTranslation(HashMap<String, String> map, int t, int m) { argument 257 map.put(translated, math); 263 HashMap<String, String> map = new HashMap<String, String>(); 264 addTranslation(map, R.string.sin, R.string.sin_mathematical_value); 265 addTranslation(map, R.string.cos, R.string.cos_mathematical_value); 266 addTranslation(map, R.string.tan, R.string.tan_mathematical_value); 267 addTranslation(map, R.string.e, R.string.e_mathematical_value); 268 addTranslation(map, R.string.ln, R.string.ln_mathematical_value); 269 addTranslation(map, R.string.lg, R.string.lg_mathematical_value); 270 mTranslationsSet = map [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | CertInstaller.java | 232 Map<String, byte[]> map = getPkeyMap(); 233 byte[] privatekey = map.get(key); 236 map.remove(key); 237 savePkeyMap(map); 263 Map<String, byte[]> map = getPkeyMap(); 264 map.put(key, privatekey); 265 savePkeyMap(map); 266 Log.d(TAG, "save privatekey: " + key + " --> #keys:" + map.size()); 269 private void savePkeyMap(Map<String, byte[]> map) { argument 270 if (map [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | AccountTypeManager.java | 135 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s 637 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s 821 public void setCachedValue(Map<AccountTypeWithDataSet, AccountType> map) { argument 822 mInvitableAccountTypes = map;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageVolumePreferenceCategory.java | 311 private static long totalValues(HashMap<String, Long> map, String... keys) { argument 314 if (map.containsKey(key)) { 315 total += map.get(key);
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 458 HashMap<String, String> map = new HashMap<String, String>(); 459 addProjection(map, Applications.ApplicationColumns._ID, _ID); 460 addProjection(map, SearchManager.SUGGEST_COLUMN_TEXT_1, NAME); 461 addProjection(map, SearchManager.SUGGEST_COLUMN_TEXT_2, DESCRIPTION); 462 addProjection(map, SearchManager.SUGGEST_COLUMN_INTENT_DATA, 465 addProjection(map, SearchManager.SUGGEST_COLUMN_ICON_1, ICON); 466 addProjection(map, SearchManager.SUGGEST_COLUMN_ICON_2, "NULL"); 467 addProjection(map, SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, 470 addProjection(map, SearchManager.SUGGEST_COLUMN_LAST_ACCESS_HINT, 473 return map; 487 addProjection(HashMap<String, String> map, String name, String value) argument [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | ShortcutRepositoryTest.java | 950 static <A extends Comparable<A>, B extends Comparable<B>> List<A> sortByValues(Map<A,B> map) { argument 961 ArrayList<Map.Entry<A,B>> sorted = new ArrayList<Map.Entry<A,B>>(map.size()); 962 sorted.addAll(map.entrySet());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | CellLayout.java | 1572 CellAndSpan c = currentState.map.get(v); 1636 CellAndSpan cs = config.map.get(views.get(i)); 1675 CellAndSpan cs = config.map.get(v); 1714 CellAndSpan c = config.map.get(v); 1743 CellAndSpan c = config.map.get(v); 1801 CellAndSpan l = config.map.get(left); 1802 CellAndSpan r = config.map.get(right); 1855 CellAndSpan c = currentState.map.get(v); 1883 CellAndSpan c = currentState.map.get(v); 1911 CellAndSpan c = currentState.map 2677 HashMap<View, CellAndSpan> map = new HashMap<View, CellAndSpan>(); field in class:CellLayout.ItemConfiguration [all...] |