@@ -192,20 +192,13 @@ public class ViewConfiguration {
192192 */
193193 private static final int MAXIMUM_FLING_VELOCITY = 8000 ;
194194
195- /**
196- * Distance in dips between a touch up event denoting the end of a touch exploration
197- * gesture and the touch up event of a subsequent tap for the latter tap to be
198- * considered as a tap i.e. to perform a click.
199- */
200- private static final int TOUCH_EXPLORE_TAP_SLOP = 80 ;
201-
202195 /**
203196 * Delay before dispatching a recurring accessibility event in milliseconds.
204197 * This delay guarantees that a recurring event will be send at most once
205198 * during the {@link #SEND_RECURRING_ACCESSIBILITY_EVENTS_INTERVAL_MILLIS} time
206199 * frame.
207200 */
208- private static final long SEND_RECURRING_ACCESSIBILITY_EVENTS_INTERVAL_MILLIS = 400 ;
201+ private static final long SEND_RECURRING_ACCESSIBILITY_EVENTS_INTERVAL_MILLIS = 100 ;
209202
210203 /**
211204 * The maximum size of View's drawing cache, expressed in bytes. This size
@@ -238,7 +231,6 @@ public class ViewConfiguration {
238231 private final int mDoubleTapTouchSlop ;
239232 private final int mPagingTouchSlop ;
240233 private final int mDoubleTapSlop ;
241- private final int mScaledTouchExploreTapSlop ;
242234 private final int mWindowTouchSlop ;
243235 private final int mMaximumDrawingCacheSize ;
244236 private final int mOverscrollDistance ;
@@ -265,7 +257,6 @@ public ViewConfiguration() {
265257 mDoubleTapTouchSlop = DOUBLE_TAP_TOUCH_SLOP ;
266258 mPagingTouchSlop = PAGING_TOUCH_SLOP ;
267259 mDoubleTapSlop = DOUBLE_TAP_SLOP ;
268- mScaledTouchExploreTapSlop = TOUCH_EXPLORE_TAP_SLOP ;
269260 mWindowTouchSlop = WINDOW_TOUCH_SLOP ;
270261 //noinspection deprecation
271262 mMaximumDrawingCacheSize = MAXIMUM_DRAWING_CACHE_SIZE ;
@@ -302,7 +293,6 @@ private ViewConfiguration(Context context) {
302293 mMaximumFlingVelocity = (int ) (density * MAXIMUM_FLING_VELOCITY + 0.5f );
303294 mScrollbarSize = (int ) (density * SCROLL_BAR_SIZE + 0.5f );
304295 mDoubleTapSlop = (int ) (sizeAndDensity * DOUBLE_TAP_SLOP + 0.5f );
305- mScaledTouchExploreTapSlop = (int ) (density * TOUCH_EXPLORE_TAP_SLOP + 0.5f );
306296 mWindowTouchSlop = (int ) (sizeAndDensity * WINDOW_TOUCH_SLOP + 0.5f );
307297
308298 final Display display = WindowManagerImpl .getDefault ().getDefaultDisplay ();
@@ -552,17 +542,6 @@ public int getScaledDoubleTapSlop() {
552542 return mDoubleTapSlop ;
553543 }
554544
555- /**
556- * @return Distance in pixels between a touch up event denoting the end of a touch exploration
557- * gesture and the touch up event of a subsequent tap for the latter tap to be
558- * considered as a tap i.e. to perform a click.
559- *
560- * @hide
561- */
562- public int getScaledTouchExploreTapSlop () {
563- return mScaledTouchExploreTapSlop ;
564- }
565-
566545 /**
567546 * Interval for dispatching a recurring accessibility event in milliseconds.
568547 * This interval guarantees that a recurring event will be send at most once
0 commit comments