Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DLayer.cpp170 dirtyRect.unionWith(r); in updateDeferred()
231 if (dirtyRect.isEmpty() || (dirtyRect.left <= 0 && dirtyRect.top <= 0 && in defer()
232 dirtyRect.right >= width && dirtyRect.bottom >= height)) { in defer()
233 dirtyRect.set(0, 0, width, height); in defer()
236 deferredList.reset(new DeferredDisplayList(dirtyRect)); in defer()
242 renderer->setupFrameState(dirtyRect.left, dirtyRect.top, in defer()
243 dirtyRect.right, dirtyRect.bottom, !isBlend()); in defer()
264 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, in flush()
267 deferredList->flush(*renderer, dirtyRect); in flush()
271 dirtyRect.setEmpty(); in flush()
[all …]
DLayer.h336 Rect dirtyRect; variable
/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()
174 if (dirtyRect) { in android_view_TextureView_lockCanvas()
175 INVOKEV(dirtyRect, gRectClassInfo.set, in android_view_TextureView_lockCanvas()
Dandroid_view_Surface.cpp295 Rect dirtyRect; in nativeLockCanvas() local
299 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); in nativeLockCanvas()
300 dirtyRect.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); in nativeLockCanvas()
301 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); in nativeLockCanvas()
302 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); in nativeLockCanvas()
303 dirtyRectPtr = &dirtyRect; in nativeLockCanvas()
337 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, in nativeLockCanvas()
338 dirtyRect.right, dirtyRect.bottom); in nativeLockCanvas()
342 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); in nativeLockCanvas()
343 env->SetIntField(dirtyRectObj, gRectClassInfo.top, dirtyRect.top); in nativeLockCanvas()
[all …]
Dandroid_view_GraphicBuffer.cpp151 jlong wrapperHandle, jobject canvas, jobject dirtyRect) { in android_view_GraphicBuffer_lockCanvas() argument
162 if (dirtyRect) { in android_view_GraphicBuffer_lockCanvas()
163 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); in android_view_GraphicBuffer_lockCanvas()
164 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); in android_view_GraphicBuffer_lockCanvas()
165 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); in android_view_GraphicBuffer_lockCanvas()
166 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); in android_view_GraphicBuffer_lockCanvas()
198 if (dirtyRect) { in android_view_GraphicBuffer_lockCanvas()
199 INVOKEV(dirtyRect, gRectClassInfo.set, in android_view_GraphicBuffer_lockCanvas()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp205 const Rect& dirtyRect = mDirtyRect; in upload() local
207 uint32_t x = mHasUnpackRowLength ? dirtyRect.left : 0; in upload()
208 uint32_t y = dirtyRect.top; in upload()
209 uint32_t width = mHasUnpackRowLength ? dirtyRect.getWidth() : getWidth(); in upload()
210 uint32_t height = dirtyRect.getHeight(); in upload()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java547 Rect dirtyRect = mTempRect1; in recomputeBoundsLocked() local
550 dirtyRect.set(mDrawBorderInset, mDrawBorderInset, in recomputeBoundsLocked()
552 mWindow.invalidate(dirtyRect); in recomputeBoundsLocked()
558 dirtyRegion.getBounds(dirtyRect); in recomputeBoundsLocked()
559 mWindow.invalidate(dirtyRect); in recomputeBoundsLocked()
736 public void invalidate(Rect dirtyRect) { in invalidate() argument
737 if (dirtyRect != null) { in invalidate()
738 mDirtyRect.set(dirtyRect); in invalidate()