/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.java | 148 * Just like {@link #lockCanvas()} but allows specification of a dirty 154 * @param dirty Area of the buffer that may be modified. 162 public Canvas lockCanvas(Rect dirty) { argument 171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { 290 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); argument
|
H A D | Surface.java | 44 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument 271 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 272 * to redraw. This function may choose to expand the dirty rectangle if for example 274 * not available. The caller must redraw the entire dirty region as represented
|
H A D | SurfaceHolder.java | 205 * must be written. The only exception to this rule is when a dirty 206 * rectangle is specified, in which case, non-dirty pixels will be 228 * Just like {@link #lockCanvas()} but allows specification of a dirty rectangle. 231 * the dirty rectangle will be preserved by the next call to lockCanvas(). 235 * @param dirty Area of the Surface that will be modified. 238 public Canvas lockCanvas(Rect dirty); argument
|
H A D | SurfaceView.java | 953 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 954 * to redraw. This function may choose to expand the dirty rectangle if for example 956 * not available. The caller must redraw the entire dirty region as represented 967 private final Canvas internalLockCanvas(Rect dirty) { 976 c = mSurface.lockCanvas(dirty);
|
H A D | TextureView.java | 631 * 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 D | View.java | 12466 * @return The dirty state of this view. 13461 * will not get drawn and they should not set dirty flags as if they will be drawn 13470 * Mark the area defined by dirty as needing to be drawn. If the view is 13478 * {@code dirty}. 13480 * @param dirty the rectangle representing the bounds of the dirty region 13482 public void invalidate(Rect dirty) { argument 13485 invalidateInternal(dirty.left - scrollX, dirty.top - scrollY, 13486 dirty [all...] |
H A D | ViewGroup.java | 5160 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...] |
H A D | ViewOverlay.java | 263 public void invalidate(Rect dirty) { argument 264 super.invalidate(dirty); 266 mHostView.invalidate(dirty); 322 public void damageChild(View child, final Rect dirty) { argument 325 // using DisplayList properties and a dirty rect instead of causing a real 330 child.transformRect(dirty); 332 dirty.offset(left, top); 333 mHostView.invalidate(dirty); 341 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 343 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty); 349 invalidateChildInParent(int[] location, Rect dirty) argument [all...] |
H A D | ViewRootImpl.java | 1069 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...] |
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 1685 final Rect dirty = dr.getBounds(); 1689 invalidate(dirty.left + scrollX, dirty.top + scrollY, 1690 dirty.right + scrollX, dirty.bottom + scrollY);
|
H A D | TextView.java | 5499 final Rect dirty = drawable.getBounds(); 5544 invalidate(dirty.left + scrollX, dirty.top + scrollY, 5545 dirty.right + scrollX, dirty.bottom + scrollY);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 160 public Canvas lockCanvas(Rect dirty) { argument 161 return internalLockCanvas(dirty); 164 private final Canvas internalLockCanvas(Rect dirty) { argument 175 if (dirty == null) { 180 dirty = mTmpDirty; 184 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/libs/hwui/ |
H A D | AnimatorManager.cpp | 132 uint32_t dirty = animateCommon(info); local 137 return dirty;
|
H A D | BakedOpRenderer.cpp | 343 // dirty offscreenbuffer if present 374 mRenderTarget.offscreenBuffer->dirty(uiDirty);
|
H A D | DamageAccumulator.cpp | 227 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 D | DamageAccumulator.h | 46 // to any dirty() calls. Subsequent calls to dirty() 51 // Pops a transform node from the stack, propagating the dirty rect 55 void dirty(float left, float top, float right, float bottom); 57 // Returns the current dirty area, *NOT* transformed by pushed transforms
|
H A D | DeferredDisplayList.cpp | 57 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; 96 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 108 op->applyDraw(renderer, dirty); 255 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 260 DrawBatch::replay(renderer, dirty, -1); 272 op->multiDraw(renderer, dirty, mOps, mBounds); 295 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 316 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 338 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 634 OpenGLRenderer& renderer, Rect& dirty) { 633 replayBatchList(const std::vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument 644 flush(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | DeferredDisplayList.h | 105 void flush(OpenGLRenderer& renderer, Rect& dirty);
|
H A D | DisplayList.h | 105 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument 107 mDirty(dirty) {}
|
H A D | DisplayListOp.h | 135 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0; 144 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 148 ops[i].op->applyDraw(renderer, dirty); 611 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 632 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, 718 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 747 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 803 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, 852 // dirty rect to the object's bounds. 877 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) overrid [all...] |
H A D | FrameInfoVisualizer.cpp | 85 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument 87 // Not worth worrying about minimizing the dirty region for debugging, so just 88 // dirty the entire viewport. 89 if (dirty) { 90 mDirtyRegion = *dirty; 91 dirty->setEmpty();
|
H A D | FrameInfoVisualizer.h | 54 void unionDirty(SkRect* dirty);
|
H A D | Layer.h | 240 return dirty; 243 inline void setDirty(bool dirty) { argument 244 this->dirty = dirty; 384 * When set to true, this layer is dirty and should be cleared 387 bool dirty = false; member in class:android::uirenderer::Layer
|
H A D | LayerRenderer.cpp | 55 Rect dirty(left, top, right, bottom); 56 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && 57 dirty.right >= width && dirty.bottom >= height)) { 59 dirty.set(0.0f, 0.0f, width, height); 61 dirty.doIntersect(0.0f, 0.0f, width, height); 62 android::Rect r(dirty.left, dirty [all...] |
H A D | LayerUpdateQueue.h | 43 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
|