Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 25 of 51) 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.cpp50 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
59 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
73 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
81 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
85 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
97 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
105 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
136 SkRect dirty = SkRectMakeLargest(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
137 layerUpdateQueue.enqueueLayerWithDamage(redNode.get(), dirty); in RENDERTHREAD_SKIA_PIPELINE_TEST()
164 SkRect dirty = SkRect::MakeXYWH(0, 0, 1, 1); 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.cpp172 if (update.surfaceChanged || update.state.dirty & DIRTY_DISPLAY_ID) { in doUpdateSprites()
185 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites()
209 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 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 & (DIRTY_HOTSPOT | DIRTY_ICON_STYLE)))) { in doUpdateSprites()
258 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { in doUpdateSprites()
369 uint32_t dirty; in setIcon() local
377 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon()
[all …]
DSpriteController.h156 dirty(0), visible(false), in SpriteState()
161 uint32_t dirty; member
210 mLocked.state.dirty = 0; in resetDirtyLocked()
229 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()
DTextureView.java749 public @Nullable Canvas lockCanvas(@Nullable Rect dirty) { in lockCanvas() argument
757 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { in lockCanvas()
924 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument
DSurfaceHolder.java267 public Canvas lockCanvas(Rect dirty); in lockCanvas() 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.cpp482 SkRect dirty; in draw() local
483 mDamageAccumulator.finish(&dirty); in draw()
486 (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw())) { in draw()
511 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
513 ATRACE_FORMAT("Drawing " RECT_STRING, SK_RECT_ARGS(dirty)); in draw()
524 drawResult = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, in draw()
937 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
940 dirty->setEmpty(); in computeDirtyRect()
945 dirty->setEmpty(); in computeDirtyRect()
947 … if (!dirty->isEmpty() && !dirty->intersect(SkRect::MakeIWH(frame.width(), frame.height()))) { in computeDirtyRect()
[all …]
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java172 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
181 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
301 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); in nLockCanvas() argument
/frameworks/base/config/
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 = calin@google.com, ngeoffray@google.com, vmarko@google.com
/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()
DRenderNode.cpp149 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
153 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in damageSelf()
195 SkRect dirty; in pushLayerUpdate() local
196 info.damageAccumulator->peekAtDirty(&dirty); in pushLayerUpdate()
197 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty); in pushLayerUpdate()
198 if (!dirty.isEmpty()) { in pushLayerUpdate()
222 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in prepareTreeImpl()
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()
660 bool dirty = true; variable
682 PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
DVectorDrawable.cpp461 if (redrawNeeded || mStagingCache.dirty) { in drawStaging()
463 mStagingCache.dirty = false; in drawStaging()
491 if (redrawNeeded || mCache.dirty) { in getBitmapUpdateIfDirty()
493 mCache.dirty = false; in getBitmapUpdateIfDirty()
551 mStagingCache.dirty = true; in onPropertyChanged()
553 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.cpp140 uint32_t dirty = animateCommon(info); in animate() local
145 return dirty; in animate()
DFrameInfoVisualizer.h48 void unionDirty(SkRect* dirty);
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp76 const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
81 mEglManager.damageFrame(frame, dirty); in draw()
112 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in draw()
DSkiaVulkanPipeline.cpp72 const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, in draw() argument
89 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer, in draw()
DSkiaVulkanPipeline.h37 const SkRect& screenDirty, const SkRect& dirty,
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceView.java111 public Canvas lockCanvas(Rect dirty) {

123