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.java67 int displayId, IBinder stopLayer, Rect samplingArea) { in register() argument
73 nativeRegister(listener.mNativeListener, stopLayer, samplingArea.left, samplingArea.top, in register()
74 samplingArea.right, samplingArea.bottom); in register()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h72 void addListener(const Rect& samplingArea, const sp<IBinder>& stopLayerHandle,
DRegionSamplingThread.cpp201 void RegionSamplingThread::addListener(const Rect& samplingArea, const sp<IBinder>& stopLayerHandle, in addListener() argument
211 mDescriptors.emplace(wp<IBinder>(asBinder), Descriptor{samplingArea, stopLayer, listener}); in addListener()
DSurfaceFlinger.h468 status_t addRegionSamplingListener(const Rect& samplingArea, const sp<IBinder>& stopLayerHandle,
DSurfaceFlinger.cpp1299 status_t SurfaceFlinger::addRegionSamplingListener(const Rect& samplingArea, in addRegionSamplingListener() argument
1302 if (!listener || samplingArea == Rect::INVALID_RECT) { in addRegionSamplingListener()
1305 mRegionSamplingThread->addListener(samplingArea, stopLayerHandle, listener); in addRegionSamplingListener()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp803 virtual status_t addRegionSamplingListener(const Rect& samplingArea, in addRegionSamplingListener() argument
812 error = data.write(samplingArea); in addRegionSamplingListener()
1507 Rect samplingArea; in onTransact() local
1508 status_t result = data.read(samplingArea); in onTransact()
1525 return addRegionSamplingListener(samplingArea, stopLayerHandle, listener); in onTransact()
DSurfaceComposerClient.cpp1529 const Rect& samplingArea, const sp<IBinder>& stopLayerHandle, in addRegionSamplingListener() argument
1531 return ComposerService::getComposerService()->addRegionSamplingListener(samplingArea, in addRegionSamplingListener()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h376 virtual status_t addRegionSamplingListener(const Rect& samplingArea,
DSurfaceComposerClient.h499 static status_t addRegionSamplingListener(const Rect& samplingArea,