Searched refs:HashMap (Results 1 - 25 of 361) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/google/android/collect/
H A DMaps.java21 import java.util.HashMap;
28 * Creates a {@code HashMap} instance.
30 * @return a newly-created, initially-empty {@code HashMap}
32 public static <K, V> HashMap<K, V> newHashMap() {
33 return new HashMap<K, V>();
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DMultiUserAvatarCache.java21 import java.util.HashMap;
25 private final HashMap<Integer, Drawable> mCache;
28 mCache = new HashMap<Integer, Drawable>();
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DMotionStatsAggregator.java20 import java.util.HashMap;
32 HashMap<String,String> m = new HashMap<String,String>();
H A DBordeauxRanker.java27 import java.util.HashMap;
45 private ArrayList<StringFloat> getArrayList(final HashMap<String, Float> sample) { argument
81 public boolean update(final HashMap<String, Float> sample1, argument
82 final HashMap<String, Float> sample2) {
107 public float scoreSample(final HashMap<String, Float> sample) { argument
118 public boolean setPriorWeight(final HashMap<String, Float> sample) { argument
H A DBordeauxClassifier.java27 import java.util.HashMap;
44 private ArrayList<IntFloat> getArrayList(final HashMap<Integer, Float> sample) { argument
78 public boolean update(final HashMap<Integer, Float> sample, int target) { argument
90 public int classify(final HashMap<Integer, Float> sample) { argument
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java30 import java.util.HashMap;
52 private HashMap<String, HistogramCounter> mPredictor =
53 new HashMap<String, HistogramCounter>();
55 private HashMap<String, Integer> mClassCounts = new HashMap<String, Integer>();
89 private HashMap<String, HashMap<String, Integer> > mCounter =
90 new HashMap<String, HashMap<String, Integer> >();
96 public void setCounter(HashMap<Strin
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java19 import java.util.HashMap;
39 * The key that is used in the <code>attributes</code> HashMap to pass the return status.
43 * The key that is used in the <code>attributes</code> HashMap to pass the
52 private HashMap<String, Object> mAttributes = new HashMap<String, Object>();
63 HashMap<String, Object> attributes) {
H A DDrmErrorEvent.java19 import java.util.HashMap;
97 HashMap<String, Object> attributes) {
H A DDrmInfoEvent.java19 import java.util.HashMap;
88 HashMap<String, Object> attributes) {
H A DDrmInfo.java20 import java.util.HashMap;
39 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>();
H A DDrmInfoRequest.java19 import java.util.HashMap;
59 private final HashMap<String, Object> mRequestInformation = new HashMap<String, Object>();
/frameworks/base/test-runner/src/android/test/
H A DSimpleCache.java19 import java.util.HashMap;
23 private Map<K, V> map = new HashMap<K, V>();
/frameworks/base/core/java/com/google/android/util/
H A DSmileyResources.java21 import java.util.HashMap;
28 private HashMap<String, Integer> mSmileyToRes = new HashMap<String, Integer>();
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRefactorClassAdapter.java19 import java.util.HashMap;
25 private final HashMap<String, String> mRefactorClasses;
27 RefactorClassAdapter(ClassVisitor cv, HashMap<String, String> refactorClasses) {
/frameworks/native/opengl/tools/glgen/src/
H A DParameterChecker.java18 import java.util.HashMap;
22 HashMap<String,String[]> map = new HashMap<String,String[]>();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DBaseMenuWrapper.java23 import java.util.HashMap;
28 private HashMap<MenuItem, SupportMenuItem> mMenuItems;
30 private HashMap<SubMenu, SubMenu> mSubMenus;
38 // Instantiate HashMap if null
40 mMenuItems = new HashMap<MenuItem, SupportMenuItem>();
57 // Instantiate HashMap if null
59 mSubMenus = new HashMap<android.view.SubMenu, SubMenu>();
/frameworks/volley/tests/src/com/android/volley/mock/
H A DTestRequest.java23 import java.util.HashMap;
63 mPostParams = new HashMap<String, String>();
95 mParams = new HashMap<String, String>();
117 private Map<String, String> mParams = new HashMap<String, String>();
120 mParams = new HashMap<String, String>();
/frameworks/base/media/java/android/media/
H A DMediaInserter.java25 import java.util.HashMap;
35 private final HashMap<Uri, List<ContentValues>> mRowMap =
36 new HashMap<Uri, List<ContentValues>>();
37 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
38 new HashMap<Uri, List<ContentValues>>();
59 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap;
H A DCameraProfile.java23 import java.util.HashMap;
47 private static final HashMap<Integer, int[]> sCache = new HashMap<Integer, int[]>();
/frameworks/base/services/java/com/android/server/am/
H A DProviderMap.java31 import java.util.HashMap;
47 private final HashMap<String, ContentProviderRecord> mSingletonByName
48 = new HashMap<String, ContentProviderRecord>();
49 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass
50 = new HashMap<ComponentName, ContentProviderRecord>();
52 private final SparseArray<HashMap<String, ContentProviderRecord>> mProvidersByNamePerUser
53 = new SparseArray<HashMap<String, ContentProviderRecord>>();
54 private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser
55 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>();
133 HashMap<Strin
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java22 import java.util.HashMap;
57 componentResumeTimes = new HashMap<String, Long>(lastResumeTimes);
65 componentResumeTimes = new HashMap<String, Long>(N);
77 componentResumeTimes = new HashMap<String, Long>(pStats.componentResumeTimes);
/frameworks/ex/common/tests/src/com/android/common/
H A DRfc822ValidatorTest.java21 import java.util.HashMap;
48 Map<String, String> fixes = new HashMap<String, String>();
63 Map<String, String> fixes = new HashMap<String, String>();
79 Map<String, String> fixes = new HashMap<String, String>();
/frameworks/base/location/java/android/location/
H A DCountryDetector.java19 import java.util.HashMap;
85 private final HashMap<CountryListener, ListenerTransport> mListeners;
95 mListeners = new HashMap<CountryListener, ListenerTransport>();
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DOneShotScheduler.java25 import java.util.HashMap;
35 private HashMap <String, Integer> scheduled;
42 scheduled = new HashMap<String, Integer>();
H A DStopWatchMap.java21 import java.util.HashMap;
74 private HashMap<String, StopWatch> mStopWatches = null;
77 mStopWatches = new HashMap<String, StopWatch>();

Completed in 732 milliseconds

1234567891011>>