/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() constant 45 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_tooWide_scaleDown() constant 54 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_tooTall_scaleDown() constant 63 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_lessWide_scaleUp() constant 72 val scale = MediaDataUtils.getScaleFactor(input, target) in testScaleFactor_lessTall_scaleUp() constant
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 35 private float scale = 0.5f; field in Fisheye 80 center_y, scale); in do_init() local 85 center_y, scale); in do_init() local 90 scale); in do_init() local 95 scale); in do_init() local
|
D | Vignette.java | 35 private float scale = 0.5f; field in Vignette 102 center_y, scale, shade, slope); in do_init() local 107 center_y, scale, shade, slope); in do_init() local 112 scale, shade, slope); in do_init() local 117 scale, shade, slope); in do_init() local
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 32 private float scale = 0.5f; field in Fisheye 82 center_y, scale); in do_init() local 87 center_y, scale); in do_init() local 92 scale); in do_init() local 97 scale); in do_init() local
|
D | Vignette.java | 31 private float scale = 0.5f; field in Vignette 104 center_y, scale, shade, slope); in do_init() local 109 center_y, scale, shade, slope); in do_init() local 114 scale, shade, slope); in do_init() local 119 scale, shade, slope); in do_init() local
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Fisheye.java | 35 private float scale = 0.5f; field in Fisheye 85 center_y, scale); in do_init() local 90 center_y, scale); in do_init() local 95 scale); in do_init() local 100 scale); in do_init() local
|
D | Vignette.java | 31 private float scale = 0.5f; field in Vignette 104 center_y, scale, shade, slope); in do_init() local 109 center_y, scale, shade, slope); in do_init() local 114 scale, shade, slope); in do_init() local 119 scale, shade, slope); in do_init() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | CompatModePackagesTests.java | 82 float scale = 0.25f; in testGetCompatScale_gameManagerReturnsPositive() local 91 float scale = 0f; in testGetCompatScale_gameManagerReturnsZero() local 100 float scale = -1f; in testGetCompatScale_gameManagerReturnsNegative() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | TransitioningIconDrawable.kt | 79 val scale = in draw() constant 88 val scale = transitionAnimator.animatedFraction in draw() constant
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipSurfaceTransactionHelper.java | 82 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 92 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 101 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 111 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 140 final float scale, left, top; in scaleAndCrop() local 184 final float scale = srcW <= srcH ? (float) destW / srcW : (float) destH / srcH; in rotateAndScaleWithCrop() local 241 final float scale = (float) (Math.hypot(fromBounds.width(), fromBounds.height()) in round() local
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/ |
D | PipSurfaceTransactionHelper.java | 82 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 92 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 101 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 111 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() method in PipSurfaceTransactionHelper 140 final float scale; in scaleAndCrop() local 181 final float scale = srcW <= srcH ? (float) destW / srcW : (float) destH / srcH; in rotateAndScaleWithCrop() local 238 final float scale = (float) (Math.hypot(fromBounds.width(), fromBounds.height()) in round() local
|
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | FlowgraphUtilities.h | 38 static const float scale = (float)(1UL << 31); in clamp32FromFloat() local 64 static const float scale = 1 << 23; in clamp24FromFloat() local
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
D | PipSurfaceTransactionHelper.java | 45 public PictureInPictureSurfaceTransaction scale( in scale() method in PipSurfaceTransactionHelper 63 public PictureInPictureSurfaceTransaction scale( in scale() method in PipSurfaceTransactionHelper 90 final float scale, left, top; in scaleAndCrop() local 131 final float scale = sourceBounds.width() <= sourceBounds.height() in scaleAndRotate() local 157 final float scale = (float) (Math.hypot(fromBounds.width(), fromBounds.height()) in getScaledCornerRadius() local
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | GestureNavigationSettingsObserver.java | 125 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getLeftSensitivity() local 136 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getLeftSensitivityForCallingUser() local 146 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getRightSensitivity() local 157 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getRightSensitivityForCallingUser() local
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationScaleProvider.java | 65 void putScale(float scale, int displayId) { in putScale() 69 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, scale, in putScale() local 140 static float constrainScale(float scale) { in constrainScale()
|
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/ |
D | VibrationParamGenerator.java | 37 float scale = vibrationScales.valueAt(i); in generateVibrationParams() local 48 public static VibrationParam generateVibrationParam(int type, float scale) { in generateVibrationParam()
|
/frameworks/native/libs/vibrator/ |
D | ExternalVibrationUtils.cpp | 59 void applyHapticScale(float* buffer, size_t length, HapticScale scale) { in applyHapticScale() 100 bool isValidHapticScale(HapticScale scale) { in isValidHapticScale() 113 void scaleHapticData(float* buffer, size_t length, HapticScale scale, float limit) { in scaleHapticData()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/ |
D | MatrixUtils.kt | 28 val scale = maxOf(widthScale, heightScale) in centerCropMatrix() constant
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 97 public static int computeSampleSizeLarger(float scale) { in computeSampleSizeLarger() 107 public static int computeSampleSize(float scale) { in computeSampleSize() 116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() 142 float scale = Math.min( in resizeDownBySideLength() local 155 float scale = (float) size / Math.min(w, h); in resizeAndCropCenter() local
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IMagnificationConnection.aidl | 47 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() 57 void setScaleForWindowMagnification(int displayId, float scale); in setScaleForWindowMagnification() 126 void onUserMagnificationScaleChanged(int userId, int displayId, float scale); in onUserMagnificationScaleChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationConnectionImpl.java | 56 public void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() 66 public void setScaleForWindowMagnification(int displayId, float scale) { in setScaleForWindowMagnification() 108 public void onUserMagnificationScaleChanged(int userId, int displayId, float scale) { in onUserMagnificationScaleChanged() 138 void onPerformScaleAction(int displayId, float scale, boolean updatePersistence) { in onPerformScaleAction()
|
/frameworks/base/libs/hwui/jni/ |
D | NinePatchPeeker.cpp | 51 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { in scaleDivRange() 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { in scale() function in NinePatchPeeker
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessCorrection.java | 76 public static BrightnessCorrection createScaleAndTranslateLog(float scale, float translate) { in createScaleAndTranslateLog() 215 ScaleAndTranslateLog(float scale, float translate) { in ScaleAndTranslateLog() 269 float scale = in.readFloat(); in readFromParcel() local 276 final float scale = loadFloatFromXml(parser, ATTR_SCALE); in loadFromXml() local
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationScaler.java | 138 public VibrationEffect scale(@NonNull VibrationEffect effect, int usageHint) { in scale() method in VibrationScaler 187 public PrebakedSegment scale(PrebakedSegment prebaked, int usageHint) { in scale() method in VibrationScaler 197 public void updateAdaptiveHapticsScale(@VibrationAttributes.Usage int usageHint, float scale) { in updateAdaptiveHapticsScale() 234 float scale = mAdaptiveHapticsScales.valueAt(i); in dump() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationSettingsControllerTest.java | 90 final float scale = 3.0f; in testSetMagnificationScale() local 155 final float scale = 3.0f; in testPanelOnMagnifierScale_delegateToCallback() local
|