Searched refs:currentScale (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/ |
D | FontScalingDialogTest.kt | 60 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in showTheDialog_seekbarIsShowingCorrectProgress() constant 62 assertThat(currentScale).isEqualTo(fontSizeValueArray[progress].toFloat()) in showTheDialog_seekbarIsShowingCorrectProgress() 80 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled() constant 82 assertThat(currentScale).isEqualTo(fontSizeValueArray[1].toFloat()) in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled() 100 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled() constant 102 assertThat(currentScale) in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 277 float currentScale = getScale(); in scale() local 282 if (currentScale > mMinScale) { in scale() 284 float relativeScale = targetScale / currentScale; in scale() 291 targetScale = currentScale * DOUBLE_TAP_SCALE_FACTOR; in scale() 295 float relativeScale = targetScale / currentScale; in scale() 313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale() 373 float currentScale = getScale(); in onScale() local 374 float newScale = currentScale * detector.getScaleFactor(); in onScale() 921 float currentScale = getScale(); in scale() local 924 if (newScale > mMaxScale && currentScale <= mMaxScale) { in scale() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/ |
D | FontScalingDialog.kt | 61 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, 1.0f) in onCreate() constant 62 seekBarWithIconButtonsView.setProgress(fontSizeValueToIndex(currentScale)) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationController.java | 204 final float currentScale = mController.getScale(); in setupEnableAnimationSpecs() local 214 mStartSpec.set(currentScale, currentCenterX, currentCenterY); in setupEnableAnimationSpecs() 216 final float endScale = (mState == STATE_ENABLING ? mEndSpec.mScale : currentScale); in setupEnableAnimationSpecs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 521 final float currentScale = 1 / cornerScale; in createScreenshotDropInAnimation() local 557 mScreenshotPreview.setScaleX(currentScale); in createScreenshotDropInAnimation() 558 mScreenshotPreview.setScaleY(currentScale); in createScreenshotDropInAnimation() 577 currentScale, 1, mFastOutSlowIn.getInterpolation(t / scalePct)); in createScreenshotDropInAnimation() 946 float currentScale = mScrollablePreview.getWidth() / (float) longScreenshot.getWidth(); in startLongScreenshotTransition() local 948 matrix.setScale(currentScale, currentScale); in startLongScreenshotTransition() 950 longScreenshot.getLeft() * currentScale, in startLongScreenshotTransition() 951 longScreenshot.getTop() * currentScale); in startLongScreenshotTransition()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 369 float currentScale = Settings.Secure.getFloat( in isAlreadyConfiguredCriticalAccessibilitySetting() local 371 return Math.abs(currentScale - defaultScale) >= FLOAT_TOLERANCE; in isAlreadyConfiguredCriticalAccessibilitySetting()
|
D | SettingsProvider.java | 5664 final Setting currentScale = secureSettings.getSettingLocked(side); 5665 if (currentScale.isNull()) { 5670 current = Float.parseFloat(currentScale.getValue());
|