/frameworks/base/core/java/android/view/ |
D | ViewOverlay.java | 224 public void invalidate(Rect dirty) { in invalidate() argument 225 super.invalidate(dirty); in invalidate() 227 mHostView.invalidate(dirty); in invalidate() 279 public void invalidateChildFast(View child, final Rect dirty) { in invalidateChildFast() argument 287 child.transformRect(dirty); in invalidateChildFast() 289 dirty.offset(left, top); in invalidateChildFast() 290 mHostView.invalidate(dirty); in invalidateChildFast() 295 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { in invalidateChildInParent() argument 297 dirty.offset(location[0], location[1]); in invalidateChildInParent() 301 super.invalidateChildInParent(location, dirty); in invalidateChildInParent() [all …]
|
D | HardwareCanvas.java | 78 public abstract int onPreDraw(Rect dirty); in onPreDraw() argument 112 public abstract int drawDisplayList(DisplayList displayList, Rect dirty, int flags); in drawDisplayList() argument 163 public int invokeFunctors(Rect dirty) { in invokeFunctors() argument
|
D | HardwareRenderer.java | 456 Rect dirty); in draw() argument 1311 int onPreDraw(Rect dirty) { in onPreDraw() argument 1338 Rect dirty) { in draw() argument 1341 dirty = null; in draw() 1357 dirty = beginFrame(canvas, dirty, surfaceState); in draw() 1365 status = prepareFrame(dirty); in draw() 1385 debugDirtyRegions(dirty, canvas); in draw() 1421 private Rect beginFrame(HardwareCanvas canvas, Rect dirty, int surfaceState) { in beginFrame() argument 1424 dirty = null; in beginFrame() 1436 dirty = null; in beginFrame() [all …]
|
D | GLES20Canvas.java | 242 public int onPreDraw(Rect dirty) { in onPreDraw() argument 243 if (dirty != null) { in onPreDraw() 244 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, in onPreDraw() 288 public int invokeFunctors(Rect dirty) { in invokeFunctors() argument 289 return nInvokeFunctors(mRenderer, dirty); in invokeFunctors() 292 private static native int nInvokeFunctors(int renderer, Rect dirty); in nInvokeFunctors() argument 389 public int drawDisplayList(DisplayList displayList, Rect dirty, int flags) { in drawDisplayList() argument 391 dirty, flags); in drawDisplayList() 395 Rect dirty, int flags); in nDrawDisplayList() argument
|
D | TextureView.java | 667 public Canvas lockCanvas(Rect dirty) { in lockCanvas() argument 675 nLockCanvas(mNativeWindow, mCanvas, dirty); in lockCanvas() 814 private static native void nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument
|
D | SurfaceHolder.java | 238 public Canvas lockCanvas(Rect dirty); in lockCanvas() argument
|
D | ViewRootImpl.java | 864 public void invalidateChild(View child, Rect dirty) { in invalidateChild() argument 865 invalidateChildInParent(null, dirty); in invalidateChild() 868 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { in invalidateChildInParent() argument 870 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); in invalidateChildInParent() 872 if (dirty == null) { in invalidateChildInParent() 875 } else if (dirty.isEmpty() && !mIsAnimating) { in invalidateChildInParent() 880 mTempRect.set(dirty); in invalidateChildInParent() 881 dirty = mTempRect; in invalidateChildInParent() 883 dirty.offset(0, -mCurScrollY); in invalidateChildInParent() 886 mTranslator.translateRectInAppWindowToScreen(dirty); in invalidateChildInParent() [all …]
|
D | ViewGroup.java | 4167 public final void invalidateChild(View child, final Rect dirty) { in invalidateChild() argument 4191 child.mLocalDirtyRect.union(dirty); in invalidateChild() 4200 boundingRect.set(dirty); in invalidateChild() 4218 dirty.set((int) (boundingRect.left - 0.5f), in invalidateChild() 4250 parent = parent.invalidateChildInParent(location, dirty); in invalidateChild() 4256 boundingRect.set(dirty); in invalidateChild() 4258 dirty.set((int) (boundingRect.left - 0.5f), in invalidateChild() 4276 public ViewParent invalidateChildInParent(final int[] location, final Rect dirty) { in invalidateChildInParent() argument 4281 dirty.offset(location[CHILD_LEFT_INDEX] - mScrollX, in invalidateChildInParent() 4284 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent() [all …]
|
/frameworks/base/libs/hwui/ |
D | LayerRenderer.cpp | 55 Rect dirty(left, top, right, bottom); in prepareDirty() local 56 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && in prepareDirty() 57 dirty.right >= width && dirty.bottom >= height)) { in prepareDirty() 59 dirty.set(0.0f, 0.0f, width, height); in prepareDirty() 61 dirty.intersect(0.0f, 0.0f, width, height); in prepareDirty() 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); in prepareDirty() 65 mLayer->clipRect.set(dirty); in prepareDirty() 67 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); in prepareDirty()
|
D | DeferredDisplayList.cpp | 52 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; 87 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay() argument 102 status |= op->applyDraw(renderer, dirty); in replay() 195 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay() argument 199 return DrawBatch::replay(renderer, dirty, false); in replay() 206 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds); in replay() 221 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay() argument 241 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay() argument 263 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay() argument 525 OpenGLRenderer& renderer, Rect& dirty) { in replayBatchList() argument [all …]
|
D | Layer.h | 203 return dirty; in isDirty() 206 inline void setDirty(bool dirty) { in setDirty() 207 this->dirty = dirty; in setDirty() 359 bool dirty; member
|
D | DisplayListOp.h | 156 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0; 165 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, in multiDraw() argument 170 status |= ops[i]->applyDraw(renderer, dirty); in multiDraw() 736 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument 745 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, in multiDraw() argument 801 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument 828 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument 856 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument 881 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument 916 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { in applyDraw() argument [all …]
|
D | OpenGLRenderer.h | 191 ANDROID_API status_t invokeFunctors(Rect& dirty); 194 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty); 238 virtual status_t drawDisplayList(DisplayList* displayList, Rect& dirty, int32_t replayFlags); 699 bool dirty = true, bool clip = true); 799 bool ignoreScale = false, bool dirty = true); 804 bool ignoreTransform, bool ignoreScale = false, bool dirty = true); 966 bool dirty = false);
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseSurfaceHolder.java | 160 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/services/input/ |
D | SpriteController.cpp | 194 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites() 251 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA in doUpdateSprites() 261 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { in doUpdateSprites() 269 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION in doUpdateSprites() 281 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { in doUpdateSprites() 294 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { in doUpdateSprites() 403 uint32_t dirty; in setIcon() local 412 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon() 414 dirty = DIRTY_BITMAP; in setIcon() 418 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; in setIcon() [all …]
|
D | SpriteController.h | 179 dirty(0), visible(false), in SpriteState() 184 uint32_t dirty; member 231 mLocked.state.dirty = 0; in resetDirtyLocked() 250 void invalidateLocked(uint32_t dirty);
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 190 void DisplayDevice::flip(const Region& dirty) const in flip() 199 const Region newDirty(dirty.intersect(bounds())); in flip() 296 Region dirty; in getDirtyRegion() local 298 dirty.set(getBounds()); in getDirtyRegion() 301 dirty = planeTransform.transform(this->dirtyRegion); in getDirtyRegion() 302 dirty.andSelf(getBounds()); in getDirtyRegion() 304 return dirty; in getDirtyRegion()
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 75 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/core/jni/ |
D | android_view_Surface.cpp | 214 Rect dirty; in nativeLockCanvas() local 215 dirty.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); in nativeLockCanvas() 216 dirty.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); in nativeLockCanvas() 217 dirty.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); in nativeLockCanvas() 218 dirty.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); in nativeLockCanvas() 219 if (!dirty.isEmpty()) { in nativeLockCanvas() 220 dirtyRegion.set(dirty); in nativeLockCanvas()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | StrictModeFlash.java | 64 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local 67 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|
D | Watermark.java | 142 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() local 145 c = mSurface.lockCanvas(dirty); in drawIfNeeded()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 225 void CacheTexture::setDirty(bool dirty) { in setDirty() argument 226 mDirty = dirty; in setDirty() 227 if (!dirty) { in setDirty()
|
/frameworks/base/services/java/com/android/server/power/ |
D | PowerManagerService.java | 1151 private void updateIsPoweredLocked(int dirty) { in updateIsPoweredLocked() argument 1152 if ((dirty & DIRTY_BATTERY_STATE) != 0) { in updateIsPoweredLocked() 1232 private void updateStayOnLocked(int dirty) { in updateStayOnLocked() argument 1233 if ((dirty & (DIRTY_BATTERY_STATE | DIRTY_SETTINGS)) != 0) { in updateStayOnLocked() 1254 private void updateWakeLockSummaryLocked(int dirty) { in updateWakeLockSummaryLocked() argument 1255 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_WAKEFULNESS)) != 0) { in updateWakeLockSummaryLocked() 1313 private void updateUserActivitySummaryLocked(long now, int dirty) { in updateUserActivitySummaryLocked() argument 1315 if ((dirty & (DIRTY_USER_ACTIVITY | DIRTY_WAKEFULNESS | DIRTY_SETTINGS)) != 0) { in updateUserActivitySummaryLocked() 1409 private boolean updateWakefulnessLocked(int dirty) { in updateWakefulnessLocked() argument 1411 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_USER_ACTIVITY | DIRTY_BOOT_COMPLETED in updateWakefulnessLocked() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ProgressBarICS.java | 713 final Rect dirty = dr.getBounds(); in invalidateDrawable() local 717 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable() 718 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | SurfaceView.java | 93 public Canvas lockCanvas(Rect dirty) {
|