Home
last modified time | relevance | path

Searched refs:mEffect (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeView.java43 private EdgeEffect[] mEffect = new EdgeEffect[4]; field in EdgeView
48 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 …]
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeVisEffectPreferenceController.java35 protected final int mEffect; field in ZenModeVisEffectPreferenceController
45 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()
DZenRuleVisEffectPreferenceController.java37 @VisibleForTesting protected @ZenPolicy.VisualEffect int mEffect; field in ZenRuleVisEffectPreferenceController
46 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeVisEffectPreferenceController.java35 protected final int mEffect; field in ZenModeVisEffectPreferenceController
45 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()
DZenRuleVisEffectPreferenceController.java37 @VisibleForTesting protected @ZenPolicy.VisualEffect int mEffect; field in ZenRuleVisEffectPreferenceController
46 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()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java98 private int mEffect = EFFECT_NONE; field in EffectsRecorder
289 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()