/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 194 public int onPreDraw(Rect dirty) { argument 195 if (dirty != null) { 196 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, 232 public int drawRenderNode(RenderNode renderNode, Rect dirty, int flags) { argument 233 return nDrawRenderNode(mRenderer, renderNode.getNativeDisplayList(), dirty, flags); 237 Rect dirty, int flags); 236 nDrawRenderNode(long renderer, long renderNode, Rect dirty, int flags) argument
|
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 | HardwareCanvas.java | 45 * @param dirty The dirty rectangle to update, can be null. 51 public abstract int onPreDraw(Rect dirty); argument 74 * @param dirty Ignored, can be null. 83 public abstract int drawRenderNode(RenderNode renderNode, Rect dirty, int flags); argument
|
H A D | Surface.java | 44 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument 241 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 242 * to redraw. This function may choose to expand the dirty rectangle if for example 244 * 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 | TextureView.java | 617 * must be written. The only exception to this rule is when a dirty 618 * rectangle is specified, in which case, non-dirty pixels will be 635 * Just like {@link #lockCanvas()} but allows specification of a dirty 637 * pixels outside the dirty rectangle will be preserved by the next call 645 * @param dirty Area of the surface that will be modified. 653 public Canvas lockCanvas(Rect dirty) { argument 661 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { 808 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
|
H A D | View.java | 10710 * @return The dirty state of this view. 11692 * will not get drawn and they should not set dirty flags as if they will be drawn 11701 * Mark the area defined by dirty as needing to be drawn. If the view is 11709 * {@code dirty}. 11711 * @param dirty the rectangle representing the bounds of the dirty region 11713 public void invalidate(Rect dirty) { argument 11716 invalidateInternal(dirty.left - scrollX, dirty.top - scrollY, 11717 dirty [all...] |
H A D | ViewGroup.java | 4608 public final void invalidateChild(View child, final Rect dirty) { argument 4625 // Mark the child as dirty, using the appropriate flag 4640 boundingRect.set(dirty); 4658 dirty.set((int) (boundingRect.left - 0.5f), 4678 // If the parent is dirty opaque or not dirty, mark it dirty with the opaque 4690 parent = parent.invalidateChildInParent(location, dirty); 4696 boundingRect.set(dirty); 4698 dirty 4716 invalidateChildInParent(final int[] location, final Rect dirty) argument 4798 damageChild(View child, final Rect dirty) argument 4843 damageChildInParent(int left, int top, final Rect dirty) argument [all...] |
H A D | ViewOverlay.java | 241 public void invalidate(Rect dirty) { argument 242 super.invalidate(dirty); 244 mHostView.invalidate(dirty); 300 public void damageChild(View child, final Rect dirty) { argument 303 // using DisplayList properties and a dirty rect instead of causing a real 308 child.transformRect(dirty); 310 dirty.offset(left, top); 311 mHostView.invalidate(dirty); 319 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 321 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty); 327 invalidateChildInParent(int[] location, Rect dirty) argument [all...] |
H A D | ViewRootImpl.java | 903 public void invalidateChild(View child, Rect dirty) { argument 904 invalidateChildInParent(null, dirty); 908 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument 910 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); 912 if (dirty == null) { 915 } else if (dirty.isEmpty() && !mIsAnimating) { 920 mTempRect.set(dirty); 921 dirty = mTempRect; 923 dirty.offset(0, -mCurScrollY); 926 mTranslator.translateRectInAppWindowToScreen(dirty); 2572 drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, boolean scalingRequired, Rect dirty) argument [all...] |
/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/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 159 android::uirenderer::Rect dirty; local 160 return renderer->callDrawGLFunction(functor, dirty); 799 jobject dirty, jint flags) { 804 if (status != DrawGlInfo::kStatusDone && dirty != NULL) { 805 env->CallVoidMethod(dirty, gRectClassInfo.set, 797 android_view_GLES20Canvas_drawRenderNode(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong renderNodePtr, jobject dirty, jint flags) argument
|
/frameworks/base/libs/hwui/ |
H A D | AnimatorManager.cpp | 116 uint32_t dirty = animateCommon(info); local 122 return dirty;
|
H A D | DamageAccumulator.cpp | 213 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { function in class:android::uirenderer::DamageAccumulator 223 // Root node never has a transform, so this is the fully mapped dirty rect
|
H A D | DeferredDisplayList.cpp | 55 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; 94 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 109 status |= op->applyDraw(renderer, dirty); 272 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 277 return DrawBatch::replay(renderer, dirty, -1); 292 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds); 316 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 338 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 362 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 652 OpenGLRenderer& renderer, Rect& dirty) { 651 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument 664 flush(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | DisplayList.h | 101 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument 103 mDirty(dirty), mDrawGlStatus(DrawGlInfo::kStatusDone) {}
|
H A D | DisplayListOp.h | 139 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0; 148 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 153 status |= ops[i].op->applyDraw(renderer, dirty); 654 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 675 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 760 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 788 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 812 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 868 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 917 // dirty rec 942 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 982 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1029 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1054 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1080 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1112 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1139 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1160 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1181 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1200 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1231 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1261 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1288 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1338 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1359 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1403 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1410 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument 1454 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1493 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1554 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1585 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | DisplayListRenderer.cpp | 90 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { argument 91 // Ignore dirty during recording, it matters only when we replay 181 status_t DisplayListRenderer::drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t flags) { argument 184 // dirty is an out parameter and should not be recorded,
|
H A D | DrawProfiler.cpp | 115 void DrawProfiler::unionDirty(SkRect* dirty) { argument 117 // Not worth worrying about minimizing the dirty region for debugging, so just 118 // dirty the entire viewport. 119 if (dirty) { 120 mDirtyRegion = *dirty; 121 dirty->setEmpty();
|
H A D | Layer.h | 230 return dirty; 233 inline void setDirty(bool dirty) { argument 234 this->dirty = dirty; 375 * When set to true, this layer is dirty and should be cleared 378 bool dirty; member in class:android::uirenderer::Layer
|
H A D | OpenGLRenderer.cpp | 352 status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument 358 // Since we don't know what the functor will draw, let's dirty 384 // Scissor may have been modified, reset dirty clip 460 Rect& dirty = layer->dirtyRect; local 898 // drawing only the dirty region 1217 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) { argument 1230 drawColorRects(rects.array(), rects.size(), &paint, true, dirty, false); 1253 android::Rect dirty(bounds.left, bounds.top, bounds.right, bounds.bottom); 1254 if (!dirty.isEmpty()) { 1255 region->orSelf(dirty); 1721 bool dirty = right - left > 0.0f && bottom - top > 0.0f; local 1901 drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t replayFlags) argument 3172 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument 3297 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3324 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3351 drawAlpha8TextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool ignoreTransform, ModelViewMode modelViewMode, bool dirty) argument [all...] |
H A D | RenderNode.cpp | 153 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); 157 info.damageAccumulator->dirty(INT_MIN, INT_MIN, INT_MAX, INT_MAX); 204 SkRect dirty; local 205 info.damageAccumulator->peekAtDirty(&dirty); 224 if (dirty.intersect(0, 0, getWidth(), getHeight())) { 225 dirty.roundOut(); 226 mLayer->updateDeferred(this, dirty.fLeft, dirty.fTop, dirty.fRight, dirty [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 226 void CacheTexture::setDirty(bool dirty) { argument 227 mDirty = dirty; 228 if (!dirty) {
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 208 SkRect dirty; local 209 mDamageAccumulator.finish(&dirty); 215 dirty.setEmpty(); 217 dirty.setEmpty(); 219 if (!dirty.isEmpty() && !dirty.intersect(0, 0, width, height)) { 221 SK_RECT_ARGS(dirty), width, height); 222 dirty.setEmpty(); 224 profiler().unionDirty(&dirty); 228 if (!dirty [all...] |
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 194 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 250 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 260 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 268 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 280 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 293 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { 403 uint32_t dirty; local 412 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 414 dirty = DIRTY_BITMAP; 418 dirty 473 invalidateLocked(uint32_t dirty) argument [all...] |