/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 511 GraphicView2MediaImageConverter converter(view, colorFormat, false /* copy */); in Allocate() local 512 if (converter.initCheck() != OK) { in Allocate() 513 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate() 517 sp<ABuffer> buffer = converter.wrap(); in Allocate() 519 buffer = alloc(converter.backBufferSize()); in Allocate() 520 if (!converter.setBackBuffer(buffer)) { in Allocate() 531 converter.imageData(), in Allocate() 628 GraphicView2MediaImageConverter converter(*view, colorFormat, false /* copy */); in Allocate() local 629 if (converter.initCheck() != OK) { in Allocate() 630 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 1420 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local 1421 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt() 1422 return converter.getInt(offset); in byteArrayToInt() 1431 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local 1432 converter.order(ByteOrder.nativeOrder()); in intToByteArray() 1433 converter.putInt(value); in intToByteArray() 1434 return converter.array(); in intToByteArray() 1449 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local 1450 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort() 1451 return converter.getShort(offset); in byteArrayToShort() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | BidirectionalTypeConverter.java | 58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) { in InvertedConverter() argument 59 super(converter.getTargetType(), converter.getSourceType()); in InvertedConverter() 60 mConverter = converter; in InvertedConverter()
|
D | PropertyValuesHolder.java | 219 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 …]
|
D | ObjectAnimator.java | 380 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/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraDeviceCallbacks.cpp | 135 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()
|
D | AidlCameraDeviceCallbacks.h | 106 CallbackHandler(H2BCameraDeviceCallbacks *converter) : mConverter(converter) { } in CallbackHandler()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 207 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()
|
D | PresetReverbTest.java | 236 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()
|
D | BassBoostTest.java | 210 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()
|
D | EqualizerTest.java | 342 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/ |
D | ExtensionControllerImpl.java | 105 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()
|
D | ExtensionController.java | 55 PluginConverter<T, P> converter); in withPlugin() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ObjectCounter.java | 114 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()
|
D | IntCounter.java | 130 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() argument 135 output[i] = converter.convert(kc.key, kc.count); in toProto()
|
D | IntHistogram.java | 236 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() argument 241 output[i] = converter.convert(bucket.start, bucket.end, bucket.count); in toProto()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 1499 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/av/media/libstagefright/ |
D | FrameDecoder.cpp | 531 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local 543 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived() 545 if (converter.isValid()) { in onOutputReceived() 546 converter.convert( in onOutputReceived() 714 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local 726 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived() 758 if (converter.isValid()) { in onOutputReceived() 759 converter.convert( in onOutputReceived()
|
/frameworks/ml/nn/tools/test_generator/ |
D | README.md | 128 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( 332 converter = DataTypeConverter().Identify({
|
/frameworks/native/headers/media_plugin/media/editor/ |
D | II420ColorConverter.h | 120 void getI420ColorConverter(II420ColorConverter *converter);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VisualVoicemailSmsFilter.java | 231 PhoneAccountHandleConverter converter) { in setPhoneAccountHandleConverterForTest() argument 232 if (converter == null) { in setPhoneAccountHandleConverterForTest() 235 sPhoneAccountHandleConverter = converter; in setPhoneAccountHandleConverterForTest()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserTest.java | 338 Function<Package, Package> converter) throws Exception { in parsePackage() argument 343 return converter.apply(new PackageParser().parsePackage(outFile, 0 /* flags */)); in parsePackage() 419 Function<Package, Package> converter) throws Exception { in checkPackageWithComponents() argument 422 converter); in checkPackageWithComponents()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 720 Function<T, Consumer<ListenerArgs>> converter) { 726 setGenericListener(what, executor, listener, converter); 732 Function<T, Consumer<ListenerArgs>> converter) { 737 setGenericListener(what, executor, listener, converter); 741 Function<T, Consumer<ListenerArgs>> converter) { 742 mListenerMap.put(what, new ListenerWithExecutor(executor, converter.apply(listener)));
|
/frameworks/base/core/jni/ |
D | android_os_VintfObject.cpp | 62 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/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | Android.bp | 18 name: "libfwdlock-converter",
|