/frameworks/native/services/inputflinger/tests/ |
D | GestureConverter_test.cpp | 94 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() local 95 converter.setDisplayId(ui::LogicalDisplayId::DEFAULT); in TEST_F() 99 converter.handleGesture(ARBITRARY_TIME, READ_TIME, ARBITRARY_TIME, moveGesture); in TEST_F() 114 args = converter.handleGesture(ARBITRARY_TIME, READ_TIME, ARBITRARY_TIME, moveGesture); in TEST_F() 125 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() local 126 converter.setOrientation(ui::ROTATION_90); in TEST_F() 127 converter.setDisplayId(ui::LogicalDisplayId::DEFAULT); in TEST_F() 131 converter.handleGesture(ARBITRARY_TIME, READ_TIME, ARBITRARY_TIME, moveGesture); in TEST_F() 148 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() local 149 converter.setDisplayId(ui::LogicalDisplayId::DEFAULT); in TEST_F() [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 | 374 TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) { in ofMultiInt() argument 375 PropertyValuesHolder pvh = PropertyValuesHolder.ofMultiInt(propertyName, converter, in ofMultiInt() 575 TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) { in ofMultiFloat() argument 576 PropertyValuesHolder pvh = PropertyValuesHolder.ofMultiFloat(propertyName, converter, in ofMultiFloat() 632 @Nullable TypeConverter<PointF, ?> converter, Path path) { in ofObject() argument 633 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(propertyName, converter, path); in ofObject() 696 TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) { in ofObject() argument 697 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(property, converter, evaluator, in ofObject() 723 @Nullable TypeConverter<PointF, V> converter, Path path) { in ofObject() argument 724 PropertyValuesHolder pvh = PropertyValuesHolder.ofObject(property, converter, path); in ofObject()
|
/frameworks/base/core/java/android/content/res/ |
D | FontScaleConverterFactory.java | 195 FontScaleConverterImpl converter = new FontScaleConverterImpl( in forScale() local 202 put(fontScale, converter); in forScale() 205 return converter; in forScale() 216 FontScaleConverter converter = createInterpolatedTableBetween( in forScale() local 224 put(fontScale, converter); in forScale() 227 return converter; in forScale()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 1479 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local 1480 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt() 1481 return converter.getInt(offset); in byteArrayToInt() 1490 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local 1491 converter.order(ByteOrder.nativeOrder()); in intToByteArray() 1492 converter.putInt(value); in intToByteArray() 1493 return converter.array(); in intToByteArray() 1508 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local 1509 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort() 1510 return converter.getShort(offset); in byteArrayToShort() [all …]
|
/frameworks/av/media/libaudioprocessing/tests/fuzzer/ |
D | libaudioprocessing_record_buffer_converter_fuzzer.cpp | 144 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/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 | 216 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local 217 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt() 218 return converter.getInt(offset); in byteArrayToInt() 222 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local 223 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort() 224 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/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 709 GraphicView2MediaImageConverter converter(view, format, false /* copy */); in Allocate() local 710 if (converter.initCheck() != OK) { in Allocate() 711 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate() 715 sp<ABuffer> buffer = converter.wrap(); in Allocate() 717 buffer = alloc(converter.backBufferSize()); in Allocate() 718 if (!converter.setBackBuffer(buffer)) { in Allocate() 729 converter.imageData(), in Allocate() 843 GraphicView2MediaImageConverter converter(*view, format, false /* copy */); in Allocate() local 844 if (converter.initCheck() != OK) { in Allocate() 845 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate() [all …]
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraDeviceCallbacks.cpp | 136 sp<H2BCameraDeviceCallbacks> converter = mConverter.promote(); in processResultMessage() local 137 if (converter == nullptr) { in processResultMessage() 155 converter->convertResultMetadataToHidl(rawMetadata, &hResult); in processResultMessage() 160 physicalCaptureResultInfos, converter->mCaptureResultMetadataQueue); in processResultMessage() 161 auto ret = converter->mBase->onResultReceived(hResult, hResultExtras, in processResultMessage()
|
D | AidlCameraDeviceCallbacks.h | 106 CallbackHandler(H2BCameraDeviceCallbacks *converter, int vndkVersion) : in CallbackHandler() 107 mConverter(converter), mVndkVersion(vndkVersion) { } in CallbackHandler()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | AidlCameraDeviceCallbacks.cpp | 136 sp<AidlCameraDeviceCallbacks> converter = mConverter.promote(); in processResultMessage() local 137 if (converter == nullptr) { in processResultMessage() 154 converter->convertResultMetadataToAidl(rawMetadata, &captureMetadataInfo); in processResultMessage() 159 convertToAidl(physicalCaptureResultInfos, converter->mCaptureResultMetadataQueue); in processResultMessage() 160 auto ret = converter->mBase->onResultReceived(captureMetadataInfo, in processResultMessage()
|
D | AidlCameraDeviceCallbacks.h | 107 CallbackHandler(AidlCameraDeviceCallbacks *converter, int vndkVersion) : in CallbackHandler() 108 mConverter(converter), mVndkVersion(vndkVersion) { } in CallbackHandler()
|
/frameworks/av/media/libstagefright/colorconversion/fuzzer/ |
D | color_conversion_fuzzer.cpp | 90 std::unique_ptr<ColorConverter> converter(new ColorConverter(srcColorFormat, dstColorFormat)); in process() local 91 if (converter->isValid()) { in process() 112 converter->convert(srcFrame.data(), width, height, stride, srcLeft, srcTop, srcRight, in process()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 106 String action, PluginConverter<T, P> converter) { in withPlugin() argument 107 mExtension.addPlugin(action, cls, converter); in withPlugin() 209 public <P> void addPlugin(String action, Class<P> cls, PluginConverter<T, P> converter) { in addPlugin() argument 210 mProducers.add(new PluginItem(action, cls, converter)); in addPlugin() 229 public PluginItem(String action, Class<P> cls, PluginConverter<T, P> converter) { in PluginItem() argument 230 mConverter = converter; in PluginItem()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 1497 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local 1498 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt() 1499 return converter.getInt(offset); in byteArrayToInt() 1504 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local 1505 converter.order(ByteOrder.nativeOrder()); in intToByteArray() 1506 converter.putInt(value); in intToByteArray() 1507 return converter.array(); in intToByteArray() 1515 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local 1516 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort() 1517 return converter.getShort(offset); in byteArrayToShort() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | Hal2AidlMapper.h | 66 status_t getAudioPorts(OutputContainer* ports, Func converter) { in getAudioPorts() argument 68 [&converter](const auto& pair) { return converter(pair.second); }); in getAudioPorts() 71 status_t getAudioRoutes(OutputContainer* routes, Func converter) { in getAudioRoutes() argument 72 return ::aidl::android::convertContainer(mRoutes, routes, converter); in getAudioRoutes()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 416 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in parsePackage() argument 421 return converter.apply(new TestPackageParser2() in parsePackage() 493 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithComponents() argument 496 converter); in checkPackageWithComponents() 553 Function<ParsedPackage, ParsedPackage> converter) throws Exception { in checkPackageWithIntentFilters() argument 556 converter); in checkPackageWithIntentFilters()
|
/frameworks/native/headers/media_plugin/media/editor/ |
D | II420ColorConverter.h | 120 void getI420ColorConverter(II420ColorConverter *converter);
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 715 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local 732 converter.setSrcMediaImage2(*imageData); in onOutputReceived() 738 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived() 739 if (converter.isValid()) { in onOutputReceived() 741 converter.convert( in onOutputReceived() 999 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() local 1016 converter.setSrcMediaImage2(*imageData); in onOutputReceived() 1022 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived() 1059 if (converter.isValid()) { in onOutputReceived() 1060 converter.convert( in onOutputReceived()
|
/frameworks/av/media/audio/aconfig/ |
D | aaudio.aconfig | 11 description: "Enable the AAudio sample rate converter."
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VisualVoicemailSmsFilter.java | 244 PhoneAccountHandleConverter converter) { in setPhoneAccountHandleConverterForTest() argument 245 if (converter == null) { in setPhoneAccountHandleConverterForTest() 248 sPhoneAccountHandleConverter = converter; in setPhoneAccountHandleConverterForTest()
|