Searched refs:visualEffect (Results 1 – 2 of 2) sorted by relevance
1423 for (int visualEffect = 0; visualEffect < mVisualEffects.size(); visualEffect++) { in apply()1424 if (mVisualEffects.get(visualEffect) == STATE_DISALLOW) { in apply()1429 if (policyToApply.mVisualEffects.get(visualEffect) != STATE_UNSET) { in apply()1430 mVisualEffects.set(visualEffect, policyToApply.mVisualEffects.get(visualEffect)); in apply()1478 for (int visualEffect = 0; visualEffect < mVisualEffects.size(); visualEffect++) { in overwrittenWith()1479 if (newPolicy.mVisualEffects.get(visualEffect) != STATE_UNSET) { in overwrittenWith()1480 result.mVisualEffects.set(visualEffect, newPolicy.mVisualEffects.get(visualEffect)); in overwrittenWith()
1787 private boolean isVisualEffectAllowed(int visualEffect, Policy policy) { in isVisualEffectAllowed() argument1788 return (policy.suppressedVisualEffects & visualEffect) == 0; in isVisualEffectAllowed()1791 private boolean isVisualEffectAllowed(int suppressedVisualEffects, int visualEffect) { in isVisualEffectAllowed() argument1792 return (suppressedVisualEffects & visualEffect) == 0; in isVisualEffectAllowed()