Loading core/java/android/widget/AbsListView.java +1 −7 Original line number Diff line number Diff line Loading @@ -583,13 +583,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te boolean smoothScrollbar = a.getBoolean(R.styleable.AbsListView_smoothScrollbar, true); setSmoothScrollbarEnabled(smoothScrollbar); int defaultGestures = GESTURES_NONE; if (useTextFilter) { defaultGestures = GESTURES_FILTER; } else if (enableFastScroll) { defaultGestures = GESTURES_JUMP; } int gestures = a.getInt(R.styleable.AbsListView_gestures, defaultGestures); int gestures = a.getInt(R.styleable.AbsListView_gestures, GESTURES_NONE); setGestures(gestures); a.recycle(); Loading core/res/res/values/attrs.xml +10 −15 Original line number Diff line number Diff line Loading @@ -1386,12 +1386,9 @@ <!-- No gesture --> <enum name="none" value="0" /> <!-- Gestures jump to a specific position in the content. This requires fast scroll to be enabled. If fast scroll is enabled from XML, jump gestures will be enabled automatically. --> fast scroll to be enabled. --> <enum name="jump" value="1" /> <!-- Gestures filter the content. This requires text filtering to be enabled. If text filtering is enabled from XML, filter gestures will be enabled automatically. --> <!-- Gestures filter the content. This requires text filtering to be enabled. --> <enum name="filter" value="2" /> </attr> </declare-styleable> Loading Loading @@ -3290,7 +3287,6 @@ <attr name="configure" format="string" /> </declare-styleable> <!-- =============================== --> <!-- Accounts package class attributes --> <!-- =============================== --> Loading @@ -3316,6 +3312,5 @@ <attr name="accountType"/> </declare-styleable> </resources> Loading
core/java/android/widget/AbsListView.java +1 −7 Original line number Diff line number Diff line Loading @@ -583,13 +583,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te boolean smoothScrollbar = a.getBoolean(R.styleable.AbsListView_smoothScrollbar, true); setSmoothScrollbarEnabled(smoothScrollbar); int defaultGestures = GESTURES_NONE; if (useTextFilter) { defaultGestures = GESTURES_FILTER; } else if (enableFastScroll) { defaultGestures = GESTURES_JUMP; } int gestures = a.getInt(R.styleable.AbsListView_gestures, defaultGestures); int gestures = a.getInt(R.styleable.AbsListView_gestures, GESTURES_NONE); setGestures(gestures); a.recycle(); Loading
core/res/res/values/attrs.xml +10 −15 Original line number Diff line number Diff line Loading @@ -1386,12 +1386,9 @@ <!-- No gesture --> <enum name="none" value="0" /> <!-- Gestures jump to a specific position in the content. This requires fast scroll to be enabled. If fast scroll is enabled from XML, jump gestures will be enabled automatically. --> fast scroll to be enabled. --> <enum name="jump" value="1" /> <!-- Gestures filter the content. This requires text filtering to be enabled. If text filtering is enabled from XML, filter gestures will be enabled automatically. --> <!-- Gestures filter the content. This requires text filtering to be enabled. --> <enum name="filter" value="2" /> </attr> </declare-styleable> Loading Loading @@ -3290,7 +3287,6 @@ <attr name="configure" format="string" /> </declare-styleable> <!-- =============================== --> <!-- Accounts package class attributes --> <!-- =============================== --> Loading @@ -3316,6 +3312,5 @@ <attr name="accountType"/> </declare-styleable> </resources>