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. Android(安卓)ubuntu-samba 文件共享
  2. Android NavigationBar 资料
  3. ffmpeg编译(android)
  4. Android视频音乐播放SeekBar和播放时间同
  5. android手机的传感器调用
  6. 如何配置ubuntu 64安装环境(转自source.an
  7. Design各控件的搭配使用2
  8. Android 判断输入的年月日是否合法-正则
  9. android listview 同时监听click和longcl
  10. android 向SD卡写入数据