frameworks/base/
diff –git a/core/java/android/view/ViewConfiguration.java b/core/java/android/view/ViewConfiguration.java
index c3f064f..11cf4f3 100644
— a/core/java/android/view/ViewConfiguration.java
+++ b/core/java/android/view/ViewConfiguration.java
@@ -66,7 +66,7 @@ public class ViewConfiguration {
/**
* Defines the time between successive key repeats in milliseconds.
*/
- private static final int KEY_REPEAT_DELAY = 50;
+ private static final int KEY_REPEAT_DELAY = 500;

 /**  * Defines the duration in milliseconds a user needs to hold down the

frameworks/base/
diff –git a/services/input/InputDispatcher.h b/services/input/InputDispatcher.h
index 190e7b2..a6ef22e 100644
— a/services/input/InputDispatcher.h
+++ b/services/input/InputDispatcher.h
@@ -177,7 +177,7 @@ struct InputDispatcherConfiguration {

 InputDispatcherConfiguration() :         keyRepeatTimeout(500 * 1000000LL),

- keyRepeatDelay(50 * 1000000LL) { }
+ keyRepeatDelay(500 * 1000000LL) { }
};

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 关于用百度地图开发的准备工作
  2. Android 隐藏手机号中间四位和隐藏邮箱地
  3. Android xmlns
  4. Android之MVP架构模式_
  5. ubuntu10.04上android环境安装“org.ecli
  6. This tag and its children can be repla
  7. 第一行代码 Android读书笔记(四)
  8. Android的休眠与唤醒
  9. [android] 将时长数为毫秒的转化为分钟和
  10. Android cocos2d-x开发(二)之create-androi