Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 25 of 54) 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.cpp51 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_TEST() local
60 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
74 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_TEST() local
82 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_TEST()
86 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, contentDrawBounds, surface, in RENDERTHREAD_TEST()
98 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); in RENDERTHREAD_TEST() local
106 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_TEST()
137 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_TEST() local
138 layerUpdateQueue.enqueueLayerWithDamage(redNode.get(), dirty); in RENDERTHREAD_TEST()
165 SkRect dirty = SkRect::MakeXYWH(0, 0, 1, 1); in RENDERTHREAD_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.cpp170 if (update.state.dirty & DIRTY_DISPLAY_ID) { in doUpdateSprites()
183 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites()
209 (update.state.dirty & in doUpdateSprites()
216 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { in doUpdateSprites()
222 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION in doUpdateSprites()
232 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { in doUpdateSprites()
243 (update.state.dirty & in doUpdateSprites()
259 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { in doUpdateSprites()
264 (becomingVisible || (update.state.dirty & DIRTY_SKIP_SCREENSHOT))) { in doUpdateSprites()
404 uint32_t dirty; in setIcon() local
[all …]
DSpriteController.h168 uint32_t dirty{0};
219 mLocked.state.dirty = 0; in resetDirtyLocked()
238 void invalidateLocked(uint32_t dirty);
/frameworks/base/core/java/android/view/
DViewOverlay.java279 public void invalidate(Rect dirty) { in invalidate() argument
280 super.invalidate(dirty); in invalidate()
282 mHostView.invalidate(dirty); in invalidate()
354 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { in invalidateChildInParent() argument
356 dirty.offset(location[0], location[1]); in invalidateChildInParent()
360 super.invalidateChildInParent(location, dirty); in invalidateChildInParent()
361 return ((ViewGroup) mHostView).invalidateChildInParent(location, dirty); in invalidateChildInParent()
363 invalidate(dirty); in invalidateChildInParent()
DSurfaceHolder.java267 public Canvas lockCanvas(Rect dirty); in lockCanvas() argument
DTextureView.java777 public @Nullable Canvas lockCanvas(@Nullable Rect dirty) { in lockCanvas() argument
785 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { in lockCanvas()
977 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/base/libs/hwui/renderthread/
DCanvasContext.cpp585 SkRect dirty; in draw() local
586 mDamageAccumulator.finish(&dirty); in draw()
599 if (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw()) { in draw()
634 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
636 ATRACE_FORMAT("Drawing " RECT_STRING, SK_RECT_ARGS(dirty)); in draw()
643 frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, mContentDrawBounds, in draw()
1074 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
1077 dirty->setEmpty(); in computeDirtyRect()
1082 dirty->setEmpty(); in computeDirtyRect()
1084 … if (!dirty->isEmpty() && !dirty->intersect(SkRect::MakeIWH(frame.width(), frame.height()))) { in computeDirtyRect()
[all …]
/frameworks/base/config/
DAndroid.bp45 name: "dirty-image-objects",
46 src: "dirty-image-objects",
47 filename: "dirty-image-objects",
DREADME.md8 * dirty-image-objects: List of objects in the boot image which are known to
9 become dirty. This helps binning objects in the image file.
DOWNERS5 per-file dirty-image-objects = ishcheikin@google.com, ngeoffray@google.com, vmarko@google.com
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java172 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
181 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
302 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); in nLockCanvas() argument
/frameworks/base/libs/hwui/
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.h91 PropertyChangedListener(bool* dirty, bool* stagingDirty) in PropertyChangedListener() argument
92 : mDirty(dirty), mStagingDirty(stagingDirty) {} in PropertyChangedListener()
523 mCache.dirty |= (mProperties.mNonAnimatableProperties.viewportWidth != in syncProperties()
641 void markDirty() { mCache.dirty = true; } in markDirty()
642 bool isDirty() const { return mCache.dirty; } in isDirty()
661 bool dirty = true; variable
683 PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
DRenderNode.cpp157 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
161 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in damageSelf()
205 SkRect dirty; in pushLayerUpdate() local
206 info.damageAccumulator->peekAtDirty(&dirty); in pushLayerUpdate()
207 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty); in pushLayerUpdate()
208 if (!dirty.isEmpty()) { in pushLayerUpdate()
231 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in prepareTreeImpl()
DVectorDrawable.cpp458 if (redrawNeeded || mStagingCache.dirty) { in drawStaging()
460 mStagingCache.dirty = false; in drawStaging()
488 if (redrawNeeded || mCache.dirty) { in getBitmapUpdateIfDirty()
490 mCache.dirty = false; in getBitmapUpdateIfDirty()
548 mStagingCache.dirty = true; in onPropertyChanged()
550 mCache.dirty = true; in onPropertyChanged()
DLayerUpdateQueue.h45 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
DDamageAccumulator.h57 void dirty(float left, float top, float right, float bottom);
DAnimatorManager.cpp146 uint32_t dirty = animateCommon(info); in animate() local
151 return dirty; in animate()
DFrameInfoVisualizer.h48 void unionDirty(SkRect* dirty);
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp117 const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
123 mEglManager.damageFrame(frame, dirty); in draw()
168 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in draw()
DSkiaCpuPipeline.cpp100 const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
106 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, mSurface, in draw()
DSkiaVulkanPipeline.cpp75 const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
101 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer, in draw()

123