Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java34 import java.util.Map;
58 protected List<Map<String, Object>> getData(String prefix) { in getData()
59 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData()
82 Map<String, Boolean> entries = new HashMap<String, Boolean>(); in getData()
116 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
117 new Comparator<Map<String, Object>>() {
120 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem()
139 Map<String, Object> temp = new HashMap<String, Object>(); in addItem()
148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java33 import java.util.Map;
57 protected List<Map<String, Object>> getData(String prefix) { in getData()
58 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData()
81 Map<String, Boolean> entries = new HashMap<String, Boolean>(); in getData()
115 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
116 new Comparator<Map<String, Object>>() {
119 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
137 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem()
138 Map<String, Object> temp = new HashMap<String, Object>(); in addItem()
147 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java37 import java.util.Map;
38 import java.util.Map.Entry;
101 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>(); in analyze()
107 Map<String, ClassReader> found = findIncludes(zipClasses); in analyze()
108 Map<String, ClassReader> deps = findDeps(zipClasses, found); in analyze()
127 void parseZip(List<String> jarPathList, Map<String, ClassReader> classes, in parseZip()
128 Map<String, InputStream> filesFound) throws IOException { in parseZip()
190 Map<String, ClassReader> findIncludes(Map<String, ClassReader> zipClasses) in findIncludes()
212 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass()
213 Map<String, ClassReader> inOutFound) throws LogAbortException { in findClass()
[all …]
DDependencyFinder.java38 import java.util.Map;
39 import java.util.Map.Entry;
74 public List<Map<String, Set<String>>> findDeps(List<String> osJarPath) throws IOException { in findDeps()
76 Map<String, ClassReader> zipClasses = parseZip(osJarPath); in findDeps()
81 Map<String, Set<String>> deps = findClassesDeps(zipClasses); in findDeps()
83 Map<String, Set<String>> missing = findMissingClasses(deps, zipClasses.keySet()); in findDeps()
85 List<Map<String, Set<String>>> result = new ArrayList<Map<String,Set<String>>>(2); in findDeps()
94 public void printAllDeps(List<Map<String, Set<String>>> result) { in printAllDeps()
96 Map<String, Set<String>> deps = result.get(0); in printAllDeps()
97 Map<String, Set<String>> missing = result.get(1); in printAllDeps()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java60 import java.util.Map;
89 private final static Map<Integer, Pair<ResourceType, String>> sRMap =
95 private final static Map<IntArray, String> sRArrayMap = new HashMap<IntArray, String>();
100 private final static Map<ResourceType, Map<String, Integer>> sRevRMap =
101 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class);
109 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache =
110 new HashMap<Object, Map<String, SoftReference<Bitmap>>>();
111 … private final static Map<Object, Map<String, SoftReference<NinePatchChunk>>> sProject9PatchCache =
112 new HashMap<Object, Map<String, SoftReference<NinePatchChunk>>>();
114 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache =
[all …]
/frameworks/volley/tests/src/com/android/volley/mock/
DTestRequest.java24 import java.util.Map;
59 private Map<String, String> mPostParams;
68 protected Map<String, String> getPostParams() { in getPostParams()
92 private Map<String, String> mParams;
100 public Map<String, String> getParams() { in getParams()
117 private Map<String, String> mParams = new HashMap<String, String>();
125 public Map<String, String> getParams() { in getParams()
167 private Map<String, String> mParams = new HashMap<String, String>();
175 public Map<String, String> getParams() { in getParams()
DMockHttpStack.java26 import java.util.Map;
34 private Map<String, String> mLastHeaders;
42 public Map<String, String> getLastHeaders() { in getLastHeaders()
55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest()
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java34 import java.util.Map;
35 import java.util.Map.Entry;
124 for(Map.Entry<String, Integer> entry : in getClassScores()
188 for (Map.Entry<String, HashMap<String, Integer> > entry : in toString()
202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { in findTopClasses()
208 for (Map.Entry<String, HistogramCounter> entry : mPredictor.entrySet()) { in findTopClasses()
221 for (Map.Entry<String, Double> item : scoreMap.entrySet()) { in findTopClasses()
233 for (Map.Entry<String, Double> entry : appScores.entrySet()) { in findTopClasses()
255 List<Map.Entry<String, Double> > appList = in findTopClasses()
256 new ArrayList<Map.Entry<String, Double> >(appCandidates.size()); in findTopClasses()
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DMapCollections.java22 import java.util.Map;
71 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
87 public Map.Entry<K, V> next() { in next()
137 if (!(o instanceof Map.Entry)) { in equals()
140 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals()
163 final class EntrySet implements Set<Map.Entry<K, V>> {
165 public boolean add(Map.Entry<K, V> object) { in add()
170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
172 for (Map.Entry<K, V> entry : collection) { in addAll()
185 if (!(o instanceof Map.Entry)) in contains()
[all …]
DArrayMap.java20 import java.util.Map;
50 public class ArrayMap<K, V> extends SimpleArrayMap<K, V> implements Map<K, V> {
95 protected Map<K, V> colGetMap() { in getCollection()
138 public void putAll(Map<? extends K, ? extends V> map) { in putAll()
140 for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { in putAll()
/frameworks/base/core/java/android/util/
DMapCollections.java24 import java.util.Map;
73 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
89 public Map.Entry<K, V> next() { in next()
139 if (!(o instanceof Map.Entry)) { in equals()
142 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals()
165 final class EntrySet implements Set<Map.Entry<K, V>> {
167 public boolean add(Map.Entry<K, V> object) { in add()
172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
174 for (Map.Entry<K, V> entry : collection) { in addAll()
187 if (!(o instanceof Map.Entry)) in contains()
[all …]
/frameworks/base/core/java/android/widget/
DSimpleExpandableListAdapter.java25 import java.util.Map;
40 private List<? extends Map<String, ?>> mGroupData;
46 private List<? extends List<? extends Map<String, ?>>> mChildData;
91 List<? extends Map<String, ?>> groupData, int groupLayout, in SimpleExpandableListAdapter()
93 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
139 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
141 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
193 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter()
195 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter()
243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { in bindView()
DSimpleAdapter.java27 import java.util.Map;
55 private List<? extends Map<String, ?>> mData;
62 private ArrayList<Map<String, ?>> mUnfilteredData;
79 public SimpleAdapter(Context context, List<? extends Map<String, ?>> data, in SimpleAdapter()
147 final Map dataSet = mData.get(position); in bindView()
330 mUnfilteredData = new ArrayList<Map<String, ?>>(mData); in performFiltering()
334 ArrayList<Map<String, ?>> list = mUnfilteredData; in performFiltering()
340 ArrayList<Map<String, ?>> unfilteredValues = mUnfilteredData; in performFiltering()
343 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); in performFiltering()
346 Map<String, ?> h = unfilteredValues.get(i); in performFiltering()
[all …]
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java24 import java.util.Map;
92 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidator()
98 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidator()
107 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorNullDomain()
113 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorNullDomain()
123 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorRemoveInvalid()
129 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorRemoveInvalid()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java23 import java.util.Map;
43 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get()
53 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_int()
64 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_long()
79 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_boolean()
97 Map<String, String> properties = Bridge.getPlatformProperties(); in native_set()
/frameworks/base/media/java/android/media/
DMediaExtractor.java33 import java.util.Map;
82 Context context, Uri uri, Map<String, String> headers) in setDataSource()
126 public final void setDataSource(String path, Map<String, String> headers) in setDataSource()
136 for (Map.Entry<String, String> entry: headers.entrySet()) { in setDataSource()
220 public Map<UUID, byte[]> getPsshInfo() { in getPsshInfo()
221 Map<UUID, byte[]> psshMap = null; in getPsshInfo()
222 Map<String, Object> formatMap = getFileFormatNative(); in getPsshInfo()
245 private native Map<String, Object> getFileFormatNative(); in getFileFormatNative()
255 private native Map<String, Object> getTrackFormatNative(int index); in getTrackFormatNative()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java36 import java.util.Map;
72 Map<String, ClassReader> map = new TreeMap<String, ClassReader>(); in testParseZip()
73 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>(); in testParseZip()
104 Map<String, ClassReader> zipClasses = new TreeMap<String, ClassReader>(); in testFindClass()
105 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>(); in testFindClass()
123 Map<String, ClassReader> zipClasses = new TreeMap<String, ClassReader>(); in testFindGlobs()
124 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>(); in testFindGlobs()
186 Map<String, ClassReader> zipClasses = new TreeMap<String, ClassReader>(); in testFindClassesDerivingFrom()
187 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>(); in testFindClassesDerivingFrom()
212 Map<String, ClassReader> zipClasses = new TreeMap<String, ClassReader>(); in testDependencyVisitor()
[all …]
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
DSamplesList.java28 import java.util.Map;
35 static Map<String,?> makeSample(String name, Class<?> activity) { in makeSample()
36 Map<String,Object> ret = new HashMap<String,Object>(); in makeSample()
43 static final ArrayList<Map<String,?>> SAMPLES = new ArrayList<Map<String,?>>() {{
/frameworks/base/core/java/android/webkit/
DPluginData.java20 import java.util.Map;
51 private Map<String, String[]> mHeaders;
75 Map<String, String[]> headers, in PluginData()
124 public Map<String, String[]> getHeaders() { in getHeaders()
DWebResourceResponse.java20 import java.util.Map;
32 private Map<String, String> mResponseHeaders;
68 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { in WebResourceResponse()
164 public void setResponseHeaders(Map<String, String> headers) { in setResponseHeaders()
173 public Map<String, String> getResponseHeaders() { in getResponseHeaders()
/frameworks/volley/src/com/android/volley/
DNetworkResponse.java22 import java.util.Map;
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse()
47 public NetworkResponse(byte[] data, Map<String, String> headers) { in NetworkResponse()
58 public final Map<String, String> headers;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorRecordStorage.java31 import java.util.Map;
80 public boolean addData(Map<String, String> data) { in addData()
82 for (Map.Entry<String, String> item : data.entrySet()) { in addData()
92 public List<Map<String, String>> getAllData() { in getAllData()
93 ArrayList<Map<String, String> > allData = new ArrayList<Map<String, String> >(); in getAllData()
DPredictor.java24 import java.util.Map;
88 Map<String, String> sampleFeatures = getSampleFeatures(); in pushNewSample()
101 private Map<String, String> getSampleFeatures() { in getSampleFeatures()
102 Map<String, String> sampleFeatures = mFeatureAssembly.getFeatureMap(); in getSampleFeatures()
118 Map<String, String> features = getSampleFeatures(); in getTopCandidates()
119 List<Map.Entry<String, Double> > topApps = mPredictor.findTopClasses(features, topK); in getTopCandidates()
124 Map.Entry<String, Double> entry = topApps.get(i); in getTopCandidates()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java24 import java.util.Map;
57 static <T> String toString(Map<T, byte[]> map) { in toString()
66 Iterator<Map.Entry<T, byte[]>> it = map.entrySet().iterator(); in toString()
68 Map.Entry<T, byte[]> entry = it.next(); in toString()
106 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals()
/frameworks/volley/tests/src/com/android/volley/toolbox/
DBasicNetworkTest.java32 import java.util.Map;
62 public Map<String, String> getHeaders() { in testHeadersAndPostParams()
63 Map<String, String> result = new HashMap<String, String>(); in testHeadersAndPostParams()
69 public Map<String, String> getParams() { in testHeadersAndPostParams()
70 Map<String, String> result = new HashMap<String, String>(); in testHeadersAndPostParams()

12345678910>>...17