/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/util/ |
D | MediaDataUtilsTest.kt | 36 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_zeroInput_returnsZero() 45 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_tooWide_scaleDown() 54 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_tooTall_scaleDown() 63 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_lessWide_scaleUp() 72 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_lessTall_scaleUp()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatConfigTest.java | 94 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.7f); in populate_readsDisplay() 105 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.7f); in populate_readsUserId() 118 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.7f); in populate_readsPackageName() 130 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.7f); in populate_readsAllAttributes()
|
D | CarDisplayCompatScaleProviderUpdatableTest.java | 534 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.5f); in updatingSettings_updatesConfigForUser() 553 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(0.7f); in switchingUser_updatesConfigForUser() 561 assertThat(mConfig.getScaleFactor(key, NO_SCALE)).isEqualTo(OPT_OUT); in packageOptOut_withoutScaling()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScaleGesture.java | 36 public float getScaleFactor() { in getScaleFactor() method in ScaleGesture 49 mFactor *= detector.getScaleFactor(); in onScale()
|
D | ScaleGestureDetectorTest.java | 55 assertEquals(initialScaleFactor, mScaleGestureActivity.getScaleFactor(), 0f); in testScaleGestureDetector() 81 assertTrue(mScaleGestureActivity.getScaleFactor() > initialScaleFactor); in testScaleGestureDetector()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | PanningScalingHandler.java | 119 mInitialScaleFactor = detector.getScaleFactor(); in onScale() 122 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; in onScale() 131 final float targetScale = initialScale * detector.getScaleFactor(); in onScale()
|
D | FullScreenMagnificationGestureHandler.java | 629 mInitialScaleFactor = detector.getScaleFactor(); in onScale() 632 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; in onScale() 637 final float targetScale = initialScale * detector.getScaleFactor(); in onScale()
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | UdfpsUtils.java | 43 public float getScaleFactor(DisplayInfo displayInfo) { in getScaleFactor() method in UdfpsUtils 92 float scale = udfpsOverlayParams.getScaleFactor(); in getTouchInNativeCoordinates() 162 float scale = udfpsOverlayParams.getScaleFactor(); in onTouchOutsideOfSensorArea()
|
/frameworks/opt/car/services/builtInServices/src/android/content/res/ |
D | CompatScaleWrapper.java | 38 public float getScaleFactor() { in getScaleFactor() method in CompatScaleWrapper
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableImpl.java | 438 float scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in updateStateOfPackageForUserLocked() 442 scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in updateStateOfPackageForUserLocked() 622 float scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in getCompatScaleForPackageAsUserLocked() 628 scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in getCompatScaleForPackageAsUserLocked() 635 scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in getCompatScaleForPackageAsUserLocked() 642 scaleFactor = mConfig.getScaleFactor(key, NO_SCALE); in getCompatScaleForPackageAsUserLocked()
|
D | CarDisplayCompatConfig.java | 84 public float getScaleFactor(@NonNull Key key, float defaultValue) { in getScaleFactor() method in CarDisplayCompatConfig
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/ |
D | MediaDataUtils.java | 99 public static float getScaleFactor(Pair<Integer, Integer> input, in getScaleFactor() method in MediaDataUtils
|
/frameworks/base/core/java/android/view/animation/ |
D | RotateAnimation.java | 168 float scale = getScaleFactor(); in applyTransformation()
|
D | ScaleAnimation.java | 244 float scale = getScaleFactor(); in applyTransformation()
|
D | AnimationSet.java | 404 more = a.getTransformation(currentTime, temp, getScaleFactor()) || more; in getTransformation()
|
D | Animation.java | 666 protected float getScaleFactor() { in getScaleFactor() method in Animation
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 78 float scale = detector.getScaleFactor(); in onScale()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProvider.java | 107 return wrapper == null ? null : new CompatScale(wrapper.getScaleFactor(), in getCompatScale()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 569 public float getScaleFactor() { in getScaleFactor() method in ScaleGestureDetector
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | LegacyLockIconViewControllerTest.java | 80 when(mAuthController.getScaleFactor()).thenReturn(5f); in testUpdatePaddingBasedOnResolutionScale()
|
D | LegacyLockIconViewControllerBaseTest.java | 145 when(mAuthController.getScaleFactor()).thenReturn(1f); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 602 public float getScaleFactor() { in getScaleFactor() method in AuthController 612 mScaleFactor = mUdfpsUtils.getScaleFactor(mCachedDisplayInfo); in updateSensorLocations() 1324 config.mScaleProvider = this::getScaleFactor; in buildDialog()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 182 mRenderer.scale *= detector.getScaleFactor(); in onScale()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 385 mLiveScale *= detector.getScaleFactor();
|
/frameworks/opt/car/services/builtInServices/api/ |
D | module-lib-current.txt | 7 method public float getScaleFactor();
|