/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | SystemScaledSubsamplingScaleImageView.kt | 32 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onMeasure() constant 39 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onLayout() constant
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | EditModeState.kt | 54 val scale = launcher.deviceProfile.getWorkspaceSpringLoadScale(launcher) in getWorkspaceScaleAndTranslation() constant 59 val scale = launcher.deviceProfile.getWorkspaceSpringLoadScale(launcher) in getHotseatScaleAndTranslation() constant
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemDrawingParams.java | 29 float scale; field in PreviewItemDrawingParams 35 PreviewItemDrawingParams(float transX, float transY, float scale) { in PreviewItemDrawingParams() 41 public void update(float transX, float transY, float scale) { in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 67 protected void drawDragView(Canvas destCanvas, float scale) { in drawDragView() 95 float scale = mView.getScaleX(); in createDrawable() local 143 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() local 160 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() local
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/viewmodel/ |
D | TaskViewData.kt | 23 val scale = MutableStateFlow(1f) constant in com.android.quickstep.task.viewmodel.TaskViewData
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/recents/viewmodel/ |
D | RecentsViewData.kt | 26 val scale = MutableStateFlow(1f) constant
|
/packages/apps/Gallery2/gallerycommon/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
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | Matrix.java | 208 public void makeScale(float scale) { in makeScale() 217 public void makeScale(Vector3 scale) { in makeScale() 229 public void makeTrs(Vector3 translation, Quaternion q, Vector3 scale) { in makeTrs() 288 public static Matrix newScale(float scale) { in newScale() 295 public static Matrix newScale(Vector3 scale) { in newScale() 308 public static Matrix newTrs(Vector3 translation, Quaternion rotation, Vector3 scale) { in newTrs()
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
D | LinearScale.java | 37 float scale = (mRangeB - mRangeA) / (mDomainB - mDomainA); in LinearScale() local 65 public float scale(float domainValue) { in scale() method in LinearScale
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImageToPdfTask.java | 89 float scale; in writeBitmapToPage() local 116 float scale; in drawDirect() local 141 private void drawOptimized(PdfDocument.Page page, RectF extent, float scale, boolean rotate) { in drawOptimized()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | sub_quantized_different_scales.mod.py | 19 def dequantize(x, scale, offset): argument 22 def quantize(x, scale, offset): argument
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | SimpleIconFactory.java | 210 float [] scale = new float[1]; in createUserBadgedIconBitmap() local 263 float scale = 1; in createAppBadgedIconBitmap() local 327 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap() 331 private Bitmap createIconBitmapNoInsetOrMask(Drawable icon, float scale) { in createIconBitmapNoInsetOrMask() 341 private Bitmap createIconBitmap(Drawable icon, float scale, int size, boolean insetAdiForShadow, in createIconBitmap() 422 float scale = 1f; in normalizeAndWrapToAdaptiveIcon() local 600 float scale = areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale() local 739 public void setScale(float scale) { in setScale()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 105 public void setScrimHeaderScale(float scale) { in setScrimHeaderScale() 193 default void drawOnScrimWithScale(Canvas canvas, float scale) { in drawOnScrimWithScale() 204 Canvas canvas, float scale, @Px int bottomOffsetPx); in drawOnScrimWithScaleAndBottomOffset()
|
D | ClipIconView.java | 134 float scale = Math.max(1f, Math.min(scaleX, scaleY)); in update() local 160 boolean isOpening, float scale, float minSize, DeviceProfile dp) { in update() 207 private void setBackgroundDrawableBounds(float scale, boolean isLandscape) { in setBackgroundDrawableBounds() 276 float scale = Math.max((float) lp.height / originalHeight, in setIcon() local
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AnimatorDurationScalePreferenceController.java | 80 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local 90 final float scale = mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
|
D | TransitionAnimationScalePreferenceController.java | 81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local 91 final float scale = mWindowManager.getAnimationScale( in updateAnimationScaleValue() local
|
D | WindowAnimationScalePreferenceController.java | 81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local 91 final float scale = mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | IconFactory.java | 42 boolean scale) { in createIcon() 69 public static void drawIcon(Bitmap dest, Bitmap sourceImage, boolean scale) { in drawIcon()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix() local 307 protected void zoomTo(float scale, float centerX, float centerY) { in zoomTo() 320 protected void zoomTo(final float scale, final float centerX, in zoomTo() 340 protected void zoomTo(float scale) { in zoomTo() 347 protected void zoomToPoint(float scale, float pointX, float pointY) { in zoomToPoint()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 189 int iconAppTargetSdk, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap() 213 boolean shrinkNonAdaptiveIcons, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap() 262 float[] scale = new float[1]; in createScaledBitmapWithoutShadow() local 294 float scale = 1f; in normalizeAndWrapToAdaptiveIcon() local 345 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap() 353 public Bitmap createIconBitmap(@NonNull Drawable icon, float scale, int size) { in createIconBitmap()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Dequantize.cpp | 34 const float scale = inputShape.scale; in compute() local 64 const float scale = std::get<Operand::SymmPerChannelQuantParams>(inputShape.extraParams) in computePerChannel() local
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Reorderable.java | 31 void setReorderBounceScale(float scale); in setReorderBounceScale()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | UtilitiesTest.kt | 62 val scale = in testGetDescendantCoordRelativeToAncestor() constant
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GestureNavigationSettingsFragment.java | 147 final float scale = mBackGestureInsetScales[(int) v]; in initSeekBarPreference() local 148 Settings.Secure.putFloat(getContext().getContentResolver(), settingsKey, scale); in initSeekBarPreference() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | BatteryTestUtils.java | 40 private static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { in getCustomBatteryIntent()
|