Searched defs:dirty (Results 1 - 25 of 33) sorted by path

12

/frameworks/base/core/java/android/view/
H A DSurface.java59 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument
291 * @param inOutDirty A rectangle that represents the dirty region that the caller wants
292 * to redraw. This function may choose to expand the dirty rectangle if for example
294 * not available. The caller must redraw the entire dirty region as represented
H A DSurfaceHolder.java230 * 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
H A DTextureView.java634 * must be written. The only exception to this rule is when a dirty
635 * rectangle is specified, in which case, non-dirty pixels will be
652 * Just like {@link #lockCanvas()} but allows specification of a dirty
654 * pixels outside the dirty rectangle will be preserved by the next call
662 * @param dirty Area of the surface that will be modified.
670 public Canvas lockCanvas(Rect dirty) { argument
678 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) {
845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
H A DView.java14362 * @return The dirty state of this view.
15360 * will not get drawn and they should not set dirty flags as if they will be drawn
15369 * Mark the area defined by dirty as needing to be drawn. If the view is
15377 * {@code dirty}.
15379 * @param dirty the rectangle representing the bounds of the dirty region
15381 public void invalidate(Rect dirty) { argument
15384 invalidateInternal(dirty.left - scrollX, dirty.top - scrollY,
15385 dirty
[all...]
H A DViewGroup.java5696 public final void invalidateChild(View child, final Rect dirty) { argument
5717 // Mark the child as dirty, using the appropriate flag
5732 boundingRect.set(dirty);
5750 dirty.set((int) Math.floor(boundingRect.left),
5770 // If the parent is dirty opaque or not dirty, mark it dirty with the opaque
5782 parent = parent.invalidateChildInParent(location, dirty);
5788 boundingRect.set(dirty);
5790 dirty
5813 invalidateChildInParent(final int[] location, final Rect dirty) argument
[all...]
H A DViewOverlay.java275 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 DViewRootImpl.java1192 public void invalidateChild(View child, Rect dirty) { argument
1193 invalidateChildInParent(null, dirty);
1197 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
1199 if (DEBUG_DRAW) Log.v(mTag, "Invalidate child: " + dirty);
1201 if (dirty == null) {
1204 } else if (dirty.isEmpty() && !mIsAnimating) {
1209 mTempRect.set(dirty);
1210 dirty = mTempRect;
1212 dirty.offset(0, -mCurScrollY);
1215 mTranslator.translateRectInAppWindowToScreen(dirty);
1227 invalidateRectOnScreen(Rect dirty) argument
3022 drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java162 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/graphics/java/android/graphics/
H A DGraphicBuffer.java158 * 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/
H A DAnimatorManager.cpp132 uint32_t dirty = animateCommon(info); local
137 return dirty;
H A DDamageAccumulator.cpp227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { function in class:android::uirenderer::DamageAccumulator
237 // Root node never has a transform, so this is the fully mapped dirty rect
H A DFrameInfoVisualizer.cpp82 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 DRenderNode.cpp213 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
217 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
272 SkRect dirty; local
273 info.damageAccumulator->peekAtDirty(&dirty);
274 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty);
H A DVectorDrawable.h76 * staging properties will then be marked dirty and will be pushed over to render thread properties
77 * at sync point. If staging properties are not dirty at sync point, we sync backwards by updating
84 PropertyChangedListener(bool* dirty, bool* stagingDirty) argument
85 : mDirty(dirty), mStagingDirty(stagingDirty) {}
681 void markDirty() { mCache.dirty = true; }
682 bool isDirty() const { return mCache.dirty; }
689 bool dirty = true; member in struct:android::uirenderer::VectorDrawable::Tree::Cache
713 = PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp219 void CacheTexture::setDirty(bool dirty) { argument
220 mDirty = dirty;
221 if (!dirty) {
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp60 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 DSkiaVulkanPipeline.cpp66 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/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp60 void OffscreenBuffer::dirty(Rect dirtyArea) { function in class:android::uirenderer::OffscreenBuffer
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp403 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 DEglManager.cpp182 // Try again without dirty regions enabled
315 void EglManager::damageFrame(const Frame& frame, const SkRect& dirty) { argument
319 frame.map(dirty, rects);
H A DOpenGLPipeline.cpp58 bool OpenGLPipeline::draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, argument
66 mEglManager.damageFrame(frame, dirty);
72 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches);
/frameworks/base/libs/hwui/tests/unit/
H A DDamageAccumulatorTests.cpp29 // 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 DSkiaPipelineTests.cpp45 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...]
/frameworks/base/libs/input/
H A DSpriteController.cpp197 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 DSpriteController.h179 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);

Completed in 2109 milliseconds

12