Searched refs:mEffect (Results 1 – 6 of 6) sorted by relevance
43 private EdgeEffect[] mEffect = new EdgeEffect[4]; field in EdgeView48 mEffect[i] = new EdgeEffect(context); in EdgeView()61 mEffect[i].setSize(w, h); in onLayout()63 mEffect[i].setSize(h, w); in onLayout()93 more |= mEffect[i].draw(canvas); in render()105 mEffect[direction].onPull((float)offset / fullLength); in onPull()106 if (!mEffect[direction].isFinished()) { in onPull()115 mEffect[i].onRelease(); in onRelease()116 more |= !mEffect[i].isFinished(); in onRelease()127 mEffect[direction].onAbsorb(velocity); in onAbsorb()[all …]
35 protected final int mEffect; field in ZenModeVisEffectPreferenceController45 mEffect = visualEffect; in ZenModeVisEffectPreferenceController()57 if (mEffect == NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS) { in isAvailable()73 boolean suppressed = mBackend.isVisualEffectSuppressed(mEffect); in updateState()95 mBackend.saveVisualEffectsPolicy(mEffect, suppressEffect); in onPreferenceChange()
37 @VisibleForTesting protected @ZenPolicy.VisualEffect int mEffect; field in ZenRuleVisEffectPreferenceController46 mEffect = visualEffect; in ZenRuleVisEffectPreferenceController()57 if (mEffect == ZenPolicy.VISUAL_EFFECT_LIGHTS) { in isAvailable()71 boolean suppressed = !mRule.getZenPolicy().isVisualEffectAllowed(mEffect, false); in updateState()99 .showVisualEffect(mEffect, !suppressEffect) in onPreferenceChange()
98 private int mEffect = EFFECT_NONE; field in EffectsRecorder289 mEffect = effect; in setEffect()430 mCurrentEffect != mEffect || in initializeEffect()448 switch (mEffect) { in initializeEffect()457 throw new RuntimeException("Unknown effect ID" + mEffect + "!"); in initializeEffect()459 mCurrentEffect = mEffect; in initializeEffect()526 if (mEffect == EFFECT_NONE) { in startPreview()