Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp137 jlong nativeWindow, jobject canvas, jobject dirtyRect) { in android_view_TextureView_lockCanvas() argument
146 if (dirtyRect) { in android_view_TextureView_lockCanvas()
147 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); in android_view_TextureView_lockCanvas()
148 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); in android_view_TextureView_lockCanvas()
149 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); in android_view_TextureView_lockCanvas()
150 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); in android_view_TextureView_lockCanvas()
175 if (dirtyRect) { in android_view_TextureView_lockCanvas()
176 INVOKEV(dirtyRect, gRectClassInfo.set, in android_view_TextureView_lockCanvas()
Dandroid_view_Surface.cpp237 Rect dirtyRect(Rect::EMPTY_RECT); in nativeLockCanvas() local
241 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); in nativeLockCanvas()
242 dirtyRect.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); in nativeLockCanvas()
243 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); in nativeLockCanvas()
244 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); in nativeLockCanvas()
245 dirtyRectPtr = &dirtyRect; in nativeLockCanvas()
277 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, in nativeLockCanvas()
278 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect); in nativeLockCanvas()
282 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); in nativeLockCanvas()
283 env->SetIntField(dirtyRectObj, gRectClassInfo.top, dirtyRect.top); in nativeLockCanvas()
[all …]
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp165 jlong wrapperHandle, jobject canvas, jobject dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas() argument
176 if (dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas()
177 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); in android_graphics_GraphicBuffer_lockCanvas()
178 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); in android_graphics_GraphicBuffer_lockCanvas()
179 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); in android_graphics_GraphicBuffer_lockCanvas()
180 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); in android_graphics_GraphicBuffer_lockCanvas()
213 if (dirtyRect) { in android_graphics_GraphicBuffer_lockCanvas()
214 INVOKEV(dirtyRect, gRectClassInfo.set, in android_graphics_GraphicBuffer_lockCanvas()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java643 final Rect dirtyRect = mTempRect1; in recomputeBoundsLocked() local
646 dirtyRect.set(mDrawBorderInset, mDrawBorderInset, in recomputeBoundsLocked()
649 mWindow.invalidate(dirtyRect); in recomputeBoundsLocked()
655 dirtyRegion.getBounds(dirtyRect); in recomputeBoundsLocked()
656 mWindow.invalidate(dirtyRect); in recomputeBoundsLocked()
856 public void invalidate(Rect dirtyRect) { in invalidate() argument
857 if (dirtyRect != null) { in invalidate()
858 mDirtyRect.set(dirtyRect); in invalidate()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h68 bool presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd);
DVulkanSurface.cpp521 bool VulkanSurface::presentCurrentBuffer(const SkRect& dirtyRect, int semaphoreFd) { in presentCurrentBuffer() argument
522 if (!dirtyRect.isEmpty()) { in presentCurrentBuffer()
530 dirtyRect.roundOut(&irect); in presentCurrentBuffer()
DVulkanManager.h67 void swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect);
DVulkanManager.cpp495 void VulkanManager::swapBuffers(VulkanSurface* surface, const SkRect& dirtyRect) { in swapBuffers() argument
544 surface->presentCurrentBuffer(dirtyRect, fenceFd); in swapBuffers()