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

123

/frameworks/base/libs/hwui/unit_tests/
H A DDamageAccumulatorTests.cpp28 // Test that push & pop are propegating the dirty rect
29 // There is no transformation of the dirty rect, the input is the same
37 da.dirty(50, 50, 100, 100);
57 da.dirty(50, 50, 100, 100);
65 // Test that dirty rectangles are being unioned across "siblings
73 da.dirty(50, 50, 100, 100);
76 da.dirty(150, 50, 200, 125);
/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 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 DDisplayListCanvas.java189 * @param dirty The dirty rectangle to update, can be null.
191 public void onPreDraw(Rect dirty) { argument
192 if (dirty != null) {
193 nPrepareDirty(mNativeCanvasWrapper, dirty.left, dirty.top, dirty.right, dirty.bottom);
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.intersect(0.0f, 0.0f, width, height);
62 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 DDeferredDisplayList.cpp56 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
95 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
107 op->applyDraw(renderer, dirty);
251 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
256 DrawBatch::replay(renderer, dirty, -1);
268 op->multiDraw(renderer, dirty, mOps, mBounds);
291 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
312 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
334 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
625 OpenGLRenderer& renderer, Rect& dirty) {
624 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument
635 flush(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DLayer.h236 return dirty;
239 inline void setDirty(bool dirty) { argument
240 this->dirty = dirty;
381 * When set to true, this layer is dirty and should be cleared
384 bool dirty = false; member in class:android::uirenderer::Layer
H A DDisplayList.h100 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
102 mDirty(dirty) {}
H A DDisplayListOp.h132 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0;
141 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
145 ops[i].op->applyDraw(renderer, dirty);
629 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
650 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty,
736 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
765 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
821 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty,
870 // dirty rect to the object's bounds.
895 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) overrid
[all...]
H A DFrameInfoVisualizer.cpp80 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument
82 // Not worth worrying about minimizing the dirty region for debugging, so just
83 // dirty the entire viewport.
84 if (dirty) {
85 mDirtyRegion = *dirty;
86 dirty->setEmpty();
H A DFrameInfoVisualizer.h48 void unionDirty(SkRect* dirty);
H A DAnimatorManager.cpp118 uint32_t dirty = animateCommon(info); local
123 return dirty;
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp96 void CanvasContext::swapBuffers(const SkRect& dirty, EGLint width, EGLint height) { argument
97 if (CC_UNLIKELY(!mEglManager.swapBuffers(mEglSurface, dirty, width, height))) {
229 SkRect dirty; local
230 mDamageAccumulator.finish(&dirty);
233 // if (dirty.isEmpty() && Properties::skipEmptyFrames) {
244 dirty.setEmpty();
246 dirty.setEmpty();
248 if (!dirty.isEmpty() && !dirty.intersect(0, 0, width, height)) {
250 SK_RECT_ARGS(dirty), widt
[all...]
H A DEglManager.h49 bool swapBuffers(EGLSurface surface, const SkRect& dirty, EGLint width, EGLint height);
/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/services/core/java/com/android/server/wm/
H A DEmulatorDisplayOverlay.java83 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
86 c = mSurface.lockCanvas(dirty);
H A DStrictModeFlash.java65 Rect dirty = new Rect(0, 0, dw, dh);
68 c = mSurface.lockCanvas(dirty);
H A DCircularDisplayMask.java97 Rect dirty = new Rect(0, 0, mScreenSize.x, mScreenSize.y);
100 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.cpp198 void DisplayDevice::flip(const Region& dirty) const
204 const Region newDirty(dirty.intersect(bounds()));
324 Region dirty; local
326 dirty.set(getBounds());
329 dirty = planeTransform.transform(this->dirtyRegion);
330 dirty.andSelf(getBounds());
332 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 673 milliseconds

123