Home
last modified time | relevance | path

Searched refs:mapper (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1135 FakeInputMapper* mapper = new FakeInputMapper(device, sources); in addDeviceWithFakeInputMapper() local
1136 device->addMapper(mapper); in addDeviceWithFakeInputMapper()
1139 return mapper; in addDeviceWithFakeInputMapper()
1174 FakeInputMapper* mapper = new FakeInputMapper(device, AINPUT_SOURCE_KEYBOARD); in TEST_F() local
1175 device->addMapper(mapper); in TEST_F()
1210 FakeInputMapper* mapper = NULL; in TEST_F() local
1211 ASSERT_NO_FATAL_FAILURE(mapper = addDeviceWithFakeInputMapper(1, 0, String8("fake"), in TEST_F()
1213 mapper->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
1237 FakeInputMapper* mapper = NULL; in TEST_F() local
1238 ASSERT_NO_FATAL_FAILURE(mapper = addDeviceWithFakeInputMapper(1, 0, String8("fake"), in TEST_F()
[all …]
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardClassSpecParser.kt27 class ProGuardClassSpecParser(private val mapper: ProGuardTypesMapper) { in <lambda>() constant in com.android.tools.build.jetifier.processor.transform.proguard.ProGuardClassSpecParser
57 { annotation: String -> mapper.replaceType(annotation) }, in <lambda>()
58 { className: String -> mapper.replaceType(className) }, in <lambda>()
59 { className2: String -> mapper.replaceType(className2) }, in <lambda>()
70 { annotation: String -> mapper.replaceType(annotation) } in <lambda>()
78 { annotation: String -> mapper.replaceType(annotation) }, in <lambda>()
79 { fieldType: String -> mapper.replaceType(fieldType) } in <lambda>()
87 { annotation: String -> mapper.replaceType(annotation) } in <lambda>()
95 { annotation: String -> mapper.replaceType(annotation) }, in <lambda>()
96 { className: String -> mapper.replaceType(className) }, in <lambda>()
[all …]
DProGuardTransformer.kt30 private val mapper = ProGuardTypesMapper( constant
35 ProGuardClassSpecParser(mapper).replacer,
36 ProGuardClassFilterParser(mapper).replacer
DProGuardClassFilterParser.kt27 class ProGuardClassFilterParser(private val mapper: ProGuardTypesMapper) { in <lambda>() constant in com.android.tools.build.jetifier.processor.transform.proguard.ProGuardClassFilterParser
59 return mapper.replaceType(type) in <lambda>()
63 return mapper.replaceType(withoutNegation) in <lambda>()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/
DDataBindingMapperTest.java24 android.databinding.DataBinderMapper mapper = new android.databinding.DataBinderMapper(); in testNotDataBindingId() local
25 ViewDataBinding binding = mapper.getDataBinder(null, view, 1); in testNotDataBindingId()
31 android.databinding.DataBinderMapper mapper = new android.databinding.DataBinderMapper(); in testInvalidView() local
34 mapper.getDataBinder(null, view, android.databinding.testapp.R.layout.multi_res_layout); in testInvalidView()
/frameworks/native/libs/ui/include_vndk/ui/
DGralloc2.h35 using hardware::graphics::mapper::V2_1::IMapper;
36 using hardware::graphics::mapper::V2_0::BufferDescriptor;
37 using hardware::graphics::mapper::V2_0::Error;
38 using hardware::graphics::mapper::V2_0::YCbCrLayout;
88 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper;
97 Allocator(const Mapper& mapper);
/frameworks/native/libs/ui/include/ui/
DGralloc2.h35 using hardware::graphics::mapper::V2_1::IMapper;
36 using hardware::graphics::mapper::V2_0::BufferDescriptor;
37 using hardware::graphics::mapper::V2_0::Error;
38 using hardware::graphics::mapper::V2_0::YCbCrLayout;
88 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper;
97 Allocator(const Mapper& mapper);
/frameworks/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/
DConfigGenerator.kt55 val mapper = LibraryMapGenerator(config) in <lambda>() constant
60 mapper.scanLibrary(library) in <lambda>()
64 mapper.scanLibrary(library) in <lambda>()
68 val map = mapper.generateMap().mergeWith(config.typesMap) in <lambda>()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DCursorObjectAdapter.java105 public final void setMapper(CursorMapper mapper) { in setMapper() argument
106 boolean changed = mMapper != mapper; in setMapper()
107 mMapper = mapper; in setMapper()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTester.kt112 val mapper = ProGuardTypesMapper(context) in getsRewrittenTo() constant
113 val result = mapper.replaceType(given) in getsRewrittenTo()
124 val mapper = ProGuardTypesMapper(context) in getRewrittenTo() constant
125 val result = mapper.replaceMethodArgs(given) in getRewrittenTo()
/frameworks/native/libs/ui/
DGralloc2.cpp68 android::hardware::preloadPassthroughService<hardware::graphics::mapper::V2_0::IMapper>(); in preload()
73 mMapper = hardware::graphics::mapper::V2_0::IMapper::getService(); in Mapper()
123 const hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo info = { in createDescriptor()
316 Allocator::Allocator(const Mapper& mapper) in Allocator() argument
317 : mMapper(mapper) in Allocator()
DAndroid.bp77 "android.hardware.graphics.mapper@2.0",
78 "android.hardware.graphics.mapper@2.1",
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DAndroid.bp14 "android.hardware.graphics.mapper@2.0",
/frameworks/base/libs/hwui/
DPatch.h43 const UvMapper& mapper, const Res_png_9patch* patch);
DPatch.cpp39 const UvMapper& mapper, const Res_png_9patch* patch) in Patch() argument
106 mUvMapper = mapper; in Patch()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp593 auto& mapper = GraphicBufferMapper::get(); in extractGraphicBuffer() local
599 res = mapper.lockYCbCr( in extractGraphicBuffer()
604 res = mapper.lock( in extractGraphicBuffer()
650 if (mapper.unlock(handle) != OK) { in extractGraphicBuffer()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp265 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in render() local
270 CHECK_EQ(0, mapper.lock(buf->handle, in render()
437 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
/frameworks/base/tools/obbtool/
Dmkobb.sh235 loop_dev=/dev/mapper/${unique_dm_name}
/frameworks/native/services/vr/hardware_composer/
DAndroid.bp17 "android.hardware.graphics.mapper@2.0",
/frameworks/av/media/libstagefright/
DAndroid.bp176 "android.hardware.graphics.mapper@2.0",
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java195 SensorManager sensorManager, BrightnessMappingStrategy mapper, in AutomaticBrightnessController() argument
202 mBrightnessMapper = mapper; in AutomaticBrightnessController()
/frameworks/native/opengl/libagl/
Dtexture.cpp135 auto& mapper = GraphicBufferMapper::get(); in ogles_lock_textures() local
137 mapper.lock(native_buffer->handle, GRALLOC_USAGE_SW_READ_OFTEN, in ogles_lock_textures()
157 auto& mapper = GraphicBufferMapper::get(); in ogles_unlock_textures() local
158 mapper.unlock(native_buffer->handle); in ogles_unlock_textures()
Degl.cpp460 auto& mapper = GraphicBufferMapper::get(); in lock() local
461 return mapper.lock(buf->handle, usage, in lock()
468 auto& mapper = GraphicBufferMapper::get(); in unlock() local
469 return mapper.unlock(buf->handle); in unlock()
/frameworks/base/core/java/android/view/
DViewDebug.java1198 final IntToString mapper = mapping[j];
1199 if (mapper.from() == intValue) {
1200 methodValue = mapper.to();
/frameworks/native/services/inputflinger/
DInputReader.h572 void addMapper(InputMapper* mapper);

12