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_view_Surface.cpp201 Rect dirtyRect(Rect::EMPTY_RECT); in nativeLockCanvas() local
205 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); in nativeLockCanvas()
206 dirtyRect.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); in nativeLockCanvas()
207 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); in nativeLockCanvas()
208 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); in nativeLockCanvas()
209 dirtyRectPtr = &dirtyRect; in nativeLockCanvas()
225 canvas.clipRect({dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom}); in nativeLockCanvas()
229 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); in nativeLockCanvas()
230 env->SetIntField(dirtyRectObj, gRectClassInfo.top, dirtyRect.top); in nativeLockCanvas()
231 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right); in nativeLockCanvas()
[all …]
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()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h71 bool presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd);
DVulkanSurface.cpp465 bool VulkanSurface::presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd) { in presentCurrentBuffer() argument
466 if (!dirtyRect.isEmpty()) { in presentCurrentBuffer()
474 dirtyRect.roundOut(&irect); in presentCurrentBuffer()
DVulkanManager.h90 void swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect);
DVulkanManager.cpp566 void VulkanManager::swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect) { in swapBuffers() argument
592 surface->presentCurrentBuffer(dirtyRect, fenceFd); in swapBuffers()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java998 final Rect dirtyRect = mTempRect1; in recomputeBounds() local
1001 dirtyRect.set(mDrawBorderInset, mDrawBorderInset, in recomputeBounds()
1004 mWindow.invalidate(dirtyRect); in recomputeBounds()
1009 dirtyRegion.getBounds(dirtyRect); in recomputeBounds()
1010 mWindow.invalidate(dirtyRect); in recomputeBounds()
1218 void invalidate(Rect dirtyRect) { in invalidate() argument
1219 if (dirtyRect != null) { in invalidate()
1220 mDirtyRect.set(dirtyRect); in invalidate()