[Paint Preview] Fix UI bugs in the player
This fixes the following problems: 1. NullPointerException in PlayerFrameBitmapPainter#onDraw() for when mBitmapMatrix contains null bitmaps. 2. Scrolling using GestureDeterctor. PlayerFrameGestureDetector#onDown() should return true. 3. No calls for PlayerFrameView#onDraw(). setWillNotDraw(false) should be called. 4. PlayerFrameView not getting notified of changes to the model. Because we reuse the same objects for the PropertyModel in the PlayerFrameMediator class, PropertyModelChangeProcessor doesn't notify the model when they are reset with the same object. Change-Id: I73fe4e4d3299a8dd3aa3fc74b83462ea6c82b27a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2072909 Commit-Queue: Mehran Mahmoudi <mahmoudi@chromium.org> Auto-Submit: Mehran Mahmoudi <mahmoudi@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#744762}
Showing
Please register or sign in to comment