Home
last modified time | relevance | path

Searched refs:mAnimationCallback (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java84 IRemoteMagnificationAnimationCallback mAnimationCallback; field in WindowMagnificationAnimationControllerTest
118 enableWindowMagnificationAndWaitAnimating(mWaitingAnimationPeriod, mAnimationCallback); in enableWindowMagnification_disabled_expectedValuesAndInvokeCallback()
127 verify(mAnimationCallback).onResult(true); in enableWindowMagnification_disabled_expectedValuesAndInvokeCallback()
137 DEFAULT_CENTER_X, DEFAULT_CENTER_Y, mAnimationCallback); in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback()
143 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback()
150 mAnimationCallback); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
172 verify(mAnimationCallback).onResult(false); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
180 mAnimationCallback); in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback()
191 verify(mAnimationCallback).onResult(false); in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback()
200 mAnimationCallback); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback()
[all …]
DIWindowMagnificationConnectionTest.java73 private IRemoteMagnificationAnimationCallback mAnimationCallback; field in IWindowMagnificationConnectionTest
103 Float.NaN, mAnimationCallback); in enableWindowMagnification_passThrough()
107 eq(Float.NaN), eq(Float.NaN), eq(mAnimationCallback)); in enableWindowMagnification_passThrough()
113 mAnimationCallback); in disableWindowMagnification_deleteWindowMagnification()
117 mAnimationCallback); in disableWindowMagnification_deleteWindowMagnification()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationConnectionWrapperTest.java50 private MagnificationAnimationCallback mAnimationCallback; field in WindowMagnificationConnectionWrapperTest
66 mAnimationCallback); in enableWindowMagnification()
68 verify(mAnimationCallback).onResult(true); in enableWindowMagnification()
79 mConnectionWrapper.disableWindowMagnification(TEST_DISPLAY, mAnimationCallback); in disableWindowMagnification()
83 verify(mAnimationCallback).onResult(true); in disableWindowMagnification()
DMockWindowMagnificationConnection.java56 private IRemoteMagnificationAnimationCallback mAnimationCallback; field in MockWindowMagnificationConnection
142 if (mAnimationCallback != null) { in sendAnimationEndCallbackIfNeeded()
143 mAnimationCallback.onResult(success); in sendAnimationEndCallbackIfNeeded()
144 mAnimationCallback = null; in sendAnimationEndCallbackIfNeeded()
192 if (mAnimationCallback != null) { in setAnimationCallback()
195 mAnimationCallback = animationCallback; in setAnimationCallback()
DWindowMagnificationManagerTest.java77 private MagnificationAnimationCallback mAnimationCallback; field in WindowMagnificationManagerTest
184 mAnimationCallback); in enableWithCallback_hasConnection_enableWindowMagnification()
188 verify(mAnimationCallback).onResult(true); in enableWithCallback_hasConnection_enableWindowMagnification()
209 mAnimationCallback); in disableWithCallback_hasConnectionAndEnabled_disableWindowMagnification()
213 verify(mAnimationCallback).onResult(true); in disableWithCallback_hasConnectionAndEnabled_disableWindowMagnification()
DFullScreenMagnificationControllerTest.java97 private final MagnificationAnimationCallback mAnimationCallback = mock( field in FullScreenMagnificationControllerTest
342 newCenter.x, newCenter.y, mAnimationCallback, SERVICE_ID_1));
372 verify(mAnimationCallback).onResult(true);
391 targetScale, center.x, center.y, mAnimationCallback, SERVICE_ID_1));
395 verify(mAnimationCallback).onResult(true);
685 assertFalse(mFullScreenMagnificationController.reset(displayId, mAnimationCallback));
690 verify(mAnimationCallback).onResult(true);
705 scale, firstCenter.x, firstCenter.y, mAnimationCallback, SERVICE_ID_1));
726 verify(mAnimationCallback).onResult(false);
1144 mFullScreenMagnificationController.reset(DISPLAY_0, mAnimationCallback);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java68 private IRemoteMagnificationAnimationCallback mAnimationCallback; field in WindowMagnificationAnimationController
109 mAnimationCallback = animationCallback; in enableWindowMagnification()
176 mAnimationCallback = animationCallback; in deleteWindowMagnification()
249 if (mAnimationCallback != null) { in sendAnimationCallback()
251 mAnimationCallback.onResult(success); in sendAnimationCallback()
258 mAnimationCallback = null; in sendAnimationCallback()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java125 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in postAnimationCallback()
129 mChoreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in cancelAnimationCallback()
132 private final Runnable mAnimationCallback = new Runnable() { field in RampAnimator
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java47 private final Animatable2.AnimationCallback mAnimationCallback = field in PageIndicator
56 mAnimationCallback);
218 avd.registerAnimationCallback(mAnimationCallback);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java1292 private MagnificationAnimationCallback mAnimationCallback; field in FullScreenMagnificationController.SpecAnimationBridge
1336 mAnimationCallback = animationCallback; in updateSentSpecMainThread()
1341 if (mAnimationCallback != null) { in updateSentSpecMainThread()
1353 if (mAnimationCallback != null) { in sendEndCallbackMainThread()
1357 mAnimationCallback.onResult(success); in sendEndCallbackMainThread()
1358 mAnimationCallback = null; in sendEndCallbackMainThread()
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DIllustrationPreference.java60 private final Animatable2.AnimationCallback mAnimationCallback = field in IllustrationPreference
258 ((Animatable2) drawable).registerAnimationCallback(mAnimationCallback);