Home
last modified time | relevance | path

Searched refs:mScaling (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java67 private boolean mScaling; field in PanningScalingHandler
106 if (!mEnable || (mBlockScroll && mScaling)) { in onScroll()
117 if (!mScaling) { in onScale()
123 mScaling = abs(deltaScale) > mScalingThreshold; in onScale()
124 return mScaling; in onScale()
163 mScaling = false; in clear()
170 + ", mScaling=" + mScaling in toString()
DFullScreenMagnificationGestureHandler.java500 @VisibleForTesting boolean mScaling; field in FullScreenMagnificationGestureHandler.PanningScalingState
627 if (!mScaling) { in onScale()
633 mScaling = abs(deltaScale) > mScalingThreshold; in onScale()
634 return mScaling; in onScale()
672 mScaling = false; in clear()
679 + ", mScaling=" + mScaling in toString()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java668 private float mScaling = DEFAULT_SCALING;
685 mScaling = !mAllowDownscale || willGamePerformOptimizations(mGameMode)
707 return mScaling;
732 mScaling = scaling;
765 final float scaling = mScaling == DEFAULT_SCALING ? 1.0f : mScaling;
772 mScaling = config.getScalingFactor();
780 return "[Game Mode:" + mGameMode + ",Scaling:" + mScaling + ",Use Angle:"
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java1310 assertFalse(mMgh.mPanningScalingState.mScaling); in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1486 check(!mMgh.mPanningScalingState.mScaling, state); in assertIn()
1492 check(mMgh.mPanningScalingState.mScaling, state); in assertIn()