Home
last modified time | relevance | path

Searched refs:currentScale (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegateTest.kt131 val currentScale = in showTheDialog_seekbarIsShowingCorrectProgress() constant
138 assertThat(currentScale).isEqualTo(fontSizeValueArray[progress].toFloat()) in showTheDialog_seekbarIsShowingCorrectProgress()
162 val currentScale = in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled() constant
169 assertThat(currentScale).isEqualTo(fontSizeValueArray[1].toFloat()) in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled()
193 val currentScale = in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled() constant
200 assertThat(currentScale) in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java277 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/screenshot/ui/
DScreenshotAnimationController.kt163 val currentScale: Float = scrollTransitionPreview.width / longScreenshot.width.toFloat() in <lambda>() constant
165 matrix.setScale(currentScale, currentScale) in <lambda>()
167 longScreenshot.left * currentScale, in <lambda>()
168 longScreenshot.top * currentScale in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java205 final float currentScale = mController.getScale(); in setupEnableAnimationSpecs() local
215 mStartSpec.set(currentScale, currentCenterX, currentCenterY); in setupEnableAnimationSpecs()
217 final float endScale = (mState == STATE_ENABLING ? mEndSpec.mScale : currentScale); in setupEnableAnimationSpecs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java508 final float currentScale = 1 / cornerScale; in createScreenshotDropInAnimation() local
544 mScreenshotPreview.setScaleX(currentScale); in createScreenshotDropInAnimation()
545 mScreenshotPreview.setScaleY(currentScale); in createScreenshotDropInAnimation()
564 currentScale, 1, mFastOutSlowIn.getInterpolation(t / scalePct)); in createScreenshotDropInAnimation()
910 float currentScale = mScrollablePreview.getWidth() / (float) longScreenshot.getWidth(); in startLongScreenshotTransition() local
912 matrix.setScale(currentScale, currentScale); in startLongScreenshotTransition()
914 longScreenshot.getLeft() * currentScale, in startLongScreenshotTransition()
915 longScreenshot.getTop() * currentScale); in startLongScreenshotTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegate.kt112 val currentScale = in onCreate() constant
114 lastProgress.set(fontSizeValueToIndex(currentScale)) in onCreate()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java423 float currentScale = Settings.Secure.getFloat( in isAlreadyConfiguredCriticalAccessibilitySetting() local
425 return Math.abs(currentScale - defaultScale) >= FLOAT_TOLERANCE; in isAlreadyConfiguredCriticalAccessibilitySetting()
DSettingsProvider.java6244 final Setting currentScale = secureSettings.getSettingLocked(side);
6245 if (currentScale.isNull()) {
6250 current = Float.parseFloat(currentScale.getValue());
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java558 final float currentScale = in checkShouldDetectPassPersistedScale() local
564 (abs(currentScale - persistedScale) / persistedScale) in checkShouldDetectPassPersistedScale()
1586 final float currentScale = mFullScreenMagnificationController.getScale(mDisplayId); in zoomInTemporary() local
1598 final float scale = zoomInWithPersistedScale ? persistedScale : (currentScale + 1.0f); in zoomInTemporary()