Searched refs:intensity (Results 1 – 12 of 12) sorted by relevance
81 final int intensity = Settings.System.getInt(mContext.getContentResolver(), in getSummary() local85 return getIntensityString(mContext, enabled ? intensity : Vibrator.VIBRATION_INTENSITY_OFF); in getSummary()88 public static CharSequence getIntensityString(Context context, int intensity) { in getIntensityString() argument92 switch (intensity) { in getIntensityString()105 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) { in getIntensityString()
158 protected void onVibrationIntensitySelected(int intensity) { } in onVibrationIntensitySelected() argument225 public VibrationIntensityCandidateInfo(String key, int labelId, int intensity) { in VibrationIntensityCandidateInfo() argument229 mIntensity = intensity; in VibrationIntensityCandidateInfo()
886 private String getVibrationSummary(Context context, @VibrationIntensity int intensity) { in getVibrationSummary() argument890 switch (intensity) { in getVibrationSummary()903 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) { in getVibrationSummary()
88 final int intensity = Settings.System.getInt(mContext.getContentResolver(), in getSummary() local93 return getIntensityString(mContext, enabled ? intensity : Vibrator.VIBRATION_INTENSITY_OFF); in getSummary()96 public static CharSequence getIntensityString(Context context, int intensity) { in getIntensityString() argument100 switch (intensity) { in getIntensityString()113 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) { in getIntensityString()
181 protected void onVibrationIntensitySelected(int intensity) { } in onVibrationIntensitySelected() argument252 public VibrationIntensityCandidateInfo(String key, int labelId, int intensity) { in VibrationIntensityCandidateInfo() argument256 mIntensity = intensity; in VibrationIntensityCandidateInfo()
919 private String getVibrationSummary(Context context, @VibrationIntensity int intensity) { in getVibrationSummary() argument923 switch (intensity) { in getVibrationSummary()936 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) { in getVibrationSummary()
387 private static ColorFilter getColorFilter(int intensity, boolean shouldLighten, in getColorFilter() argument389 intensity = Utilities.boundToRange(intensity, 0, 255); in getColorFilter()391 if (intensity == 255 && saturation == 1) { in getColorFilter()395 final float intensityScale = intensity / 255f; in getColorFilter()405 final int colorAdd = 255 - intensity; in getColorFilter()
100 for (int intensity : INTENSITY_TO_KEY.keySet()) { in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn()102 Settings.System.HAPTIC_FEEDBACK_INTENSITY, intensity); in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn() local103 final String expectedKey = intensity == Vibrator.VIBRATION_INTENSITY_OFF in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn()
1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...