/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManagerTest.java | 172 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2f, 200f, 300f); in enable_hasConnection_enableWindowMagnification() 174 verify(mMockConnection.getConnection()).enableWindowMagnification(TEST_DISPLAY, 2f, in enable_hasConnection_enableWindowMagnification() 183 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2f, 200f, 300f, in enableWithCallback_hasConnection_enableWindowMagnification() 186 verify(mMockConnection.getConnection()).enableWindowMagnification(eq(TEST_DISPLAY), eq(2f), in enableWithCallback_hasConnection_enableWindowMagnification() 195 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 3f, NaN, NaN); in disable_hasConnectionAndEnabled_disableWindowMagnification() 206 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 3f, NaN, NaN); in disableWithCallback_hasConnectionAndEnabled_disableWindowMagnification() 221 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2f, NaN, NaN); in isWindowMagnifierEnabled_hasConnectionAndEnabled_returnExpectedValue() 236 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2.0f, NaN, NaN); in persistScale_setValue_expectedValueInProvider() 249 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2.0f, NaN, NaN); in scaleSetterGetter_enabledOnTestDisplay_expectedValue() 259 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, 2.5f, NaN, NaN); in scaleSetterGetter_scaleIsOutOfRang_getNormalizeValue() [all …]
|
D | WindowMagnificationConnectionWrapperTest.java | 64 public void enableWindowMagnification() throws RemoteException { in enableWindowMagnification() method in WindowMagnificationConnectionWrapperTest 65 mConnectionWrapper.enableWindowMagnification(TEST_DISPLAY, 2, 100f, 200f, in enableWindowMagnification()
|
D | MagnificationControllerTest.java | 142 verify(mMockConnection.getConnection(), never()).enableWindowMagnification(anyInt(), in transitionToWindowMode_notMagnifying_doNothing() 266 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, DEFAULT_SCALE, in interruptDuringTransitionToFullScreenMode_windowMagnifying_notifyTransitionFailed() 621 mWindowMagnificationManager.enableWindowMagnification(TEST_DISPLAY, DEFAULT_SCALE, in setMagnificationEnabled()
|
D | MockWindowMagnificationConnection.java | 103 }).when(mConnection).enableWindowMagnification(anyInt(), anyFloat(), anyFloat(), anyFloat(), in stubEnableWindowMagnification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationControllerTest.java | 120 verify(mSpyController, atLeast(2)).enableWindowMagnification( in enableWindowMagnification_disabled_expectedValuesAndInvokeCallback() 136 mWindowMagnificationAnimationController.enableWindowMagnification(1, in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback() 141 verify(mSpyController).enableWindowMagnification(1, DEFAULT_CENTER_X, in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback() 157 mWindowMagnificationAnimationController.enableWindowMagnification(targetScale, in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 166 verify(mSpyController, atLeast(2)).enableWindowMagnification(mScaleCaptor.capture(), in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 184 mWindowMagnificationAnimationController.enableWindowMagnification(Float.NaN, in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback() 189 verify(mSpyController, never()).enableWindowMagnification(anyFloat(), anyFloat(), in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback() 208 mWindowMagnificationAnimationController.enableWindowMagnification(targetScale, in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 219 verify(mSpyController, atLeast(2)).enableWindowMagnification( in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 242 mWindowMagnificationAnimationController.enableWindowMagnification(Float.NaN, in enableWindowMagnificationWithSameSpec_disabling_NoAnimationAndInvokeCallback() [all …]
|
D | WindowMagnificationControllerTest.java | 146 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in enableWindowMagnification_showControlAndNotifyBoundsChanged() 159 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in enableWindowMagnification_systemGestureExclusionRectsIsSet() 172 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in deleteWindowMagnification_destroyControl() 189 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in deleteWindowMagnification_enableAtTheBottom_overlapFlagIsFalse() 205 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in moveMagnifier_schedulesFrame() 222 () -> mWindowMagnificationController.enableWindowMagnification(2.0f, Float.NaN, in setScale_enabled_expectedValueAndUpdateStateDescription() 251 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in onOrientationChanged_enabled_updateDisplayRotationAndLayout() 280 mWindowMagnificationController.enableWindowMagnification(Float.NaN, Float.NaN, in onDensityChanged_enabled_updateDimensionsAndResetWindowMagnification() 309 mWindowMagnificationController.enableWindowMagnification(2.5f, Float.NaN, in initializeA11yNode_enabled_expectedValues() 333 mWindowMagnificationController.enableWindowMagnification(2.5f, Float.NaN, in performA11yActions_visible_expectedResults() [all …]
|
D | IWindowMagnificationConnectionTest.java | 102 mIWindowMagnificationConnection.enableWindowMagnification(TEST_DISPLAY, 3.0f, Float.NaN, in enableWindowMagnification_passThrough() 106 verify(mWindowMagnificationAnimationController).enableWindowMagnification(eq(3.0f), in enableWindowMagnification_passThrough()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationConnectionImpl.java | 52 public void enableWindowMagnification(int displayId, float scale, float centerX, in enableWindowMagnification() method in WindowMagnificationConnectionImpl 55 () -> mWindowMagnification.enableWindowMagnification(displayId, scale, centerX, in enableWindowMagnification()
|
D | WindowMagnificationAnimationController.java | 106 void enableWindowMagnification(float scale, float centerX, float centerY, in enableWindowMagnification() method in WindowMagnificationAnimationController 113 mController.enableWindowMagnification(scale, centerX, centerY); in enableWindowMagnification() 270 mController.enableWindowMagnification(sentScale, centerX, centerY); in onAnimationUpdate()
|
D | WindowMagnification.java | 159 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() method in WindowMagnification 164 windowMagnificationAnimationController.enableWindowMagnification(scale, centerX, in enableWindowMagnification()
|
D | WindowMagnificationController.java | 294 enableWindowMagnification(Float.NaN, Float.NaN, Float.NaN); in onConfigurationChanged() 640 void enableWindowMagnification(float scale, float centerX, float centerY) { in enableWindowMagnification() method in WindowMagnificationController 666 enableWindowMagnification(scale, Float.NaN, Float.NaN); in setScale()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationConnectionWrapper.java | 53 boolean enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() method in WindowMagnificationConnectionWrapper 56 mConnection.enableWindowMagnification(displayId, scale, centerX, centerY, in enableWindowMagnification()
|
D | WindowMagnificationManager.java | 264 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY) { in enableWindowMagnification() method in WindowMagnificationManager 265 enableWindowMagnification(displayId, scale, centerX, centerY, null); in enableWindowMagnification() 280 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() method in WindowMagnificationManager 691 return mConnectionWrapper != null && mConnectionWrapper.enableWindowMagnification( in enableWindowMagnificationInternal()
|
D | WindowMagnificationGestureHandler.java | 180 mWindowMagnificationMgr.enableWindowMagnification(mDisplayId, scale, centerX, centerY); in enableWindowMagnifier()
|
D | MagnificationController.java | 539 getWindowMagnificationMgr().enableWindowMagnification(mDisplayId, in applyMagnificationModeLocked()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IWindowMagnificationConnection.aidl | 43 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() method
|