Searched refs:vibrateType (Results 1 – 4 of 4) sorted by relevance
91 void setVibrateSetting(int vibrateType, int vibrateSetting); in setVibrateSetting() argument93 int getVibrateSetting(int vibrateType); in getVibrateSetting() argument95 boolean shouldVibrate(int vibrateType); in shouldVibrate() argument
1306 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument1309 return service.shouldVibrate(vibrateType); in shouldVibrate()1333 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument1336 return service.getVibrateSetting(vibrateType); in getVibrateSetting()1361 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument1364 service.setVibrateSetting(vibrateType, vibrateSetting); in setVibrateSetting()
1979 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument1982 switch (getVibrateSetting(vibrateType)) { in shouldVibrate()2000 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument2002 return (mVibrateSetting >> (vibrateType * 2)) & 3; in getVibrateSetting()2006 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument2010 mVibrateSetting = getValueForVibrateSetting(mVibrateSetting, vibrateType, vibrateSetting); in setVibrateSetting()2013 broadcastVibrateSetting(vibrateType); in setVibrateSetting()2020 public static int getValueForVibrateSetting(int existingValue, int vibrateType, in getValueForVibrateSetting() argument2025 existingValue &= ~(3 << (vibrateType * 2)); in getValueForVibrateSetting()2028 existingValue |= (vibrateSetting & 3) << (vibrateType * 2); in getValueForVibrateSetting()[all …]
67 private String getSettingValue(int vibrateType) { in getSettingValue() argument68 int setting = mAudioManager.getVibrateSetting(vibrateType); in getSettingValue()