diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-02-09 11:28:52 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-02-09 11:29:34 -0800 |
commit | 4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a (patch) | |
tree | 9a02c6b10848b519e16fd79c84db5d6d5d2c769d /src/com/android/launcher3/PagedView.java | |
parent | 4ed751e52b2cc9bf73baa18825cb8216049bd9c3 (diff) | |
download | android_packages_apps_Trebuchet-4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a.tar.gz android_packages_apps_Trebuchet-4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a.tar.bz2 android_packages_apps_Trebuchet-4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a.zip |
Making some view properties exported.
These will be visible in hierarchy viewer
Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
Diffstat (limited to 'src/com/android/launcher3/PagedView.java')
-rw-r--r-- | src/com/android/launcher3/PagedView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/PagedView.java b/src/com/android/launcher3/PagedView.java index 51c1dbd13..7109895fd 100644 --- a/src/com/android/launcher3/PagedView.java +++ b/src/com/android/launcher3/PagedView.java @@ -42,6 +42,7 @@ import android.view.MotionEvent; import android.view.VelocityTracker; import android.view.View; import android.view.ViewConfiguration; +import android.view.ViewDebug; import android.view.ViewGroup; import android.view.ViewParent; import android.view.accessibility.AccessibilityEvent; @@ -92,10 +93,12 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc protected boolean mFirstLayout = true; private int mNormalChildHeight; + @ViewDebug.ExportedProperty(category = "launcher") protected int mCurrentPage; protected int mRestorePage = INVALID_RESTORE_PAGE; private int mChildCountOnLastLayout; + @ViewDebug.ExportedProperty(category = "launcher") protected int mNextPage = INVALID_PAGE; private int mMaxScrollX; protected LauncherScroller mScroller; @@ -153,6 +156,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc @Thunk PageIndicator mPageIndicator; // The viewport whether the pages are to be contained (the actual view may be larger than the // viewport) + @ViewDebug.ExportedProperty(category = "launcher") private Rect mViewport = new Rect(); // Reordering |