Lines Matching defs:dirty

903     public void invalidateChild(View child, Rect dirty) {
904 invalidateChildInParent(null, dirty);
908 public ViewParent invalidateChildInParent(int[] location, Rect dirty) {
910 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty);
912 if (dirty == null) {
915 } else if (dirty.isEmpty() && !mIsAnimating) {
920 mTempRect.set(dirty);
921 dirty = mTempRect;
923 dirty.offset(0, -mCurScrollY);
926 mTranslator.translateRectInAppWindowToScreen(dirty);
929 dirty.inset(-1, -1);
934 if (!localDirty.isEmpty() && !localDirty.contains(dirty)) {
939 // Add the new dirty rect to the current one
940 localDirty.union(dirty.left, dirty.top, dirty.right, dirty.bottom);
2454 final Rect dirty = mDirty;
2457 dirty.setEmpty();
2469 dirty.set(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f));
2475 + ": dirty={" + dirty.left + "," + dirty.top
2476 + "," + dirty.right + "," + dirty.bottom + "} surface="
2491 // Offset dirty rect for surface insets.
2492 dirty.offset(surfaceInsets.left, surfaceInsets.right);
2508 if (!dirty.isEmpty() || mIsAnimating || accessibilityFocusDirty) {
2527 dirty.setEmpty();
2557 if (!drawSoftware(surface, mAttachInfo, xOffset, yOffset, scalingRequired, dirty)) {
2573 boolean scalingRequired, Rect dirty) {
2578 final int left = dirty.left;
2579 final int top = dirty.top;
2580 final int right = dirty.right;
2581 final int bottom = dirty.bottom;
2583 canvas = mSurface.lockCanvas(dirty);
2585 // The dirty rectangle can be modified by Surface.lockCanvas()
2587 if (left != dirty.left || top != dirty.top || right != dirty.right
2588 || bottom != dirty.bottom) {
2616 // background. This automatically respects the clip/dirty region
2625 dirty.setEmpty();