Searched refs:dirty (Results 26 - 50 of 59) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
H A DEmulatorDisplayOverlay.java87 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
90 c = mSurface.lockCanvas(dirty);
H A DWatermark.java144 Rect dirty = new Rect(0, 0, dw, dh);
147 c = mSurface.lockCanvas(dirty);
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h72 void damageFrame(const Frame& frame, const SkRect& dirty);
H A DEglManager.cpp168 // Try again without dirty regions enabled
314 void EglManager::damageFrame(const Frame& frame, const SkRect& dirty) { argument
318 frame.map(dirty, rects);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp208 void CacheTexture::setDirty(bool dirty) { argument
209 mDirty = dirty;
210 if (!dirty) {
H A DCacheTexture.h182 void setDirty(bool dirty);
/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp353 // Copy over the dirty staging properties
510 if (redrawNeeded || mStagingCache.dirty) {
512 mStagingCache.dirty = false;
543 if (redrawNeeded || mCache.dirty) {
545 mCache.dirty = false;
580 mStagingCache.dirty = true;
582 mCache.dirty = true;
H A DRenderNode.cpp251 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
255 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
341 SkRect dirty; local
342 info.damageAccumulator->peekAtDirty(&dirty);
369 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty);
371 if (dirty.intersect(0, 0, getWidth(), getHeight())) {
372 dirty.roundOut(&dirty);
373 mLayer->updateDeferred(this, dirty.fLeft, dirty
[all...]
H A DDeferredDisplayList.h105 void flush(OpenGLRenderer& renderer, Rect& dirty);
H A DVectorDrawable.h68 * staging properties will then be marked dirty and will be pushed over to render thread properties
69 * at sync point. If staging properties are not dirty at sync point, we sync backwards by updating
76 PropertyChangedListener(bool* dirty, bool* stagingDirty) argument
77 : mDirty(dirty), mStagingDirty(stagingDirty) {}
712 bool dirty = true; member in struct:android::uirenderer::VectorDrawable::Tree::Cache
719 = PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
H A DOpenGLRenderer.h130 * frame is assumed to be dirty. A clip will automatically be set to
144 * has changed / is "dirty" and should be displayed to the user).
148 void callDrawGLFunction(Functor* functor, Rect& dirty);
168 void drawRenderNode(RenderNode* displayList, Rect& dirty, int32_t replayFlags = 1);
416 * Marks the specified region as dirty at the specified bounds.
557 * Mark the layer as dirty at the specified coordinates. The coordinates
564 * Mark the layer as dirty at the specified coordinates.
593 * @param dirty True if calling this method should dirty the current layer
597 bool ignoreTransform = false, bool dirty
[all...]
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 DOpenGLRenderer.cpp224 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
230 // Since we don't know what the functor will draw, let's dirty
256 // Scissor may have been modified, reset dirty clip
759 // drawing only the dirty region
1006 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) { argument
1019 drawColorRects(rects.array(), rects.size(), &paint, true, dirty, false);
1043 android::Rect dirty(bounds.left, bounds.top, bounds.right, bounds.bottom);
1044 if (!dirty.isEmpty()) {
1045 region->orSelf(dirty);
1076 // We must clear the list of dirty rect
1427 drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t replayFlags) argument
2383 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java631 * must be written. The only exception to this rule is when a dirty
632 * rectangle is specified, in which case, non-dirty pixels will be
649 * Just like {@link #lockCanvas()} but allows specification of a dirty
651 * pixels outside the dirty rectangle will be preserved by the next call
659 * @param dirty Area of the surface that will be modified.
667 public Canvas lockCanvas(Rect dirty) { argument
675 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) {
840 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
H A DViewRootImpl.java1069 public void invalidateChild(View child, Rect dirty) { argument
1070 invalidateChildInParent(null, dirty);
1074 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
1076 if (DEBUG_DRAW) Log.v(mTag, "Invalidate child: " + dirty);
1078 if (dirty == null) {
1081 } else if (dirty.isEmpty() && !mIsAnimating) {
1086 mTempRect.set(dirty);
1087 dirty = mTempRect;
1089 dirty.offset(0, -mCurScrollY);
1092 mTranslator.translateRectInAppWindowToScreen(dirty);
1104 invalidateRectOnScreen(Rect dirty) argument
2838 drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]
H A DViewGroup.java5160 public final void invalidateChild(View child, final Rect dirty) { argument
5177 // Mark the child as dirty, using the appropriate flag
5192 boundingRect.set(dirty);
5210 dirty.set((int) Math.floor(boundingRect.left),
5230 // If the parent is dirty opaque or not dirty, mark it dirty with the opaque
5242 parent = parent.invalidateChildInParent(location, dirty);
5248 boundingRect.set(dirty);
5250 dirty
5269 invalidateChildInParent(final int[] location, final Rect dirty) argument
5351 damageChild(View child, final Rect dirty) argument
5396 damageChildInParent(int left, int top, final Rect dirty) argument
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h51 void dirty(Rect dirtyArea);
H A DOffscreenBufferPool.cpp59 void OffscreenBuffer::dirty(Rect dirtyArea) { function in class:android::uirenderer::OffscreenBuffer
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java1352 * Updates the global power state based on dirty bits recorded in mDirty.
1413 private void updateIsPoweredLocked(int dirty) { argument
1414 if ((dirty & DIRTY_BATTERY_STATE) != 0) {
1511 private void updateStayOnLocked(int dirty) { argument
1512 if ((dirty & (DIRTY_BATTERY_STATE | DIRTY_SETTINGS)) != 0) {
1534 private void updateWakeLockSummaryLocked(int dirty) { argument
1535 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_WAKEFULNESS)) != 0) {
1609 private void updateUserActivitySummaryLocked(long now, int dirty) { argument
1611 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_USER_ACTIVITY
1701 * This function must have no other side-effects besides setting the dirty
1751 updateWakefulnessLocked(int dirty) argument
1811 updateDreamLocked(int dirty, boolean displayBecameReady) argument
1986 updateDisplayPowerStateLocked(int dirty) argument
2066 updateScreenBrightnessBoostLocked(int dirty) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h109 // Flip the front and back buffers if the back buffer is "dirty". Might
111 void flip(const Region& dirty) const;
H A DSurfaceFlinger.h272 /* handlePageFlip - latch a new buffer if available and compute the dirty
367 // mark a region of a layer stack dirty. this updates the dirty
369 void invalidateLayerStack(uint32_t layerStack, const Region& dirty);
399 bool doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty);
H A DSurfaceFlinger.cpp989 // transform the dirty region into this screen's coordinate space
995 // and draw the dirty region
1165 bool dirty = !mDisplays[dpy]->getDirtyRegion(false).isEmpty(); local
1169 // If nothing has changed (!dirty), don't recompose.
1177 bool mustRecompose = dirty && !(empty && wasEmpty);
1182 dirty ? "+" : "-",
1252 // transform the dirty region into this screen's coordinate space
1673 Region dirty; local
1756 // compute this layer's dirty region
1759 dirty
1800 invalidateLayerStack(uint32_t layerStack, const Region& dirty) argument
1928 doComposeSurfaces( const sp<const DisplayDevice>& displayDevice, const Region& dirty) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp987 // transform the dirty region into this screen's coordinate space
993 // and draw the dirty region
1145 bool dirty = !mDisplays[dpy]->getDirtyRegion(false).isEmpty(); local
1149 // If nothing has changed (!dirty), don't recompose.
1157 bool mustRecompose = dirty && !(empty && wasEmpty);
1162 dirty ? "+" : "-",
1257 // transform the dirty region into this screen's coordinate space
1692 Region dirty; local
1775 // compute this layer's dirty region
1778 dirty
1819 invalidateLayerStack(uint32_t layerStack, const Region& dirty) argument
1944 doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h354 uint8_t dirty; member in struct:android::gl::texture_unit_t
452 uint8_t dirty; member in struct:android::gl::matrix_stack_t
512 uint32_t dirty; member in struct:android::gl::transform_state_t
/frameworks/base/core/java/android/widget/
H A DProgressBar.java1685 final Rect dirty = dr.getBounds();
1689 invalidate(dirty.left + scrollX, dirty.top + scrollY,
1690 dirty.right + scrollX, dirty.bottom + scrollY);

Completed in 2586 milliseconds

123