/frameworks/wilhelm/src/android/ |
H A D | channels.cpp | 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/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseWrapContentTest.java | 374 private void logInto(LongSparseArray<?> map, StringBuilder sb) { argument 375 for (int i = 0; i < map.size(); i++) { 376 long key = map.keyAt(i); 377 Object value = map.valueAt(i);
|
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/ |
H A D | ExifInterface.java | 5711 private boolean isThumbnail(HashMap map) throws IOException { argument 5712 ExifAttribute imageLengthAttribute = (ExifAttribute) map.get(TAG_IMAGE_LENGTH); 5713 ExifAttribute imageWidthAttribute = (ExifAttribute) map.get(TAG_IMAGE_WIDTH);
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentTransition.java | 155 * @return A map from the initial shared element name to the final shared element name 205 * @param nameOverrides A map of the shared element names from the starting fragment to 303 * @param nameOverrides A map of the shared element names from the starting fragment to 539 * @param nameOverrides A map of the shared element names from the starting fragment to 668 * @param nameOverrides A map of the shared element names from the starting fragment to 771 * @param nameOverrides A map of the shared element names from the starting fragment to 826 * @param nameOverrides A map of the shared element names from the starting fragment to 885 * Utility to find the String key in {@code map} that maps to {@code value}. 887 private static String findKeyForValue(ArrayMap<String, String> map, String value) { argument 888 final int numElements = map [all...] |
H A D | FragmentTransitionImpl.java | 209 * stores them in {@code namedViews} map with the name as the key. 352 * Utility to find the String key in {@code map} that maps to {@code value}. 355 static String findKeyForValue(Map<String, String> map, String value) { argument 356 for (Map.Entry<String, String> entry : map.entrySet()) {
|
/frameworks/support/lifecycle/livedata/src/main/java/androidx/lifecycle/ |
H A D | Transformations.java | 42 * This method is analogous to {@link io.reactivex.Observable#map}. 52 * Transformations.map( 58 * @param source the {@code LiveData} to map from 68 public static <X, Y> LiveData<Y> map( method in class:Transformations 122 * @param source the {@code LiveData} to map from
|
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
H A D | DataSource.java | 146 * @see DataSource#map(Function) 150 public <ToValue> DataSource.Factory<Key, ToValue> map( method in class:DataSource.Factory 158 * Same as {@link #map(Function)}, but allows for batch conversions. 166 * @see #map(Function) 167 * @see DataSource#map(Function) 214 * Same as {@link #map(Function)}, but allows for batch conversions. 222 * @see #map(Function) 223 * @see DataSource.Factory#map(Function) 242 * @see DataSource.Factory#map(Function) 246 public abstract <ToValue> DataSource<Key, ToValue> map( method in class:DataSource [all...] |
H A D | ItemKeyedDataSource.java | 370 public final <ToValue> ItemKeyedDataSource<Key, ToValue> map( method in class:ItemKeyedDataSource
|
H A D | PageKeyedDataSource.java | 421 public final <ToValue> PageKeyedDataSource<Key, ToValue> map( method in class:PageKeyedDataSource
|
H A D | PositionalDataSource.java | 497 "Inaccessible inner type doesn't support map op"); 502 public <ToValue> DataSource<Integer, ToValue> map( method in class:PositionalDataSource.ContiguousWithoutPlaceholdersWrapper 505 "Inaccessible inner type doesn't support map op"); 564 public final <V> PositionalDataSource<V> map(@NonNull Function<T, V> function) { method in class:PositionalDataSource
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
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 | 31 private final LinkedHashMap<K, V> map; field in class:LruCache 53 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); 85 mapValue = map.get(key); 94 * Attempt to create a value. This may take a long time, and the map 96 * added to the map while create() was working, we leave that value in 97 * the map and release the created value. 107 mapValue = map.put(key, createdValue); 111 map.put(key, mapValue); 141 previous = map.put(key, value); 167 if (size < 0 || (map [all...] |
H A D | MapCollections.java | 456 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) { argument 459 if (!map.containsKey(it.next())) { 466 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) { argument 467 int oldSize = map.size(); 470 map.remove(it.next()); 472 return oldSize != map.size(); 475 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) { argument 476 int oldSize = map.size(); 477 Iterator<K> it = map.keySet().iterator(); 483 return oldSize != map [all...] |
H A D | SimpleArrayMap.java | 230 * Create a new empty ArrayMap. The default capacity of an array map is 0, and 255 public SimpleArrayMap(SimpleArrayMap<K, V> map) { argument 257 if (map != null) { 258 putAll(map); 263 * Make the array map empty. All storage is released. 281 * Ensure the array map can hold at least <var>minimumCapacity</var> 394 * Return true if the array map contains no items. 401 * Add a new value to the array map. 491 * Remove an existing key from the array map. 571 * Return the number of items in this array map [all...] |
/frameworks/support/collection/src/test/java/androidx/collection/ |
H A D | SimpleArrayMapTest.java | 30 SimpleArrayMap<String, String> map = new SimpleArrayMap<>(); field in class:SimpleArrayMapTest 47 map.put(String.format(Locale.US, "key %d", i++), "B_DONT_DO_THAT"); 67 map.clear(); 87 map.put(String.format(Locale.US, "key %d", i++), "B_DONT_DO_THAT"); 89 map.clear();
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
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/rs/ |
H A D | rsClosure.cpp | 132 auto map = p.second; local 133 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/rsov/driver/ |
H A D | rsovScript.cpp | 175 std::map<std::string, int> *GA2ID) 666 // The result is stored in a refence to a map<string, int> 669 ParseMD(std::string s, std::map<std::string, int> &map) argument 670 : mString(s), mMapping(map) {} 737 std::map<std::string, int> &mMapping; 744 ExtractRSoVMD() : mGAMapping(new std::map<std::string, int>) {} 748 std::map<std::string, int> mapping; 755 std::map<std::string, int> *takeMapping(void) { return mGAMapping.release(); } 758 std::unique_ptr<std::map<st [all...] |
/frameworks/rs/script_api/ |
H A D | GenerateDocumentation.cpp | 156 map<string, DetailedFunctionEntry>* entries) { 289 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, argument 290 const map<string, Type*>& types, 291 const map<string, Function*>& functions, 568 map<string, DetailedFunctionEntry> entries;
|
H A D | Specification.cpp | 803 // Read the specification, adding the definitions to the global functions map. 871 // Returns the named entry in the map. Creates it if it's not there. 873 T* findOrCreate(const string& name, map<string, T*>* map, bool* created) { argument 874 auto iter = map->find(name); 875 if (iter != map->end()) { 881 map->insert(pair<string, T*>(name, f));
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 784 HashMap<Integer, Object> map = 787 parseContentType(pduDataStream, map); 805 mStartParam = (byte[]) map.get(PduPart.P_START); 808 mTypeParam= (byte[]) map.get(PduPart.P_TYPE); 854 HashMap<Integer, Object> map = new HashMap<Integer, Object>(); 855 byte[] contentType = parseContentType(pduDataStream, map); 863 byte[] name = (byte[]) map.get(PduPart.P_NAME); 869 Integer charset = (Integer) map.get(PduPart.P_CHARSET); 1337 * @param map to store parameters of Content-Type field 1341 HashMap<Integer, Object> map, Intege 1340 parseContentTypeParams(ByteArrayInputStream pduDataStream, HashMap<Integer, Object> map, Integer length) argument 1523 parseContentType(ByteArrayInputStream pduDataStream, HashMap<Integer, Object> map) argument [all...] |
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 1356 using ::std::map; 1384 status_t Parcel::writeNullableMap(const std::unique_ptr<binder::Map>& map) argument 1386 if (map == NULL) { 1390 return writeMap(*map.get()); 1395 using ::std::map; 1443 status_t Parcel::readNullableMap(std::unique_ptr<binder::Map>* map) const 1448 map->reset(); 1455 map->reset(new binder::Map()); 1457 status = readMap(map->get()); 1460 map [all...] |
H A D | PersistableBundle.cpp | 36 using std::map; 49 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) { argument 50 const auto& it = map.find(key); 51 if (it == map.end()) return false; 57 set<android::String16> getKeys(const map<android::String16, T>& map) { argument 58 if (map.empty()) return set<android::String16>(); 60 for (const auto& key_value_pair : map) { 80 #define RETURN_IF_ENTRY_ERASED(map, ke [all...] |