Home
last modified time | relevance | path

Searched refs:samplingArea (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp38 Button(const char* name, const Rect& samplingArea) { in Button() argument
44 const int32_t width = samplingArea.getWidth(); in Button()
45 const int32_t height = samplingArea.getHeight(); in Button()
51 .setPosition(mButton, samplingArea.left + BUTTON_PADDING, in Button()
52 samplingArea.top + BUTTON_PADDING) in Button()
65 .setPosition(mButtonBlend, samplingArea.left + SAMPLE_AREA_PADDING, in Button()
66 samplingArea.top + SAMPLE_AREA_PADDING) in Button()
/frameworks/base/core/java/android/view/
DCompositionSamplingListener.java66 int displayId, SurfaceControl stopLayer, Rect samplingArea) { in register() argument
73 nativeRegister(listener.mNativeListener, nativeStopLayerObject, samplingArea.left, in register()
74 samplingArea.top, samplingArea.right, samplingArea.bottom); in register()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h72 void addListener(const Rect& samplingArea, const wp<Layer>& stopLayer,
DRegionSamplingThread.cpp202 void RegionSamplingThread::addListener(const Rect& samplingArea, const wp<Layer>& stopLayer, in addListener() argument
207 mDescriptors.emplace(wp<IBinder>(asBinder), Descriptor{samplingArea, stopLayer, listener}); in addListener()
DSurfaceFlinger.h485 status_t addRegionSamplingListener(const Rect& samplingArea, const sp<IBinder>& stopLayerHandle,
DSurfaceFlinger.cpp1478 status_t SurfaceFlinger::addRegionSamplingListener(const Rect& samplingArea, in addRegionSamplingListener() argument
1481 if (!listener || samplingArea == Rect::INVALID_RECT) { in addRegionSamplingListener()
1486 mRegionSamplingThread->addListener(samplingArea, stopLayer, listener); in addRegionSamplingListener()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h428 virtual status_t addRegionSamplingListener(const Rect& samplingArea,
DSurfaceComposerClient.h578 static status_t addRegionSamplingListener(const Rect& samplingArea,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp881 virtual status_t addRegionSamplingListener(const Rect& samplingArea, in addRegionSamplingListener() argument
890 error = data.write(samplingArea); in addRegionSamplingListener()
1830 Rect samplingArea; in onTransact() local
1831 status_t result = data.read(samplingArea); in onTransact()
1848 return addRegionSamplingListener(samplingArea, stopLayerHandle, listener); in onTransact()
DSurfaceComposerClient.cpp1873 const Rect& samplingArea, const sp<IBinder>& stopLayerHandle, in addRegionSamplingListener() argument
1875 return ComposerService::getComposerService()->addRegionSamplingListener(samplingArea, in addRegionSamplingListener()