summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2016-06-21 13:28:17 -0700
committerBen Lin <linben@google.com>2016-06-21 23:44:14 +0000
commit693ba32b7188c7fea6fdc20eace4b8ba8186060c (patch)
tree151b316dabdb69ba84358d6f78b137b1e0e7b093 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1e4250df552beca869aa4dfa236e788c3e1103bf (diff)
Fix context menu for empty directory/root view.
Since it's not always true that there is a doc/directory given the (x, y) of the right click, I've changed the signature of right click to take in a MotionEvent object as a parameter, and make a MotionInputEvent inside the function as a check whether it's on a file/doc or on empty/blank pane. Bug: 29538570 Change-Id: I7ee960c9f556752bf314ab8cc2d94fda28194c0a (cherry picked from commit 332192dee8cb99bd2e6ef638e78d5b62ab7ecfe6)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions