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

123

/frameworks/base/libs/hwui/tests/unit/
H A DDamageAccumulatorTests.cpp29 // Test that push & pop are propegating the dirty rect
30 // There is no transformation of the dirty rect, the input is the same
36 da.dirty(50, 50, 100, 100);
58 da.dirty(50, 50, 100, 100);
66 // Test that dirty rectangles are being unioned across "siblings
73 da.dirty(50, 50, 100, 100);
76 da.dirty(150, 50, 200, 125);
95 da.dirty(0, 0, 25, 25);
99 SkRect dirty; local
100 da.finish(&dirty);
126 SkRect dirty; local
[all...]
H A DBakedOpRendererTests.cpp30 layer.dirty(Rect(200, 200));
37 layer.dirty(Rect(200, 200));
47 // right side is now only dirty portion
H A DOffscreenBufferPoolTests.cpp54 RENDERTHREAD_TEST(OffscreenBuffer, dirty) {
56 buffer.dirty(Rect(-100, -100, 100, 100));
95 layer->dirty(Rect(64, 64));
107 layer2->dirty(Rect(128, 128));
/frameworks/base/core/java/android/view/
H A DViewOverlay.java263 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 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
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp55 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 DLayerUpdateQueue.h43 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
H A DDamageAccumulator.h46 // 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 DDeferredDisplayList.cpp57 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 DLayer.h240 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 DDisplayListOp.h135 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 DFrameInfoVisualizer.cpp85 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 DFrameInfoVisualizer.h54 void unionDirty(SkRect* dirty);
H A DAnimatorManager.cpp132 uint32_t dirty = animateCommon(info); local
137 return dirty;
H A DDisplayList.h105 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
107 mDirty(dirty) {}
/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/input/
H A DSpriteController.cpp198 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) {
254 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA
264 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) {
272 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION
284 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) {
297 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) {
407 uint32_t dirty; local
416 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT;
418 dirty = DIRTY_BITMAP;
422 dirty
477 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/libs/hwui/renderthread/
H A DCanvasContext.cpp298 SkRect dirty; local
299 mDamageAccumulator.finish(&dirty);
302 // if (dirty.isEmpty() && Properties::skipEmptyFrames) {
313 dirty.setEmpty();
318 dirty.setEmpty();
320 if (!dirty.isEmpty() && !dirty.intersect(0, 0, frame.width(), frame.height())) {
322 SK_RECT_ARGS(dirty), frame.width(), frame.height());
323 dirty.setEmpty();
325 profiler().unionDirty(&dirty);
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java68 Rect dirty = new Rect(0, 0, dw, dh);
71 c = mSurface.lockCanvas(dirty);
H A DCircularDisplayMask.java100 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
103 c = mSurface.lockCanvas(dirty);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java97 public Canvas lockCanvas(Rect dirty) {
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp230 void DisplayDevice::flip(const Region& dirty) const
236 const Region newDirty(dirty.intersect(bounds()));
384 Region dirty; local
386 dirty.set(getBounds());
389 dirty = planeTransform.transform(this->dirtyRegion);
390 dirty.andSelf(getBounds());
392 return 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...]

Completed in 403 milliseconds

123