/frameworks/base/libs/hwui/tests/unit/ |
D | DamageAccumulatorTests.cpp | 36 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 …]
|
D | SkiaPipelineTests.cpp | 48 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/ |
D | ItemGroup.java | 102 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/ |
D | SpriteController.cpp | 171 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 …]
|
D | SpriteController.h | 155 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/ |
D | CanvasContext.cpp | 434 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/ |
D | ViewOverlay.java | 278 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()
|
D | TextureView.java | 680 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/ |
D | BaseSurfaceHolder.java | 162 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/ |
D | matrix.cpp | 74 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/ |
D | GraphicBuffer.java | 176 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/ |
D | RenderNode.cpp | 139 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()
|
D | FrameInfoVisualizer.cpp | 91 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { in unionDirty() argument 95 if (dirty) { in unionDirty() 96 mDirtyRegion = *dirty; in unionDirty() 97 dirty->setEmpty(); in unionDirty()
|
D | VectorDrawable.h | 90 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);
|
D | VectorDrawable.cpp | 456 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()
|
D | AnimatorManager.cpp | 131 uint32_t dirty = animateCommon(info); in animate() local 136 return dirty; in animate()
|
D | LayerUpdateQueue.h | 45 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
|
D | DamageAccumulator.h | 56 void dirty(float left, float top, float right, float bottom);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 71 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()
|
D | SkiaVulkanPipeline.cpp | 62 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/ |
D | Output.cpp | 197 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/ |
D | StrictModeFlash.java | 66 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local 69 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|
D | EmulatorDisplayOverlay.java | 81 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y); in drawIfNeeded() local 84 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|
D | CircularDisplayMask.java | 98 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y); in drawIfNeeded() local 101 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|
D | Watermark.java | 146 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local 149 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|