summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2013-06-17 18:39:18 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-06-17 18:39:18 -0700
commitea8935362da192508a4ff945b47e0c7ff1239679 (patch)
tree84586e0237cbb4e4f10cc8aab0222ae6bf2b2c6c /core/java
parent2f3f86c113f10b841b8597a05f724a996ba76641 (diff)
parentc4473d10ed747fb1e84efff7183023e0ecc1a493 (diff)
am c4473d10: am 27a8508e: add attributes reference for splimotionevents and layoutmode
* commit 'c4473d10ed747fb1e84efff7183023e0ecc1a493': add attributes reference for splimotionevents and layoutmode
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/ViewGroup.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java
index 426c9d463f14..3aa4cfb34374 100644
--- a/core/java/android/view/ViewGroup.java
+++ b/core/java/android/view/ViewGroup.java
@@ -97,6 +97,8 @@ import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
* @attr ref android.R.styleable#ViewGroup_addStatesFromChildren
* @attr ref android.R.styleable#ViewGroup_descendantFocusability
* @attr ref android.R.styleable#ViewGroup_animateLayoutChanges
+ * @attr ref android.R.styleable#ViewGroup_splitMotionEvents
+ * @attr ref android.R.styleable#ViewGroup_layoutMode
*/
public abstract class ViewGroup extends View implements ViewParent, ViewManager {
private static final String TAG = "ViewGroup";
@@ -2249,6 +2251,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
* @param split <code>true</code> to allow MotionEvents to be split and dispatched to multiple
* child views. <code>false</code> to only allow one child view to be the target of
* any MotionEvent received by this ViewGroup.
+ * @attr ref android.R.styleable#ViewGroup_splitMotionEvents
*/
public void setMotionEventSplittingEnabled(boolean split) {
// TODO Applications really shouldn't change this setting mid-touch event,
@@ -4816,6 +4819,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
* @param layoutMode the layout mode to use during layout operations
*
* @see #getLayoutMode()
+ * @attr ref android.R.styleable#ViewGroup_layoutMode
*/
public void setLayoutMode(int layoutMode) {
if (mLayoutMode != layoutMode) {