Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/libs/hwui/
DLayerRenderer.cpp43 Rect dirty(left, top, right, bottom); in prepareDirty() local
44 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && in prepareDirty()
45 dirty.right >= width && dirty.bottom >= height)) { in prepareDirty()
47 dirty.set(0.0f, 0.0f, width, height); in prepareDirty()
49 dirty.intersect(0.0f, 0.0f, width, height); in prepareDirty()
50 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); in prepareDirty()
54 OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); in prepareDirty()
DOpenGLRenderer.h73 virtual bool callDrawGLFunction(Functor *functor, Rect& dirty);
99 Rect& dirty, uint32_t level = 0);
400 bool ignoreScale = false, bool dirty = true);
DDisplayListRenderer.h112 bool replay(OpenGLRenderer& renderer, Rect& dirty, uint32_t level = 0);
242 bool callDrawGLFunction(Functor *functor, Rect& dirty);
267 Rect& dirty, uint32_t level = 0);
/frameworks/base/services/input/
DSpriteController.cpp192 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites()
250 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA in doUpdateSprites()
260 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { in doUpdateSprites()
268 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION in doUpdateSprites()
280 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { in doUpdateSprites()
293 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { in doUpdateSprites()
402 uint32_t dirty; in setIcon() local
411 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon()
413 dirty = DIRTY_BITMAP; in setIcon()
417 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon()
[all …]
DSpriteController.h181 dirty(0), visible(false), in SpriteState()
186 uint32_t dirty; member
233 mLocked.state.dirty = 0; in resetDirtyLocked()
252 void invalidateLocked(uint32_t dirty);
/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java160 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
161 return internalLockCanvas(dirty); in lockCanvas()
164 private final Canvas internalLockCanvas(Rect dirty) { in internalLockCanvas() argument
175 if (dirty == null) { in internalLockCanvas()
180 dirty = mTmpDirty; in internalLockCanvas()
184 c = mSurface.lockCanvas(dirty); in internalLockCanvas()
/frameworks/base/core/java/android/view/
DHardwareCanvas.java45 abstract void onPreDraw(Rect dirty); in onPreDraw() argument
64 abstract boolean drawDisplayList(DisplayList displayList, int width, int height, Rect dirty); in drawDisplayList() argument
DHardwareRenderer.java233 Rect dirty); in draw() argument
753 void onPreDraw(Rect dirty) { in onPreDraw() argument
761 Rect dirty) { in draw() argument
764 dirty = null; in draw()
775 dirty = null; in draw()
778 onPreDraw(dirty); in draw()
812 if (dirty != null && (mFrameCount++ & 1) == 0) { in draw()
813 canvas.drawRect(dirty, mDebugPaint); in draw()
829 return dirty == null; in draw()
905 void onPreDraw(Rect dirty) { in onPreDraw() argument
[all …]
DSurface.java70 public Canvas lockCanvas(Rect dirty) throws OutOfResourcesException, IllegalArgumentException { in lockCanvas() argument
76 return lockCanvasNative(dirty); in lockCanvas()
370 private native Canvas lockCanvasNative(Rect dirty); in lockCanvasNative() argument
DTextureView.java576 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument
584 nLockCanvas(mNativeWindow, mCanvas, dirty); in lockCanvas()
695 private static native void nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument
DSurfaceView.java750 public Canvas lockCanvas(Rect dirty) {
751 return internalLockCanvas(dirty);
754 private final Canvas internalLockCanvas(Rect dirty) {
762 if (dirty == null) {
767 dirty = mTmpDirty;
771 c = mSurface.lockCanvas(dirty);
DViewRootImpl.java713 public void invalidateChild(View child, Rect dirty) { in invalidateChild() argument
715 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); in invalidateChild()
716 if (dirty == null) { in invalidateChild()
722 mTempRect.set(dirty); in invalidateChild()
723 dirty = mTempRect; in invalidateChild()
725 dirty.offset(0, -mCurScrollY); in invalidateChild()
728 mTranslator.translateRectInAppWindowToScreen(dirty); in invalidateChild()
731 dirty.inset(-1, -1); in invalidateChild()
734 if (!mDirty.isEmpty() && !mDirty.contains(dirty)) { in invalidateChild()
738 mDirty.union(dirty); in invalidateChild()
[all …]
DSurfaceHolder.java238 public Canvas lockCanvas(Rect dirty); in lockCanvas() argument
DGLES20Canvas.java249 void onPreDraw(Rect dirty) { in onPreDraw() argument
250 if (dirty != null) { in onPreDraw()
251 nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, mOpaque); in onPreDraw()
341 public boolean drawDisplayList(DisplayList displayList, int width, int height, Rect dirty) { in drawDisplayList() argument
343 ((GLES20DisplayList) displayList).getNativeDisplayList(), width, height, dirty); in drawDisplayList()
347 int width, int height, Rect dirty); in nDrawDisplayList() argument
DViewGroup.java3891 public final void invalidateChild(View child, final Rect dirty) { in invalidateChild() argument
3905 if (dirty == null) { in invalidateChild()
3962 child.mLocalDirtyRect.union(dirty); in invalidateChild()
3971 boundingRect.set(dirty); in invalidateChild()
3974 dirty.set((int) (boundingRect.left - 0.5f), in invalidateChild()
4012 parent = parent.invalidateChildInParent(location, dirty); in invalidateChild()
4018 boundingRect.set(dirty); in invalidateChild()
4020 dirty.set((int) boundingRect.left, (int) boundingRect.top, in invalidateChild()
4038 public ViewParent invalidateChildInParent(final int[] location, final Rect dirty) { in invalidateChildInParent() argument
4047 dirty.offset(location[CHILD_LEFT_INDEX] - mScrollX, in invalidateChildInParent()
[all …]
/frameworks/base/opengl/libagl/
Dmatrix.cpp75 c->transforms.dirty = transform_state_t::VIEWPORT | in ogles_init_matrix()
120 int dirty = c->transforms.dirty & want; in ogles_validate_transform_impl() local
123 if (dirty & transform_state_t::MODELVIEW) { in ogles_validate_transform_impl()
128 if (dirty & transform_state_t::PROJECTION) { in ogles_validate_transform_impl()
133 if (dirty & transform_state_t::VIEWPORT) { in ogles_validate_transform_impl()
140 if (dirty & transform_state_t::MVP) { in ogles_validate_transform_impl()
147 if (dirty & transform_state_t::MVUI) { in ogles_validate_transform_impl()
153 if (dirty & transform_state_t::TEXTURE) { in ogles_validate_transform_impl()
159 if (dirty & transform_state_t::MVIT) { in ogles_validate_transform_impl()
163 c->transforms.dirty &= ~want; in ogles_validate_transform_impl()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DStrictModeFlash.java60 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local
63 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
DWatermark.java138 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local
141 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp362 void DisplayHardware::flip(const Region& dirty) const in flip()
371 const Region newDirty(dirty.intersect(bounds())); in flip()
379 mNativeWindow->setUpdateRectangle(dirty.getBounds()); in flip()
DDisplayHardware.h63 void flip(const Region& dirty) const;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DSurfaceView.java83 public Canvas lockCanvas(Rect dirty) {
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp336 Rect dirty; in Surface_lockCanvas() local
337 dirty.left = env->GetIntField(dirtyRect, ro.l); in Surface_lockCanvas()
338 dirty.top = env->GetIntField(dirtyRect, ro.t); in Surface_lockCanvas()
339 dirty.right = env->GetIntField(dirtyRect, ro.r); in Surface_lockCanvas()
340 dirty.bottom= env->GetIntField(dirtyRect, ro.b); in Surface_lockCanvas()
341 if (!dirty.isEmpty()) { in Surface_lockCanvas()
342 dirtyRegion.set(dirty); in Surface_lockCanvas()
/frameworks/base/core/java/android/widget/
DProgressBar.java906 final Rect dirty = dr.getBounds(); in invalidateDrawable() local
910 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable()
911 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
/frameworks/base/include/private/opengles/
Dgl_context.h350 uint8_t dirty; member
448 uint8_t dirty; member
508 uint32_t dirty; member
/frameworks/base/include/surfaceflinger/
DSurface.h139 status_t lock(SurfaceInfo* info, Region* dirty = NULL);

12