summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChris Tate <ctate@google.com>2010-10-14 15:48:59 -0700
committerChris Tate <ctate@google.com>2010-10-14 16:43:39 -0700
commit6b3912865c1530a6e06dd189dd95dc5be102b4de (patch)
tree7a8a2983458829eb493243623f1922c815ca9f45 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6eb4122c2d886f87edc2c56f40bedd80d137d27e (diff)
Drag thumbnail fixes / improvements
* Properly wipe the thumbnail canvas before handing it to the app for its contents to be drawn * Provide a getView() method in DragThumbnailBuilder that allows clients or subclasses to get at the associated view. This is especially for clients that want to draw entire (sub)layouts as the drag thumbnail, by overriding onDrawThumbnail(Canvas c) like this: // Override specifically for drawing a whole ViewGroup into // the drag thumbnail canvas @Override public void onDrawThumbnail(Canvas c) { getView().dispatchDraw(c); } Change-Id: Ib43ddd7cf1d44faf2d7f6ba79f102bc3c7f14596
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions