/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 | BakedOpRendererTests.cpp | 30 layer.dirty(Rect(200, 200)); 37 layer.dirty(Rect(200, 200)); 47 // right side is now only dirty portion
|
H A D | SkiaPipelineTests.cpp | 45 SkRect dirty = SkRect::MakeLargest(); local 54 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface); 67 SkRect dirty = SkRect::MakeLargest(); local 75 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface); 78 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, contentDrawBounds, surface); 89 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); local 97 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface); 115 //make the layer's dirty area one half of the layer and verify only the dirty half is updated. 127 SkRect dirty local 155 SkRect dirty = SkRect::MakeXYWH(0, 0, 1, 1); local 278 SkRect dirty = SkRect::MakeWH(800, 600); local 308 SkRect dirty = SkRect::MakeLTRB(10, 20, 30, 40); local 339 SkRect dirty = SkRect::MakeLTRB(10, 10, 40, 40); local [all...] |
H A D | OffscreenBufferPoolTests.cpp | 54 RENDERTHREAD_OPENGL_PIPELINE_TEST(OffscreenBuffer, dirty) { 56 buffer.dirty(Rect(-100, -100, 100, 100)); 95 layer->dirty(Rect(64, 64)); 107 layer2->dirty(Rect(128, 128));
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewOverlayApi14.java | 291 public void invalidateChildFast(View child, final Rect dirty) { argument 294 // using DisplayList properties and a dirty rect instead of causing a real 302 // child.transformRect(dirty); 304 dirty.offset(left + offset[0], top + offset[1]); 305 mHostView.invalidate(dirty); 313 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 318 sInvalidateChildInParentFastMethod.invoke(mHostView, left, top, dirty); 330 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument 332 dirty.offset(location[0], location[1]); 338 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 | 46 // to any dirty() calls. Subsequent calls to dirty() 51 // Pops a transform node from the stack, propagating the dirty rect 55 void dirty(float left, float top, float right, float bottom); 57 // Returns the current dirty area, *NOT* transformed by pushed transforms
|
H A D | FrameInfoVisualizer.cpp | 82 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument 84 // Not worth worrying about minimizing the dirty region for debugging, so just 85 // dirty the entire viewport. 86 if (dirty) { 87 mDirtyRegion = *dirty; 88 dirty->setEmpty();
|
H A D | FrameInfoVisualizer.h | 48 void unionDirty(SkRect* dirty);
|
H A D | AnimatorManager.cpp | 132 uint32_t dirty = animateCommon(info); local 137 return dirty;
|
/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 | 403 SkRect dirty; local 404 mDamageAccumulator.finish(&dirty); 407 // if (dirty.isEmpty() && Properties::skipEmptyFrames) { 416 SkRect windowDirty = computeDirtyRect(frame, &dirty); 418 bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, 557 // Tickle the GENERIC property on node to mark it as dirty for damaging 704 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { argument 707 dirty->setEmpty(); 712 dirty->setEmpty(); 714 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 | 197 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 253 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 263 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 271 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 283 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 296 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { 406 uint32_t dirty; local 415 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 417 dirty = DIRTY_BITMAP; 421 dirty 476 invalidateLocked(uint32_t dirty) argument [all...] |
H A D | SpriteController.h | 179 dirty(0), visible(false), 184 uint32_t dirty; member in struct:android::SpriteController::SpriteState 231 mLocked.state.dirty = 0; 250 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/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLPipeline.cpp | 60 const SkRect& dirty, 68 mEglManager.damageFrame(frame, dirty); 87 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface); 59 draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, const FrameBuilder::LightGeometry& lightGeometry, LayerUpdateQueue* layerUpdateQueue, const Rect& contentDrawBounds, bool opaque, const BakedOpRenderer::LightInfo& lightInfo, const std::vector<sp<RenderNode>>& renderNodes, FrameInfoVisualizer* profiler) argument
|
H A D | SkiaOpenGLPipeline.h | 32 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,
|
H A D | SkiaVulkanPipeline.cpp | 66 const SkRect& dirty, 79 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer); 65 draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, const FrameBuilder::LightGeometry& lightGeometry, LayerUpdateQueue* layerUpdateQueue, const Rect& contentDrawBounds, bool opaque, const BakedOpRenderer::LightInfo& lightInfo, const std::vector<sp<RenderNode>>& renderNodes, FrameInfoVisualizer* profiler) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 68 Rect dirty = new Rect(0, 0, dw, dh); 71 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/tools/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 | 75 c->transforms.dirty = transform_state_t::VIEWPORT | 120 int dirty = c->transforms.dirty & want; local 123 if (dirty & transform_state_t::MODELVIEW) { 128 if (dirty & transform_state_t::PROJECTION) { 133 if (dirty & transform_state_t::VIEWPORT) { 140 if (dirty & transform_state_t::MVP) { 147 if (dirty & transform_state_t::MVUI) { 153 if (dirty & transform_state_t::TEXTURE) { 159 if (dirty [all...] |