summaryrefslogtreecommitdiffstats
path: root/docs/html/guide
diff options
context:
space:
mode:
authorChristopher Tate <ctate@android.com>2013-10-30 19:19:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-10-30 19:19:29 +0000
commit1f8350935caa6a44ef2608e34d4e3a91db4424a7 (patch)
tree291768c2eb0301c1eea34eebb8c98dad65ed4013 /docs/html/guide
parent91135202e76a89af4d9bd8f2c30f8f006fbcaf44 (diff)
parent67ab4bae1d7ef0534e43638d5158e9f6066ea495 (diff)
downloadframeworks_base-1f8350935caa6a44ef2608e34d4e3a91db4424a7.zip
frameworks_base-1f8350935caa6a44ef2608e34d4e3a91db4424a7.tar.gz
frameworks_base-1f8350935caa6a44ef2608e34d4e3a91db4424a7.tar.bz2
Merge "Remove parentheses around return statement"
Diffstat (limited to 'docs/html/guide')
-rw-r--r--docs/html/guide/topics/ui/drag-drop.jd16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/html/guide/topics/ui/drag-drop.jd b/docs/html/guide/topics/ui/drag-drop.jd
index dbb4f98..9a6b0e9 100644
--- a/docs/html/guide/topics/ui/drag-drop.jd
+++ b/docs/html/guide/topics/ui/drag-drop.jd
@@ -899,13 +899,13 @@ protected class myDragEventListener implements View.OnDragListener {
v.invalidate();
// returns true to indicate that the View can accept the dragged data.
- return(true);
+ return true;
}
// Returns false. During the current drag and drop operation, this View will
// not receive events again until ACTION_DRAG_ENDED is sent.
- return(false);
+ return false;
case DragEvent.ACTION_DRAG_ENTERED:
@@ -916,12 +916,12 @@ protected class myDragEventListener implements View.OnDragListener {
// Invalidate the view to force a redraw in the new tint
v.invalidate();
- return(true);
+ return true;
case DragEvent.ACTION_DRAG_LOCATION:
// Ignore the event
- return(true);
+ return true;
case DragEvent.ACTION_DRAG_EXITED:
@@ -931,7 +931,7 @@ protected class myDragEventListener implements View.OnDragListener {
// Invalidate the view to force a redraw in the new tint
v.invalidate();
- return(true);
+ return true;
case DragEvent.ACTION_DROP:
@@ -951,7 +951,7 @@ protected class myDragEventListener implements View.OnDragListener {
v.invalidate();
// Returns true. DragEvent.getResult() will return true.
- return(true);
+ return true;
case DragEvent.ACTION_DRAG_ENDED:
@@ -971,7 +971,7 @@ protected class myDragEventListener implements View.OnDragListener {
}
// returns true; the value is ignored.
- return(true);
+ return true;
// An unknown action type was received.
default:
@@ -979,7 +979,7 @@ protected class myDragEventListener implements View.OnDragListener {
break;
}
- return(false);
+ return false;
}
};
</pre>