Searched refs:currentEffects (Results 1 – 1 of 1) sorted by relevance
1377 public static int toggleScreenOffEffectsSuppressed(int currentEffects, boolean suppress) { in toggleScreenOffEffectsSuppressed() argument1378 return toggleEffects(currentEffects, SCREEN_OFF_SUPPRESSED_EFFECTS, suppress); in toggleScreenOffEffectsSuppressed()1384 public static int toggleScreenOnEffectsSuppressed(int currentEffects, boolean suppress) { in toggleScreenOnEffectsSuppressed() argument1385 return toggleEffects(currentEffects, SCREEN_ON_SUPPRESSED_EFFECTS, suppress); in toggleScreenOnEffectsSuppressed()1388 private static int toggleEffects(int currentEffects, int[] effects, boolean suppress) { in toggleEffects() argument1392 currentEffects |= effect; in toggleEffects()1394 currentEffects &= ~effect; in toggleEffects()1397 return currentEffects; in toggleEffects()