/frameworks/wilhelm/src/android/ |
H A D | channels.c | 127 // In practice this map is unnecessary, because the SL definitions just 153 // This map is quite sparse, because there really isn't a reasonable mapping 154 // between most of the SL_SPEAKER bits and the android input map. It's probably 165 const struct channel_map* map, 186 if (bitsIn & map[i].sles) { 187 bitsOut |= map[i].android; 163 sles_to_android_mask_helper( SLuint32 mask, const struct channel_map* map, unsigned int nMappings) argument
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ArrayMap.java | 30 * avoid having to create an extra object for every entry put in to the map, and it 33 * a hash map). 67 public ArrayMap(SimpleArrayMap map) { argument 68 super(map); 124 * Determine if the array map contains all of the keys in the given collection. 126 * @return Returns true if this array map contains a key for every entry 134 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var> 135 * @param map The map whose contents are to be retrieved. 138 public void putAll(Map<? extends K, ? extends V> map) { argument [all...] |
H A D | LruCache.java | 30 private final LinkedHashMap<K, V> map; field in class:LruCache 52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 84 mapValue = map.get(key); 93 * Attempt to create a value. This may take a long time, and the map 95 * added to the map while create() was working, we leave that value in 96 * the map and release the created value. 106 mapValue = map.put(key, createdValue); 110 map.put(key, mapValue); 140 previous = map.put(key, value); 166 if (size < 0 || (map [all...] |
H A D | MapCollections.java | 454 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) { argument 457 if (!map.containsKey(it.next())) { 464 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) { argument 465 int oldSize = map.size(); 468 map.remove(it.next()); 470 return oldSize != map.size(); 473 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) { argument 474 int oldSize = map.size(); 475 Iterator<K> it = map.keySet().iterator(); 481 return oldSize != map [all...] |
H A D | SimpleArrayMap.java | 205 * Create a new empty ArrayMap. The default capacity of an array map is 0, and 230 public SimpleArrayMap(SimpleArrayMap map) { argument 232 if (map != null) { 233 putAll(map); 238 * Make the array map empty. All storage is released. 250 * Ensure the array map can hold at least <var>minimumCapacity</var> 359 * Return true if the array map contains no items. 366 * Add a new value to the array map. 445 * Remove an existing key from the array map. 516 * Return the number of items in this array map [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | BaseKeyboardShortcutsTestCase.java | 117 KeyCharacterMap map = tempEvent.getKeyCharacterMap(); 118 KeyEvent[] events = map.getEvents(new char[] {key});
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentTest.java | 381 private void logInto(LongSparseArray<?> map, StringBuilder sb) { argument 382 for (int i = 0; i < map.size(); i++) { 383 long key = map.keyAt(i); 384 Object value = map.valueAt(i);
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 545 static void writeStringStringMap(Map<String, String> map, OutputStream os) throws IOException { argument 546 if (map != null) { 547 writeInt(os, map.size()); 548 for (Map.Entry<String, String> entry : map.entrySet()) {
|
H A D | HurlStack.java | 92 HashMap<String, String> map = new HashMap<String, String>(); 93 map.putAll(request.getHeaders()); 94 map.putAll(additionalHeaders); 104 for (String headerName : map.keySet()) { 105 connection.addRequestProperty(headerName, map.get(headerName));
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl.h | 101 // Called to map a GraphicBuffer in |mode|. 117 AwMapFunction* map; member in struct:AwDrawGLFunctionTable
|
H A D | graphics_utils.cpp | 101 function_table.map = &GraphicBufferImpl::MapStatic;
|
/frameworks/rs/ |
H A D | Android.mk | 253 LOCAL_LDFLAGS += -Wl,--version-script,${LOCAL_PATH}/libRS.map
|
H A D | rsClosure.cpp | 128 auto map = p.second; local 133 auto map = p.second; local 134 for (const auto& p1 : *map) {
|
H A D | rsMap.h | 92 next = map->bucket[bucket_index]; 105 map == other.map; 110 map != other.map; 118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {} 123 const Map* map; member in class:android::renderscript::Map::iterator
|
/frameworks/rs/api/ |
H A D | GenerateDocumentation.cpp | 153 map<string, DetailedFunctionEntry>* entries) { 286 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, argument 287 const map<string, Type*>& types, 288 const map<string, Function*>& functions, 562 map<string, DetailedFunctionEntry> entries;
|
H A D | Specification.cpp | 799 // Read the specification, adding the definitions to the global functions map. 867 // Returns the named entry in the map. Creates it if it's not there. 869 T* findOrCreate(const string& name, map<string, T*>* map, bool* created) { argument 870 auto iter = map->find(name); 871 if (iter != map->end()) { 877 map->insert(pair<string, T*>(name, f));
|
H A D | Specification.h | 25 #include <map> 525 std::map<std::string, Constant*> mDocumentedConstants; 526 std::map<std::string, Type*> mDocumentedTypes; 527 std::map<std::string, Function*> mDocumentedFunctions; 548 const std::map<std::string, Constant*>& getDocumentedConstants() const { 551 const std::map<std::string, Type*>& getDocumentedTypes() const { return mDocumentedTypes; } 552 const std::map<std::string, Function*>& getDocumentedFunctions() const { 576 /* Entries in the table of contents. We accumulate them in a map to sort them. 579 std::map<std::string, Constant*> mConstants; 580 std::map<st [all...] |
H A D | rs_object_types.spec | 96 summary: Enum for selecting cube map faces
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 136 StreamConfigurationMap map = info.get( 138 Size[] sizes = map.getOutputSizes(ImageFormat.JPEG);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | LoaderDicom.java | 150 mMappedByteBuffer = f.getChannel().map(MapMode.READ_ONLY, 0, mFileLen = f.length());
|
H A D | LoaderRaw.java | 114 MappedByteBuffer mbb = inputStream.getChannel().map(FileChannel.MapMode.READ_ONLY,
|
H A D | VolumeLoader.java | 33 HashMap<String, Properties> map = new HashMap<String, Properties>(); field in class:VolumeLoader 38 map.put(Mandelbulb.NAME,null); 39 map.put(Droid.NAME,null); 47 map.put(prop[i].getProperty("name"), prop[i]); 53 String [] ret = map.keySet().toArray(new String[map.size()]); 65 Properties p = map.get(name);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | GsmCdmaPhone.java | 2417 ContentValues map = new ContentValues(); 2418 map.put(Telephony.Carriers.NUMERIC, operatorNumeric); 2419 mContext.getContentResolver().insert(uri, map); 2446 ContentValues map = new ContentValues(); 2447 map.put(Telephony.Carriers.NUMERIC, operatorNumeric); 2449 getContext().getContentResolver().insert(uri, map);
|
H A D | ImsSMSDispatcher.java | 276 HashMap map = tracker.getData(); 281 if (!( map.containsKey("scAddr") && map.containsKey("destAddr") && 282 ( map.containsKey("text") || 283 (map.containsKey("data") && map.containsKey("destPort"))))) { 289 String scAddr = (String)map.get("scAddr"); 290 String destAddr = (String)map.get("destAddr"); 294 if (map.containsKey("text")) { 296 String text = (String)map [all...] |
H A D | SMSDispatcher.java | 371 HashMap<String, Object> map = mTracker.getData(); 372 String text = (String) map.get("text"); 403 HashMap<String, Object> map = mTracker.getData(); 404 byte[] data = (byte[]) map.get("data"); 405 int destPort = (int) map.get("destPort"); 952 HashMap map = tracker.getData(); 953 byte pdu[] = (byte[]) map.get("pdu"); 1261 HashMap<String, Object> map = tracker.getData(); 1263 String destinationAddress = (String) map.get("destination"); 1264 String scAddress = (String) map [all...] |