Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/libs/hwui/tests/unit/
DDamageAccumulatorTests.cpp36 da.dirty(50, 50, 100, 100); in TEST()
58 da.dirty(50, 50, 100, 100); in TEST()
73 da.dirty(50, 50, 100, 100); in TEST()
76 da.dirty(150, 50, 200, 125); in TEST()
95 da.dirty(0, 0, 25, 25); in TEST()
99 SkRect dirty; in TEST() local
100 da.finish(&dirty); in TEST()
101 ASSERT_EQ(SkRect::MakeLTRB(100, 100, 125, 125), dirty); in TEST()
122 da.dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in TEST()
126 SkRect dirty; in TEST() local
[all …]
DSkiaPipelineTests.cpp48 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
57 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
69 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
90 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
104 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
112 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
116 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
128 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
136 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
167 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java102 private boolean dirty = false; field in ItemGroup
116 dirty = true; in addChild()
135 dirty = true; in removeChild()
159 dirty = true; in clear()
181 dirty = true; in onChanged()
229 dirty = true; in onItemRangeInserted()
241 dirty = true; in onItemRangeMoved()
252 dirty = true; in onItemRangeRemoved()
277 if (dirty) { in updateDataIfNeeded()
287 dirty = false; in updateDataIfNeeded()
/frameworks/base/libs/input/
DSpriteController.cpp171 if (update.surfaceChanged || update.state.dirty & DIRTY_DISPLAY_ID) { in doUpdateSprites()
184 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites()
208 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA in doUpdateSprites()
215 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { in doUpdateSprites()
221 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION in doUpdateSprites()
231 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { in doUpdateSprites()
242 || (update.state.dirty & (DIRTY_HOTSPOT | DIRTY_ICON_STYLE)))) { in doUpdateSprites()
257 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { in doUpdateSprites()
361 uint32_t dirty; in setIcon() local
374 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon()
[all …]
DSpriteController.h155 dirty(0), visible(false), in SpriteState()
160 uint32_t dirty; member
209 mLocked.state.dirty = 0; in resetDirtyLocked()
228 void invalidateLocked(uint32_t dirty);
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp434 SkRect dirty; in draw() local
435 mDamageAccumulator.finish(&dirty); in draw()
437 if (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw()) { in draw()
447 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
449 bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, in draw()
689 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
692 dirty->setEmpty(); in computeDirtyRect()
697 dirty->setEmpty(); in computeDirtyRect()
699 if (!dirty->isEmpty() && !dirty->intersect(0, 0, frame.width(), frame.height())) { in computeDirtyRect()
700 ALOGW("Dirty " RECT_STRING " doesn't intersect with 0 0 %d %d ?", SK_RECT_ARGS(*dirty), in computeDirtyRect()
[all …]
/frameworks/base/core/java/android/view/
DViewOverlay.java278 public void invalidate(Rect dirty) { in invalidate() argument
279 super.invalidate(dirty); in invalidate()
281 mHostView.invalidate(dirty); in invalidate()
353 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { in invalidateChildInParent() argument
355 dirty.offset(location[0], location[1]); in invalidateChildInParent()
359 super.invalidateChildInParent(location, dirty); in invalidateChildInParent()
360 return ((ViewGroup) mHostView).invalidateChildInParent(location, dirty); in invalidateChildInParent()
362 invalidate(dirty); in invalidateChildInParent()
DTextureView.java680 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
688 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { in lockCanvas()
858 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument
/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java162 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
163 return internalLockCanvas(dirty, false); in lockCanvas()
171 private final Canvas internalLockCanvas(Rect dirty, boolean hardware) { in internalLockCanvas() argument
182 if (dirty == null) { in internalLockCanvas()
187 dirty = mTmpDirty; in internalLockCanvas()
194 c = mSurface.lockCanvas(dirty); in internalLockCanvas()
/frameworks/native/opengl/libagl/
Dmatrix.cpp74 c->transforms.dirty = transform_state_t::VIEWPORT | in ogles_init_matrix()
119 int dirty = c->transforms.dirty & want; in ogles_validate_transform_impl() local
122 if (dirty & transform_state_t::MODELVIEW) { in ogles_validate_transform_impl()
127 if (dirty & transform_state_t::PROJECTION) { in ogles_validate_transform_impl()
132 if (dirty & transform_state_t::VIEWPORT) { in ogles_validate_transform_impl()
139 if (dirty & transform_state_t::MVP) { in ogles_validate_transform_impl()
146 if (dirty & transform_state_t::MVUI) { in ogles_validate_transform_impl()
152 if (dirty & transform_state_t::TEXTURE) { in ogles_validate_transform_impl()
158 if (dirty & transform_state_t::MVIT) { in ogles_validate_transform_impl()
162 c->transforms.dirty &= ~want; in ogles_validate_transform_impl()
[all …]
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java176 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
185 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
305 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); in nLockCanvas() argument
/frameworks/base/libs/hwui/
DRenderNode.cpp139 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
143 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in damageSelf()
184 SkRect dirty; in pushLayerUpdate() local
185 info.damageAccumulator->peekAtDirty(&dirty); in pushLayerUpdate()
186 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty); in pushLayerUpdate()
207 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in prepareTreeImpl()
DFrameInfoVisualizer.cpp91 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { in unionDirty() argument
95 if (dirty) { in unionDirty()
96 mDirtyRegion = *dirty; in unionDirty()
97 dirty->setEmpty(); in unionDirty()
DVectorDrawable.h90 PropertyChangedListener(bool* dirty, bool* stagingDirty) in PropertyChangedListener() argument
91 : mDirty(dirty), mStagingDirty(stagingDirty) {} in PropertyChangedListener()
522 mCache.dirty |= (mProperties.mNonAnimatableProperties.viewportWidth != in syncProperties()
640 void markDirty() { mCache.dirty = true; } in markDirty()
641 bool isDirty() const { return mCache.dirty; } in isDirty()
667 bool dirty = true; variable
715 PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
DVectorDrawable.cpp456 if (redrawNeeded || mStagingCache.dirty) { in drawStaging()
458 mStagingCache.dirty = false; in drawStaging()
482 if (redrawNeeded || mCache.dirty) { in getBitmapUpdateIfDirty()
484 mCache.dirty = false; in getBitmapUpdateIfDirty()
508 if (!canReuseSurface || mCache.dirty) { in updateCache()
515 mCache.dirty = false; in updateCache()
627 mStagingCache.dirty = true; in onPropertyChanged()
629 mCache.dirty = true; in onPropertyChanged()
DAnimatorManager.cpp131 uint32_t dirty = animateCommon(info); in animate() local
136 return dirty; in animate()
DLayerUpdateQueue.h45 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
DDamageAccumulator.h56 void dirty(float left, float top, float right, float bottom);
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp71 bool SkiaOpenGLPipeline::draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
77 mEglManager.damageFrame(frame, dirty); in draw()
103 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in draw()
DSkiaVulkanPipeline.cpp62 bool SkiaVulkanPipeline::draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
73 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer, in draw()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp197 Region dirty(mState.viewport); in getDirtyRegion() local
199 dirty.andSelf(mState.dirtyRegion); in getDirtyRegion()
201 return dirty; in getDirtyRegion()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java66 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local
69 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
DEmulatorDisplayOverlay.java81 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y); in drawIfNeeded() local
84 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
DCircularDisplayMask.java98 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y); in drawIfNeeded() local
101 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
DWatermark.java146 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local
149 c = mSurface.lockCanvas(dirty); in drawIfNeeded()

123