Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 39) sorted by relevance

12

/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DVideoDatabase.java87 HashMap<String, String> map = new HashMap<String, String>(); in buildColumnMap() local
88 map.put(KEY_NAME, KEY_NAME); in buildColumnMap()
89 map.put(KEY_DESCRIPTION, KEY_DESCRIPTION); in buildColumnMap()
90 map.put(KEY_ICON, KEY_ICON); in buildColumnMap()
91 map.put(KEY_DATA_TYPE, KEY_DATA_TYPE); in buildColumnMap()
92 map.put(KEY_IS_LIVE, KEY_IS_LIVE); in buildColumnMap()
93 map.put(KEY_VIDEO_WIDTH, KEY_VIDEO_WIDTH); in buildColumnMap()
94 map.put(KEY_VIDEO_HEIGHT, KEY_VIDEO_HEIGHT); in buildColumnMap()
95 map.put(KEY_AUDIO_CHANNEL_CONFIG, KEY_AUDIO_CHANNEL_CONFIG); in buildColumnMap()
96 map.put(KEY_PURCHASE_PRICE, KEY_PURCHASE_PRICE); in buildColumnMap()
[all …]
/developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DDeviceOwnerFragment.java318 HashMap<String, String> map = new HashMap<>(); in createData() local
319 map.put(KEY_PACKAGE_NAME, info.activityInfo.packageName); in createData()
320 map.put(KEY_ACTIVITY_NAME, info.activityInfo.name); in createData()
321 data.add(map); in createData()
328 HashMap<String, String> map = (HashMap<String, String>) getItem(position); in getComponentName() local
329 return new ComponentName(map.get(KEY_PACKAGE_NAME), map.get(KEY_ACTIVITY_NAME)); in getComponentName()
/developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DDeviceOwnerFragment.java318 HashMap<String, String> map = new HashMap<>(); in createData() local
319 map.put(KEY_PACKAGE_NAME, info.activityInfo.packageName); in createData()
320 map.put(KEY_ACTIVITY_NAME, info.activityInfo.name); in createData()
321 data.add(map); in createData()
328 HashMap<String, String> map = (HashMap<String, String>) getItem(position); in getComponentName() local
329 return new ComponentName(map.get(KEY_PACKAGE_NAME), map.get(KEY_ACTIVITY_NAME)); in getComponentName()
/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DProvisioningValuesLoader.java189 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing() argument
190 if (!map.containsKey(key)) { in putIfMissing()
191 map.put(key, value); in putIfMissing()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAutofillHints.java84 .map(fieldTypesByAutofillHint::get) in getFieldTypeNameFromAutofillHints()
88 .map(FieldTypeWithHeuristics::getFieldType).map(FieldType::getTypeName) in getFieldTypeNameFromAutofillHints()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAutofillHints.java84 .map(fieldTypesByAutofillHint::get) in getFieldTypeNameFromAutofillHints()
88 .map(FieldTypeWithHeuristics::getFieldType).map(FieldType::getTypeName) in getFieldTypeNameFromAutofillHints()
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DProvisioningValuesLoader.java189 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing() argument
190 if (!map.containsKey(key)) { in putIfMissing()
191 map.put(key, value); in putIfMissing()
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/main/
DMainViewModelTest.kt46 TestChatRepository(dummyContacts.map { contact -> in <lambda>()
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/data/
DTestChatRepository.kt34 value = chats.values.map { it.contact } in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DConverters.java38 List<Integer> ints = strings.stream().map(Integer::parseInt).collect(toList()); in storedStringToIntList()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DConverters.java38 List<Integer> ints = strings.stream().map(Integer::parseInt).collect(toList()); in storedStringToIntList()
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/chat/
DChatViewModelTest.kt47 repository = TestChatRepository(dummyContacts.map { contact -> in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
DCreditCardActivity.kt56 .map { Integer.toString(year + it) } in onCreate()
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
DCreditCardActivity.kt56 .map { Integer.toString(year + it) } in onCreate()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DLocalAutofillDataSource.java82 .map(FieldTypeWithHeuristics::getFieldType) in getAutofillDatasets()
83 .map(FieldType::getTypeName) in getAutofillDatasets()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DLocalAutofillDataSource.java82 .map(FieldTypeWithHeuristics::getFieldType) in getAutofillDatasets()
83 .map(FieldType::getTypeName) in getAutofillDatasets()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
DChatRepository.kt58 private val chats = Contact.CONTACTS.map { contact -> in contact()
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.java435 StreamConfigurationMap map = characteristics in openCamera() local
438 if (map == null) { in openCamera()
441 mVideoSize = chooseVideoSize(map.getOutputSizes(MediaRecorder.class)); in openCamera()
442 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in openCamera()
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.java435 StreamConfigurationMap map = characteristics in openCamera() local
438 if (map == null) { in openCamera()
441 mVideoSize = chooseVideoSize(map.getOutputSizes(MediaRecorder.class)); in openCamera()
442 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in openCamera()
/developers/samples/android/common/src/java/com/example/android/common/db/
DSelectionBuilder.java225 public SelectionBuilder map(String fromColumn, String toClause) { in map() method in SelectionBuilder
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/db/
DSelectionBuilder.java225 public SelectionBuilder map(String fromColumn, String toClause) { in map() method in SelectionBuilder
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.kt340 val map = characteristics.get(SCALER_STREAM_CONFIGURATION_MAP) ?: in openCamera() constant
343 videoSize = chooseVideoSize(map.getOutputSizes(MediaRecorder::class.java)) in openCamera()
344 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in openCamera()
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.kt340 val map = characteristics.get(SCALER_STREAM_CONFIGURATION_MAP) ?: in openCamera() constant
343 videoSize = chooseVideoSize(map.getOutputSizes(MediaRecorder::class.java)) in openCamera()
344 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in openCamera()
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java717 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs() local
722 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
726 Arrays.asList(map.getOutputSizes(ImageFormat.RAW_SENSOR)), in setUpCameraOutputs()
1046 StreamConfigurationMap map = mCharacteristics.get( in configureTransform() local
1050 Size largestJpeg = Collections.max(Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in configureTransform()
1086 Size previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in configureTransform()
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java717 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs() local
722 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
726 Arrays.asList(map.getOutputSizes(ImageFormat.RAW_SENSOR)), in setUpCameraOutputs()
1046 StreamConfigurationMap map = mCharacteristics.get( in configureTransform() local
1050 Size largestJpeg = Collections.max(Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in configureTransform()
1086 Size previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in configureTransform()

12