Searched refs:dirty (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/base/core/java/android/view/
H A DViewOverlay.java241 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 DHardwareCanvas.java45 * @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 DSurfaceHolder.java205 * 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 DGraphicBuffer.java148 * 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 DTextureView.java617 * 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
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp208 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/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java160 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 DLayerRenderer.cpp56 Rect dirty(left, top, right, bottom);
57 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 &&
58 dirty.right >= width && dirty.bottom >= height)) {
60 dirty.set(0.0f, 0.0f, width, height);
62 dirty.intersect(0.0f, 0.0f, width, height);
63 android::Rect r(dirty.left, dirty
[all...]
H A DDamageAccumulator.h41 // to any dirty() calls. Subsequent calls to dirty()
46 // Pops a transform node from the stack, propagating the dirty rect
50 void dirty(float left, float top, float right, float bottom);
52 // Returns the current dirty area, *NOT* transformed by pushed transforms
H A DDrawProfiler.h40 void unionDirty(SkRect* dirty);
H A DDeferredDisplayList.cpp55 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 DLayer.h230 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 DDisplayList.h101 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
103 mDirty(dirty), mDrawGlStatus(DrawGlInfo::kStatusDone) {}
H A DDisplayListOp.h139 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 DDrawProfiler.cpp115 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 DAnimatorManager.cpp116 uint32_t dirty = animateCommon(info); local
122 return dirty;
/frameworks/base/libs/input/
H A DSpriteController.cpp194 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...]
H A DSpriteController.h179 dirty(0), visible(false),
184 uint32_t dirty; member in struct:android::SpriteController::SpriteState
231 mLocked.state.dirty = 0;
250 void invalidateLocked(uint32_t dirty);
/frameworks/base/services/core/java/com/android/server/wm/
H A DEmulatorDisplayOverlay.java84 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
87 c = mSurface.lockCanvas(dirty);
H A DStrictModeFlash.java65 Rect dirty = new Rect(0, 0, dw, dh);
68 c = mSurface.lockCanvas(dirty);
H A DCircularDisplayMask.java95 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
98 c = mSurface.lockCanvas(dirty);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp187 void DisplayDevice::flip(const Region& dirty) const
196 const Region newDirty(dirty.intersect(bounds()));
202 (void) dirty; // Eliminate unused parameter warning
318 Region dirty; local
320 dirty.set(getBounds());
323 dirty = planeTransform.transform(this->dirtyRegion);
324 dirty.andSelf(getBounds());
326 return dirty;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java97 public Canvas lockCanvas(Rect dirty) {
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp75 c->transforms.dirty = transform_state_t::VIEWPORT |
120 int dirty = c->transforms.dirty & want; local
123 if (dirty & transform_state_t::MODELVIEW) {
128 if (dirty & transform_state_t::PROJECTION) {
133 if (dirty & transform_state_t::VIEWPORT) {
140 if (dirty & transform_state_t::MVP) {
147 if (dirty & transform_state_t::MVUI) {
153 if (dirty & transform_state_t::TEXTURE) {
159 if (dirty
[all...]
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp226 void CacheTexture::setDirty(bool dirty) { argument
227 mDirty = dirty;
228 if (!dirty) {

Completed in 289 milliseconds

123