public void insertGestureSettingInfo(int type, GestureSettingInfo info) {
   final DataProvider dataProvider = mDataProvider;
   ContentValues values = new ContentValues();
   info.contentValues(values);
   dataProvider.insertGestureSetting(type, values);
   values = null;
 }
 // 手势设置
 public GestureSettingInfo getGestureSettingInfo(int type) {
   final DataProvider dataProvider = mDataProvider;
   Cursor cursor = dataProvider.queryGestureSetting(type);
   if (null != cursor) {
     try {
       GestureSettingInfo info = new GestureSettingInfo();
       boolean bOk = info.parseFromCursor(cursor);
       if (bOk) {
         return info;
       }
     } catch (SQLiteException e) {
       e.printStackTrace();
     } finally {
       cursor.close();
     }
   }
   return null;
 }