/frameworks/base/libs/hwui/tests/unit/ |
H A D | DamageAccumulatorTests.cpp | 29 // Test that push & pop are propegating the dirty rect 30 // There is no transformation of the dirty rect, the input is the same 36 da.dirty(50, 50, 100, 100); 58 da.dirty(50, 50, 100, 100); 66 // Test that dirty rectangles are being unioned across "siblings 73 da.dirty(50, 50, 100, 100); 76 da.dirty(150, 50, 200, 125); 95 da.dirty(0, 0, 25, 25); 99 SkRect dirty; local 100 da.finish(&dirty); 126 SkRect dirty; local [all...] |
H A D | SkiaPipelineTests.cpp | 45 SkRect dirty = SkRect::MakeLargest(); local 54 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, false, contentDrawBounds, 66 SkRect dirty = SkRect::MakeLargest(); local 79 // pipeline should clean list of dirty vector drawables before prepare tree 87 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, false, contentDrawBounds, 101 SkRect dirty = SkRect::MakeLargest(); local 109 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, false, contentDrawBounds, 113 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, false, contentDrawBounds, 125 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); local 133 pipeline->renderFrame(layerUpdateQueue, dirty, renderNode 164 SkRect dirty = SkRect::MakeLargest(); local 192 SkRect dirty = SkRect::MakeXYWH(0, 0, 1, 1); local 319 SkRect dirty = SkRect::MakeWH(800, 600); local 349 SkRect dirty = SkRect::MakeLTRB(10, 20, 30, 40); local 379 SkRect dirty = SkRect::MakeLTRB(10, 10, 40, 40); local [all...] |
H A D | BakedOpRendererTests.cpp | 32 layer.dirty(Rect(200, 200)); 39 layer.dirty(Rect(200, 200)); 49 // right side is now only dirty portion
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | ViewOverlayApi14.java | 290 public void invalidateChildFast(View child, final Rect dirty) { argument 293 // using DisplayList properties and a dirty rect instead of causing a real 301 // child.transformRect(dirty); 303 dirty.offset(left + offset[0], top + offset[1]); 304 mHostView.invalidate(dirty); 312 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 317 sInvalidateChildInParentFastMethod.invoke(mHostView, left, top, dirty); 329 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument 331 dirty.offset(location[0], location[1]); 337 dirty [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 162 public Canvas lockCanvas(Rect dirty) { argument 163 return internalLockCanvas(dirty, false); 171 private final Canvas internalLockCanvas(Rect dirty, boolean hardware) { argument 182 if (dirty == null) { 187 dirty = mTmpDirty; 194 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/libs/hwui/ |
H A D | LayerUpdateQueue.h | 44 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
|
H A D | DamageAccumulator.h | 47 // to any dirty() calls. Subsequent calls to dirty() 52 // Pops a transform node from the stack, propagating the dirty rect 56 void dirty(float left, float top, float right, float bottom); 58 // Returns the current dirty area, *NOT* transformed by pushed transforms
|
H A D | FrameInfoVisualizer.cpp | 84 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument 86 // Not worth worrying about minimizing the dirty region for debugging, so just 87 // dirty the entire viewport. 88 if (dirty) { 89 mDirtyRegion = *dirty; 90 dirty->setEmpty();
|
H A D | FrameInfoVisualizer.h | 48 void unionDirty(SkRect* dirty);
|
H A D | AnimatorManager.cpp | 131 uint32_t dirty = animateCommon(info); local 136 return dirty;
|
H A D | VectorDrawable.cpp | 299 // Copy over the dirty staging properties 456 if (redrawNeeded || mStagingCache.dirty) { 458 mStagingCache.dirty = false; 490 if (redrawNeeded || mCache.dirty) { 492 mCache.dirty = false; 516 if (!canReuseSurface || mCache.dirty) { 523 mCache.dirty = false; 565 // We render the VD into a temporary standalone buffer and mark the frame as dirty. Next 618 mStagingCache.dirty = true; 620 mCache.dirty [all...] |
H A D | VectorDrawable.h | 88 * staging properties will then be marked dirty and will be pushed over to render thread properties 89 * at sync point. If staging properties are not dirty at sync point, we sync backwards by updating 96 PropertyChangedListener(bool* dirty, bool* stagingDirty) argument 97 : mDirty(dirty), mStagingDirty(stagingDirty) {} 519 mCache.dirty |= (mProperties.mNonAnimatableProperties.viewportWidth != 638 void markDirty() { mCache.dirty = true; } 639 bool isDirty() const { return mCache.dirty; } 662 bool dirty = true; member in class:android::uirenderer::VectorDrawable::Tree::Cache 713 PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewOverlay.java | 275 public void invalidate(Rect dirty) { argument 276 super.invalidate(dirty); 278 mHostView.invalidate(dirty); 339 // propagate the calls to update display lists if dirty 350 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument 352 dirty.offset(location[0], location[1]); 356 super.invalidateChildInParent(location, dirty); 357 return ((ViewGroup) mHostView).invalidateChildInParent(location, dirty); 359 invalidate(dirty);
|
H A D | SurfaceHolder.java | 230 * must be written. The only exception to this rule is when a dirty 231 * rectangle is specified, in which case, non-dirty pixels will be 253 * Just like {@link #lockCanvas()} but allows specification of a dirty rectangle. 256 * the dirty rectangle will be preserved by the next call to lockCanvas(). 260 * @param dirty Area of the Surface that will be modified. 263 public Canvas lockCanvas(Rect dirty); argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 440 SkRect dirty; local 441 mDamageAccumulator.finish(&dirty); 444 // if (dirty.isEmpty() && Properties::skipEmptyFrames) { 453 SkRect windowDirty = computeDirtyRect(frame, &dirty); 455 bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, 598 // Tickle the GENERIC property on node to mark it as dirty for damaging 748 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { argument 751 dirty->setEmpty(); 756 dirty->setEmpty(); 758 if (!dirty [all...] |
H A D | EglManager.h | 51 void damageFrame(const Frame& frame, const SkRect& dirty);
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 186 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 241 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 247 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 253 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 263 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 274 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { 378 uint32_t dirty; local 391 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 393 dirty = DIRTY_BITMAP; 397 dirty 452 invalidateLocked(uint32_t dirty) argument [all...] |
H A D | SpriteController.h | 182 dirty(0), visible(false), 187 uint32_t dirty; member in struct:android::SpriteController::SpriteState 234 mLocked.state.dirty = 0; 253 void invalidateLocked(uint32_t dirty);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | GraphicBuffer.java | 158 * Just like {@link #lockCanvas()} but allows specification of a dirty 164 * @param dirty Area of the buffer that may be modified. 172 public Canvas lockCanvas(Rect dirty) { argument 181 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { 300 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | EmulatorDisplayOverlay.java | 83 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y); 86 c = mSurface.lockCanvas(dirty);
|
H A D | StrictModeFlash.java | 70 Rect dirty = new Rect(0, 0, dw, dh); 73 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLPipeline.h | 35 bool draw(const renderthread::Frame& frame, const SkRect& screenDirty, const SkRect& dirty,
|
H A D | SkiaVulkanPipeline.h | 33 bool draw(const renderthread::Frame& frame, const SkRect& screenDirty, const SkRect& dirty,
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 111 public Canvas lockCanvas(Rect dirty) {
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 74 c->transforms.dirty = transform_state_t::VIEWPORT | 119 int dirty = c->transforms.dirty & want; local 122 if (dirty & transform_state_t::MODELVIEW) { 127 if (dirty & transform_state_t::PROJECTION) { 132 if (dirty & transform_state_t::VIEWPORT) { 139 if (dirty & transform_state_t::MVP) { 146 if (dirty & transform_state_t::MVUI) { 152 if (dirty & transform_state_t::TEXTURE) { 158 if (dirty [all...] |