Searched refs:vibrateType (Results 1 – 4 of 4) sorted by relevance
83 void setVibrateSetting(int vibrateType, int vibrateSetting); in setVibrateSetting() argument85 int getVibrateSetting(int vibrateType); in getVibrateSetting() argument87 boolean shouldVibrate(int vibrateType); in shouldVibrate() argument
1246 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument1249 return service.shouldVibrate(vibrateType); in shouldVibrate()1273 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument1276 return service.getVibrateSetting(vibrateType); in getVibrateSetting()1301 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument1304 service.setVibrateSetting(vibrateType, vibrateSetting); in setVibrateSetting()
1836 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument1839 switch (getVibrateSetting(vibrateType)) { in shouldVibrate()1857 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument1859 return (mVibrateSetting >> (vibrateType * 2)) & 3; in getVibrateSetting()1863 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument1867 mVibrateSetting = getValueForVibrateSetting(mVibrateSetting, vibrateType, vibrateSetting); in setVibrateSetting()1870 broadcastVibrateSetting(vibrateType); in setVibrateSetting()1877 public static int getValueForVibrateSetting(int existingValue, int vibrateType, in getValueForVibrateSetting() argument1882 existingValue &= ~(3 << (vibrateType * 2)); in getValueForVibrateSetting()1885 existingValue |= (vibrateSetting & 3) << (vibrateType * 2); in getValueForVibrateSetting()[all …]
67 private String getSettingValue(int vibrateType) { in getSettingValue() argument68 int setting = mAudioManager.getVibrateSetting(vibrateType); in getSettingValue()