Home
last modified time | relevance | path

Searched refs:converter (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/animation/
DBidirectionalTypeConverter.java58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) { in InvertedConverter() argument
59 super(converter.getTargetType(), converter.getSourceType()); in InvertedConverter()
60 mConverter = converter; in InvertedConverter()
DPropertyValuesHolder.java219 PointFToIntArray converter = new PointFToIntArray(); in ofMultiInt() local
220 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); in ofMultiInt()
241 TypeConverter<V, int[]> converter, TypeEvaluator<V> evaluator, V... values) { in ofMultiInt() argument
242 return new MultiIntValuesHolder(propertyName, converter, evaluator, values); in ofMultiInt()
263 TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) { in ofMultiInt() argument
265 return new MultiIntValuesHolder(propertyName, converter, evaluator, keyframeSet); in ofMultiInt()
338 PointFToFloatArray converter = new PointFToFloatArray(); in ofMultiFloat() local
339 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); in ofMultiFloat()
359 TypeConverter<V, float[]> converter, TypeEvaluator<V> evaluator, V... values) { in ofMultiFloat() argument
360 return new MultiFloatValuesHolder(propertyName, converter, evaluator, values); in ofMultiFloat()
[all …]
DObjectAnimator.java380 TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) { in ofMultiInt() argument
381 PropertyValuesHolder pvh = PropertyValuesHolder.ofMultiInt(propertyName, converter, in ofMultiInt()
581 TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) { in ofMultiFloat() argument
582 PropertyValuesHolder pvh = PropertyValuesHolder.ofMultiFloat(propertyName, converter, in ofMultiFloat()
638 @Nullable TypeConverter<PointF, ?> converter, Path path) { in ofObject() argument
639 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(propertyName, converter, path); in ofObject()
702 TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) { in ofObject() argument
703 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(property, converter, evaluator, in ofObject()
729 @Nullable TypeConverter<PointF, V> converter, Path path) { in ofObject() argument
730 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(property, converter, path); in ofObject()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1474 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
1475 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
1476 return converter.getInt(offset); in byteArrayToInt()
1485 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
1486 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
1487 converter.putInt(value); in intToByteArray()
1488 return converter.array(); in intToByteArray()
1503 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
1504 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
1505 return converter.getShort(offset); in byteArrayToShort()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp622 GraphicView2MediaImageConverter converter(view, format, false /* copy */); in Allocate() local
623 if (converter.initCheck() != OK) { in Allocate()
624 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
628 sp<ABuffer> buffer = converter.wrap(); in Allocate()
630 buffer = alloc(converter.backBufferSize()); in Allocate()
631 if (!converter.setBackBuffer(buffer)) { in Allocate()
642 converter.imageData(), in Allocate()
753 GraphicView2MediaImageConverter converter(*view, format, false /* copy */); in Allocate() local
754 if (converter.initCheck() != OK) { in Allocate()
755 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
[all …]
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_record_buffer_converter_fuzzer.cpp144 RecordBufferConverter converter(srcChannelMask, srcFormat, srcSampleRate, in LLVMFuzzerTestOneInput() local
146 if (converter.initCheck() != NO_ERROR) { in LLVMFuzzerTestOneInput()
168 converter.reset(); in LLVMFuzzerTestOneInput()
171 converter.convert(dst, &provider, frames); in LLVMFuzzerTestOneInput()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp135 sp<H2BCameraDeviceCallbacks> converter = mConverter.promote(); in processResultMessage() local
136 if (converter == nullptr) { in processResultMessage()
148 converter->convertResultMetadataToHidl(rawMetadata, &hResult); in processResultMessage()
153 physicalCaptureResultInfos, converter->mCaptureResultMetadataQueue); in processResultMessage()
154 auto ret = converter->mBase->onResultReceived(hResult, hResultExtras, in processResultMessage()
DAidlCameraDeviceCallbacks.h106 CallbackHandler(H2BCameraDeviceCallbacks *converter) : mConverter(converter) { } in CallbackHandler()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java207 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
208 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
209 return converter.getInt(offset); in byteArrayToInt()
213 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
214 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
215 return converter.getShort(offset); in byteArrayToShort()
DPresetReverbTest.java236 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
237 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
238 return converter.getInt(offset); in byteArrayToInt()
242 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
243 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
244 return converter.getShort(offset); in byteArrayToShort()
DBassBoostTest.java210 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
211 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
212 return converter.getInt(offset); in byteArrayToInt()
216 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
217 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
218 return converter.getShort(offset); in byteArrayToShort()
DEqualizerTest.java342 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
343 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
344 return converter.getInt(offset); in byteArrayToInt()
348 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
349 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
350 return converter.getShort(offset); in byteArrayToShort()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java105 String action, PluginConverter<T, P> converter) { in withPlugin() argument
106 mExtension.addPlugin(action, cls, converter); in withPlugin()
208 public <P> void addPlugin(String action, Class<P> cls, PluginConverter<T, P> converter) { in addPlugin() argument
209 mProducers.add(new PluginItem(action, cls, converter)); in addPlugin()
228 public PluginItem(String action, Class<P> cls, PluginConverter<T, P> converter) { in PluginItem() argument
229 mConverter = converter; in PluginItem()
DExtensionController.java55 PluginConverter<T, P> converter); in withPlugin() argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1499 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
1500 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
1501 return converter.getInt(offset); in byteArrayToInt()
1506 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
1507 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
1508 converter.putInt(value); in intToByteArray()
1509 return converter.array(); in intToByteArray()
1517 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
1518 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
1519 return converter.getShort(offset); in byteArrayToShort()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java365 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in parsePackage() argument
370 return converter.apply(new TestPackageParser2() in parsePackage()
442 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithComponents() argument
445 converter); in checkPackageWithComponents()
502 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithIntentFilters() argument
505 converter); in checkPackageWithIntentFilters()
/frameworks/native/headers/media_plugin/media/editor/
DII420ColorConverter.h120 void getI420ColorConverter(II420ColorConverter *converter);
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DResultCodeToProtoConverter.java17 package com.android.server.appsearch.external.localstorage.converter;
DTypePropertyPathToProtoConverter.java17 package com.android.server.appsearch.external.localstorage.converter;
DSetSchemaResponseToProtoConverter.java17 package com.android.server.appsearch.external.localstorage.converter;
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp662 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local
674 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
676 if (converter.isValid()) { in onOutputReceived()
677 converter.convert( in onOutputReceived()
906 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local
918 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
950 if (converter.isValid()) { in onOutputReceived()
951 converter.convert( in onOutputReceived()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java231 PhoneAccountHandleConverter converter) { in setPhoneAccountHandleConverterForTest() argument
232 if (converter == null) { in setPhoneAccountHandleConverterForTest()
235 sPhoneAccountHandleConverter = converter; in setPhoneAccountHandleConverterForTest()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DAndroid.bp27 name: "libfwdlock-converter",
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
DAndroid.bp64 "libfwdlock-converter",
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeExtensionController.java64 … <P> ExtensionBuilder<T> withPlugin(Class<P> cls, String action, PluginConverter<T, P> converter) { in withPlugin() argument

12