Home
last modified time | relevance | path

Searched refs:dirtyRect (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp106 jlong nativeWindow, jobject canvasObj, jobject dirtyRect) { in android_view_TextureView_lockCanvas() argument
113 if (dirtyRect) { in android_view_TextureView_lockCanvas()
114 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); in android_view_TextureView_lockCanvas()
115 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); in android_view_TextureView_lockCanvas()
116 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); in android_view_TextureView_lockCanvas()
117 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); in android_view_TextureView_lockCanvas()
131 if (dirtyRect) { in android_view_TextureView_lockCanvas()
132 INVOKEV(dirtyRect, gRectClassInfo.set, in android_view_TextureView_lockCanvas()
Dandroid_graphics_GraphicBuffer.cpp137 jlong wrapperHandle, jobject canvasObj, jobject dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas() argument
148 if (dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas()
149 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); in android_graphics_GraphicBuffer_lockCanvas()
150 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); in android_graphics_GraphicBuffer_lockCanvas()
151 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); in android_graphics_GraphicBuffer_lockCanvas()
152 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); in android_graphics_GraphicBuffer_lockCanvas()
177 if (dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas()
178 INVOKEV(dirtyRect, gRectClassInfo.set, in android_graphics_GraphicBuffer_lockCanvas()
Dandroid_view_Surface.cpp209 Rect dirtyRect(Rect::EMPTY_RECT); in nativeLockCanvas() local
213 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); in nativeLockCanvas()
214 dirtyRect.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); in nativeLockCanvas()
215 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); in nativeLockCanvas()
216 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); in nativeLockCanvas()
217 dirtyRectPtr = &dirtyRect; in nativeLockCanvas()
233 canvas.clipRect({dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom}); in nativeLockCanvas()
237 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); in nativeLockCanvas()
238 env->SetIntField(dirtyRectObj, gRectClassInfo.top, dirtyRect.top); in nativeLockCanvas()
239 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right); in nativeLockCanvas()
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h73 bool presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd);
DVulkanSurface.cpp495 bool VulkanSurface::presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd) { in presentCurrentBuffer() argument
496 if (!dirtyRect.isEmpty()) { in presentCurrentBuffer()
504 dirtyRect.roundOut(&irect); in presentCurrentBuffer()
DVulkanManager.h95 void swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect,
DVulkanManager.cpp727 void VulkanManager::swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect, in swapBuffers() argument
734 surface->presentCurrentBuffer(dirtyRect, presentFence.release()); in swapBuffers()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java1169 final Rect dirtyRect = mTempRect1; in updateBorderDrawingStatus() local
1172 dirtyRect.set(mDrawBorderInset, mDrawBorderInset, in updateBorderDrawingStatus()
1175 mWindow.invalidate(dirtyRect); in updateBorderDrawingStatus()
1180 dirtyRegion.getBounds(dirtyRect); in updateBorderDrawingStatus()
1181 mWindow.invalidate(dirtyRect); in updateBorderDrawingStatus()
1374 void invalidate(Rect dirtyRect) { in invalidate() argument
1375 if (dirtyRect != null) { in invalidate()
1376 mDirtyRect.set(dirtyRect); in invalidate()