Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp523 GraphicView2MediaImageConverter converter(view, colorFormat, false /* copy */); in Allocate() local
524 if (converter.initCheck() != OK) { in Allocate()
525 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
529 sp<ABuffer> buffer = converter.wrap(); in Allocate()
531 buffer = alloc(converter.backBufferSize()); in Allocate()
532 if (!converter.setBackBuffer(buffer)) { in Allocate()
543 converter.imageData(), in Allocate()
640 GraphicView2MediaImageConverter converter(*view, colorFormat, false /* copy */); in Allocate() local
641 if (converter.initCheck() != OK) { in Allocate()
642 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
[all …]
/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.java1457 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
1458 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
1459 return converter.getInt(offset); in byteArrayToInt()
1468 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
1469 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
1470 converter.putInt(value); in intToByteArray()
1471 return converter.array(); in intToByteArray()
1486 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
1487 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
1488 return converter.getShort(offset); in byteArrayToShort()
[all …]
/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()
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()
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()
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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DObjectCounter.java114 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<K, T> converter) { in toProto() argument
119 output[i] = converter.convert(entry.getKey(), entry.getValue()); in toProto()
DIntCounter.java130 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() argument
135 output[i] = converter.convert(kc.key, kc.count); in toProto()
DIntHistogram.java277 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() argument
282 output[i] = converter.convert(bucket.start, bucket.end, bucket.count); in toProto()
/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.java356 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in parsePackage() argument
361 return converter.apply(new TestPackageParser2() in parsePackage()
433 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithComponents() argument
436 converter); in checkPackageWithComponents()
493 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithIntentFilters() argument
496 converter); in checkPackageWithIntentFilters()
/frameworks/ml/nn/tools/test_generator/
DREADME.md128 converter = DataTypeConverter(name="variation_name").Identify({
140 converter = DataLayoutConverter(target_data_layout, name="variation_name").Identify(
150 converter = AxisConverter(originalAxis, targetAxis, dimension, drop=[], name="variation_name").Iden…
155 …d output shape to [5, 2, 3, 4] and modify the axis parameter to 0. Such converter can be defined as
167 …. This is essentially doing `new_input = input[0,0,:,:]` in numpy. Such converter can be defined as
173 …ied at the same time, the converter will do transposition first and then remove the axis. For exam…
184 converter = RelaxedModeConverter(is_relaxed, name="variation_name")
192 converter = ActivationConverter(name="variation_name").Identify(
337 converter = DataTypeConverter().Identify({
/frameworks/native/headers/media_plugin/media/editor/
DII420ColorConverter.h120 void getI420ColorConverter(II420ColorConverter *converter);
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp630 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local
642 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
644 if (converter.isValid()) { in onOutputReceived()
645 converter.convert( in onOutputReceived()
866 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local
878 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
910 if (converter.isValid()) { in onOutputReceived()
911 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/base/core/jni/
Dandroid_os_VintfObject.cpp62 static void tryAddSchema(const std::shared_ptr<const T>& object, const XmlConverter<T>& converter, in tryAddSchema() argument
68 cStrings->push_back(converter(*object)); in tryAddSchema()
/frameworks/base/media/java/android/media/
DMediaDrm.java755 Function<T, Consumer<ListenerArgs>> converter) {
761 setGenericListener(what, executor, listener, converter);
767 Function<T, Consumer<ListenerArgs>> converter) {
772 setGenericListener(what, executor, listener, converter);
776 Function<T, Consumer<ListenerArgs>> converter) {
777 mListenerMap.put(what, new ListenerWithExecutor(executor, converter.apply(listener)));
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DAndroid.bp18 name: "libfwdlock-converter",
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
DAndroid.bp45 "libfwdlock-converter",

12