File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2929import android .content .res .Configuration ;
3030import android .content .res .Resources ;
3131import android .graphics .Canvas ;
32- import android .graphics .Matrix ;
3332import android .graphics .Paint ;
3433import android .graphics .PixelFormat ;
3534import android .graphics .Point ;
3635import android .graphics .PointF ;
3736import android .graphics .PorterDuff ;
3837import android .graphics .Rect ;
39- import android .graphics .RectF ;
4038import android .graphics .Region ;
4139import android .graphics .drawable .Drawable ;
4240import android .media .AudioManager ;
@@ -1440,7 +1438,13 @@ private void performTraversals() {
14401438 mTranslator .translateCanvas (layerCanvas );
14411439 }
14421440
1443- mView .draw (layerCanvas );
1441+ DisplayList displayList = mView .mDisplayList ;
1442+ if (displayList != null ) {
1443+ layerCanvas .drawDisplayList (displayList , null ,
1444+ DisplayList .FLAG_CLIP_CHILDREN );
1445+ } else {
1446+ mView .draw (layerCanvas );
1447+ }
14441448
14451449 drawAccessibilityFocusedDrawableIfNeeded (layerCanvas );
14461450
You can’t perform that action at this time.
0 commit comments